/* ════════════════════════════════
   SUPPORT PAGE
════════════════════════════════ */

/* Active nav link */
.nav-active {
  color: #da6e5d !important;
}

.support-wrapper {
  background: var(--features-bg);
  padding: 5rem 5% 6rem;
}

.support-container {
  max-width: 1060px;
  margin: 0 auto;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.support-panel {
  background: var(--white);
  border-radius: 20px;
  border: 1.5px solid rgba(27, 94, 123, 0.12);
  padding: 2.6rem 2.4rem;
}

.support-left-col,
.support-right-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  /* Grid items default to min-width:auto, which lets a wide intrinsic
     child (the ticker's max-content track, below) blow this column past
     its 1fr share even though it's visually clipped — this resets that. */
  min-width: 0;
}

.support-manage-panel {
  text-align: center;
}

.support-manage-panel p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.support-manage-panel a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Info panel ── */
.support-info-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.6rem;
  line-height: 1.35;
}

.support-info-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.1rem;
}

.support-info-body:last-child {
  margin-bottom: 0;
}

/* ── Success / cancelled states ── */
.support-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.5rem 1.5rem;
}

.support-success--visible {
  display: flex;
}

.support-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.support-success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.support-success-body {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  max-width: 340px;
}

.support-portal-note {
  display: none;
  margin-top: 0.8rem;
}

.support-portal-note--visible {
  display: block;
}

.support-portal-note a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.support-cancelled-note {
  display: none;
  font-size: 0.88rem;
  color: var(--coral-dark);
  background: var(--features-bg);
  border-left: 3px solid var(--coral);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.support-cancelled-note--visible {
  display: block;
}

/* ── Form panel ── */
.support-form-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.6rem;
}

.support-form {
  display: flex;
  flex-direction: column;
}

.sf-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.sf-label--required::after {
  content: ' *';
  color: var(--coral);
  font-weight: 700;
}

.sf-amount-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.sf-amount-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sf-amount-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27, 94, 123, 0.1);
}

.sf-amount-presets {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.sf-preset-btn {
  padding: 0.7rem 0.95rem;
  border: 1.5px solid rgba(27, 94, 123, 0.2);
  border-radius: 10px;
  background: var(--white);
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sf-preset-btn:hover {
  border-color: var(--teal);
}

.sf-preset-btn--active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.sf-group {
  margin-bottom: 1rem;
}

.sf-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sf-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27, 94, 123, 0.1);
}

.sf-textarea {
  resize: vertical;
  line-height: 1.6;
}

.sf-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0 1.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.sf-checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
  cursor: pointer;
}

.sf-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #aaa;
  color: #888;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: help;
}

.sf-submit-btn {
  display: block;
  width: 100%;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.sf-submit-btn:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(218, 110, 93, 0.3);
}

.sf-note {
  font-size: 0.82rem;
  color: #999;
  line-height: 1.6;
  text-align: center;
  margin-top: 1rem;
  transition: color 0.3s;
}

.sf-note--highlight {
  color: var(--teal);
  font-weight: 500;
}

/* ── Contact panel ── */
.support-contact-panel {
  text-align: center;
}

.support-contact-panel p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.support-contact-panel a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Supporters panel / ticker tape ── */
.support-supporters-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 1.6rem;
}

.ticker-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-track--active {
  animation: ticker-scroll linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.ticker-item::after {
  content: '•';
  margin-left: 1.4rem;
  color: var(--coral);
}

.ticker-empty {
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .support-panel {
    padding: 2rem 1.6rem;
  }

  .sf-amount-row {
    flex-direction: column;
    align-items: stretch;
  }

  .sf-amount-presets {
    justify-content: space-between;
  }

  .sf-preset-btn {
    flex: 1;
  }
}
