@import url("shop.css");

.support-pending .dashboard-shell { visibility: hidden; }
.support-main { min-height: 70vh; }
.support-main .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; white-space: nowrap; border: 0; clip: rect(0,0,0,0); }
.support-shell { padding-bottom: 70px; }

.support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 9px 28px rgba(15,118,110,.07);
}

.contact-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 18px; }
.contact-card { min-width: 0; display: grid; gap: 8px; padding: 16px 12px; }
.contact-card__icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--primary); background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 11px; }
.contact-card__icon svg, .quick-help svg, .support-hours svg, .faq-category svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.contact-card h2 { margin: 0; font-size: 12px; }
.contact-card p, .contact-card a { min-width: 0; margin: 0; color: var(--muted); font-size: 8px; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--primary); }

.contact-layout { display: grid; gap: 16px; }
.contact-form-card { padding: 20px 16px; }
.support-section-heading { margin-bottom: 17px; }
.support-section-heading span { color: var(--primary); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.support-section-heading h2 { margin: 4px 0 4px; font-size: 20px; }
.support-section-heading p { margin: 0; color: var(--muted); font-size: 9px; font-weight: 600; }
.contact-form { display: grid; gap: 13px; }
.form-grid { display: grid; gap: 13px; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: #334155; font-size: 9px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-width: 0; color: var(--ink); background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; outline: 0; font: inherit; font-size: 10px;
}
.form-field input, .form-field select { height: 44px; padding: 0 12px; }
.form-field textarea { min-height: 130px; resize: vertical; padding: 12px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(20,184,166,.1); }
.contact-submit { min-height: 44px; padding: 0 18px; color: #fff; background: var(--primary); border: 1px solid var(--primary); border-radius: 10px; cursor: pointer; font-size: 10px; font-weight: 800; }
.contact-submit:hover { background: var(--primary-dark); }

.support-sidebar { display: grid; align-content: start; gap: 14px; }
.support-hours, .quick-help { padding: 18px 16px; }
.support-hours__head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.support-hours__head span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--primary); background: #f0fdfa; border-radius: 10px; }
.support-hours h2, .quick-help h2 { margin: 0; font-size: 15px; }
.support-hours p { margin: 0 0 5px; color: #475569; font-size: 10px; font-weight: 700; }
.support-hours strong { color: var(--primary); font-size: 12px; }
.quick-help nav { display: grid; gap: 8px; margin-top: 13px; }
.quick-help a { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; color: #475569; background: #f8fafc; border: 1px solid var(--line); border-radius: 9px; font-size: 9px; font-weight: 750; }
.quick-help a:hover { color: var(--primary); border-color: #99f6e4; }
.quick-help a svg { width: 15px; }

.faq-layout { display: grid; gap: 16px; }
.faq-categories { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; }
.faq-category { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; color: #475569; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 9px; font-weight: 800; }
.faq-category.is-active { color: #fff; background: var(--primary); border-color: var(--primary); }
.faq-category svg { width: 15px; }
.faq-list { display: grid; gap: 9px; }
.faq-item { overflow: hidden; }
.faq-question { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 15px; color: var(--ink); background: transparent; border: 0; cursor: pointer; text-align: left; font-size: 10px; font-weight: 800; }
.faq-question svg { width: 17px; flex: 0 0 17px; fill: none; stroke: var(--primary); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform 180ms ease; }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; border-top: 1px solid transparent; transition: grid-template-rows 200ms ease,border-color 200ms ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 15px; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.75; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; border-color: var(--line); }
.faq-item.is-open .faq-answer p { padding-block: 14px 17px; }
.faq-contact { padding: 20px 16px; text-align: center; }
.faq-contact h2 { margin: 0 0 5px; font-size: 18px; }
.faq-contact p { margin: 0 0 14px; color: var(--muted); font-size: 9px; font-weight: 600; }
.faq-contact a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; color: #fff; background: var(--primary); border-radius: 9px; font-size: 9px; font-weight: 800; }

.support-toast { position: fixed; z-index: 1100; inset: auto 14px 18px; max-width: 360px; margin-inline: auto; padding: 12px 16px; color: #fff; background: #0f172a; border-radius: 10px; opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity 180ms ease,transform 180ms ease; text-align: center; font-size: 10px; font-weight: 700; }
.support-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width:600px) {
  .contact-cards { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  .contact-card { padding: 20px 16px; }
  .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faq-question { padding-inline: 18px; font-size: 11px; }
  .faq-answer p { padding-inline: 18px; font-size: 10px; }
}
@media (min-width:900px) {
  .contact-layout { grid-template-columns: minmax(0,1fr) 290px; align-items: start; }
  .contact-form-card { padding: 26px; }
  .support-hours, .quick-help { padding: 21px; }
  .faq-layout { grid-template-columns: minmax(0,1fr) 280px; align-items: start; }
  .faq-contact { position: sticky; top: 18px; padding: 25px 20px; }
}
@media (max-width:360px) {
  .contact-cards { gap: 7px; }
  .contact-card { padding: 13px 9px; }
  .contact-card h2 { font-size: 10px; }
  .contact-form-card { padding-inline: 13px; }
}
