/* =========================================================
   SUPPORT-PAGES.CSS
   For:
   - about.php
   - contact.php
   - feedback.php
   - faq.php
   - privacy-policy.php
   - terms.php
   ========================================================= */

/* ===== COMMON PAGE WRAPPER ===== */
.support-page {
  background: #eef7f1;
  min-height: 100vh;
  padding: 30px 14px 70px;
}

.support-container {
  max-width: 950px;
  margin: 0 auto;
}

/* ===== PAGE HERO / HEADER ===== */
.support-hero {
  text-align: center;
  margin-bottom: 26px;
}

.support-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.support-title {
  font-size: 34px;
  font-weight: 900;
  color: #153b28;
  margin: 0 0 10px;
  line-height: 1.2;
}

.support-subtitle {
  font-size: 15px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== CARD ===== */
.support-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
  margin-top: 18px;
  margin-bottom: 20px;
  border: 1px solid #edf2ee;
}

/* ===== SECTION TITLE ===== */
.support-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #123a28;
  margin-bottom: 14px;
}

.support-section-sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ===== TEXT CONTENT ===== */
.support-content p {
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 16px;
}

.support-content h2,
.support-content h3,
.support-content h4 {
  color: #153b28;
  margin: 24px 0 12px;
  font-weight: 800;
}

.support-content h2 {
  font-size: 24px;
}

.support-content h3 {
  font-size: 20px;
}

.support-content h4 {
  font-size: 17px;
}

.support-content ul,
.support-content ol {
  margin: 14px 0 18px 22px;
  color: #374151;
}

.support-content li {
  margin-bottom: 10px;
  line-height: 1.8;
  font-size: 15px;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid #edf2ee;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #153b28;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span:last-child {
  font-size: 20px;
  color: #16a34a;
  transition: 0.2s ease;
}

.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== FORM ===== */
.support-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.support-form input,
.support-form textarea,
.support-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: 0.2s ease;
}

.support-form input:focus,
.support-form textarea:focus,
.support-form select:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.08);
}

.support-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* ===== BUTTON ===== */
.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.support-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(22,163,74,0.18);
}

/* ===== CONTACT CARDS ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  border: 1px solid #edf2ee;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e9f9ee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #153b28;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.8;
  word-break: break-word;
}

/* ===== FEEDBACK SUCCESS / ALERT ===== */
.support-alert {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.support-alert.success {
  background: #ecfdf3;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.support-alert.error {
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
}

/* ===== SECURITY / POLICY LIST BOX ===== */
.info-list-box {
  background: #f8faf9;
  border: 1px solid #edf2ee;
  border-radius: 16px;
  padding: 18px 18px;
  margin-bottom: 16px;
}

.info-list-box h4 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: #153b28;
}

.info-list-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
}

.table-wrapper {
  overflow-x: auto;
}

.security-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.security-table th,
.security-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.security-table th {
  background: #f3f4f6;
  font-weight: 700;
}

.status-icon.verified {
  color: green;
  font-weight: bold;
}

.status-icon.fraud {
  color: red;
  font-weight: bold;
}

.empty-msg {
  text-align: center;
  padding: 20px;
  color: #6b7280;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .support-page {
    padding: 24px 12px 50px;
  }

  .support-title {
    font-size: 28px;
  }

  .support-subtitle {
    font-size: 14px;
  }

  .support-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 15px;
    padding: 16px 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }
}

@media (max-width: 480px) {
  .support-title {
    font-size: 24px;
  }

  .support-content p,
  .support-content li {
    font-size: 14px;
  }

  .support-section-title {
    font-size: 20px;
  }

  .support-btn {
    width: 100%;
  }
}