/* Dashboard — tema AI / futurista */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

.dash-page {
  --dash-bg: #030712;
  --dash-surface: rgba(12, 18, 36, 0.72);
  --dash-border: rgba(139, 92, 246, 0.18);
  --dash-glow: rgba(99, 102, 241, 0.45);
  --dash-cyan: #22d3ee;
  --dash-violet: #a78bfa;
  --dash-indigo: #6366f1;
  --dash-text: #f1f5f9;
  --dash-muted: #94a3b8;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dash-bg);
  color: var(--dash-text);
}

.dash-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(34, 211, 238, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(167, 139, 250, 0.12), transparent 55%),
    var(--dash-bg);
}

.dash-page::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.dash-page .navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.95);
  border-bottom: 1px solid var(--dash-border);
  backdrop-filter: blur(20px);
}

.dash-page .brand {
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, #fff 0%, var(--dash-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dash-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

/* Header */
.dash-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.dash-header-main {
  position: relative;
  padding: 36px 40px;
  border-radius: 24px;
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.dash-header-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dash-cyan), var(--dash-violet), transparent);
}

.dash-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
}

.dash-title span {
  background: linear-gradient(135deg, #fff 30%, var(--dash-violet) 70%, var(--dash-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dash-subtitle {
  margin: 0;
  max-width: 520px;
  color: var(--dash-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.dash-plan-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.dash-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e9d5ff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(167, 139, 250, 0.12));
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.15);
}

.dash-plan-expiry {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--dash-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dash-border);
}

.dash-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

.dash-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dash-action-btn:hover {
  transform: translateY(-2px);
}

.dash-action-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dash-indigo), #7c3aed);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.dash-action-btn--primary:hover {
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5);
}

.dash-action-btn--ghost {
  color: var(--dash-text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--dash-border);
}

.dash-action-btn--ghost:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.1);
}

/* Bento grid */
.dash-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.dash-panel {
  padding: 24px 26px;
  border-radius: 20px;
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  backdrop-filter: blur(20px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.dash-panel:hover {
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.dash-panel-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dash-muted);
}

.dash-panel-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--dash-violet);
}

.dash-panel-icon--cyan {
  background: rgba(34, 211, 238, 0.12);
  color: var(--dash-cyan);
}

.dash-panel-icon--green {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.dash-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  margin: 4px 0 10px;
  background: linear-gradient(180deg, #fff, var(--dash-muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dash-stat-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--dash-muted);
  line-height: 1.5;
}

.dash-stat-card {
  grid-column: span 3;
}

.dash-insight-card {
  grid-column: span 12;
}

.dash-insight-text {
  margin: 12px 0 0;
  color: var(--dash-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.dash-progress {
  margin-top: 18px;
}

.dash-progress-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--dash-muted);
}

.dash-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.dash-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dash-indigo), var(--dash-cyan));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  transition: width 0.6s ease;
}

/* Courses section */
.dash-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.dash-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.dash-section-desc {
  margin: 0;
  color: var(--dash-muted);
  font-size: 0.92rem;
}

.dash-courses-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.dash-course-card {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  border-radius: 20px;
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dash-course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(99, 102, 241, 0.1);
}

.dash-course-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dash-course-card:hover::after {
  opacity: 1;
}

.dash-course-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.2), rgba(3, 7, 18, 0.9));
}

.dash-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dash-course-thumb-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dash-muted);
}

.dash-course-thumb-empty svg {
  opacity: 0.72;
}

.dash-course-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
}

.dash-course-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.35;
}

.dash-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: auto;
}

.dash-course-tag {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dash-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.dash-course-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.dash-course-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-course-btn:hover {
  transform: translateY(-1px);
}

.dash-course-btn--watch {
  color: #fff;
  background: linear-gradient(135deg, var(--dash-indigo), #8b5cf6);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.dash-course-btn--edit {
  color: var(--dash-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--dash-border);
}

/* Empty state */
.dash-empty {
  padding: 48px 32px;
  text-align: center;
  border-radius: 24px;
  border: 1px dashed rgba(167, 139, 250, 0.25);
  background:
    radial-gradient(circle at center, rgba(99, 102, 241, 0.08), transparent 70%),
    var(--dash-surface);
}

.dash-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--dash-violet);
}

