.auth-panel.support-panel {
  width: min(100%, 760px);
}

.support-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 18px;
  padding: 4px;
  background: var(--primary-bg-soft);
  border: 1px solid var(--primary-border-soft);
  border-radius: 8px;
}

.support-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.support-tab:hover,
.support-tab.is-active {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 1px 4px rgba(81, 68, 211, 0.12);
}

.support-form h2,
.support-faq h2 {
  margin: 0;
  font-size: 1.25rem;
}

.form-intro,
.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-help {
  margin-top: -6px;
}

.support-faq {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-list details {
  border: 1px solid var(--primary-border-soft);
  border-radius: 8px;
  background: var(--primary-bg-soft);
}

.faq-list summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
}

.support-centre-page {
  background: #ffffff;
}

.support-centre {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 34px 28px 58px;
}

.support-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.support-kicker,
.support-modal-kicker {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.support-hero h1 {
  margin: 0;
  color: #10142f;
  font-size: 2.5rem;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}

.support-hero-copy {
  margin: 12px auto 0;
  max-width: 680px;
  color: #3d4568;
  font-size: 1.08rem;
  line-height: 1.45;
}

.support-message-area {
  width: min(100%, 760px);
  margin: 34px auto 0;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-top: 24px;
}

.support-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  gap: 10px;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid #dfe4f2;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(25, 32, 56, 0.035);
  text-align: center;
  scroll-margin-top: 92px;
}

.support-action-card-featured {
  border-color: #d9dded;
  box-shadow: 0 18px 40px rgba(25, 32, 56, 0.035);
}

.support-card-icon,
.support-modal-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #4b16f4;
  background: #efe7ff;
}

.support-card-image-icon {
  flex: 0 0 auto;
  display: block;
  width: 76px;
  height: 72px;
  object-fit: contain;
}

.support-card-image-icon-feedback {
  width: 76px;
  height: 72px;
}

.support-modal-image-icon {
  display: block;
  width: 58px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.support-modal-image-icon-feedback {
  width: 64px;
  height: 64px;
}

.support-modal-panel-feedback .support-modal-image-icon-feedback {
  width: 92px;
  height: 92px;
}

.support-card-icon i,
.support-modal-icon i {
  font-size: 1.55rem;
}

.support-card-icon-feedback {
  color: #4b16f4;
  background: #efe7ff;
}

.support-sparkle {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 3px;
  background: #f97316;
  box-shadow: 0 8px 16px rgba(249, 115, 22, 0.28);
  transform: rotate(45deg);
}

.support-action-card h2 {
  margin: 0;
  color: #10142f;
  font-size: 1.2rem;
  line-height: 1.25;
}

.support-action-card p {
  margin: 0 auto;
  max-width: 250px;
  color: #172044;
  font-size: 0.92rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.support-action-card > .support-button {
  width: min(100%, 272px);
  margin-top: auto;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  max-width: 100%;
  padding: 0 20px;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: 6px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.support-button:hover {
  transform: translateY(-1px);
}

.support-button-primary {
  color: #ffffff;
  background: #4b16f4;
  border: 1px solid #4b16f4;
  box-shadow: 0 12px 24px rgba(75, 22, 244, 0.22);
}

.support-button-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.support-button-outline {
  width: 100%;
  color: #3f10e8;
  background: #ffffff;
  border: 1.5px solid #4b16f4;
}

.support-button-outline:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(75, 22, 244, 0.1);
}

.support-button-quiet {
  color: #51586b;
  background: #ffffff;
  border: 1px solid #e4e7ef;
}


.support-trust-note,
.support-response-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: #4b5578;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.45;
}

.support-action-card .support-trust-note {
  max-width: 100%;
  margin-top: 0;
  flex-wrap: wrap;
}

.support-faq-section {
  max-width: none;
  margin: 28px auto 0;
  scroll-margin-top: 92px;
}

.support-faq-section h2 {
  margin: 0 0 12px;
  color: #10142f;
  font-size: 1.32rem;
  line-height: 1.2;
  text-align: left;
}

.support-faq-categories {
  display: grid;
  gap: 0;
  border: 1px solid #dfe4f2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(25, 32, 56, 0.03);
}

.support-faq-category {
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #e4e8f2;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.support-faq-category:last-child {
  border-bottom: 0;
}

.support-faq-category summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 42px 0 24px;
  color: #10142f;
  font-size: 0.95rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

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

.support-faq-category summary::after {
  content: "\f078";
  position: absolute;
  right: 22px;
  color: #4b16f4;
  font: var(--fa-font-solid);
  font-size: 0.8rem;
  transition: transform 160ms ease;
}

.support-faq-category[open] summary::after {
  transform: rotate(180deg);
}

.support-faq-content {
  display: grid;
  gap: 0;
  padding: 0 28px 14px 44px;
  border-top: 1px solid #e4e8f2;
}

.support-faq-content h3 {
  margin: 12px 0 3px;
  padding-top: 0;
  color: #10142f;
  font-size: 0.88rem;
  line-height: 1.35;
}

.support-faq-content h3:not(:first-child) {
  padding-top: 10px;
  border-top: 1px solid #edf0f6;
}

.support-faq-content p {
  margin: 0;
  color: #303858;
  font-size: 0.86rem;
  line-height: 1.4;
}

.support-faq-content ol,
.support-faq-content ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #303858;
  font-size: 0.86rem;
  line-height: 1.4;
}

