/* ==== Suggest Article Page =========== */

/* ================= Suggest Hero =====*/
.suggest-hero {
  background: var(--sections-bg);  color: white;
  padding: 3rem 0;
  text-align: center;
}

.suggest-hero .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.suggest-hero .hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ======== Suggest Main Section ================= */
.suggest-main {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.suggest-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

/* ========== Suggest Form Card ============ */
.suggest-form-card {
  background-color: var(--bg-primary);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.form-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/*===========  Form Styling ============== */
.suggest-form .form-group {
  margin-bottom: 1.5rem;
}

.suggest-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.suggest-form .required {
  color: #ef4444; 
  margin-right: 0.25rem;
}

.suggest-form input[type="text"],
.suggest-form input[type="email"],
.suggest-form input[type="tel"],
.suggest-form select,
.suggest-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.suggest-form input:focus,
.suggest-form select:focus,
.suggest-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); 
}

.suggest-form textarea {
  resize: vertical;
  min-height: 120px;
}

.suggest-form .hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

.suggest-form .checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.suggest-form .checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
  accent-color: var(--accent-primary); 
}

.suggest-form .checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--text-secondary);
}

.suggest-form .checkbox-group label a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.suggest-form .checkbox-group label a:hover {
  text-decoration: underline;
}

.submit-btn {
    display: flex;             /* لتموضع الأيقونة والنص بشكل مرتب */
    align-items: center;       /* محاذاة عمودية */
    justify-content: center;   /* محاذاة أفقية للنص والأيقونة */
    width: 100%;               /* عرض كامل */
    padding: 1rem;             /* حجم أكبر للزر */
    font-size: 1.1rem;         /* تكبير النص قليلاً */
    border-radius: 0.75rem;    /* حواف دائرية لطيفة */
    gap: 0.5rem;               /* مسافة بين الأيقونة والنص */
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn i {
    font-size: 1.2rem;         /* تكبير الأيقونة */
}

.submit-btn:hover {
    background-color: var(--accent-primary);
    color: #fff;
}


.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ======== Suggest Sidebar ============= */
.suggest-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background-color: var(--bg-primary);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list li svg {
  flex-shrink: 0;
  color: var(--accent-primary);
  margin-top: 0.25rem;
}

/*   =============== Notification styles ============ */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--accent-secondary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  z-index: 1000;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* == Responsive Design ========== */
@media (max-width: 1024px) {
  .suggest-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .suggest-sidebar {
    order: -1; 
  }
}

@media (max-width: 768px) {
  .suggest-hero {
    padding: 2rem 0;
  }

  .suggest-hero .hero-title {
    font-size: 2rem;
  }

  .suggest-form-card {
    padding: 1.5rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .suggest-form .checkbox-group {
    flex-direction: row;
    align-items: flex-center;

  }
}

@media (max-width: 480px) {
  .suggest-main {
    padding: 1.5rem 0;
  }

  .suggest-form-card {
    padding: 1rem;
  }

  .form-title {
    font-size: 1.25rem;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}