.dash-empty h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.dash-empty p {
  max-width: 440px;
  margin: 0 auto 24px;
  color: var(--dash-muted);
  line-height: 1.65;
}

/* Editor layout (cursos, modulos, aulas) */
.dash-form-section {
  margin-bottom: 36px;
}

.dash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.dash-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dash-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.dash-panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.dash-panel-desc {
  margin: 0 0 20px;
  color: var(--dash-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.dash-form-grid {
  display: grid;
  gap: 18px;
}

.dash-form-grid label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dash-muted);
}

.dash-form-grid input[type="text"],
.dash-form-grid input[type="email"],
.dash-form-grid input[type="url"],
.dash-form-grid input[type="number"],
.dash-form-grid input[type="password"],
.dash-form-grid input[type="file"],
.dash-form-grid select,
.dash-form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--dash-text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dash-form-grid textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.dash-form-grid input:focus,
.dash-form-grid select:focus,
.dash-form-grid textarea:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.dash-form-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.85);
}

.dash-lesson-desc {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--dash-muted);
}

.dash-lesson-desc a {
  color: var(--dash-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dash-lesson-desc a:hover {
  color: #67e8f9;
}

.dash-form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dash-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}

.dash-btn:hover {
  transform: translateY(-1px);
}

.dash-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dash-indigo), #7c3aed);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.dash-btn--ghost {
  color: var(--dash-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--dash-border);
}

.dash-btn--danger {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: none;
}

.dash-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.dash-alert--success {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.22);
  color: #a7f3d0;
}

.dash-alert--danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

.dash-alert--warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.22);
  color: #fde68a;
}

.dash-item-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

.dash-item-card {
  flex: 1 1 300px;
  max-width: 100%;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dash-item-card--row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-item-card--row .dash-item-body {
  flex: 1;
  min-width: 0;
}

.dash-item-card--row .dash-item-title {
  margin-bottom: 10px;
}

.dash-item-card--row .dash-item-meta {
  margin-bottom: 0;
}

.dash-item-meta--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-item-meta--inline p {
  margin: 0;
}

.dash-item-card--row .dash-file-links {
  margin-top: 10px;
  margin-bottom: 0;
}

.dash-item-card--row .dash-item-actions {
  width: auto;
  margin-top: 0;
  padding-top: 0;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-end;
}

.dash-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.dash-item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.35;
}

.dash-item-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--dash-muted);
}

.dash-item-meta p {
  margin: 0;
  color: var(--dash-muted);
}

.dash-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-item-actions .dash-course-btn,
.dash-item-actions .dash-btn {
  flex: 1 1 auto;
  min-width: 88px;
}

.dash-item-actions form {
  flex: 1 1 auto;
  margin: 0;
  min-width: 88px;
}

.dash-item-actions form .dash-btn {
  width: 100%;
}

.dash-course-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dash-indigo), #8b5cf6);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.dash-course-btn--danger {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: none;
}

.dash-course-btn--success {
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.25);
  box-shadow: none;
}

.dash-file-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.dash-file-link {
  color: var(--dash-cyan);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dash-course-tag--link {
  text-decoration: none;
  color: var(--dash-cyan);
  border-color: rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.08);
}

.dash-course-tag--link:hover {
  color: #67e8f9;
}

.dash-form-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-form-preview-label {
  font-size: 0.82rem;
  color: var(--dash-muted);
}

.dash-media-preview {
  width: 72px;
  max-width: 72px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  flex-shrink: 0;
}

.dash-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dash-inline-form {
  margin: 0;
}

@media (max-width: 1024px) {
  .dash-stat-card {
    grid-column: span 6;
  }

  .dash-insight-card {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .dash-shell {
    width: min(100% - 24px, 1280px);
    padding-top: 20px;
  }

  .dash-header {
    grid-template-columns: 1fr;
  }

  .dash-quick-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dash-action-btn {
    flex: 1 1 140px;
  }

  .dash-bento {
    grid-template-columns: 1fr;
  }

  .dash-stat-card,
  .dash-insight-card {
    grid-column: span 1;
  }

  .dash-course-card {
    grid-template-columns: 90px 1fr;
  }

  .dash-form-split {
    grid-template-columns: 1fr;
  }

  .dash-form-actions {
    flex-direction: column;
  }

  .dash-form-actions .dash-btn {
    width: 100%;
  }

  .dash-item-card {
    flex: 1 1 100%;
  }

  .dash-item-card--row {
    flex-direction: column;
    align-items: stretch;
  }

  .dash-item-card--row .dash-item-actions {
    width: 100%;
    justify-content: stretch;
  }
}

@media (max-width: 480px) {
  .dash-header-main {
    padding: 24px 22px;
  }

  .dash-course-card {
    grid-template-columns: 1fr;
  }

  .dash-course-thumb {
    max-height: 180px;
    aspect-ratio: auto;
  }

  .dash-course-actions {
    flex-direction: column;
  }
}

/* Alunos (alunos.php) */
.alunos-page {
  --alunos-accent: #6366f1;
}

.alunos-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 100%);
  max-width: none;
  margin: 0 auto;
  padding: 28px 0 72px;
}