.support-faq-content li {
  color: inherit;
}

.support-modal[hidden] {
  display: none;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.support-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
  backdrop-filter: blur(5px);
}

.support-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e1e5ef;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.14);
}

.support-modal-panel-feedback {
  width: min(100%, 1040px);
  max-height: min(92vh, 860px);
  padding: 24px 32px 0;
  border-radius: 12px;
}

.support-modal-is-open {
  overflow: hidden;
}

.support-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #4b5366;
  background: #ffffff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.support-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: 46px;
}

.support-modal-panel .support-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.support-modal-panel .support-modal-icon i {
  font-size: 1.45rem;
}

.support-modal-panel h2 {
  margin: 0;
  color: #10142f;
  font-size: 1.42rem;
  line-height: 1.15;
}

.support-modal-panel-feedback h2 {
  font-size: 1.9rem;
  line-height: 1.08;
}

.support-modal-header p {
  margin: 7px 0 0;
  color: #303858;
  font-size: 0.84rem;
  line-height: 1.4;
}

.support-modal-panel-feedback .support-modal-header {
  gap: 18px;
  padding-right: 56px;
}

.support-modal-panel-feedback .support-modal-header p {
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.support-modal-header p span {
  display: block;
  margin-top: 4px;
}

.support-modal-form {
  margin-top: 20px;
  gap: 10px;
}

.feedback-modal-form {
  gap: 12px;
  margin-top: 18px;
}

.support-modal-form label {
  color: #10142f;
  font-size: 0.82rem;
  font-weight: 850;
}

.feedback-modal-form label {
  font-size: 0.92rem;
  line-height: 1.25;
}

.support-modal-form > input,
.support-modal-form > select,
.support-modal-form > textarea {
  background: #fbfbff;
  border-color: #dfe4f2;
  border-radius: 6px;
  font-size: 0.9rem;
}

.feedback-modal-form > select {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.96rem;
}

.support-modal-form > input:focus,
.support-modal-form > select:focus,
.support-textarea-shell textarea:focus {
  outline: none;
  border-color: #4b16f4;
  box-shadow: 0 0 0 3px rgba(75, 22, 244, 0.11);
}

.support-modal-form > textarea {
  min-height: 132px;
}

.support-textarea-shell {
  position: relative;
}

.support-textarea-shell textarea {
  width: 100%;
  min-height: 118px;
  padding: 12px 12px 30px;
  color: var(--ink);
  background: #fbfbff;
  border: 1px solid #dfe4f2;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.feedback-modal-form .support-textarea-shell textarea {
  min-height: 112px;
  padding: 14px 16px 32px;
  font-size: 0.96rem;
  line-height: 1.45;
}

.support-character-count {
  position: absolute;
  right: 12px;
  bottom: 11px;
  color: #3d4568;
  font-size: 0.82rem;
  font-weight: 650;
}

.feedback-modal-form .support-character-count {
  right: 16px;
  bottom: 12px;
  font-size: 0.86rem;
}

.support-email-shell {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  background: #fbfbff;
  border: 1px solid #dfe4f2;
  border-radius: 6px;
}

.feedback-modal-form .support-email-shell {
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 44px;
}

.support-email-shell:focus-within {
  border-color: #4b16f4;
  box-shadow: 0 0 0 3px rgba(75, 22, 244, 0.11);
}

.support-email-shell i {
  color: #4b5578;
  font-size: 1rem;
  text-align: center;
}

.feedback-modal-form .support-email-shell i {
  font-size: 1.08rem;
}

.support-email-shell input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px 10px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
}

.feedback-modal-form .support-email-shell input {
  min-height: 42px;
  font-size: 0.96rem;
}

.support-email-shell input:focus {
  outline: none;
}

.support-security-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 0;
  padding: 13px 14px;
  color: #3f10e8;
  background: #f1e9ff;
  border: 1px solid #ded1ff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.support-security-note i {
  color: #4b16f4;
  font-size: 1.35rem;
}

.support-security-note strong {
  display: block;
  color: #3f10e8;
  font-size: 0.86rem;
  line-height: 1.3;
}

.support-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.support-modal-footer {
  margin: 12px -24px 0;
  padding: 18px 24px 10px;
  border-top: 1px solid #e4e8f2;
}

.support-modal-actions .support-button-primary {
  min-width: 216px;
}

.support-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.support-response-note {
  margin: 4px auto 0;
  font-size: 0.78rem;
}

.support-response-note-stacked {
  justify-content: flex-start;
  margin: 0;
  color: #10142f;
  font-size: 0.92rem;
  font-weight: 750;
}

.support-response-note-stacked i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: #4b16f4;
  background: #efe7ff;
  border-radius: 999px;
}

.support-response-time-value {
  display: block;
  margin-top: 2px;
  color: #3f10e8;
  font-weight: 500;
}

