/* Support /support (web-spec W07). Tokens only. */

.support-head .page-title {
  margin: 0;
}

.support-sub {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-secondary);
}

.support-grid {
  margin-top: 44px;
  row-gap: 32px;
}

.faq .section-title {
  margin: 0 0 12px;
}

/* ---------- FAQ ---------- */

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -12px;
  padding: 18px 12px;
  border-radius: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  transition: background-color var(--transition);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  background: var(--row-hover);
}

.faq__chev {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform var(--transition);
}

.faq__item[open] .faq__chev {
  transform: rotate(180deg);
}

.faq__a {
  margin: 0;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Contact card ---------- */

.contact {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--surface-muted);
  color: var(--on-surface-muted);
}

.contact .section-title {
  margin: 0;
}

.contact__sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-secondary);
}

.contact__mail {
  margin-top: 24px;
}

/* "Nu ai o aplicație de e-mail configurată." sits under the main button; empty until needed. */
.contact__none {
  margin: 8px 0 0;
  text-align: center;
}

.contact__none:empty {
  display: none;
}

/* The copy button and its confirmation share one 48 slot: the confirmation replaces the button for 3 s. */
.contact__copy {
  display: grid;
  margin-top: 8px;
}

.contact__copy > * {
  grid-area: 1 / 1;
}

.contact__copied {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}

.contact__copied:empty {
  display: none;
}

.contact[data-copy-state='copied'] [data-copy] {
  visibility: hidden;
}

@media (max-width: 1023px) {
  .contact {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .support-head {
    padding-top: 24px;
  }

  .support-grid {
    margin-top: 32px;
  }
}