.alunos-hero {
  margin-bottom: 28px;
}

.alunos-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dash-cyan);
}

.alunos-title {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}

.alunos-lead {
  margin: 0;
  max-width: 720px;
  color: var(--dash-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.alunos-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.alunos-stat-card {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--dash-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--dash-surface);
  backdrop-filter: blur(20px);
}

.alunos-stat-card--active {
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow: inset 0 1px 0 rgba(52, 211, 153, 0.12);
}

.alunos-stat-card--blocked {
  border-color: rgba(239, 68, 68, 0.22);
  box-shadow: inset 0 1px 0 rgba(239, 68, 68, 0.12);
}

.alunos-stat-card--courses {
  border-color: rgba(34, 211, 238, 0.22);
  box-shadow: inset 0 1px 0 rgba(34, 211, 238, 0.12);
}

.alunos-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dash-muted);
}

.alunos-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.alunos-stat-hint {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.92);
}

.alunos-alert {
  margin-bottom: 18px;
}

.alunos-board {
  border-radius: 24px;
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.alunos-board-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 560px);
  gap: 24px 32px;
  align-items: end;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.alunos-board-title {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.alunos-board-desc {
  margin: 0;
  color: var(--dash-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.alunos-search {
  display: grid;
  gap: 12px;
}

.alunos-search-field {
  position: relative;
  display: block;
  margin: 0;
}

.alunos-search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--dash-muted);
  pointer-events: none;
}

.alunos-search input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px 14px 48px;
  border-radius: 14px;
  border: 1px solid var(--dash-border);
  background: rgba(15, 23, 42, 0.92);
  color: #f1f5f9;
  -webkit-text-fill-color: #f1f5f9;
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  box-shadow: none;
}

.alunos-search input[type="search"]::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.alunos-search input[type="search"]:focus {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.alunos-search-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.alunos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.alunos-btn:hover {
  transform: translateY(-1px);
}

.alunos-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dash-indigo), #8b5cf6);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
}

.alunos-btn--ghost {
  color: var(--dash-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--dash-border);
}

.alunos-btn--danger {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}

.alunos-btn--success {
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.25);
}

.alunos-board-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 32px 0;
  color: var(--dash-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.alunos-list {
  display: grid;
  gap: 14px;
  padding: 20px 32px 28px;
}

.alunos-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.alunos-card:hover {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-1px);
}

.alunos-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.alunos-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
}

.alunos-avatar--violet {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
}

.alunos-avatar--cyan {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.85), rgba(14, 165, 233, 0.85));
}

.alunos-avatar--green {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.85), rgba(16, 185, 129, 0.85));
}

.alunos-avatar--amber {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.9));
}

.alunos-avatar--rose {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(236, 72, 153, 0.9));
}

.alunos-card-content {
  min-width: 0;
}

.alunos-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.alunos-card-name {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.alunos-card-email {
  margin: 0;
  color: var(--dash-muted);
  font-size: 0.9rem;
  word-break: break-word;
}

.alunos-card-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
}

.alunos-detail {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.alunos-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
}

.alunos-detail-value {
  color: var(--dash-text);
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
}

.alunos-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 170px;
}

.alunos-card-actions .dash-inline-form {
  width: 100%;
}

.alunos-card-actions .alunos-btn {
  width: 100%;
}

.alunos-no-action {
  color: var(--dash-muted);
  font-size: 0.84rem;
  text-align: right;
}

.alunos-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 72px 32px;
  text-align: center;
}

.alunos-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--dash-violet);
}