.feedback-appreciation-card {
  display: flex;
  gap: 13px;
  margin-top: 4px;
  padding: 13px 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
}

.feedback-modal-form .feedback-appreciation-card {
  position: relative;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  margin-top: 0;
  padding: 14px 16px;
  overflow: hidden;
}

.feedback-appreciation-icon {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.feedback-appreciation-card strong {
  display: block;
  color: #9a3412;
  font-size: 0.94rem;
  line-height: 1.3;
}

.feedback-modal-form .feedback-appreciation-card strong {
  color: #c2410c;
  font-size: 1rem;
}

.feedback-appreciation-card p {
  margin: 6px 0 0;
  color: #7c2d12;
  font-size: 0.9rem;
  line-height: 1.5;
}

.feedback-modal-form .feedback-appreciation-card p {
  max-width: 620px;
  color: #10142f;
  font-size: 0.9rem;
  line-height: 1.4;
}

.feedback-modal-footer {
  margin: 2px -32px 0;
  padding: 12px 32px 14px;
  border-top: 1px solid #e4e8f2;
}

.feedback-modal-footer .support-modal-actions {
  align-items: center;
  margin-top: 0;
}

.feedback-modal-footer .support-button {
  min-height: 46px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 0.98rem;
}

.feedback-modal-footer .support-button-primary {
  min-width: 270px;
}

.feedback-modal-footer [data-feedback-submit]:disabled {
  color: #ffffff;
  background: #4b16f4;
  border-color: #4b16f4;
  opacity: 1;
}

.feedback-confidential-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 4px 0 0;
  color: #67708a;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.feedback-confidential-note i {
  color: #9aa1b5;
}

.support-footer {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 24px;
  color: #697084;
  background: #ffffff;
  border-top: 1px solid #eceef5;
}

.support-footer p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.support-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.support-footer a {
  color: #51586b;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.support-footer a:hover {
  color: var(--primary-dark);
}

@media (max-width: 1199px) {
  .support-centre {
    padding: 32px var(--page-gutter-tablet) 54px;
  }

  .support-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap-tablet);
  }

  .support-action-card {
    grid-template-rows: auto;
    min-height: 0;
  }

  .support-action-card-featured {
    grid-column: 1 / -1;
  }

  .support-action-card p {
    min-height: 0;
  }

  .support-faq-section,
  .support-action-card {
    scroll-margin-top: calc(var(--nav-height) + 20px);
  }

  .support-modal-panel-feedback {
    width: min(100%, 760px);
  }
}

@media (max-width: 760px) {
  .support-centre {
    padding: 32px var(--page-gutter-mobile) 48px;
  }

  .support-hero h1 {
    font-size: var(--section-title-mobile);
  }

  .support-actions {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .support-action-card {
    min-height: 0;
    padding: 24px;
  }

  .support-action-card > .support-button {
    margin-top: 8px;
  }

  .support-action-card > .support-button,
  .support-button {
    width: 100%;
    min-height: var(--tap-target);
  }

  .support-faq-section {
    margin-top: 32px;
  }

  .support-faq-category summary {
    min-height: 58px;
    padding-left: 18px;
  }

  .support-faq-content {
    padding: 0 18px 20px;
  }

  .support-modal {
    align-items: end;
    padding: 14px;
  }

  .support-modal-panel {
    width: 100%;
    max-height: 90vh;
    padding: 22px 18px;
    border-radius: 8px;
  }

  .support-modal-panel-feedback {
    padding: 18px 16px 0;
  }

  .support-modal-panel h2 {
    font-size: 1.55rem;
  }

  .support-modal-panel-feedback h2 {
    font-size: 1.55rem;
  }

  .support-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .support-modal-actions .support-button-primary {
    min-width: 0;
  }

  .support-modal-actions .support-button {
    width: 100%;
  }

  .support-modal-header {
    gap: 12px;
  }

  .support-modal-panel-feedback .support-modal-header {
    gap: 14px;
    padding-right: 40px;
  }

  .support-modal-panel-feedback .support-modal-header p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .support-modal-panel-feedback .support-modal-image-icon-feedback {
    width: 56px;
    height: 56px;
  }

  .feedback-modal-form {
    gap: 10px;
    margin-top: 14px;
  }

  .feedback-modal-form .feedback-appreciation-card {
    align-items: flex-start;
    min-height: 0;
    padding: 12px;
  }

  .feedback-appreciation-icon {
    width: 52px;
    height: 52px;
  }

  .feedback-modal-footer {
    margin: 2px -16px 0;
    padding: 12px 16px 14px;
  }

  .feedback-modal-footer .support-button {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .support-faq-content {
    padding-left: 18px;
  }

  .support-footer {
    display: grid;
    justify-items: center;
    text-align: center;
  }

}

@media (max-width: 479px) {
  .support-centre {
    padding-inline: var(--page-gutter-small);
  }

  .support-hero {
    text-align: left;
  }

  .support-action-card {
    padding: 22px 18px;
  }

  .support-faq-category summary {
    padding-right: 38px;
  }

  .support-modal {
    padding: 10px;
  }
}
