/* ============================================================
   Dinnable – Support / Help Center Page
   ============================================================ */

.support-page {
  padding-top: 48px;
}

/* ── FAQ Group ──────────────────────────────────────────────── */
.support-group {
  margin-bottom: 48px;
}

.support-group-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* ── FAQ Item (details/summary accordion) ───────────────────── */
.support-faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.support-faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.15s ease;
}

.support-faq-item[open] {
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.support-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: .975rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
  line-height: 1.45;
}

.support-faq-q::-webkit-details-marker { display: none; }

.support-faq-q:hover {
  background: var(--bg);
}

/* Chevron icon */
.support-faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  position: relative;
  transition: background 0.15s ease;
}

.support-faq-icon::before,
.support-faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gray);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* horizontal bar */
.support-faq-icon::before {
  width: 8px;
  height: 2px;
  top: 8px;
  left: 5px;
}

/* vertical bar (becomes invisible when open) */
.support-faq-icon::after {
  width: 2px;
  height: 8px;
  top: 5px;
  left: 8px;
}

.support-faq-item[open] .support-faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.support-faq-item[open] .support-faq-icon {
  background: rgba(26,96,31,.1);
}

.support-faq-item[open] .support-faq-icon::before {
  background: var(--primary);
}

.support-faq-a {
  padding: 0 20px 16px 20px;
  border-top: 1px solid var(--border);
}

.support-faq-a p {
  font-size: .95rem;
  line-height: 1.75;
  color: #3a3835;
  margin: 12px 0 0;
}

/* ── Contact Card ───────────────────────────────────────────── */
.support-contact-card {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, #006037 100%);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: #fff;
}

.support-contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.support-contact-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.support-contact-card p {
  font-size: .95rem;
  line-height: 1.65;
  opacity: .85;
  max-width: 420px;
  margin: 0 auto 28px;
}

.support-contact-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.support-contact-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* ── Helpful Links ──────────────────────────────────────────── */
.support-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: .875rem;
}

.support-links-label {
  font-weight: 600;
  color: var(--gray);
}

.support-links a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-links a:hover {
  opacity: .75;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .support-contact-card {
    padding: 36px 24px;
  }

  .support-group-title {
    font-size: 1rem;
  }

  .support-faq-q {
    padding: 14px 16px;
    font-size: .925rem;
  }

  .support-faq-a {
    padding: 0 16px 14px 16px;
  }
}