.alunos-empty h3 {
  margin: 8px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: #fff;
}

.alunos-empty p {
  margin: 0;
  max-width: 460px;
  color: var(--dash-muted);
  line-height: 1.65;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-status--active {
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.22);
}

.dash-status--blocked {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.dash-status--refunded {
  color: var(--dash-muted);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.alunos-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 32px 28px;
}

.alunos-page-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.alunos-page-btn,
.alunos-page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--dash-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.alunos-page-number {
  min-width: 42px;
  padding: 0;
}

.alunos-page-btn:hover,
.alunos-page-number:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.alunos-page-number.is-active {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, var(--dash-indigo), #8b5cf6);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.alunos-page-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.dash-dialog {
  --dash-text: #f1f5f9;
  --dash-muted: #94a3b8;
  --dash-border: rgba(139, 92, 246, 0.18);
  --dash-field-bg: rgba(15, 23, 42, 0.92);
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--dash-border);
  border-radius: 22px;
  background: rgba(8, 14, 32, 0.98);
  color: var(--dash-text);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.dash-dialog:not([open]) {
  display: none;
}

.dash-dialog[open] {
  display: flex;
  flex-direction: column;
}

.dash-dialog::backdrop {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(4px);
}

.dash-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--dash-border);
  flex-shrink: 0;
}

.dash-dialog-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dash-text);
}

.dash-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border: 1px solid var(--dash-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--dash-muted);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: none;
  transform: none;
}

.dash-dialog-close:hover {
  color: var(--dash-text);
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transform: none;
}

.dash-dialog-body {
  padding: 24px;
  overflow-y: auto;
}

.dash-dialog-body .dash-form-grid {
  gap: 16px;
}

.dash-dialog .dash-form-grid label {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dash-muted);
  line-height: 1.4;
}

.dash-dialog .dash-field-label {
  display: block;
  color: var(--dash-muted);
}

.dash-dialog .dash-form-grid select,
.dash-dialog .dash-form-grid input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  background-color: var(--dash-field-bg);
  color: #f1f5f9;
  -webkit-text-fill-color: #f1f5f9;
  caret-color: #22d3ee;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.dash-dialog .dash-form-grid input::placeholder {
  color: rgba(148, 163, 184, 0.72);
  opacity: 1;
}

.dash-dialog .dash-form-grid input:-webkit-autofill,
.dash-dialog .dash-form-grid input:-webkit-autofill:hover,
.dash-dialog .dash-form-grid input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f1f5f9;
  caret-color: #22d3ee;
  transition: background-color 9999s ease-out 0s;
  box-shadow: 0 0 0 1000px var(--dash-field-bg) inset;
}

.dash-dialog .dash-form-grid input:focus,
.dash-dialog .dash-form-grid select:focus {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.dash-dialog .dash-form-grid select {
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.dash-dialog .dash-form-grid select:invalid {
  color: rgba(148, 163, 184, 0.72);
  -webkit-text-fill-color: rgba(148, 163, 184, 0.72);
}

.dash-dialog .dash-form-grid select:valid {
  color: #f1f5f9;
  -webkit-text-fill-color: #f1f5f9;
}

.dash-dialog .dash-form-grid select option {
  color: #0f172a;
  background: #fff;
}

.dash-dialog .dash-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.dash-dialog .dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}

.dash-dialog .dash-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dash-indigo), #8b5cf6);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.dash-dialog .dash-btn--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--dash-indigo), #8b5cf6);
}

.dash-dialog .dash-btn--ghost {
  color: var(--dash-text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--dash-border);
}

.dash-dialog .dash-btn--ghost:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .alunos-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alunos-board-head {
    grid-template-columns: 1fr;
  }

  .alunos-card-details {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .alunos-shell {
    width: min(calc(100% - 24px), 100%);
    padding-top: 20px;
  }

  .alunos-stats {
    grid-template-columns: 1fr;
  }

  .alunos-board-head,
  .alunos-board-meta,
  .alunos-list,
  .alunos-pagination {
    padding-left: 20px;
    padding-right: 20px;
  }

  .alunos-card {
    grid-template-columns: 1fr;
  }

  .alunos-card-top {
    flex-direction: column;
  }

  .alunos-card-details {
    grid-template-columns: 1fr;
  }

  .alunos-card-actions {
    min-width: 0;
    justify-content: stretch;
  }

  .alunos-pagination {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 24px;
  }

  .alunos-page-list {
    order: -1;
  }

  .dash-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .dash-dialog-body {
    padding: 18px;
  }

  .dash-dialog .dash-form-actions {
    flex-direction: column;
  }

  .dash-dialog .dash-btn {
    width: 100%;
  }
}

