/* ====================================
   Copyright Notice - Alktab24 Style
   Matching the site's design
   ==================================== */

/* Notice Bar */
.alktab-copyright-notice {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
  margin-top: 40px;
}

.copyright-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  direction: rtl;
}

.alert-icon {
  font-size: 24px;
  color: #666;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  text-align: right;
}

.alert-content strong {
  font-weight: 700;
  color: #000;
}

.alert-content a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.alert-content a:hover {
  color: #004499;
  border-bottom-color: #004499;
}

/* Modal */
.alktab-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.alktab-modal.active {
  opacity: 1;
}

.alktab-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  cursor: pointer;
}

.alktab-modal-dialog {
  position: relative;
  background: #fff;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 100000;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.alktab-modal.active .alktab-modal-dialog {
  transform: scale(1);
}

.alktab-modal-header {
  background: #fff;
  border-bottom: 2px solid #e0e0e0;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.alktab-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
  flex: 1;
  text-align: right;
}

.alktab-modal-close {
  width: 30px;
  height: 30px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.alktab-modal-close:hover {
  background: #e0e0e0;
  color: #333;
}

.alktab-modal-body {
  padding: 25px;
  direction: rtl;
}

.notice-section {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-right: 3px solid #666;
  padding: 18px;
  margin-bottom: 15px;
  border-radius: 3px;
}

.notice-section.highlight {
  background: #f0f8ff;
  border-right-color: #0066cc;
}

.notice-section h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
  text-align: right;
}

.notice-section p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  text-align: justify;
}

.notice-section a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #0066cc;
  transition: all 0.2s;
}

.notice-section a:hover {
  color: #004499;
  border-bottom-color: #004499;
}

/* Scrollbar */
.alktab-modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.alktab-modal-dialog::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.alktab-modal-dialog::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.alktab-modal-dialog::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .alktab-copyright-notice {
    padding: 10px 0;
  }

  .copyright-alert {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .alert-icon {
    font-size: 28px;
  }

  .alert-content p {
    font-size: 13px;
    text-align: center;
  }

  .alktab-modal-dialog {
    width: 95%;
    max-height: 85vh;
  }

  .alktab-modal-header {
    padding: 18px 20px;
  }

  .alktab-modal-header h3 {
    font-size: 18px;
  }

  .alktab-modal-body {
    padding: 20px;
  }

  .notice-section {
    padding: 15px;
  }

  .notice-section h4 {
    font-size: 15px;
  }

  .notice-section p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .copyright-alert {
    padding: 12px;
  }

  .alert-content p {
    font-size: 12px;
  }

  .alktab-modal-header {
    padding: 15px;
  }

  .alktab-modal-header h3 {
    font-size: 17px;
  }

  .alktab-modal-close {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .alktab-modal-body {
    padding: 15px;
  }

  .notice-section {
    padding: 12px;
    margin-bottom: 12px;
  }

  .notice-section h4 {
    font-size: 14px;
  }

  .notice-section p {
    font-size: 12px;
  }
}

html {
  scroll-behavior: smooth;
}

#contact-form {
  scroll-margin-top: 80px;
}
