.auth-card .auth-switch {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.auth-card .auth-switch a {
  color: var(--gold);
  font-weight: 800;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.muted {
  color: var(--muted);
}

.account-main {
  width: min(100% - 32px, max(70rem, 88vw));
  margin: 0 auto;
  padding: 1.75rem 0 3.75rem;
}

.account-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26.25rem);
  gap: 24px;
  align-items: end;
}

.account-intro h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.account-intro .summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.student-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}

.student-tabs .tab {
  min-width: 8.75rem;
}

.account-section {
  margin-top: 28px;
}

.account-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.account-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.account-forms .editor-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.25rem, 1fr));
  gap: 12px;
}

.info-card {
  padding: 16px;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-card h3 {
  margin: 6px 0 8px;
  font-size: 1.5rem;
}

.info-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-card a {
  color: var(--gold);
  font-weight: 800;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  color: var(--black);
  background: var(--muted);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge-confirmed,
.badge-paid,
.badge-completed {
  background: #8fcf8a;
}

.badge-pending_payment,
.badge-pending,
.badge-scholarship_review,
.badge-waitlisted {
  background: var(--gold);
}

.badge-cancelled,
.badge-failed,
.badge-refunded,
.badge-partially_refunded {
  color: white;
  background: #6f2323;
}

.work-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 10px;
  background: #000;
}

.work-embed iframe,
.work-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.progress-list {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.progress-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}

.progress-list span {
  color: var(--gold);
  font-weight: 800;
}

.editor-fields .wide-2 {
  grid-column: span 2;
}

.register-price {
  margin: 16px 0 0;
  padding: 14px;
  background: #101214;
  border: 1px solid rgba(238, 231, 218, 0.2);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
}

.register-price p {
  margin: 0;
}

.register-price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.register-price-total strong {
  color: var(--gold);
  font-size: 1.5rem;
}

.register-price .muted {
  margin-top: 6px;
  font-size: 0.9rem;
}

.consent-row {
  margin: 14px 0;
  text-transform: none;
  font-weight: 700;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.data-table a {
  color: var(--gold);
  font-weight: 800;
}

.table-scroll {
  overflow-x: auto;
}

.empty-note {
  color: var(--muted);
}

@media (max-width: 820px) {
  .account-intro,
  .account-forms,
  .account-forms .editor-fields,
  .field-pair {
    grid-template-columns: 1fr;
  }

  .editor-fields .wide-2 {
    grid-column: auto;
  }
}