/* Adicionar aluno */
.add-student-page .dash-form-grid {
  max-width: 640px;
}

.add-student-page .dash-field {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dash-muted);
}

.add-student-access-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(99, 102, 241, 0.08);
}

.add-student-access-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  white-space: nowrap;
}

.add-student-access-box-url {
  font-size: 0.86rem;
  font-weight: 600;
  color: #c4b5fd;
  text-decoration: none;
  word-break: break-all;
  text-align: right;
}

.add-student-access-box-url:hover {
  color: #ddd6fe;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.add-student-page .dash-field--select .dash-select-wrap {
  position: relative;
}

.add-student-page .dash-field--select .dash-select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
}

.add-student-page .dash-field--select .dash-select {
  width: 100%;
  padding: 12px 42px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--dash-text);
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.add-student-page .dash-field--select .dash-select:invalid {
  color: rgba(148, 163, 184, 0.78);
}

.add-student-page .dash-field--select .dash-select:valid {
  color: var(--dash-text);
}

.add-student-page .dash-field--select .dash-select:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background-color: rgba(255, 255, 255, 0.06);
}

.add-student-page .dash-field--select .dash-select option {
  color: #0f172a;
  background: #fff;
}

@media (max-width: 640px) {
  .add-student-access-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .add-student-access-box-url {
    text-align: left;
  }
}

/* Perfil do produtor */
.perfil-page .dash-shell {
  max-width: 640px;
  padding-top: 28px;
}

.perfil-account-panel {
  margin-bottom: 24px;
}

.perfil-account-panel .dash-panel-title {
  margin-bottom: 20px;
}

.perfil-details {
  margin: 0;
  padding: 0;
  border: 1px solid var(--dash-border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.perfil-detail-row {
  display: grid;
  grid-template-columns: minmax(110px, 140px) minmax(0, 1fr);
  gap: 12px 20px;
  align-items: center;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.perfil-detail-row:last-child {
  border-bottom: none;
}

.perfil-detail-row dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.perfil-detail-row dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dash-text);
  line-height: 1.45;
  word-break: break-word;
  text-align: right;
}

.perfil-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.28);
}

.perfil-password-form {
  max-width: 480px;
}

@media (max-width: 640px) {
  .perfil-page .dash-shell {
    padding-top: 20px;
  }

  .perfil-detail-row {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }

  .perfil-detail-row dd {
    text-align: left;
  }
}

/* Auth — login e registro */
.auth-shell {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.auth-shell--wide {
  width: min(1040px, calc(100% - 32px));
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  border-radius: 24px;
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.auth-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dash-cyan), var(--dash-violet), transparent);
}

.auth-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.28);
}

.auth-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
}

.auth-title span {
  background: linear-gradient(135deg, #fff 30%, var(--dash-violet) 70%, var(--dash-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-desc {
  margin: 0 0 24px;
  color: var(--dash-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.auth-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.auth-points li {
  position: relative;
  padding-left: 22px;
  color: var(--dash-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dash-cyan), var(--dash-violet));
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
}

.auth-panel .dash-panel-title {
  font-size: 1.35rem;
}

.auth-form {
  margin-top: 4px;
}

.auth-form-actions {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}

.auth-form-actions--stack {
  margin-top: 8px;
}

.auth-footnote {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--dash-muted);
}

.auth-footnote--field {
  margin: -6px 0 0;
  text-align: left;
}

.auth-link {
  color: var(--dash-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-link:hover {
  color: var(--dash-cyan);
}

.auth-panel .dash-panel-desc strong {
  color: var(--dash-text);
  font-weight: 600;
}

@media (max-width: 860px) {
  .auth-shell,
  .auth-shell--wide {
    width: min(560px, calc(100% - 24px));
    padding: 24px 0 48px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    padding: 28px 24px;
  }

  .auth-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .auth-form-actions {
    flex-direction: column;
  }

  .auth-form-actions .dash-btn {
    width: 100%;
    justify-content: center;
  }
}
