/* ═══════════════════════════════════════════════════
   Zetlan Technologies — User Portal Stylesheet
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #f1f5f9; color: #1e293b; }
a { text-decoration: none; }
button { cursor: pointer; }

/* ── CSS Variables ──────────────────────────────── */
:root {
  --u-primary:   #1e3a8a;
  --u-accent:    #4f46e5;
  --u-purple:    #7c3aed;
  --u-gradient:  linear-gradient(135deg,#1e3a8a 0%,#4f46e5 55%,#7c3aed 100%);
  --u-success:   #10b981;
  --u-warning:   #f59e0b;
  --u-danger:    #ef4444;
  --u-shadow:    0 4px 20px rgba(0,0,0,.08);
  --u-shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --u-radius:    14px;
  --u-nav-h:     64px;
}

/* ── NAV ────────────────────────────────────────── */
.u-nav {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.u-nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  height: var(--u-nav-h);
  display: flex; align-items: center; gap: 20px;
}
.u-brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
}
.u-brand-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--u-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem;
}
.u-brand-name {
  font-size: 1rem; font-weight: 900; color: #1e293b; letter-spacing: -.3px;
}
.u-brand-name span { color: var(--u-accent); }

.u-nav-links {
  list-style: none; display: flex; align-items: center; gap: 2px; flex: 1;
}
.u-nl {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 9px;
  font-size: .86rem; font-weight: 600; color: #475569;
  transition: all .2s;
}
.u-nl:hover, .u-nl.active {
  background: rgba(79,70,229,.08); color: var(--u-primary);
}
.u-nl i { font-size: .78rem; }

.u-nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* User pill with dropdown */
.u-user-pill {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 50px;
  border: 1.5px solid #e2e8f0; cursor: pointer;
  transition: border-color .2s;
}
.u-user-pill:hover { border-color: var(--u-accent); }
.u-user-name { font-size: .84rem; font-weight: 700; color: #1e293b; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 12px;
  box-shadow: var(--u-shadow-lg); border: 1px solid #e2e8f0;
  min-width: 160px; display: none; z-index: 999;
  overflow: hidden;
}
.u-user-pill:hover .u-user-dropdown { display: block; }
.u-user-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; font-size: .84rem; font-weight: 600;
  color: #374151; transition: background .15s;
}
.u-user-dropdown a:hover { background: #f8fafc; }

/* Avatar */
.u-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #e2e8f0; }
.u-avatar-initials {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--u-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; flex-shrink: 0;
}

.u-logout-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 50px;
  background: #fee2e2; color: #dc2626;
  font-size: .82rem; font-weight: 700;
  transition: all .2s; border: 1.5px solid #fca5a5;
}
.u-logout-btn:hover { background: #dc2626; color: #fff; border-color: #dc2626; }

/* Mobile nav */
.u-mob-toggle {
  margin-left: auto; background: #f1f5f9; border: none;
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: #475569; transition: all .2s;
}
.u-mob-toggle:hover { background: #e2e8f0; }
.u-mob-menu {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid #f1f5f9;
  padding: 8px 0 16px;
}
.u-mob-menu.open { display: flex; }
.u-mob-user {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 12px; border-bottom: 1px solid #f1f5f9; margin-bottom: 6px;
}
.u-mob-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; font-size: .875rem; font-weight: 600; color: #374151;
  transition: background .15s; border-radius: 0;
}
.u-mob-link i { font-size: .8rem; color: #94a3b8; width: 16px; }
.u-mob-link:hover, .u-mob-link.active { background: rgba(79,70,229,.07); color: var(--u-primary); }
.u-mob-link.active i { color: var(--u-accent); }

/* ── AUTH PAGES (Login / Register) ──────────────── */
.u-auth-bg {
  min-height: 100vh;
  background: var(--u-gradient);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; position: relative; overflow: hidden;
}
.u-auth-circle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.u-auth-card {
  background: #fff; border-radius: 22px;
  width: 100%; max-width: 440px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  overflow: hidden; position: relative; z-index: 1;
}
.u-auth-top {
  background: var(--u-gradient);
  padding: 32px 36px 28px; text-align: center;
}
.u-auth-top-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; margin: 0 auto 14px;
}
.u-auth-top h2 {
  color: #fff; font-weight: 800; font-size: 1.4rem; margin-bottom: 5px;
}
.u-auth-top p { color: rgba(255,255,255,.75); font-size: .875rem; margin: 0; }
.u-auth-body { padding: 28px 32px 32px; }

/* Auth form inputs */
.u-field { margin-bottom: 18px; }
.u-field label {
  display: block; font-size: .75rem; font-weight: 700;
  color: #374151; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
}
.u-input {
  width: 100%; padding: 12px 14px;
  border: 2px solid #e2e8f0; border-radius: 11px;
  font-size: .9rem; font-family: inherit; color: #1e293b;
  transition: border-color .2s, box-shadow .2s;
  background: #fafbff;
}
.u-input:focus {
  outline: none; border-color: var(--u-accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
  background: #fff;
}
.u-input.error { border-color: var(--u-danger); }

/* Password field wrapper */
.u-pw-wrap { position: relative; }
.u-pw-wrap .u-input { padding-right: 44px; }
.u-pw-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #94a3b8; font-size: .9rem;
  cursor: pointer; padding: 4px;
}

.u-btn-submit {
  width: 100%; padding: 13px;
  border: none; border-radius: 11px;
  background: var(--u-gradient); color: #fff;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  transition: opacity .2s, transform .15s;
  max-width: none !important;
}
.u-btn-submit:hover { opacity: .88; transform: translateY(-1px); }
.u-btn-submit:disabled { opacity: .6; transform: none; cursor: not-allowed; }

.u-auth-footer {
  text-align: center; padding: 14px 32px 20px;
  border-top: 1px solid #f1f5f9; font-size: .87rem; color: #64748b;
}
.u-auth-footer a { color: var(--u-accent); font-weight: 700; }

/* Auth alert messages */
.u-alert {
  padding: 11px 14px; border-radius: 9px; font-size: .86rem;
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.u-alert-error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.u-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.u-alert-dup     { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ── DASHBOARD LAYOUT ───────────────────────────── */
.u-page {
  max-width: 1280px; margin: 0 auto;
  padding: 28px 20px 60px;
}

/* Page header */
.u-page-header {
  background: var(--u-gradient);
  border-radius: 18px; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.u-page-header::before {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -60px; right: -40px;
}
.u-page-header h1 {
  color: #fff; font-size: 1.5rem; font-weight: 800;
  margin: 0; text-transform: none; text-align: left;
}
.u-page-header p { color: rgba(255,255,255,.75); font-size: .875rem; margin: 4px 0 0; }

/* Stats grid */
.u-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; margin-bottom: 28px; }
.u-stat-card {
  background: #fff; border-radius: var(--u-radius);
  padding: 22px 20px;
  box-shadow: var(--u-shadow); border: 1px solid #f1f5f9;
  display: flex; align-items: center; gap: 14px;
  transition: transform .25s, box-shadow .25s;
}
.u-stat-card:hover { transform: translateY(-3px); box-shadow: var(--u-shadow-lg); }
.u-stat-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.u-stat-num { font-size: 1.8rem; font-weight: 900; color: #1e293b; line-height: 1; }
.u-stat-label { font-size: .78rem; color: #64748b; font-weight: 600; margin-top: 3px; text-transform: uppercase; letter-spacing: .5px; }

/* Content cards */
.u-card {
  background: #fff; border-radius: var(--u-radius);
  box-shadow: var(--u-shadow); border: 1px solid #f1f5f9;
  margin-bottom: 22px;
}
.u-card-head {
  padding: 18px 22px; border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; justify-content: space-between;
}
.u-card-title {
  font-size: .95rem; font-weight: 800; color: #1e293b;
  display: flex; align-items: center; gap: 8px;
}
.u-card-title i { color: var(--u-accent); }
.u-card-body { padding: 22px; }

/* Course placeholder cards */
.u-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.u-course-card {
  border-radius: 12px; overflow: hidden;
  border: 1px solid #e2e8f0; transition: all .25s;
}
.u-course-card:hover { transform: translateY(-3px); box-shadow: var(--u-shadow-lg); border-color: #c7d2fe; }
.u-course-img {
  height: 110px; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.u-course-info { padding: 14px; }
.u-course-name { font-size: .875rem; font-weight: 700; color: #1e293b; margin-bottom: 5px; }
.u-course-meta { font-size: .75rem; color: #64748b; }
.u-course-badge {
  display: inline-block; padding: 3px 9px; border-radius: 50px;
  font-size: .68rem; font-weight: 700; margin-bottom: 8px;
}
.badge-enrolled  { background: #dbeafe; color: #1e40af; }
.badge-progress  { background: #fef3c7; color: #92400e; }
.badge-completed { background: #d1fae5; color: #065f46; }

/* Activity list */
.u-activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #f8fafc;
}
.u-activity-item:last-child { border-bottom: none; }
.u-activity-dot {
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 6px; flex-shrink: 0;
}
.u-activity-text { font-size: .86rem; color: #374151; line-height: 1.5; }
.u-activity-time { font-size: .75rem; color: #94a3b8; margin-top: 2px; }

/* Profile form */
.u-profile-avatar-wrapper {
  display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
}
.u-avatar-lg {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; border: 3px solid #e2e8f0;
}
.u-avatar-initials-lg {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--u-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900; flex-shrink: 0;
}

/* ── FOOTER ─────────────────────────────────────── */
.u-footer {
  background: #0f172a; margin-top: 0;
}
.u-footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.u-footer-brand { display: flex; align-items: center; gap: 8px; }
.u-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.u-footer-links a { color: rgba(255,255,255,.45); font-size: .82rem; font-weight: 500; transition: color .2s; }
.u-footer-links a:hover { color: #fbbf24; }
.u-footer-copy { color: rgba(255,255,255,.3); font-size: .78rem; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 767.98px) {
  .u-page { padding: 16px 14px 50px; }
  .u-page-header { padding: 20px; }
  .u-page-header h1 { font-size: 1.2rem; }
  .u-auth-body { padding: 22px 20px 24px; }
  .u-auth-top { padding: 24px 24px 20px; }
  .u-footer-inner { flex-direction: column; text-align: center; }
  .u-footer-links { justify-content: center; }
}

/* Modern dashboard */
.dashboard-page {
  padding-top: 24px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr);
  gap: 28px;
  align-items: center;
  min-height: 330px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17,24,39,.98) 0%, rgba(15,118,110,.94) 62%, rgba(180,83,9,.9) 130%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 44px);
  border: 1px solid rgba(20,184,166,.24);
  box-shadow: 0 20px 50px rgba(15,23,42,.18);
  overflow: hidden;
}

.dashboard-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.dashboard-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.dashboard-hero p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.7;
}

.dashboard-hero-actions,
.dashboard-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dashboard-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}

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

.dashboard-btn-primary {
  background: #f59e0b;
  color: #111827;
  box-shadow: 0 12px 26px rgba(245,158,11,.25);
}

.dashboard-btn-primary:hover {
  background: #fbbf24;
  color: #111827;
}

.dashboard-btn-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.dashboard-btn-light:hover {
  background: #fff;
  color: #0f766e;
}

.dashboard-btn-outline {
  background: #fff;
  color: #0f766e;
  border-color: #99f6e4;
}

.dashboard-btn-outline:hover {
  background: #ecfeff;
  color: #115e59;
  border-color: #5eead4;
}

.dashboard-btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: #0f172a;
  box-shadow: 0 12px 24px rgba(37,211,102,.18);
}

.dashboard-btn-whatsapp:hover {
  background: #37e174;
  color: #0f172a;
}

.dashboard-hero-side {
  display: grid;
  gap: 16px;
}

.dashboard-profile-token {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.dashboard-profile-token img,
.dashboard-profile-token span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: #f59e0b;
  color: #111827;
  font-weight: 900;
  font-size: 1.15rem;
}

.dashboard-profile-token strong,
.dashboard-profile-token small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-profile-token strong {
  color: #fff;
  font-size: .95rem;
}

.dashboard-profile-token small {
  margin-top: 2px;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
}

.dashboard-cert-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-cert-stack img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: contain;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 16px 32px rgba(15,23,42,.18);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.dashboard-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 104px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

.dashboard-stat-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.dashboard-stat span,
.dashboard-stat small {
  display: block;
  color: #64748b;
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dashboard-stat strong {
  display: inline-block;
  margin: 4px 6px 0 0;
  color: #111827;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
}

.dashboard-stat small {
  display: inline-block;
}

.dashboard-stat-blue .dashboard-stat-icon { background: #dbeafe; color: #2563eb; }
.dashboard-stat-green .dashboard-stat-icon { background: #d1fae5; color: #059669; }
.dashboard-stat-amber .dashboard-stat-icon { background: #fef3c7; color: #b45309; }
.dashboard-stat-rose .dashboard-stat-icon { background: #ffe4e6; color: #e11d48; }

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.dashboard-main,
.dashboard-sidebar {
  display: grid;
  gap: 20px;
}

.dashboard-panel,
.dashboard-support {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

.dashboard-panel {
  padding: 20px;
}

.dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-panel-head span {
  display: block;
  margin-bottom: 4px;
  color: #0f766e;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dashboard-panel-head h2,
.dashboard-support h2 {
  margin: 0;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.dashboard-link,
.dashboard-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #0f766e;
  background: #ecfeff;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.dashboard-link:hover,
.dashboard-icon-link:hover {
  background: #ccfbf1;
  color: #115e59;
}

.dashboard-icon-link {
  width: 36px;
  padding: 0;
}

.dashboard-empty {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  border-radius: 8px;
  border: 1px dashed #99f6e4;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ecfeff 100%);
}

.dashboard-empty-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 16px 28px rgba(15,118,110,.18);
  margin-bottom: 16px;
}

.dashboard-empty h3 {
  margin: 0;
  color: #111827;
  font-size: 1.15rem;
  font-weight: 900;
}

.dashboard-empty p {
  max-width: 520px;
  margin: 10px auto 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.7;
}

.dashboard-empty .dashboard-empty-actions {
  justify-content: center;
}

.dashboard-payment-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 850;
}

.dashboard-payment-flash.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.dashboard-payment-flash.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.dashboard-paid-course-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dashboard-paid-course {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.dashboard-paid-course-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ecfeff;
  color: #0f766e;
}

.dashboard-paid-course-copy {
  min-width: 0;
}

.dashboard-paid-course-copy span {
  display: inline-flex;
  margin-bottom: 5px;
  color: #16a34a;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-paid-course-copy h3 {
  margin: 0;
  color: #111827;
  font-size: .95rem;
  line-height: 1.35;
}

.dashboard-paid-course-copy p,
.dashboard-paid-course-meta small {
  margin: 6px 0 0;
  color: #64748b;
  font-size: .76rem;
  line-height: 1.45;
}

.dashboard-paid-course-meta,
.dashboard-paid-course-actions {
  grid-column: 1 / -1;
}

.dashboard-paid-course-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.dashboard-paid-course-meta strong {
  color: #111827;
  font-size: .94rem;
}

.dashboard-paid-course-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-paid-course-actions a {
  flex: 1 1 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #0f766e;
  background: #ecfeff;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.dashboard-paid-course-actions a:hover {
  background: #ccfbf1;
  color: #115e59;
}

/* My Courses page */
.my-courses-page {
  display: grid;
  gap: 16px;
}

.my-courses-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.my-courses-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0f766e;
}

.my-courses-breadcrumb strong {
  color: #111827;
}

.my-courses-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.98) 0%, rgba(21,94,117,.95) 58%, rgba(180,83,9,.9) 132%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(20,184,166,.22);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
}

.my-courses-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.my-courses-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.my-courses-hero p {
  max-width: 650px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.76);
  font-size: .94rem;
  line-height: 1.65;
}

.my-courses-hero > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f59e0b;
  color: #111827;
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(245,158,11,.24);
}

.my-courses-hero > a:hover {
  background: #fbbf24;
}

.my-courses-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.my-courses-stats article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.my-courses-stats article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 8px;
  background: #ecfeff;
  color: #0f766e;
}

.my-courses-stats small,
.my-course-meta small {
  display: block;
  color: #64748b;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.my-courses-stats strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.my-courses-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}

.my-courses-toolbar label {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.my-courses-toolbar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: .88rem;
}

.my-courses-toolbar a,
.my-courses-empty a,
.my-course-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #99f6e4;
  background: #ecfeff;
  color: #0f766e;
  font-size: .8rem;
  font-weight: 900;
  text-align: center;
}

.my-courses-toolbar a:hover,
.my-courses-empty a:hover,
.my-course-actions a:hover {
  background: #ccfbf1;
  color: #115e59;
}

.my-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 14px;
}

.my-course-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.my-course-card:hover {
  transform: translateY(-2px);
  border-color: #5eead4;
  box-shadow: 0 18px 38px rgba(15,23,42,.09);
}

.my-course-card[hidden] {
  display: none;
}

.my-course-card header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.my-course-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 14px 26px rgba(15,118,110,.18);
}

.my-course-card header small {
  display: inline-flex;
  color: #16a34a;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.my-course-card h2 {
  margin: 5px 0 0;
  color: #111827;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0;
}

.my-course-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.my-course-meta div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.my-course-meta b {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: .84rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.my-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-course-actions a {
  flex: 1 1 125px;
}

.my-course-actions a.primary {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.my-course-actions a.primary:hover {
  background: #115e59;
  border-color: #115e59;
  color: #fff;
}

.my-courses-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 18px;
  border-radius: 8px;
  border: 1px dashed #99f6e4;
  background: linear-gradient(180deg, #fff 0%, #ecfeff 100%);
  text-align: center;
  color: #64748b;
}

.my-courses-empty[hidden] {
  display: none;
}

.my-courses-empty > i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 16px 28px rgba(15,118,110,.18);
}

.my-courses-empty strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.my-courses-empty p {
  max-width: 520px;
  margin: 0;
  font-size: .88rem;
  line-height: 1.6;
}

/* Enrolled courses page */
.enrolled-courses-page {
  display: grid;
  gap: 16px;
}

.enrolled-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.enrolled-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2563eb;
}

.enrolled-breadcrumb strong {
  color: #111827;
}

.enrolled-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.98) 0%, rgba(37,99,235,.93) 62%, rgba(15,118,110,.92) 132%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(96,165,250,.25);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
}

.enrolled-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.enrolled-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.enrolled-hero p {
  max-width: 700px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.76);
  font-size: .94rem;
  line-height: 1.65;
}

.enrolled-hero > a,
.enrolled-toolbar a,
.enrolled-empty a,
.enrolled-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .8rem;
  font-weight: 900;
  text-align: center;
}

.enrolled-hero > a {
  min-height: 42px;
  background: #f59e0b;
  border-color: #f59e0b;
  color: #111827;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(245,158,11,.24);
}

.enrolled-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.enrolled-stats article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.enrolled-stats article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 8px;
  background: #dbeafe;
  color: #2563eb;
}

.enrolled-stats small,
.enrolled-table small {
  display: block;
  color: #64748b;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.enrolled-stats strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 1.14rem;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.enrolled-stats em {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: .72rem;
  font-style: normal;
  font-weight: 750;
}

.enrolled-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}

.enrolled-toolbar label {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.enrolled-toolbar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: .88rem;
}

.enrolled-table-panel {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.enrolled-table-wrap {
  overflow-x: auto;
}

.enrolled-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.enrolled-table th,
.enrolled-table td {
  padding: 14px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  white-space: nowrap;
}

.enrolled-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.enrolled-table td {
  color: #334155;
  font-size: .82rem;
  font-weight: 750;
}

.enrolled-table strong {
  display: block;
  color: #0f172a;
  font-size: .86rem;
}

.enrolled-table small {
  margin-top: 4px;
  text-transform: none;
}

.enrolled-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: #dcfce7;
  color: #166534;
  font-size: .68rem;
  font-weight: 900;
}

.enrolled-status.completed {
  background: #dbeafe;
  color: #1d4ed8;
}

.enrolled-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 18px;
  border-radius: 8px;
  border: 1px dashed #bfdbfe;
  background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
  text-align: center;
  color: #64748b;
}

.enrolled-empty[hidden] {
  display: none;
}

.enrolled-empty > i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 16px 28px rgba(37,99,235,.18);
}

.enrolled-empty strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.enrolled-empty p {
  max-width: 520px;
  margin: 0;
  font-size: .88rem;
  line-height: 1.6;
}

/* My Learning joined course day plan */
.my-learning-workspace {
  display: grid;
  gap: 16px;
}

.learning-workspace-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.learning-workspace-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0f766e;
}

.learning-workspace-breadcrumb strong {
  color: #111827;
}

.learning-workspace-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.98) 0%, rgba(15,118,110,.94) 62%, rgba(37,99,235,.9) 132%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(20,184,166,.25);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
}

.learning-workspace-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learning-workspace-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.learning-workspace-hero p {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.76);
  font-size: .94rem;
  line-height: 1.65;
}

.learning-workspace-hero > a,
.learning-workspace-empty a,
.learning-day-panel header > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f59e0b;
  border: 1px solid #f59e0b;
  color: #111827;
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
}

.learning-workspace-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.learning-workspace-stats article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.learning-workspace-stats article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 8px;
  background: #ecfeff;
  color: #0f766e;
}

.learning-workspace-stats small,
.learning-course-list-head small,
.learning-day-panel header small,
.learning-day-title small {
  display: block;
  color: #64748b;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.learning-workspace-stats strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 1.14rem;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.learning-workspace-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.learning-course-list,
.learning-day-panel {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.learning-course-list {
  position: sticky;
  top: calc(var(--u-topbar-height, 76px) + 18px);
  display: grid;
  gap: 8px;
  padding: 14px;
}

.learning-course-list-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 8px;
}

.learning-course-list-head strong {
  color: #0f766e;
  font-size: .78rem;
  font-weight: 900;
}

.learning-course-list a {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  color: inherit;
  border: 1px solid transparent;
  background: #f8fafc;
}

.learning-course-list a.active {
  border-color: #5eead4;
  background: #ecfeff;
  box-shadow: 0 12px 22px rgba(15,118,110,.09);
}

.learning-course-list a > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
}

.learning-course-list strong,
.learning-course-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.learning-course-list strong {
  color: #111827;
  font-size: .86rem;
  font-weight: 900;
}

.learning-course-list small {
  margin-top: 4px;
  color: #64748b;
  font-size: .72rem;
  font-weight: 750;
}

.learning-day-panel {
  overflow: hidden;
}

.learning-day-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #edf2f7;
}

.learning-day-panel header h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 900;
}

.learning-day-panel header p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: .84rem;
  line-height: 1.55;
}

.learning-day-panel header > a {
  background: #ecfeff;
  border-color: #99f6e4;
  color: #0f766e;
}

.learning-day-list {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
}

.learning-day-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.learning-day-marker {
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
}

.learning-day-marker span {
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.learning-day-marker strong {
  font-size: 1.65rem;
  line-height: 1;
}

.learning-day-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.learning-day-title > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #dbeafe;
  color: #2563eb;
}

.learning-day-title h3 {
  margin: 3px 0 0;
  color: #111827;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 900;
}

.learning-day-title p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: .8rem;
  line-height: 1.55;
}

.learning-day-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.learning-day-content li {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: .8rem;
  line-height: 1.45;
  font-weight: 750;
}

.learning-day-content li i {
  margin-top: 3px;
  color: #16a34a;
  font-size: .68rem;
}

.learning-workspace-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 18px;
  border-radius: 8px;
  border: 1px dashed #99f6e4;
  background: linear-gradient(180deg, #fff 0%, #ecfeff 100%);
  text-align: center;
  color: #64748b;
}

.learning-workspace-empty > i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-size: 1.35rem;
}

.learning-workspace-empty strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.learning-workspace-empty p {
  max-width: 540px;
  margin: 0;
  font-size: .88rem;
  line-height: 1.6;
}

/* Course progress topic completion */
.course-progress-hero {
  background:
    linear-gradient(135deg, rgba(49,46,129,.98) 0%, rgba(14,116,144,.94) 66%, rgba(15,118,110,.9) 132%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
}

.course-progress-alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 850;
}

.course-progress-alert.success {
  background: #dcfce7;
  color: #166534;
}

.course-progress-alert.error {
  background: #fee2e2;
  color: #991b1b;
}

.course-progress-course-list a {
  align-items: start;
}

.course-progress-mini {
  display: block;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8f0;
}

.course-progress-mini i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #2563eb);
}

.course-progress-ring {
  --progress: 0deg;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  flex: 0 0 76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(#14b8a6 var(--progress), #e2e8f0 0);
  border: 1px solid #e5e7eb;
}

.course-progress-ring strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.course-progress-ring small {
  margin-top: 3px;
  color: #64748b;
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-progress-form {
  display: grid;
  background: #f8fafc;
}

.course-progress-tools {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.course-progress-tools button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #334155;
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
}

.course-progress-tools button.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.course-progress-tools button.finish {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

.course-progress-topic-list {
  padding-top: 14px;
}

.course-progress-module {
  align-items: start;
}

.course-progress-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.course-progress-checks label {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}

.course-progress-checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.course-progress-checks label > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: transparent;
  font-size: .66rem;
}

.course-progress-checks input:checked + span {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.course-progress-checks input:focus + span {
  outline: 3px solid rgba(20,184,166,.22);
}

.course-progress-checks strong {
  color: #334155;
  font-size: .8rem;
  line-height: 1.45;
  font-weight: 780;
}

.course-progress-checks input:checked + span + strong {
  color: #0f172a;
}

/* Learning path roadmap */
.learning-path-hero {
  background:
    linear-gradient(135deg, rgba(15,23,42,.98) 0%, rgba(124,58,237,.92) 58%, rgba(15,118,110,.9) 132%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
}

.learning-path-course-list a {
  align-items: start;
}

.learning-path-status {
  width: max-content;
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: .66rem;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.learning-path-status.active {
  background: #dbeafe;
  color: #1d4ed8;
}

.learning-path-status.completed {
  background: #dcfce7;
  color: #166534;
}

.learning-path-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.learning-path-details article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.learning-path-details small {
  display: block;
  color: #64748b;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learning-path-details strong {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.learning-path-content-grid {
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
  gap: 14px;
  padding: 16px;
  background: #f8fafc;
}

.learning-path-tools-panel,
.learning-path-roadmap-panel {
  min-width: 0;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.learning-path-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.learning-path-section-head > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 8px;
  background: #ede9fe;
  color: #6d28d9;
}

.learning-path-section-head small {
  display: block;
  color: #64748b;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learning-path-section-head h3 {
  margin: 3px 0 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.learning-path-tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.learning-path-tool-list span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  background: #f5f3ff;
  color: #312e81;
  font-size: .8rem;
  line-height: 1.35;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.learning-path-tool-list span::before {
  content: "\f0ad";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #7c3aed;
  font-size: .7rem;
}

.learning-path-step-list {
  position: relative;
  display: grid;
  gap: 11px;
  margin-top: 14px;
}

.learning-path-step-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.learning-path-step-list b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: .82rem;
  font-weight: 950;
}

.learning-path-step-list strong {
  display: block;
  color: #111827;
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 900;
}

.learning-path-step-list p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.55;
}

/* Certificates course and exam status */
.certificate-course-hero {
  background:
    linear-gradient(135deg, rgba(15,23,42,.98) 0%, rgba(180,83,9,.94) 68%, rgba(15,118,110,.92) 132%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
}

.certificate-course-list {
  display: grid;
  gap: 14px;
}

.certificate-course-card {
  --cert-color: #0f766e;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--cert-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.certificate-course-card header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.certificate-course-card header > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cert-color) 12%, white);
  color: var(--cert-color);
  font-size: 1.05rem;
}

.certificate-course-card header small,
.certificate-course-meta small,
.certificate-course-result small {
  display: block;
  color: #64748b;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.certificate-course-card h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 900;
}

.certificate-course-card header b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 950;
  white-space: nowrap;
}

.certificate-course-card header b.ok {
  background: #dcfce7;
  color: #166534;
}

.certificate-course-card header b.wait {
  background: #fef3c7;
  color: #92400e;
}

.certificate-course-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.certificate-course-meta div {
  min-width: 0;
  padding: 11px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #f8fafc;
}

.certificate-course-meta strong {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: .82rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.certificate-course-result {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #fbfdff;
  border: 1px solid #e2e8f0;
}

.certificate-score-ring {
  --score: 0deg;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(#16a34a var(--score), #e2e8f0 0);
}

.certificate-score-ring strong {
  color: #111827;
  font-size: .95rem;
  font-weight: 950;
  line-height: 1;
}

.certificate-score-ring small {
  margin-top: 3px;
  font-size: .58rem;
}

.certificate-course-result p {
  margin: 5px 0 0;
  color: #475569;
  font-size: .82rem;
  line-height: 1.55;
  font-weight: 700;
}

.certificate-course-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.certificate-course-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.certificate-course-actions a.exam {
  background: #1A3263;
  border: 1px solid #1A3263;
  color: #fff;
}

.certificate-course-actions a.certificate {
  background: #16a34a;
  border: 1px solid #16a34a;
  color: #fff;
}

.certificate-course-actions a.disabled {
  pointer-events: none;
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
}

.certificate-sheet {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15,23,42,.08);
}

.certificate-sheet-border {
  min-height: 640px;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 48px;
  border: 2px solid #b45309;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(180,83,9,.08), transparent 32%, rgba(15,118,110,.08)),
    #fff;
  text-align: center;
}

.certificate-sheet header span {
  color: #b45309;
  font-size: .82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.certificate-sheet h1 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
}

.certificate-sheet header p,
.certificate-recipient p {
  margin: 0;
  color: #64748b;
  font-size: .95rem;
  font-weight: 700;
}

.certificate-recipient h2 {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
}

.certificate-recipient strong {
  display: block;
  margin-top: 12px;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.35;
}

.certificate-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.certificate-detail-grid div {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}

.certificate-detail-grid small {
  display: block;
  color: #64748b;
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.certificate-detail-grid b {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: .84rem;
  overflow-wrap: anywhere;
}

.certificate-sheet footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.certificate-sheet footer div span {
  display: block;
  width: 220px;
  height: 1px;
  margin-bottom: 8px;
  background: #111827;
}

.certificate-sheet footer div b {
  color: #334155;
  font-size: .78rem;
  text-transform: uppercase;
}

.certificate-sheet footer button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #1A3263;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
}

/* Write exam empty state */
.write-exam-empty-page {
  display: grid;
  gap: 16px;
}

.write-exam-empty-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 22px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid rgba(99,102,241,.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.98), rgba(49,46,129,.95) 62%, rgba(15,118,110,.9) 135%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
  color: #fff;
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
}

.write-exam-empty-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.write-exam-empty-copy > span {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: .74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.write-exam-empty-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.write-exam-empty-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: .98rem;
  line-height: 1.72;
}

.write-exam-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.write-exam-empty-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border-radius: 8px;
  background: #fff;
  color: #1A3263;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.write-exam-empty-actions a.light {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.write-exam-empty-panel {
  display: grid;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px rgba(255,255,255,.12);
}

.write-exam-empty-panel > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #fff;
  color: #312e81;
  font-size: 1.25rem;
}

.write-exam-empty-panel small {
  color: rgba(255,255,255,.7);
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.write-exam-empty-panel strong {
  margin-top: 7px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.write-exam-empty-panel p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.74);
  font-size: .82rem;
  line-height: 1.65;
}

.write-exam-empty-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.write-exam-empty-steps article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.write-exam-empty-steps article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 950;
}

.write-exam-empty-steps strong,
.write-exam-empty-steps small {
  display: block;
}

.write-exam-empty-steps strong {
  color: #111827;
  font-size: .9rem;
  font-weight: 900;
}

.write-exam-empty-steps small {
  margin-top: 4px;
  color: #64748b;
  font-size: .76rem;
  line-height: 1.5;
  font-weight: 700;
}

/* Upcoming sessions page */
.upcoming-sessions-page {
  display: grid;
  gap: 16px;
}

.upcoming-sessions-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.upcoming-sessions-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e11d48;
}

.upcoming-sessions-breadcrumb strong {
  color: #111827;
}

.upcoming-sessions-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.98) 0%, rgba(190,18,60,.9) 62%, rgba(37,99,235,.88) 132%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(251,113,133,.25);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
}

.upcoming-sessions-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.upcoming-sessions-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.upcoming-sessions-hero p {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.76);
  font-size: .94rem;
  line-height: 1.65;
}

.upcoming-sessions-hero > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #be123c;
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
}

.upcoming-sessions-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.upcoming-sessions-stats article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.upcoming-sessions-stats article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 8px;
  background: #ffe4e6;
  color: #e11d48;
}

.upcoming-sessions-stats small,
.upcoming-session-card small,
.upcoming-session-meta small {
  display: block;
  color: #64748b;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.upcoming-sessions-stats strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 1.14rem;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.upcoming-sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
}

.upcoming-session-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.upcoming-session-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.upcoming-session-card header h2 {
  margin: 5px 0 0;
  color: #111827;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 900;
}

.upcoming-session-card header p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.45;
}

.upcoming-session-card header > span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: #dcfce7;
  color: #166534;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.upcoming-session-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.upcoming-session-meta div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.upcoming-session-meta b {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: .84rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.upcoming-session-details {
  padding: 12px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.upcoming-session-details strong {
  display: block;
  color: #9a3412;
  font-size: .82rem;
  font-weight: 900;
}

.upcoming-session-details p {
  margin: 6px 0 0;
  color: #7c2d12;
  font-size: .82rem;
  line-height: 1.6;
}

.upcoming-session-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.upcoming-session-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .74rem;
  font-weight: 850;
}

.upcoming-sessions-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 18px;
  border-radius: 8px;
  border: 1px dashed #fecdd3;
  background: linear-gradient(180deg, #fff 0%, #fff1f2 100%);
  text-align: center;
  color: #64748b;
}

.upcoming-sessions-empty > i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e11d48;
  color: #fff;
  font-size: 1.35rem;
}

.upcoming-sessions-empty strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.upcoming-sessions-empty p {
  max-width: 520px;
  margin: 0;
  font-size: .88rem;
  line-height: 1.6;
}

.dashboard-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-track-card {
  position: relative;
  min-height: 156px;
  display: grid;
  grid-template-rows: 78px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.dashboard-track-card:hover {
  transform: translateY(-3px);
  border-color: #5eead4;
  box-shadow: 0 16px 34px rgba(15,23,42,.09);
}

.dashboard-track-card.active {
  border-color: #0f766e;
  box-shadow: 0 18px 38px rgba(15,118,110,.16);
}

.dashboard-track-card img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: #f8fafc;
}

.dashboard-track-card span,
.dashboard-track-card strong,
.dashboard-track-card small {
  display: block;
}

.dashboard-track-card span {
  color: #b45309;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dashboard-track-card strong {
  margin-top: 4px;
  color: #111827;
  font-size: .88rem;
  line-height: 1.25;
}

.dashboard-track-card small {
  margin-top: 4px;
  color: #64748b;
  font-size: .75rem;
  line-height: 1.45;
}

.dashboard-track-card > i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #0f766e;
  font-size: .78rem;
}

body.dashboard-cert-open {
  overflow: hidden;
}

.dashboard-cert-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(8px);
}

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

.dashboard-cert-dialog {
  width: min(1380px, 100%);
  height: min(920px, 96vh);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 28px 80px rgba(2, 6, 23, .38);
}

.dashboard-cert-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.dashboard-cert-modal-head span {
  display: block;
  color: #0f766e;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dashboard-cert-modal-head h2 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.2;
}

.dashboard-cert-close,
.dashboard-cert-back {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-cert-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.dashboard-cert-close:hover,
.dashboard-cert-back:hover:not(:disabled) {
  border-color: #0f766e;
  color: #0f766e;
}

.dashboard-cert-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.dashboard-cert-tools small {
  color: #64748b;
  font-size: .74rem;
  line-height: 1.4;
}

.dashboard-cert-back {
  padding: 8px 12px;
  font-size: .78rem;
}

.dashboard-cert-back:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.dashboard-cert-body {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.dashboard-cert-body iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
  background: #fff;
}

.dashboard-cert-loading,
.dashboard-cert-error {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 36px 20px;
  color: #64748b;
  text-align: center;
}

.dashboard-cert-loading i,
.dashboard-cert-error i {
  color: #0f766e;
  font-size: 1.5rem;
}

.dashboard-cert-loading strong,
.dashboard-cert-error strong {
  color: #0f172a;
}

.dashboard-cert-error p {
  margin: 0;
  font-size: .86rem;
}

.dashboard-cert-loading[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .portal-request-modal {
    padding: 0;
  }

  .portal-request-dialog {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .portal-request-form {
    grid-template-columns: 1fr;
  }

  .portal-request-actions > * {
    flex: 1 1 100%;
  }

  .dashboard-cert-modal {
    padding: 0;
  }

  .dashboard-cert-dialog {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    border: 0;
  }

  .dashboard-cert-modal-head,
  .dashboard-cert-tools {
    padding: 12px;
  }

  .dashboard-cert-tools {
    align-items: flex-start;
    flex-direction: column;
  }
}

.dashboard-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 0 18px;
}

.dashboard-profile img,
.dashboard-profile div {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: linear-gradient(135deg, #0f766e, #f59e0b);
  color: #fff;
  font-size: 1.9rem;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(15,118,110,.18);
}

.dashboard-profile strong {
  max-width: 100%;
  margin-top: 12px;
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.dashboard-profile small {
  max-width: 100%;
  margin-top: 3px;
  color: #64748b;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.dashboard-detail-list {
  display: grid;
  gap: 8px;
}

.dashboard-detail-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: .82rem;
  font-weight: 700;
}

.dashboard-detail-row i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ecfeff;
  color: #0f766e;
}

.dashboard-detail-row span {
  overflow-wrap: anywhere;
}

.dashboard-quick-list {
  display: grid;
  gap: 10px;
}

.dashboard-quick-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  grid-template-areas:
    "icon title arrow"
    "icon desc arrow";
  align-items: center;
  column-gap: 10px;
  min-height: 62px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  color: inherit;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}

.dashboard-quick-link:hover {
  transform: translateX(3px);
  background: #f8fafc;
  border-color: #99f6e4;
}

.dashboard-quick-link span {
  grid-area: icon;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff7ed;
  color: #c2410c;
}

.dashboard-quick-link strong {
  grid-area: title;
  color: #111827;
  font-size: .86rem;
  font-weight: 900;
}

.dashboard-quick-link small {
  grid-area: desc;
  color: #64748b;
  font-size: .74rem;
  font-weight: 600;
  margin-top: 2px;
}

.dashboard-quick-link > i {
  grid-area: arrow;
  color: #94a3b8;
  font-size: .7rem;
}

.dashboard-support {
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #134e4a, #0f766e 70%, #b45309 145%);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(15,118,110,.18);
}

.dashboard-support-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.13);
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.dashboard-support h2 {
  color: #fff;
  font-size: 1.1rem;
}

.dashboard-support p {
  margin: 8px 0 18px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  line-height: 1.65;
}

@media (max-width: 1199.98px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .dashboard-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .dashboard-hero,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats,
  .my-courses-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enrolled-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-workspace-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upcoming-sessions-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .learning-course-list {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .dashboard-page {
    padding-top: 16px;
  }

  .dashboard-hero {
    min-height: auto;
    padding: 22px;
  }

  .dashboard-hero h1 {
    font-size: 1.7rem;
  }

  .dashboard-hero p {
    font-size: .92rem;
  }

  .dashboard-cert-stack {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 8px;
  }

  .dashboard-cert-stack img {
    padding: 8px;
  }

  .dashboard-stats,
  .dashboard-track-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stat {
    min-height: 92px;
  }

  .dashboard-panel,
  .dashboard-support {
    padding: 16px;
  }

  .dashboard-panel-head {
    align-items: flex-start;
  }

  .dashboard-empty {
    min-height: 260px;
    padding: 26px 14px;
  }

  .my-courses-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .my-courses-hero h1 {
    font-size: 1.65rem;
  }

  .my-courses-hero > a,
  .my-courses-toolbar a {
    width: 100%;
  }

  .my-courses-stats,
  .my-courses-toolbar,
  .my-course-meta {
    grid-template-columns: 1fr;
  }

  .my-courses-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .my-courses-grid {
    grid-template-columns: 1fr;
  }

  .enrolled-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .enrolled-hero h1 {
    font-size: 1.65rem;
  }

  .enrolled-hero > a,
  .enrolled-toolbar a {
    width: 100%;
  }

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

  .enrolled-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .learning-workspace-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .learning-workspace-hero h1 {
    font-size: 1.65rem;
  }

  .learning-workspace-hero > a,
  .learning-day-panel header > a {
    width: 100%;
  }

  .learning-workspace-stats,
  .learning-day-content ul {
    grid-template-columns: 1fr;
  }

  .learning-day-panel header {
    flex-direction: column;
  }

  .course-progress-ring {
    align-self: flex-start;
  }

  .course-progress-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .course-progress-tools button {
    width: 100%;
  }

  .course-progress-checks {
    grid-template-columns: 1fr;
  }

  .learning-path-details {
    grid-template-columns: 1fr;
  }

  .learning-path-content-grid,
  .learning-path-tool-list {
    grid-template-columns: 1fr;
  }

  .certificate-course-card header,
  .certificate-course-meta,
  .certificate-course-result {
    grid-template-columns: 1fr;
  }

  .certificate-course-card header b {
    justify-self: start;
  }

  .certificate-course-actions a {
    width: 100%;
  }

  .certificate-sheet {
    padding: 10px;
  }

  .certificate-sheet-border {
    min-height: auto;
    padding: 28px 16px;
  }

  .certificate-detail-grid {
    grid-template-columns: 1fr;
  }

  .certificate-sheet footer {
    align-items: stretch;
    flex-direction: column;
  }

  .certificate-sheet footer div span {
    width: 100%;
  }

  .write-exam-empty-hero,
  .write-exam-empty-steps {
    grid-template-columns: 1fr;
  }

  .write-exam-empty-hero {
    min-height: auto;
    padding: 22px;
  }

  .write-exam-empty-actions a {
    width: 100%;
  }

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

  .learning-day-marker {
    width: 100%;
    height: auto;
    min-height: 58px;
    grid-template-columns: auto auto;
    gap: 8px;
  }

  .upcoming-sessions-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .upcoming-sessions-hero h1 {
    font-size: 1.65rem;
  }

  .upcoming-sessions-hero > a {
    width: 100%;
  }

  .upcoming-sessions-stats,
  .upcoming-session-meta {
    grid-template-columns: 1fr;
  }

  .upcoming-session-card header {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .dashboard-hero-actions,
  .dashboard-empty-actions {
    flex-direction: column;
  }

  .dashboard-btn {
    width: 100%;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .certificate-sheet,
  .certificate-sheet * {
    visibility: visible;
  }

  .certificate-sheet {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .certificate-sheet-border {
    min-height: 100vh;
    border-radius: 0;
  }

  .certificate-sheet footer button {
    display: none;
  }
}

/* Student portal application shell */
:root {
  --u-sidebar-width: 300px;
  --u-sidebar-compact: 84px;
  --u-topbar-height: 76px;
}

body.u-portal-layout {
  min-height: 100vh;
  padding-top: var(--u-topbar-height);
  background: #f4f7fb;
}

.u-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  width: var(--u-sidebar-width);
  overflow: hidden;
  color: #e7e7ff;
  background:
    radial-gradient(circle at 12% 7%, rgba(139, 92, 246, .24), transparent 25%),
    radial-gradient(circle at 88% 32%, rgba(59, 130, 246, .11), transparent 28%),
    linear-gradient(180deg, #1d1746 0%, #15153b 52%, #0d1230 100%);
  border-right: 1px solid rgba(167, 139, 250, .13);
  box-shadow: 12px 0 38px rgba(30, 27, 75, .20);
  transition: width .28s ease, transform .28s ease;
}

.u-sidebar-brand {
  display: flex;
  align-items: center;
  min-height: var(--u-topbar-height);
  padding: 0 20px;
  border-bottom: 1px solid rgba(196, 181, 253, .12);
}

.u-sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.u-sidebar-brand-link:hover {
  color: #fff;
}

.u-sidebar-logo {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  box-shadow: 0 10px 26px rgba(99, 102, 241, .34);
}

.u-sidebar-brand-copy {
  min-width: 0;
  white-space: nowrap;
}

.u-sidebar-brand-copy strong,
.u-sidebar-brand-copy small {
  display: block;
}

.u-sidebar-brand-copy strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.u-sidebar-brand-copy small {
  margin-top: 2px;
  color: rgba(221, 214, 254, .56);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.u-sidebar-nav {
  flex: 1;
  padding: 20px 14px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, .28) transparent;
}

.u-sidebar-section-title {
  margin: 5px 12px 10px;
  color: rgba(196, 181, 253, .42);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.u-sidebar-section-title:not(:first-child) {
  margin-top: 24px;
}

.u-side-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-bottom: 5px;
  padding: 5px 11px;
  border: 0;
  border-radius: 11px;
  color: rgba(231, 229, 255, .72);
  background: transparent;
  font-size: .82rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.u-side-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, .13);
}

.u-side-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(139, 92, 246, .30), rgba(59, 130, 246, .15));
  box-shadow: inset 3px 0 0 #a78bfa;
}

.u-side-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: #a5b4fc;
  background: rgba(139, 92, 246, .09);
  font-size: .85rem;
}

.u-side-link:hover .u-side-icon,
.u-side-link.active .u-side-icon {
  color: #ddd6fe;
  background: rgba(167, 139, 250, .18);
}

.u-side-chevron {
  justify-self: end;
  color: rgba(196, 181, 253, .42);
  font-size: .62rem;
  transition: transform .22s ease;
}

.u-side-group.open > .u-side-group-toggle .u-side-chevron {
  transform: rotate(180deg);
}

.u-side-module {
  --u-module-color: #2dd4bf;
}

.u-side-module.emerald { --u-module-color: #34d399; }
.u-side-module.rose { --u-module-color: #fb7185; }
.u-side-module.amber { --u-module-color: #fbbf24; }
.u-side-module.violet { --u-module-color: #c084fc; }
.u-side-module.gold { --u-module-color: #facc15; }
.u-side-module.sky { --u-module-color: #38bdf8; }
.u-side-module.cyan { --u-module-color: #22d3ee; }
.u-side-module.blue { --u-module-color: #60a5fa; }
.u-side-module.lime { --u-module-color: #a3e635; }
.u-side-module.orange { --u-module-color: #fb923c; }
.u-side-module.indigo { --u-module-color: #818cf8; }
.u-side-module.green { --u-module-color: #4ade80; }
.u-side-module.teal { --u-module-color: #2dd4bf; }
.u-side-module.slate { --u-module-color: #94a3b8; }

.u-side-module > .u-side-link {
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
}

.u-side-module > .u-side-link .u-side-icon {
  color: var(--u-module-color);
  background: color-mix(in srgb, var(--u-module-color) 9%, transparent);
}

.u-side-module.open > .u-side-link,
.u-side-module > .u-side-link:hover {
  color: #fff;
  background: color-mix(in srgb, var(--u-module-color) 10%, transparent);
}

.u-module-count {
  min-width: 21px;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--u-module-color);
  background: color-mix(in srgb, var(--u-module-color) 10%, transparent);
  font-size: .54rem;
  font-weight: 900;
  text-align: center;
}

.u-side-module .u-side-submenu > a:hover .u-side-sub-icon {
  color: var(--u-module-color);
}

.u-side-submenu {
  display: none;
  margin: 3px 0 10px 19px;
  padding: 3px 0 3px 15px;
  border-left: 1px solid rgba(167, 139, 250, .18);
}

.u-side-group.open > .u-side-submenu {
  display: grid;
}

.u-side-submenu > a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 4px 8px;
  border-radius: 8px;
  color: rgba(224, 231, 255, .58);
  font-size: .74rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.u-side-submenu > a:hover,
.u-side-submenu > a.active {
  color: #fff;
  background: rgba(99, 102, 241, .12);
}

.u-side-submenu > a.u-side-logout:hover {
  color: #fecaca;
  background: rgba(239, 68, 68, .09);
}

.u-side-sub-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, .08);
  font-size: .68rem;
}

.u-side-submenu > a:hover .u-side-sub-icon,
.u-side-submenu > a.active .u-side-sub-icon {
  color: #c4b5fd;
}

.u-side-nested {
  margin: 2px 0;
}

.u-side-nested-toggle {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 40px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  color: rgba(226, 232, 240, .58);
  background: transparent;
  font-size: .74rem;
  font-weight: 700;
  text-align: left;
  transition: color .18s ease, background .18s ease;
}

.u-side-nested-toggle:hover,
.u-side-nested.open > .u-side-nested-toggle {
  color: #fff;
  background: rgba(255, 255, 255, .055);
}

.u-side-nested-toggle > i {
  color: rgba(255, 255, 255, .25);
  font-size: .58rem;
  transition: transform .2s ease;
}

.u-side-nested.open > .u-side-nested-toggle > i {
  color: #2dd4bf;
  transform: rotate(90deg);
}

.u-side-count {
  min-width: 21px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #a7f3d0;
  background: rgba(45, 212, 191, .10);
  font-size: .54rem;
  font-weight: 900;
  text-align: center;
}

.u-side-nested-menu {
  display: none;
  margin: 4px 0 8px 10px;
  padding: 5px 0 5px 9px;
  border-left: 1px dashed rgba(255, 255, 255, .10);
}

.u-side-nested.open > .u-side-nested-menu {
  display: grid;
  gap: 3px;
}

.u-side-category {
  --u-category-color: #2dd4bf;
}

.u-side-category.blue { --u-category-color: #60a5fa; }
.u-side-category.cyan { --u-category-color: #22d3ee; }
.u-side-category.slate { --u-category-color: #94a3b8; }
.u-side-category.red { --u-category-color: #fb7185; }
.u-side-category.purple { --u-category-color: #c084fc; }
.u-side-category.indigo { --u-category-color: #818cf8; }
.u-side-category.green { --u-category-color: #34d399; }
.u-side-category.amber { --u-category-color: #fbbf24; }
.u-side-category.teal { --u-category-color: #2dd4bf; }
.u-side-category.pink { --u-category-color: #f472b6; }

.u-side-category-toggle,
.u-side-category-link {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto 11px;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 39px;
  padding: 5px 7px;
  border: 0;
  border-radius: 8px;
  color: rgba(226, 232, 240, .64);
  background: transparent;
  text-align: left;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.u-side-category-toggle:hover,
.u-side-category.open > .u-side-category-toggle,
.u-side-category-link:hover,
.u-side-category-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.u-side-category-toggle > span,
.u-side-category-link > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: var(--u-category-color);
  background: color-mix(in srgb, var(--u-category-color) 12%, transparent);
  font-size: .68rem;
}

.u-side-category-toggle strong,
.u-side-category-link strong {
  overflow: hidden;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-side-category-toggle small,
.u-side-category-link small {
  color: var(--u-category-color);
  font-size: .54rem;
  font-weight: 900;
}

.u-side-category-toggle > i,
.u-side-category-link > i {
  color: rgba(255, 255, 255, .22);
  font-size: .55rem;
  transition: transform .2s ease;
}

.u-side-category.open > .u-side-category-toggle > i {
  color: var(--u-category-color);
  transform: rotate(90deg);
}

.u-side-course-list {
  display: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 3px 0 7px 18px;
  padding: 4px 0 4px 8px;
  border-left: 1px solid color-mix(in srgb, var(--u-category-color) 28%, transparent);
}

.u-side-category.open > .u-side-course-list {
  display: grid;
}

.u-side-course-list a,
.u-side-special-list a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 4px 7px;
  border-radius: 7px;
  color: rgba(226, 232, 240, .46);
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.u-side-course-list a:hover,
.u-side-course-list a.active,
.u-side-special-list a:hover,
.u-side-special-list a.active {
  color: #fff;
  background: rgba(255, 255, 255, .05);
  transform: translateX(2px);
}

.u-side-course-list a i {
  color: var(--u-category-color);
  font-size: .61rem;
  text-align: center;
}

.u-side-course-list a span,
.u-side-special-list a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-side-special-list {
  margin-left: 10px;
}

.u-side-collection.featured .u-side-sub-icon,
.u-side-collection.featured .u-side-special-list a i {
  color: #fbbf24;
}

.u-side-collection.new .u-side-sub-icon,
.u-side-collection.new .u-side-special-list a i {
  color: #2dd4bf;
}

.u-side-collection.popular .u-side-sub-icon,
.u-side-collection.popular .u-side-special-list a i {
  color: #fb7185;
}

.u-sidebar-student {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin: 14px;
  padding: 12px;
  border: 1px solid rgba(167, 139, 250, .14);
  border-radius: 13px;
  background: rgba(99, 102, 241, .08);
}

.u-sidebar-student img,
.u-sidebar-student-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid rgba(196, 181, 253, .40);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  object-fit: cover;
  font-size: .82rem;
  font-weight: 900;
}

.u-sidebar-student-copy {
  min-width: 0;
}

.u-sidebar-student-copy strong,
.u-sidebar-student-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-sidebar-student-copy strong {
  color: #fff;
  font-size: .76rem;
}

.u-sidebar-student-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .42);
  font-size: .62rem;
}

.u-sidebar-student-copy small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px rgba(167, 139, 250, .75);
}

/* Soft teal and slate student navigation theme */
.u-sidebar {
  color: #1f3d3a;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 255, 255, .52), transparent 27%),
    radial-gradient(circle at 92% 34%, rgba(167, 203, 197, .32), transparent 30%),
    linear-gradient(180deg, #e7f2ef 0%, #dcebe8 52%, #d2e5e1 100%);
  border-right-color: #a7cbc5;
  box-shadow: 12px 0 36px rgba(31, 61, 58, .13);
}

.u-sidebar-brand {
  border-bottom-color: #a7cbc5;
}

.u-sidebar-brand-link,
.u-sidebar-brand-link:hover,
.u-sidebar-brand-copy strong {
  color: #173d38;
}

.u-sidebar-brand-copy small {
  color: #52706c;
}

.u-sidebar-logo {
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  box-shadow: 0 10px 24px rgba(15, 118, 110, .24);
}

.u-sidebar-nav {
  scrollbar-color: #8ebdb5 transparent;
}

.u-sidebar-section-title {
  color: #52706c;
}

.u-side-link {
  color: #365854;
}

.u-side-link:hover {
  color: #0f5f58;
  background: #c5ded9;
}

.u-side-link.active {
  color: #0f5f58;
  background: linear-gradient(90deg, #bfe3dc, #d7ebe7);
  box-shadow: inset 3px 0 0 #0f766e;
}

.u-side-icon {
  color: #0d9488;
  background: rgba(255, 255, 255, .46);
}

.u-side-link:hover .u-side-icon,
.u-side-link.active .u-side-icon {
  color: #0f766e;
  background: #a9d6cf;
}

.u-side-chevron {
  color: #6f918c;
}

.u-side-module.emerald { --u-module-color: #059669; }
.u-side-module.rose { --u-module-color: #e11d48; }
.u-side-module.amber { --u-module-color: #d97706; }
.u-side-module.violet { --u-module-color: #7c3aed; }
.u-side-module.gold { --u-module-color: #ca8a04; }
.u-side-module.sky { --u-module-color: #0284c7; }
.u-side-module.cyan { --u-module-color: #0891b2; }
.u-side-module.blue { --u-module-color: #2563eb; }
.u-side-module.lime { --u-module-color: #65a30d; }
.u-side-module.orange { --u-module-color: #ea580c; }
.u-side-module.indigo { --u-module-color: #4f46e5; }
.u-side-module.green { --u-module-color: #16a34a; }
.u-side-module.teal { --u-module-color: #0d9488; }
.u-side-module.slate { --u-module-color: #475569; }

.u-side-module.open > .u-side-link,
.u-side-module > .u-side-link:hover {
  color: #173d38;
}

.u-side-submenu {
  border-left-color: #a7cbc5;
}

.u-side-submenu > a,
.u-side-nested-toggle {
  color: #52706c;
}

.u-side-submenu > a:hover,
.u-side-submenu > a.active,
.u-side-nested-toggle:hover,
.u-side-nested.open > .u-side-nested-toggle {
  color: #0f5f58;
  background: rgba(197, 222, 217, .72);
}

.u-side-submenu > a.u-side-logout:hover {
  color: #b91c1c;
  background: #fee2e2;
}

.u-side-sub-icon {
  color: #0d9488;
  background: rgba(255, 255, 255, .46);
}

.u-side-submenu > a:hover .u-side-sub-icon,
.u-side-submenu > a.active .u-side-sub-icon {
  color: #0f766e;
}

.u-side-nested-toggle > i,
.u-side-category-toggle > i {
  color: #6f918c;
}

.u-side-nested-menu {
  border-left-color: #a7cbc5;
}

.u-side-count {
  color: #0f766e;
  background: #ccfbf1;
}

.u-side-category.blue { --u-category-color: #2563eb; }
.u-side-category.cyan { --u-category-color: #0891b2; }
.u-side-category.slate { --u-category-color: #475569; }
.u-side-category.red { --u-category-color: #e11d48; }
.u-side-category.purple { --u-category-color: #7c3aed; }
.u-side-category.indigo { --u-category-color: #4f46e5; }
.u-side-category.green { --u-category-color: #059669; }
.u-side-category.amber { --u-category-color: #d97706; }
.u-side-category.teal { --u-category-color: #0d9488; }
.u-side-category.pink { --u-category-color: #db2777; }

.u-side-category-toggle,
.u-side-category-link {
  color: #52706c;
}

.u-side-category-link > i,
.u-side-category-link:hover > i,
.u-side-category-link.active > i {
  color: #334155;
}

.u-side-category-toggle:hover,
.u-side-category.open > .u-side-category-toggle,
.u-side-category-link:hover,
.u-side-category-link.active {
  color: #173d38;
  background: rgba(197, 222, 217, .68);
}

.u-side-course-list a,
.u-side-special-list a {
  color: #52706c;
}

.u-side-course-list a:hover,
.u-side-course-list a.active,
.u-side-special-list a:hover,
.u-side-special-list a.active {
  color: #0f5f58;
  background: rgba(197, 222, 217, .68);
}

.u-sidebar-student {
  border-color: #a7cbc5;
  background: rgba(255, 255, 255, .38);
}

.u-sidebar-student img,
.u-sidebar-student-avatar {
  border-color: #9bc9c1;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.u-sidebar-student-copy strong {
  color: #1f3d3a;
}

.u-sidebar-student-copy small {
  color: #52706c;
}

.u-sidebar-student-copy small i {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, .46);
}

.u-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--u-sidebar-width);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--u-topbar-height);
  padding: 0 28px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 24px rgba(15, 23, 42, .045);
  backdrop-filter: blur(14px);
  transition: left .28s ease;
}

.u-topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.u-sidebar-toggle {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: #334155;
  background: #f8fafc;
  font-size: .92rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.u-sidebar-toggle:hover {
  color: #0f766e;
  border-color: #99f6e4;
  background: #ecfeff;
}

.u-today {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  border-right: 1px solid #e2e8f0;
}

.u-today-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: .84rem;
}

.u-today strong,
.u-today small,
.u-welcome span,
.u-welcome strong {
  display: block;
  white-space: nowrap;
}

.u-today strong {
  color: #1e293b;
  font-size: .76rem;
}

.u-today small {
  margin-top: 2px;
  color: #64748b;
  font-size: .67rem;
}

.u-welcome span {
  color: #64748b;
  font-size: .7rem;
}

.u-welcome strong {
  margin-top: 2px;
  color: #0f172a;
  font-size: .88rem;
}

.u-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.u-cart-menu {
  position: relative;
}

.u-shopping-cart {
  position: relative;
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: #0f766e;
  background: #f8fafc;
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.u-shopping-cart:hover,
.u-shopping-cart[aria-expanded="true"] {
  color: #115e59;
  border-color: #99f6e4;
  background: #ecfeff;
  transform: translateY(-1px);
}

.u-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  box-shadow: 0 4px 10px rgba(239, 68, 68, .26);
  font-size: .58rem;
  font-weight: 900;
  line-height: 1;
}

.u-cart-badge.empty {
  display: none;
}

.u-cart-dropdown {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 390px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.u-cart-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.u-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #134e4a);
}

.u-cart-head span,
.u-cart-head strong {
  display: block;
}

.u-cart-head span {
  margin-bottom: 3px;
  color: #99f6e4;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.u-cart-head strong {
  font-size: .9rem;
}

.u-cart-head small {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .07);
  font-size: .62rem;
  font-weight: 700;
  white-space: nowrap;
}

.u-cart-items {
  max-height: 350px;
  overflow-y: auto;
}

.u-cart-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 11px;
  min-height: 88px;
  padding: 13px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.u-cart-item:last-child {
  border-bottom: 0;
}

.u-cart-item-media {
  display: grid;
  width: 58px;
  height: 58px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: #0f766e;
  background: #f0fdfa;
  font-size: 1.05rem;
}

.u-cart-item-media img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
}

.u-cart-item-copy {
  min-width: 0;
}

.u-cart-item-copy > a,
.u-cart-item-copy small,
.u-cart-item-copy strong {
  display: block;
}

.u-cart-item-copy > a {
  overflow: hidden;
  color: #1e293b;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-cart-item-copy > a:hover {
  color: #0f766e;
}

.u-cart-item-copy small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: .61rem;
}

.u-cart-item-copy strong {
  margin-top: 5px;
  color: #0f766e;
  font-size: .76rem;
}

.u-cart-remove {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #fecaca;
  border-radius: 9px;
  color: #dc2626;
  background: #fef2f2;
  font-size: .7rem;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.u-cart-remove:hover {
  color: #fff;
  background: #dc2626;
  transform: scale(1.04);
}

.u-cart-remove:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
}

.u-cart-empty {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  text-align: center;
}

.u-cart-empty > span {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 18px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 1.25rem;
}

.u-cart-empty strong {
  color: #1e293b;
  font-size: .88rem;
}

.u-cart-empty p {
  margin: 6px 0 14px;
  color: #94a3b8;
  font-size: .7rem;
}

.u-cart-empty a {
  padding: 8px 13px;
  border-radius: 8px;
  color: #fff;
  background: #0f766e;
  font-size: .68rem;
  font-weight: 800;
  text-decoration: none;
}

.u-cart-summary {
  padding: 15px 17px 17px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.u-cart-summary.empty {
  display: none;
}

.u-cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.u-cart-summary span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 700;
}

.u-cart-summary strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.u-cart-summary > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 9px;
  color: #fff;
  background: #0f766e;
  font-size: .7rem;
  font-weight: 800;
  text-decoration: none;
}

.u-cart-summary > a:hover {
  color: #fff;
  background: #115e59;
}

.u-topbar-profile {
  position: relative;
}

.u-profile-trigger {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  min-width: 205px;
  padding: 6px 10px 6px 7px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #1e293b;
  background: #fff;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.u-profile-trigger:hover,
.u-profile-trigger[aria-expanded="true"] {
  border-color: #99f6e4;
  box-shadow: 0 7px 20px rgba(15, 118, 110, .08);
}

.u-profile-trigger img,
.u-profile-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #d1fae5;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #f59e0b);
  object-fit: cover;
  font-size: .78rem;
  font-weight: 900;
}

.u-profile-trigger-copy {
  min-width: 0;
}

.u-profile-trigger-copy strong,
.u-profile-trigger-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-profile-trigger-copy strong {
  color: #1e293b;
  font-size: .75rem;
}

.u-profile-trigger-copy small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: .62rem;
}

.u-profile-trigger > i {
  color: #94a3b8;
  font-size: .62rem;
  transition: transform .2s ease;
}

.u-profile-trigger[aria-expanded="true"] > i {
  transform: rotate(180deg);
}

.u-profile-dropdown {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 330px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.u-profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.u-profile-dropdown-head {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #134e4a);
}

.u-profile-dropdown-head img,
.u-profile-dropdown-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .20);
  border-radius: 50%;
  color: #0f172a;
  background: linear-gradient(135deg, #bef264, #2dd4bf);
  object-fit: cover;
  font-size: .95rem;
  font-weight: 900;
}

.u-profile-dropdown-head strong,
.u-profile-dropdown-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-profile-dropdown-head strong {
  font-size: .88rem;
}

.u-profile-dropdown-head small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: .67rem;
}

.u-account-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.u-account-status > span {
  color: #64748b;
  font-size: .7rem;
  font-weight: 700;
}

.u-account-status strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .65rem;
  text-transform: uppercase;
}

.u-account-status strong i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.u-account-status strong.active {
  color: #047857;
  background: #d1fae5;
}

.u-account-status strong.active i {
  background: #10b981;
}

.u-account-status strong.inactive {
  color: #b91c1c;
  background: #fee2e2;
}

.u-account-status strong.inactive i {
  background: #ef4444;
}

.u-profile-dropdown-links {
  padding: 8px;
}

.u-profile-dropdown-links > a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  color: #334155;
  text-decoration: none;
  transition: background .18s ease;
}

.u-profile-dropdown-links > a:hover {
  color: #0f766e;
  background: #f0fdfa;
}

.u-profile-dropdown-links > a > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: .76rem;
}

.u-profile-dropdown-links strong,
.u-profile-dropdown-links small {
  display: block;
}

.u-profile-dropdown-links strong {
  color: #334155;
  font-size: .74rem;
}

.u-profile-dropdown-links small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .62rem;
}

.u-profile-dropdown-links > a > i {
  color: #cbd5e1;
  font-size: .6rem;
}

.u-profile-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 8px 8px;
  padding: 11px;
  border-radius: 10px;
  color: #dc2626;
  background: #fef2f2;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}

.u-profile-logout:hover {
  color: #fff;
  background: #dc2626;
}

.u-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1150;
  display: none;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(2px);
}

body.u-portal-layout .u-page {
  width: auto;
  max-width: none;
  margin: 0 0 0 var(--u-sidebar-width);
  transition: margin-left .28s ease;
}

body.u-portal-layout .u-portal-footer {
  margin-left: var(--u-sidebar-width);
  background: #fff;
  border-top: 1px solid #e2e8f0;
  transition: margin-left .28s ease;
}

.u-portal-footer .u-footer-inner {
  max-width: none;
  min-height: 58px;
  justify-content: flex-end;
  padding: 14px 28px;
}

.u-portal-footer .u-footer-copy {
  color: #64748b;
  font-size: .75rem;
}

body.u-sidebar-collapsed .u-sidebar {
  width: var(--u-sidebar-compact);
}

body.u-sidebar-collapsed .u-topbar {
  left: var(--u-sidebar-compact);
}

body.u-sidebar-collapsed .u-page,
body.u-sidebar-collapsed .u-portal-footer {
  margin-left: var(--u-sidebar-compact);
}

body.u-sidebar-collapsed .u-sidebar-brand {
  justify-content: center;
  padding: 0;
}

body.u-sidebar-collapsed .u-sidebar-brand-copy,
body.u-sidebar-collapsed .u-sidebar-text,
body.u-sidebar-collapsed .u-sidebar-section-title,
body.u-sidebar-collapsed .u-side-chevron,
body.u-sidebar-collapsed .u-module-count,
body.u-sidebar-collapsed .u-sidebar-student-copy {
  display: none;
}

body.u-sidebar-collapsed .u-sidebar-nav {
  padding-right: 10px;
  padding-left: 10px;
}

body.u-sidebar-collapsed .u-side-link {
  display: flex;
  justify-content: center;
  padding: 5px;
}

body.u-sidebar-collapsed .u-side-link.active {
  box-shadow: none;
}

body.u-sidebar-collapsed .u-side-submenu {
  display: none !important;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-link {
  color: #0f5f58;
  background: #bfe3dc;
  box-shadow: inset 3px 0 0 #0f766e;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-submenu {
  position: fixed;
  top: var(--u-flyout-top, 88px);
  left: calc(var(--u-sidebar-compact) + 12px);
  z-index: 1305;
  display: grid !important;
  width: min(310px, calc(100vw - var(--u-sidebar-compact) - 28px));
  max-height: calc(100vh - 24px);
  margin: 0;
  padding: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #a7cbc5;
  border-radius: 15px;
  background: rgba(248, 253, 252, .98);
  box-shadow: 0 22px 55px rgba(31, 61, 58, .20);
  animation: uSidebarFlyoutIn .18s ease both;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-submenu::before {
  content: attr(data-menu-title);
  position: sticky;
  top: -10px;
  z-index: 2;
  display: block;
  margin: -10px -10px 7px;
  padding: 14px 15px 12px;
  border-bottom: 1px solid #a7cbc5;
  color: #0f5f58;
  background: #edf7f5;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-submenu .u-sidebar-text {
  display: inline;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-submenu > a {
  grid-template-columns: 30px minmax(0, 1fr);
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-submenu > a,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-nested-toggle,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category-toggle,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category-link,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-course-list a,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-special-list a {
  color: #52706c;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-submenu > a:hover,
body.u-sidebar-collapsed .u-side-group.u-flyout-open > .u-side-submenu > a.active,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-nested-toggle:hover,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-nested.open > .u-side-nested-toggle,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category-toggle:hover,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.open > .u-side-category-toggle,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category-link:hover,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category-link.active,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-course-list a:hover,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-special-list a:hover,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-special-list a.active {
  color: #0f5f58;
  background: #dcebe8;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-sub-icon {
  color: #0d9488;
  background: #dcebe8;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-count {
  color: #0f766e;
  background: #ccfbf1;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-nested-toggle > i,
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category-toggle > i {
  color: #6f918c;
}

body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.blue { --u-category-color: #2563eb; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.cyan { --u-category-color: #0891b2; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.slate { --u-category-color: #475569; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.red { --u-category-color: #e11d48; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.purple { --u-category-color: #7c3aed; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.indigo { --u-category-color: #4f46e5; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.green { --u-category-color: #059669; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.amber { --u-category-color: #d97706; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.teal { --u-category-color: #0d9488; }
body.u-sidebar-collapsed .u-side-group.u-flyout-open .u-side-category.pink { --u-category-color: #db2777; }

@keyframes uSidebarFlyoutIn {
  from {
    opacity: 0;
    transform: translateX(-8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

body.u-sidebar-collapsed .u-sidebar-student {
  display: flex;
  justify-content: center;
  margin: 12px 10px;
  padding: 9px;
}

@media (max-width: 991.98px) {
  body.u-portal-layout {
    --u-topbar-height: 68px;
  }

  .u-sidebar {
    width: min(310px, 90vw);
    transform: translateX(-100%);
  }

  .u-topbar,
  body.u-sidebar-collapsed .u-topbar {
    left: 0;
    padding: 0 16px;
  }

  body.u-portal-layout .u-page,
  body.u-sidebar-collapsed .u-page {
    margin-left: 0;
  }

  body.u-portal-layout .u-portal-footer,
  body.u-sidebar-collapsed .u-portal-footer {
    margin-left: 0;
  }

  body.u-sidebar-mobile-open {
    overflow: hidden;
  }

  body.u-sidebar-mobile-open .u-sidebar {
    transform: translateX(0);
  }

  body.u-sidebar-mobile-open .u-sidebar-overlay {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .u-topbar-left {
    gap: 12px;
  }

  .u-today {
    padding-right: 0;
    border-right: 0;
  }

  .u-today-icon,
  .u-welcome {
    display: none;
  }

  .u-profile-trigger {
    grid-template-columns: 38px 14px;
    min-width: 0;
  }

  .u-profile-trigger-copy {
    display: none;
  }

  .u-profile-dropdown {
    position: fixed;
    top: calc(var(--u-topbar-height) - 2px);
    right: 12px;
    width: min(330px, calc(100vw - 24px));
  }

  .u-cart-dropdown {
    position: fixed;
    top: calc(var(--u-topbar-height) - 2px);
    right: 12px;
    width: min(390px, calc(100vw - 24px));
  }

  .u-portal-footer .u-footer-inner {
    align-items: flex-end;
    padding: 14px 18px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .u-sidebar,
  .u-topbar,
  .u-profile-dropdown,
  body.u-portal-layout .u-page,
  body.u-portal-layout .u-portal-footer {
    transition: none;
  }
}

/* Dashboard account security shortcut */
.dashboard-security-link {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid #c7d2fe;
  border-radius: 13px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  color: #3730a3;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.dashboard-security-link:hover {
  color: #312e81;
  border-color: #a5b4fc;
  box-shadow: 0 10px 24px rgba(79,70,229,.12);
  transform: translateY(-2px);
}

.dashboard-security-link > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #4f46e5;
  box-shadow: 0 5px 14px rgba(79,70,229,.12);
}

.dashboard-security-link div {
  display: grid;
  gap: 2px;
}

.dashboard-security-link strong {
  font-size: .82rem;
}

.dashboard-security-link small {
  color: #6366f1;
  font-size: .71rem;
}

.dashboard-security-link > i {
  font-size: .7rem;
}

/* Change password page */
.password-page {
  max-width: 1180px;
}

.password-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #94a3b8;
  font-size: .78rem;
}

.password-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4f46e5;
  font-weight: 700;
  text-decoration: none;
}

.password-breadcrumb strong {
  color: #64748b;
}

.password-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 27px 30px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.16), transparent 27%),
    linear-gradient(135deg, #312e81 0%, #4f46e5 56%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 22px 50px rgba(49,46,129,.2);
}

.password-hero::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -75px;
  bottom: -115px;
  border: 28px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.password-hero-icon {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  font-size: 1.55rem;
  backdrop-filter: blur(8px);
}

.password-hero > div > span,
.password-card-head span,
.password-tips-title small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.password-hero h1 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
}

.password-hero p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: .86rem;
}

.password-security-badge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(15,23,42,.16);
  backdrop-filter: blur(9px);
}

.password-security-badge > i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
}

.password-security-badge span {
  text-transform: none;
  letter-spacing: 0;
}

.password-security-badge strong,
.password-security-badge small {
  display: block;
}

.password-security-badge strong {
  color: #fff;
  font-size: .78rem;
}

.password-security-badge small {
  margin-top: 2px;
  color: rgba(255,255,255,.62);
  font-size: .67rem;
  font-weight: 500;
}

.password-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 22px;
  margin-top: 22px;
}

.password-form-card,
.password-account-card,
.password-tips-card,
.password-back-link {
  border: 1px solid #e8eaf4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
}

.password-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 23px;
  border-bottom: 1px solid #eef0f7;
}

.password-card-head span,
.password-tips-title small {
  color: #6366f1;
}

.password-card-head h2 {
  margin: 3px 0 0;
  color: #172033;
  font-size: 1.04rem;
  font-weight: 800;
}

.password-card-head > i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #4f46e5;
}

.password-card-body {
  padding: 24px;
}

.password-card-body .u-input {
  min-height: 48px;
  border-color: #e1e5ef;
  background: #fbfcff;
}

.password-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 17px;
  color: #94a3b8;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.password-divider::before,
.password-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #edf0f6;
}

.password-strength {
  margin: -6px 0 13px;
}

.password-strength-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #64748b;
  font-size: .7rem;
  font-weight: 700;
}

.password-strength-head strong {
  color: #94a3b8;
}

.password-strength-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.password-strength-bars i {
  height: 4px;
  border-radius: 10px;
  background: #e8ebf2;
  transition: background .2s;
}

.password-strength[data-strength="1"] .password-strength-bars i:nth-child(-n+1) { background: #ef4444; }
.password-strength[data-strength="2"] .password-strength-bars i:nth-child(-n+2) { background: #f59e0b; }
.password-strength[data-strength="3"] .password-strength-bars i:nth-child(-n+3) { background: #3b82f6; }
.password-strength[data-strength="4"] .password-strength-bars i:nth-child(-n+4) { background: #10b981; }
.password-strength[data-strength="1"] .password-strength-head strong { color: #dc2626; }
.password-strength[data-strength="2"] .password-strength-head strong { color: #d97706; }
.password-strength[data-strength="3"] .password-strength-head strong { color: #2563eb; }
.password-strength[data-strength="4"] .password-strength-head strong { color: #059669; }

.password-requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-bottom: 20px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #f8fafc;
}

.password-requirements span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7b8496;
  font-size: .72rem;
}

.password-requirements i {
  color: #cbd5e1;
  font-size: .65rem;
}

.password-requirements .met {
  color: #047857;
}

.password-requirements .met i {
  color: #10b981;
}

.password-match {
  min-height: 17px;
  margin-top: 6px;
  font-size: .71rem;
  font-weight: 700;
}

.password-match.matches { color: #059669; }
.password-match.mismatch { color: #dc2626; }

.password-submit {
  min-height: 49px;
  margin-top: 2px;
  box-shadow: 0 10px 24px rgba(79,70,229,.2);
}

.password-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.password-account-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
}

.password-account-avatar img,
.password-account-avatar span {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: cover;
}

.password-account-avatar span {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.password-account-card small,
.password-account-card strong,
.password-account-card p {
  display: block;
}

.password-account-card small {
  color: #94a3b8;
  font-size: .67rem;
}

.password-account-card strong {
  margin: 2px 0;
  color: #1e293b;
  font-size: .84rem;
}

.password-account-card p {
  overflow: hidden;
  max-width: 175px;
  margin: 0;
  color: #64748b;
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.password-account-status {
  position: absolute;
  top: 13px;
  right: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 20px;
  background: #ecfdf5;
  color: #047857;
  font-size: .61rem;
  font-weight: 800;
}

.password-account-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

.password-tips-card {
  padding: 20px;
}

.password-tips-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.password-tips-title > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fef3c7;
  color: #d97706;
}

.password-tips-title h2 {
  margin: 2px 0 0;
  color: #1e293b;
  font-size: .88rem;
  font-weight: 800;
}

.password-tips-card ul {
  display: grid;
  gap: 12px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.password-tips-card li {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 8px;
  color: #64748b;
  font-size: .73rem;
  line-height: 1.55;
}

.password-tips-card li i {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: #059669;
  font-size: .58rem;
}

.password-back-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 17px;
  color: #475569;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.password-back-link:hover {
  color: #3730a3;
  border-color: #c7d2fe;
  transform: translateY(-2px);
}

.password-back-link > i {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  color: #4f46e5;
}

.password-back-link strong,
.password-back-link small {
  display: block;
}

.password-back-link strong {
  font-size: .77rem;
}

.password-back-link small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: .66rem;
}

@media (max-width: 850px) {
  .password-hero {
    grid-template-columns: auto 1fr;
  }

  .password-security-badge {
    display: none;
  }

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

  .password-aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .password-back-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .password-hero {
    grid-template-columns: 1fr;
    padding: 23px 20px;
  }

  .password-hero-icon {
    width: 52px;
    height: 52px;
  }

  .password-card-body,
  .password-card-head {
    padding: 18px;
  }

  .password-requirements,
  .password-aside {
    grid-template-columns: 1fr;
  }

  .password-back-link {
    grid-column: auto;
  }
}

/* Student profile */
.student-profile-page {
  max-width: 1220px;
}

.student-profile-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.17), transparent 28%),
    linear-gradient(135deg, #172554 0%, #3730a3 52%, #6d28d9 100%);
  box-shadow: 0 22px 52px rgba(49,46,129,.2);
  color: #fff;
}

.student-profile-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -125px;
  width: 210px;
  height: 210px;
  border: 30px solid rgba(255,255,255,.055);
  border-radius: 50%;
}

.student-profile-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.student-profile-photo,
.student-profile-photo img,
.student-profile-photo span {
  width: 82px;
  height: 82px;
  border-radius: 22px;
}

.student-profile-photo {
  flex: 0 0 auto;
  padding: 3px;
  background: rgba(255,255,255,.2);
  box-shadow: 0 14px 30px rgba(15,23,42,.22);
}

.student-profile-photo img {
  display: block;
  object-fit: cover;
}

.student-profile-photo span {
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.student-profile-eyebrow {
  color: #c7d2fe;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.student-profile-identity h1 {
  margin: 4px 0 3px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
}

.student-profile-identity > div > p {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
}

.student-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.student-profile-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.82);
  font-size: .67rem;
  font-weight: 700;
}

.student-profile-tags i {
  color: #86efac;
  font-size: .62rem;
}

.student-profile-completion {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(300px, 100%);
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(15,23,42,.17);
  backdrop-filter: blur(10px);
}

.student-profile-ring {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#a7f3d0 var(--profile-progress), rgba(255,255,255,.15) 0);
  position: relative;
}

.student-profile-ring::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #3730a3;
}

.student-profile-ring span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.student-profile-completion strong,
.student-profile-completion small {
  display: block;
}

.student-profile-completion strong {
  color: #fff;
  font-size: .8rem;
}

.student-profile-completion small {
  margin-top: 3px;
  color: rgba(255,255,255,.64);
  font-size: .68rem;
  line-height: 1.45;
}

.student-profile-alert {
  max-width: 780px;
  margin: 18px 0 -4px;
}

.student-profile-storage-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #fcd34d;
  border-radius: 14px;
  background: #fffbeb;
  color: #92400e;
}

.student-profile-storage-warning > i {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fef3c7;
  color: #d97706;
}

.student-profile-storage-warning strong {
  display: block;
  font-size: .78rem;
}

.student-profile-storage-warning p {
  margin: 3px 0 0;
  font-size: .7rem;
  line-height: 1.55;
}

.student-profile-storage-warning code {
  color: #78350f;
  font-weight: 800;
}

.student-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 22px;
  margin-top: 22px;
}

.student-profile-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.student-profile-card,
.student-profile-summary,
.student-profile-checklist,
.student-profile-actions {
  overflow: hidden;
  border: 1px solid #e8ebf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.055);
}

.student-profile-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 21px;
  border-bottom: 1px solid #eef0f6;
}

.student-profile-card-head > span,
.student-profile-side-title > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eef2ff;
  color: #4f46e5;
}

.student-profile-card-head > span.purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.student-profile-card-head > span.cyan {
  background: #ecfeff;
  color: #0e7490;
}

.student-profile-card-head > span.amber {
  background: #fffbeb;
  color: #b45309;
}

.student-profile-card-head > span.rose {
  background: #fff1f2;
  color: #be123c;
}

.student-profile-card-head small,
.student-profile-side-title small {
  display: block;
  color: #6366f1;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.student-profile-card-head h2,
.student-profile-side-title h2 {
  margin: 3px 0 0;
  color: #172033;
  font-size: .98rem;
  font-weight: 850;
}

.student-profile-card-body {
  padding: 22px;
}

.student-photo-upload {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 23px;
  padding: 16px;
  border: 1px dashed #c7d2fe;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8faff, #faf8ff);
}

.student-photo-upload-preview,
.student-photo-upload-preview img,
.student-photo-upload-preview span {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.student-photo-upload-preview {
  flex: 0 0 auto;
  overflow: hidden;
}

.student-photo-upload-preview img {
  display: block;
  object-fit: cover;
}

.student-photo-upload-preview span {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.student-photo-upload strong {
  display: block;
  color: #1e293b;
  font-size: .82rem;
}

.student-photo-upload p {
  margin: 3px 0 9px;
  color: #7b8496;
  font-size: .69rem;
}

.student-upload-button {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  width: auto;
  margin: 0 8px 0 0 !important;
  padding: 7px 11px;
  border-radius: 9px;
  background: #4f46e5;
  color: #fff !important;
  cursor: pointer;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.student-upload-button input {
  display: none;
}

.student-photo-upload > div > small {
  color: #94a3b8;
  font-size: .65rem;
}

.student-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.student-form-full {
  grid-column: 1 / -1;
}

.student-profile-card .u-field {
  min-width: 0;
}

.student-profile-card .u-field label {
  color: #4b5563;
  font-size: .69rem;
}

.student-profile-card .u-input {
  min-height: 46px;
  border: 1.5px solid #e2e6ef;
  background: #fbfcff;
}

.student-profile-card select.u-input {
  cursor: pointer;
}

.student-profile-card .u-input:focus {
  border-color: #6366f1;
  background: #fff;
}

.student-textarea {
  min-height: 96px !important;
  resize: vertical;
  line-height: 1.55;
}

.student-field-help {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: .66rem;
}

.student-phone-control {
  display: grid;
  grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
  gap: 8px;
}

.student-phone-control .student-dial-code {
  min-width: 0;
  padding-left: 10px;
  padding-right: 28px;
  font-size: .7rem;
}

.student-pincode-wrap {
  position: relative;
}

.student-pincode-wrap .u-input {
  padding-right: 42px;
}

.student-pincode-spinner {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #4f46e5;
  font-size: .78rem;
}

.student-pincode-loading {
  border-color: #a5b4fc !important;
  background: #f8faff !important;
}

.student-pincode-status {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 16px;
  margin-top: 6px;
  color: #94a3b8;
  font-size: .65rem;
  line-height: 1.4;
}

.student-pincode-status.loading {
  color: #4f46e5;
}

.student-pincode-status.success {
  color: #047857;
  font-weight: 700;
}

.student-pincode-status.error {
  color: #dc2626;
  font-weight: 700;
}

.student-address-copy {
  margin: -3px 0 17px;
}

.student-address-copy label,
.student-clear-document {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  color: #6366f1 !important;
  cursor: pointer;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.student-address-copy input,
.student-clear-document input {
  accent-color: #4f46e5;
}

.student-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  padding: 13px 14px;
  border: 1px solid #bae6fd;
  border-radius: 13px;
  background: #f0f9ff;
}

.student-privacy-note > i {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0369a1;
}

.student-privacy-note strong {
  color: #075985;
  font-size: .75rem;
}

.student-privacy-note p {
  margin: 3px 0 0;
  color: #527389;
  font-size: .68rem;
  line-height: 1.5;
}

.student-saved-document {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: .66rem;
  font-weight: 800;
}

.student-clear-document {
  margin-top: 7px !important;
  color: #dc2626 !important;
}

.student-profile-savebar {
  position: sticky;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(199,210,254,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(49,46,129,.16);
  backdrop-filter: blur(14px);
}

.student-profile-savebar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.student-profile-savebar > div > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eef2ff;
  color: #4f46e5;
}

.student-profile-savebar strong,
.student-profile-savebar small {
  display: block;
}

.student-profile-savebar strong {
  color: #1e293b;
  font-size: .76rem;
}

.student-profile-savebar small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: .65rem;
}

.student-profile-save {
  min-width: 145px;
  padding: 11px 16px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 9px 20px rgba(79,70,229,.2);
  color: #fff;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 800;
  transition: transform .2s, opacity .2s;
}

.student-profile-save:hover {
  transform: translateY(-1px);
}

.student-profile-save:disabled {
  opacity: .65;
  transform: none;
}

.student-profile-sidebar {
  position: sticky;
  top: calc(var(--u-topbar-height) + 18px);
  display: grid;
  gap: 16px;
}

.student-profile-summary {
  padding: 22px;
  text-align: center;
}

.student-profile-summary-photo,
.student-profile-summary-photo img,
.student-profile-summary-photo span {
  width: 82px;
  height: 82px;
  border-radius: 23px;
}

.student-profile-summary-photo {
  margin: 0 auto 12px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(79,70,229,.16);
}

.student-profile-summary-photo img {
  display: block;
  object-fit: cover;
}

.student-profile-summary-photo span {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}

.student-profile-summary h2 {
  margin: 0;
  color: #172033;
  font-size: 1rem;
  font-weight: 850;
}

.student-profile-summary > p {
  margin: 4px 0 17px;
  color: #7b8496;
  font-size: .7rem;
}

.student-profile-summary-list {
  display: grid;
  gap: 8px;
  text-align: left;
}

.student-profile-summary-list > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 10px;
  background: #f8fafc;
  color: #596579;
  font-size: .7rem;
}

.student-profile-summary-list i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eef2ff;
  color: #4f46e5;
}

.student-profile-summary-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.student-profile-checklist {
  padding: 18px;
}

.student-profile-side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.student-profile-side-title > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.student-profile-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f3f7;
  color: #7b8496;
  font-size: .72rem;
  font-weight: 650;
}

.student-profile-check:last-child {
  border-bottom: none;
}

.student-profile-check i {
  color: #cbd5e1;
}

.student-profile-check.complete {
  color: #334155;
}

.student-profile-check.complete i {
  color: #10b981;
}

.student-profile-actions {
  padding: 8px;
}

.student-profile-actions a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 11px;
  color: #475569;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.student-profile-actions a:hover {
  background: #f5f7ff;
  color: #3730a3;
}

.student-profile-actions a > i:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef2ff;
  color: #4f46e5;
}

.student-profile-actions strong,
.student-profile-actions small {
  display: block;
}

.student-profile-actions strong {
  font-size: .72rem;
}

.student-profile-actions small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: .63rem;
}

.student-profile-actions a > i:last-child {
  color: #cbd5e1;
  font-size: .62rem;
}

.student-profile-actions a.danger:hover {
  background: #fff1f2;
  color: #be123c;
}

.student-profile-actions a.danger > i:first-child {
  background: #fff1f2;
  color: #e11d48;
}

body.student-profile-modal-open {
  overflow: hidden;
}

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

.student-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
}

.student-profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.68);
  backdrop-filter: blur(7px);
  animation: studentProfileFade .2s ease-out;
}

.student-profile-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15,23,42,.34);
  animation: studentProfileModalIn .25s ease-out;
}

.student-profile-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
}

.student-profile-modal-success {
  padding: 4px 32px 18px;
  text-align: center;
}

.student-profile-modal-success > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 8px solid #d1fae5;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(16,185,129,.2);
}

.student-profile-modal-success small {
  color: #059669;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.student-profile-modal-success h2 {
  margin: 5px 0 6px;
  color: #172033;
  font-size: 1.28rem;
  font-weight: 900;
}

.student-profile-modal-success p {
  margin: 0;
  color: #7b8496;
  font-size: .76rem;
}

.student-profile-modal-person {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 15px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}

.student-profile-modal-photo,
.student-profile-modal-photo img,
.student-profile-modal-photo span {
  width: 54px;
  height: 54px;
  border-radius: 15px;
}

.student-profile-modal-photo {
  flex: 0 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(79,70,229,.14);
}

.student-profile-modal-photo img {
  display: block;
  object-fit: cover;
}

.student-profile-modal-photo span {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.student-profile-modal-person strong,
.student-profile-modal-person > div > span {
  display: block;
}

.student-profile-modal-person strong {
  color: #1e293b;
  font-size: .84rem;
}

.student-profile-modal-person > div > span {
  margin-top: 3px;
  color: #64748b;
  font-size: .68rem;
}

.student-profile-modal-status {
  position: absolute;
  top: 11px;
  right: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 50px;
  background: #dcfce7;
  color: #15803d;
  font-size: .6rem;
  font-weight: 850;
}

.student-profile-modal-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
}

.student-profile-modal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.student-profile-modal-details > div {
  position: relative;
  min-width: 0;
  min-height: 64px;
  padding: 11px 10px 10px 43px;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  background: #fbfcfe;
}

.student-profile-modal-details > div > span {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: .65rem;
}

.student-profile-modal-details small,
.student-profile-modal-details strong {
  display: block;
}

.student-profile-modal-details small {
  color: #94a3b8;
  font-size: .58rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.student-profile-modal-details strong {
  overflow: hidden;
  margin-top: 3px;
  color: #334155;
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-profile-modal-done {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 9px 20px rgba(79,70,229,.18);
  color: #fff;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

@keyframes studentProfileFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes studentProfileModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1020px) {
  .student-profile-layout {
    grid-template-columns: 1fr;
  }

  .student-profile-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-profile-summary {
    grid-row: span 2;
  }
}

@media (max-width: 767.98px) {
  .student-profile-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px 20px;
  }

  .student-profile-completion {
    width: 100%;
  }

  .student-profile-card-body {
    padding: 18px;
  }

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

  .student-form-full {
    grid-column: auto;
  }

  .student-profile-sidebar {
    grid-template-columns: 1fr;
  }

  .student-profile-summary {
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .student-phone-control {
    grid-template-columns: minmax(108px, 40%) minmax(0, 1fr);
  }

  .student-profile-identity {
    align-items: flex-start;
  }

  .student-profile-photo,
  .student-profile-photo img,
  .student-profile-photo span {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .student-profile-tags {
    display: grid;
  }

  .student-photo-upload {
    align-items: flex-start;
  }

  .student-upload-button {
    margin-bottom: 7px !important;
  }

  .student-photo-upload > div > small {
    display: block;
  }

  .student-profile-savebar {
    align-items: stretch;
    flex-direction: column;
    bottom: 8px;
  }

  .student-profile-save {
    width: 100%;
  }

  .student-profile-modal {
    padding: 12px;
  }

  .student-profile-modal-dialog {
    max-height: calc(100vh - 24px);
    padding: 20px 15px 16px;
    border-radius: 20px;
  }

  .student-profile-modal-success {
    padding-right: 20px;
    padding-left: 20px;
  }

  .student-profile-modal-success h2 {
    font-size: 1.08rem;
  }

  .student-profile-modal-details {
    grid-template-columns: 1fr;
  }
}

/* Account settings */
.account-settings-page {
  padding-top: 24px;
}

.account-settings-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 700;
}

.account-settings-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475569;
  text-decoration: none;
}

.account-settings-breadcrumb a:hover {
  color: #4f46e5;
}

.account-settings-breadcrumb strong {
  color: #1e293b;
}

.account-settings-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 210px;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 36px 40px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(45, 212, 191, .20), transparent 28%),
    radial-gradient(circle at 12% 100%, rgba(129, 140, 248, .28), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #312e81 58%, #0f766e 125%);
  box-shadow: 0 22px 45px rgba(30, 41, 59, .18);
}

.account-settings-hero::after {
  content: '';
  position: absolute;
  right: -55px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, .025),
    0 0 0 62px rgba(255, 255, 255, .02);
}

.account-settings-hero-copy,
.account-settings-hero-badge {
  position: relative;
  z-index: 1;
}

.account-settings-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #99f6e4;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.account-settings-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -.045em;
}

.account-settings-hero p {
  max-width: 660px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
  line-height: 1.75;
}

.account-settings-hero-badge {
  display: grid;
  flex: 0 0 300px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 17px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.account-settings-hero-badge > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #0f172a;
  background: linear-gradient(135deg, #99f6e4, #bef264);
  font-size: 1.05rem;
}

.account-settings-hero-badge strong,
.account-settings-hero-badge small {
  display: block;
}

.account-settings-hero-badge strong {
  color: #fff;
  font-size: .78rem;
}

.account-settings-hero-badge small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .56);
  font-size: .64rem;
  line-height: 1.45;
}

.account-settings-storage-warning {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid #fcd34d;
  border-radius: 15px;
  color: #92400e;
  background: #fffbeb;
}

.account-settings-storage-warning > i {
  margin-top: 2px;
}

.account-settings-storage-warning strong,
.account-settings-storage-warning p {
  display: block;
  margin: 0;
}

.account-settings-storage-warning strong {
  font-size: .8rem;
}

.account-settings-storage-warning p {
  margin-top: 3px;
  font-size: .7rem;
  line-height: 1.55;
}

.account-settings-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.account-settings-sidebar {
  position: sticky;
  top: calc(var(--u-topbar-height) + 18px);
  display: grid;
  gap: 16px;
}

.account-settings-user-card,
.account-settings-nav,
.account-settings-card {
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .055);
}

.account-settings-user-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
}

.account-settings-user-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #14b8a6, #a3e635);
}

.account-settings-avatar img,
.account-settings-avatar span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 3px solid #e0e7ff;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #0f766e);
  object-fit: cover;
  font-size: 1rem;
  font-weight: 900;
}

.account-settings-user-card small,
.account-settings-user-card strong,
.account-settings-user-card p {
  display: block;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-settings-user-card small {
  color: #94a3b8;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.account-settings-user-card strong {
  margin-top: 3px;
  color: #172033;
  font-size: .8rem;
}

.account-settings-user-card p {
  margin-top: 3px;
  color: #64748b;
  font-size: .64rem;
}

.account-settings-status {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 9px;
  color: #047857;
  background: #ecfdf5;
  font-size: .64rem;
  font-weight: 800;
}

.account-settings-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.account-settings-nav {
  overflow: hidden;
  padding: 8px;
  border-radius: 18px;
}

.account-settings-nav a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 12px;
  color: #475569;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.account-settings-nav a:hover,
.account-settings-nav a.active {
  color: #3730a3;
  background: #eef2ff;
}

.account-settings-nav a:hover {
  transform: translateX(2px);
}

.account-settings-nav a > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: .78rem;
}

.account-settings-nav a.active > span {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 7px 16px rgba(79, 70, 229, .22);
}

.account-settings-nav strong,
.account-settings-nav small {
  display: block;
}

.account-settings-nav strong {
  color: #334155;
  font-size: .73rem;
}

.account-settings-nav small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .6rem;
}

.account-settings-nav a > i {
  color: #cbd5e1;
  font-size: .56rem;
}

.account-settings-form {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.account-settings-alert {
  display: none;
}

.account-settings-alert .u-alert {
  margin-bottom: 0;
  border-radius: 13px;
}

.account-settings-card {
  scroll-margin-top: calc(var(--u-topbar-height) + 18px);
  overflow: hidden;
  border-radius: 20px;
}

.account-settings-card-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.account-settings-card-head > span,
.account-settings-row-icon,
.account-settings-channel-title > span {
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.account-settings-card-head > span {
  width: 46px;
  height: 46px;
  font-size: .9rem;
}

.account-settings-card-head > span.blue,
.account-settings-row-icon.blue,
.account-settings-channel-title > span.blue {
  color: #2563eb;
  background: #dbeafe;
}

.account-settings-card-head > span.amber {
  color: #b45309;
  background: #fef3c7;
}

.account-settings-card-head > span.green,
.account-settings-channel-title > span.green {
  color: #047857;
  background: #d1fae5;
}

.account-settings-card-head > span.rose {
  color: #e11d48;
  background: #ffe4e6;
}

.account-settings-row-icon.purple {
  color: #7c3aed;
  background: #ede9fe;
}

.account-settings-row-icon.cyan {
  color: #0891b2;
  background: #cffafe;
}

.account-settings-card-head small {
  display: block;
  color: #4f46e5;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.account-settings-card-head h2 {
  margin: 3px 0 0;
  color: #172033;
  font-size: 1rem;
  font-weight: 900;
}

.account-settings-card-head p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: .68rem;
  line-height: 1.5;
}

.account-settings-card-body {
  padding: 22px;
}

.account-settings-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-settings-field {
  display: block;
}

.account-settings-field > span,
.account-settings-choice-group legend {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: .67rem;
  font-weight: 800;
}

.account-settings-field select,
.account-settings-inline-select {
  border: 1px solid #dbe3ef;
  color: #1e293b;
  background: #fff;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 600;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.account-settings-field select {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border-radius: 11px;
}

.account-settings-field select:focus,
.account-settings-inline-select:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.account-settings-field > small {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: .6rem;
  line-height: 1.45;
}

.account-settings-choice-group {
  margin: 22px 0;
  padding: 0;
  border: 0;
}

.account-settings-choice-group legend {
  float: none;
  width: auto;
}

.account-settings-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.account-settings-choice {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 2px 10px;
  min-height: 80px;
  padding: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.account-settings-choice:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
}

.account-settings-choice:has(input:checked) {
  border-color: #818cf8;
  background: #f5f7ff;
  box-shadow: 0 7px 18px rgba(79, 70, 229, .08);
}

.account-settings-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-settings-choice > span {
  display: grid;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #64748b;
  background: #f1f5f9;
  font-size: .75rem;
}

.account-settings-choice:has(input:checked) > span {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.account-settings-choice strong {
  color: #334155;
  font-size: .7rem;
}

.account-settings-choice small {
  color: #94a3b8;
  font-size: .58rem;
}

.account-settings-choice > i {
  position: absolute;
  top: 9px;
  right: 9px;
  color: #4f46e5;
  font-size: .68rem;
  opacity: 0;
  transform: scale(.75);
  transition: opacity .18s ease, transform .18s ease;
}

.account-settings-choice:has(input:checked) > i {
  opacity: 1;
  transform: scale(1);
}

.account-settings-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #f1f5f9;
}

.account-settings-row-icon {
  width: 42px;
  height: 42px;
  font-size: .78rem;
}

.account-settings-row strong,
.account-settings-row small {
  display: block;
}

.account-settings-row strong {
  color: #334155;
  font-size: .73rem;
}

.account-settings-row small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: .61rem;
  line-height: 1.45;
}

.account-settings-inline-select {
  min-width: 128px;
  min-height: 39px;
  padding: 0 11px;
  border-radius: 10px;
}

.account-settings-channel {
  overflow: hidden;
  margin-bottom: 17px;
  border: 1px solid #e8edf4;
  border-radius: 15px;
}

.account-settings-channel-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
  background: #f8fafc;
}

.account-settings-channel-title > span {
  width: 42px;
  height: 42px;
  font-size: .82rem;
}

.account-settings-channel-title strong,
.account-settings-channel-title small {
  display: block;
}

.account-settings-channel-title strong {
  color: #334155;
  font-size: .74rem;
}

.account-settings-channel-title small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .6rem;
}

.account-settings-toggle-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  min-height: 65px;
  margin: 0 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.account-settings-toggle-row:last-child {
  border-bottom: 0;
}

.account-settings-toggle-row > span strong,
.account-settings-toggle-row > span small {
  display: block;
}

.account-settings-toggle-row > span strong {
  color: #334155;
  font-size: .7rem;
}

.account-settings-toggle-row > span small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: .6rem;
  line-height: 1.45;
}

.account-settings-toggle-row > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-settings-toggle-row > i {
  position: relative;
  display: block;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .2s ease;
}

.account-settings-toggle-row > i::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .22);
  transition: transform .2s ease;
}

.account-settings-toggle-row > input:checked + i {
  background: linear-gradient(90deg, #4f46e5, #14b8a6);
}

.account-settings-toggle-row > input:checked + i::after {
  transform: translateX(20px);
}

.account-settings-toggle-row:focus-within > i {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.account-settings-digest {
  max-width: 360px;
  margin-top: 4px;
}

.account-settings-privacy-row {
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  min-height: 76px;
  margin: 0;
}

.account-settings-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.account-settings-security-grid a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #334155;
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.account-settings-security-grid a:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .08);
}

.account-settings-security-grid a > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: .82rem;
}

.account-settings-security-grid strong,
.account-settings-security-grid small {
  display: block;
}

.account-settings-security-grid strong {
  font-size: .73rem;
}

.account-settings-security-grid small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: .6rem;
  line-height: 1.5;
}

.account-settings-security-grid a > i {
  color: #cbd5e1;
  font-size: .62rem;
}

.account-settings-savebar {
  position: sticky;
  z-index: 20;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 17px;
  border: 1px solid #dbe3ef;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
  backdrop-filter: blur(14px);
}

.account-settings-savebar > div:first-child {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.account-settings-savebar > div:first-child > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  color: #047857;
  background: #d1fae5;
  font-size: .78rem;
}

.account-settings-form.has-changes .account-settings-savebar > div:first-child > span {
  color: #b45309;
  background: #fef3c7;
}

.account-settings-savebar strong,
.account-settings-savebar small {
  display: block;
}

.account-settings-savebar strong {
  color: #334155;
  font-size: .72rem;
}

.account-settings-savebar small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .6rem;
}

.account-settings-save-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.account-settings-reset,
.account-settings-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  padding: 0 15px;
  border-radius: 11px;
  font-family: inherit;
  font-size: .68rem;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.account-settings-reset {
  border: 1px solid #dbe3ef;
  color: #475569;
  background: #fff;
}

.account-settings-reset:hover {
  color: #3730a3;
  background: #f5f7ff;
}

.account-settings-save {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #0f766e);
  box-shadow: 0 9px 20px rgba(79, 70, 229, .22);
}

.account-settings-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(79, 70, 229, .28);
}

.account-settings-save:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  box-shadow: none;
}

.account-settings-form.compact-density .account-settings-card-body {
  padding-top: 16px;
  padding-bottom: 16px;
}

.account-settings-form.compact-density .account-settings-toggle-row,
.account-settings-form.compact-density .account-settings-row {
  min-height: 56px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.dashboard-security-link + .dashboard-security-link {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .account-settings-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .account-settings-hero-badge {
    flex-basis: 270px;
  }
}

@media (max-width: 991.98px) {
  .account-settings-layout {
    grid-template-columns: 1fr;
  }

  .account-settings-sidebar {
    position: static;
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .account-settings-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .account-settings-page {
    padding-top: 16px;
  }

  .account-settings-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .account-settings-hero-badge {
    flex: none;
    width: 100%;
  }

  .account-settings-sidebar {
    grid-template-columns: 1fr;
  }

  .account-settings-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .account-settings-nav::-webkit-scrollbar {
    display: none;
  }

  .account-settings-nav a {
    flex: 0 0 190px;
  }

  .account-settings-field-grid,
  .account-settings-security-grid {
    grid-template-columns: 1fr;
  }

  .account-settings-savebar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .account-settings-save-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .account-settings-choice-grid {
    grid-template-columns: 1fr;
  }

  .account-settings-choice {
    min-height: 70px;
  }

  .account-settings-card-head,
  .account-settings-card-body,
  .account-settings-security-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .account-settings-card-head {
    align-items: flex-start;
  }

  .account-settings-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .account-settings-inline-select {
    grid-column: 1 / -1;
    width: 100%;
  }

  .account-settings-toggle-row {
    gap: 12px;
  }

  .account-settings-save-actions {
    grid-template-columns: 1fr;
  }
}

/* Notification center */
.notifications-page {
  padding-top: 24px;
}

.notifications-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 700;
}

.notifications-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475569;
  text-decoration: none;
}

.notifications-breadcrumb a:hover {
  color: #4f46e5;
}

.notifications-breadcrumb strong {
  color: #1e293b;
}

.notifications-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 230px;
  overflow: hidden;
  padding: 38px 42px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(45, 212, 191, .22), transparent 26%),
    radial-gradient(circle at 8% 110%, rgba(129, 140, 248, .36), transparent 35%),
    linear-gradient(135deg, #111827 0%, #312e81 58%, #0f766e 125%);
  box-shadow: 0 22px 46px rgba(30, 41, 59, .18);
}

.notifications-hero::after {
  content: '';
  position: absolute;
  right: -82px;
  bottom: -125px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, .025),
    0 0 0 75px rgba(255, 255, 255, .018);
}

.notifications-hero-copy,
.notifications-hero-count {
  position: relative;
  z-index: 1;
}

.notifications-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #99f6e4;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.notifications-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -.045em;
}

.notifications-hero p {
  max-width: 680px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: .88rem;
  line-height: 1.75;
}

.notifications-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.notifications-hero-actions button,
.notifications-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  font-family: inherit;
  font-size: .68rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.notifications-hero-actions button:hover,
.notifications-hero-actions a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .15);
  transform: translateY(-1px);
}

.notifications-hero-actions .notifications-primary-action {
  border-color: transparent;
  color: #172033;
  background: linear-gradient(135deg, #99f6e4, #bef264);
}

.notifications-hero-actions .notifications-primary-action:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

.notifications-hero-count {
  display: grid;
  flex: 0 0 210px;
  min-height: 160px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.notifications-hero-count span {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

.notifications-hero-count strong {
  margin-top: 7px;
  color: #99f6e4;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.notifications-hero-count small {
  margin-top: 7px;
  color: rgba(255, 255, 255, .53);
  font-size: .61rem;
}

.notifications-storage-warning,
.notifications-alert {
  margin-top: 18px;
}

.notifications-storage-warning {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid #fcd34d;
  border-radius: 15px;
  color: #92400e;
  background: #fffbeb;
}

.notifications-storage-warning strong,
.notifications-storage-warning p {
  display: block;
  margin: 0;
}

.notifications-storage-warning strong {
  font-size: .8rem;
}

.notifications-storage-warning p {
  margin-top: 3px;
  font-size: .7rem;
}

.notifications-alert {
  display: none;
}

.notifications-alert .u-alert {
  margin: 0;
  border-radius: 13px;
}

.notifications-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.notifications-stat {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.notifications-stat:hover,
.notifications-stat.active {
  transform: translateY(-2px);
  border-color: #a5b4fc;
  box-shadow: 0 14px 32px rgba(79, 70, 229, .1);
}

.notifications-stat > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  font-size: .9rem;
}

.notifications-stat > span.blue {
  color: #2563eb;
  background: #dbeafe;
}

.notifications-stat > span.purple {
  color: #7c3aed;
  background: #ede9fe;
}

.notifications-stat > span.green {
  color: #047857;
  background: #d1fae5;
}

.notifications-stat > span.amber {
  color: #b45309;
  background: #fef3c7;
}

.notifications-stat strong,
.notifications-stat small {
  display: block;
}

.notifications-stat strong {
  color: #172033;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.notifications-stat small {
  margin-top: 5px;
  color: #64748b;
  font-size: .64rem;
  font-weight: 700;
}

.notifications-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 20px;
}

.notifications-inbox,
.notifications-preferences-card,
.notifications-help-card {
  border: 1px solid #e2e8f0;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .055);
}

.notifications-inbox {
  min-width: 0;
  overflow: hidden;
}

.notifications-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  background: #fbfdff;
}

.notifications-search {
  position: relative;
}

.notifications-search i {
  position: absolute;
  top: 50%;
  left: 13px;
  color: #94a3b8;
  font-size: .72rem;
  transform: translateY(-50%);
}

.notifications-search input {
  width: 100%;
  min-height: 41px;
  padding: 0 13px 0 36px;
  border: 1px solid #dbe3ef;
  border-radius: 11px;
  color: #1e293b;
  background: #fff;
  font-family: inherit;
  font-size: .7rem;
  outline: none;
}

.notifications-search input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .09);
}

.notifications-filter-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: #f1f5f9;
}

.notifications-filter-menu button {
  min-height: 33px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: #64748b;
  background: transparent;
  font-family: inherit;
  font-size: .61rem;
  font-weight: 800;
}

.notifications-filter-menu button:hover,
.notifications-filter-menu button.active {
  color: #3730a3;
  background: #fff;
  box-shadow: 0 3px 9px rgba(15, 23, 42, .08);
}

.notifications-clear-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #64748b;
  background: #fff;
  font-family: inherit;
  font-size: .62rem;
  font-weight: 800;
}

.notifications-clear-read:hover {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

.notifications-group {
  padding: 0 18px;
}

.notifications-group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 2px 10px;
}

.notifications-group-label span {
  color: #64748b;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.notifications-group-label i {
  width: 100%;
  height: 1px;
  background: #eef2f7;
}

.notification-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 14px;
  margin-bottom: 10px;
  padding: 17px;
  border: 1px solid #e8edf4;
  border-radius: 15px;
  background: #fff;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.notification-card:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.notification-card.unread {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #f8faff, #fff);
  box-shadow: inset 4px 0 #6366f1;
}

.notification-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  font-size: .92rem;
}

.notification-card-icon.blue {
  color: #2563eb;
  background: #dbeafe;
}

.notification-card-icon.purple {
  color: #7c3aed;
  background: #ede9fe;
}

.notification-card-icon.amber {
  color: #b45309;
  background: #fef3c7;
}

.notification-card-icon.orange {
  color: #c2410c;
  background: #ffedd5;
}

.notification-card-icon.rose {
  color: #e11d48;
  background: #ffe4e6;
}

.notification-card-icon.teal {
  color: #0f766e;
  background: #ccfbf1;
}

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

.notification-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.notification-card-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 800;
}

.notification-category {
  color: #4338ca;
  background: #eef2ff;
}

.notification-priority {
  color: #b91c1c;
  background: #fee2e2;
}

.notification-card-meta time {
  margin-left: auto;
  color: #94a3b8;
  font-size: .58rem;
  font-weight: 700;
}

.notification-card h2 {
  margin: 9px 0 0;
  color: #263247;
  font-size: .8rem;
  font-weight: 850;
  line-height: 1.4;
}

.notification-card.unread h2 {
  color: #172033;
}

.notification-card p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: .67rem;
  line-height: 1.65;
}

.notification-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.notification-card-actions a,
.notification-card-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: #4f46e5;
  background: transparent;
  font-family: inherit;
  font-size: .61rem;
  font-weight: 800;
  text-decoration: none;
}

.notification-card-actions a:hover,
.notification-card-actions button:hover {
  color: #312e81;
}

.notification-card-side {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 0 5px rgba(99, 102, 241, .1);
}

.notification-delete {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #cbd5e1;
  background: transparent;
  font-size: .65rem;
}

.notification-delete:hover {
  color: #dc2626;
  background: #fef2f2;
}

.notifications-empty,
.notifications-no-results {
  padding: 70px 24px;
  text-align: center;
}

.notifications-empty > span,
.notifications-no-results > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 18px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: 1.2rem;
}

.notifications-empty h2,
.notifications-no-results h2 {
  margin: 0;
  color: #263247;
  font-size: .95rem;
  font-weight: 900;
}

.notifications-empty p,
.notifications-no-results p {
  margin: 7px 0 0;
  color: #94a3b8;
  font-size: .68rem;
}

.notifications-sidebar {
  position: sticky;
  top: calc(var(--u-topbar-height) + 18px);
  display: grid;
  gap: 16px;
}

.notifications-preferences-card {
  overflow: hidden;
  padding: 18px;
}

.notifications-side-title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.notifications-side-title > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: .82rem;
}

.notifications-side-title small,
.notifications-side-title h2 {
  display: block;
  margin: 0;
}

.notifications-side-title small {
  color: #4f46e5;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notifications-side-title h2 {
  margin-top: 4px;
  color: #263247;
  font-size: .8rem;
  font-weight: 900;
}

.notifications-channel-list {
  display: grid;
  gap: 4px;
  margin-top: 17px;
}

.notifications-channel-list > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.notifications-channel-list > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  font-size: .72rem;
}

.notifications-channel-list > div > span.blue {
  color: #2563eb;
  background: #dbeafe;
}

.notifications-channel-list > div > span.green {
  color: #047857;
  background: #d1fae5;
}

.notifications-channel-list > div > span.purple {
  color: #7c3aed;
  background: #ede9fe;
}

.notifications-channel-list strong {
  color: #334155;
  font-size: .67rem;
}

.notifications-channel-list small {
  padding: 4px 7px;
  border-radius: 999px;
  font-size: .53rem;
  font-weight: 800;
}

.notifications-channel-list small.enabled {
  color: #047857;
  background: #d1fae5;
}

.notifications-channel-list small.disabled {
  color: #64748b;
  background: #e2e8f0;
}

.notifications-digest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #64748b;
  background: #f8fafc;
  font-size: .64rem;
}

.notifications-digest strong {
  color: #3730a3;
  font-size: .62rem;
  text-transform: capitalize;
}

.notifications-settings-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  color: #334155;
  background: #f5f7ff;
  text-decoration: none;
}

.notifications-settings-link:hover {
  color: #3730a3;
  background: #eef2ff;
}

.notifications-settings-link > i:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #4f46e5;
  background: #e0e7ff;
  font-size: .7rem;
}

.notifications-settings-link strong,
.notifications-settings-link small {
  display: block;
}

.notifications-settings-link strong {
  font-size: .65rem;
}

.notifications-settings-link small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .56rem;
  line-height: 1.4;
}

.notifications-settings-link > i:last-child {
  color: #cbd5e1;
  font-size: .55rem;
}

.notifications-help-card {
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, #312e81, #0f766e);
}

.notifications-help-card > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  color: #172033;
  background: #99f6e4;
  font-size: .8rem;
}

.notifications-help-card h2 {
  margin: 13px 0 0;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.notifications-help-card p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .64rem;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .notifications-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .notifications-toolbar {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .notifications-filter-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
  }
}

@media (max-width: 991.98px) {
  .notifications-layout {
    grid-template-columns: 1fr;
  }

  .notifications-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .notifications-page {
    padding-top: 16px;
  }

  .notifications-hero {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 24px;
  }

  .notifications-hero-count {
    flex: none;
    min-height: 130px;
  }

  .notifications-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notifications-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .notifications-filter-menu {
    justify-content: flex-start;
  }

  .notification-card {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    gap: 11px;
    padding: 14px;
  }

  .notification-card-icon {
    width: 44px;
    height: 44px;
  }

  .notifications-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .notifications-hero-actions {
    display: grid;
  }

  .notifications-stats {
    gap: 9px;
  }

  .notifications-stat {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 76px;
    padding: 12px;
  }

  .notifications-stat > span {
    width: 40px;
    height: 40px;
  }

  .notifications-toolbar {
    grid-template-columns: 1fr;
  }

  .notifications-filter-menu,
  .notifications-clear-read {
    grid-column: auto;
    grid-row: auto;
  }

  .notifications-clear-read {
    width: 100%;
  }

  .notifications-group {
    padding: 0 12px;
  }

  .notification-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .notification-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .notification-card-side {
    position: absolute;
    top: 12px;
    right: 10px;
  }

  .notification-card-meta {
    padding-right: 35px;
  }

  .notification-card-meta time {
    width: 100%;
    margin: 2px 0 0;
  }
}

/* Portal course catalogue */
.portal-courses-page {
  padding-top: 24px;
}

.portal-courses-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 700;
}

.portal-courses-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475569;
  text-decoration: none;
}

.portal-courses-breadcrumb a:hover {
  color: #4f46e5;
}

.portal-courses-breadcrumb strong {
  color: #1e293b;
}

.portal-courses-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  align-items: center;
  gap: 40px;
  min-height: 270px;
  overflow: visible;
  padding: 40px 44px;
  border-radius: 25px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(45, 212, 191, .22), transparent 25%),
    radial-gradient(circle at 5% 110%, rgba(129, 140, 248, .38), transparent 36%),
    linear-gradient(135deg, #0f172a 0%, #312e81 58%, #0f766e 125%);
  box-shadow: 0 22px 48px rgba(30, 41, 59, .18);
}

.portal-courses-hero-copy,
.portal-courses-hero-search {
  position: relative;
  z-index: 2;
}

.portal-courses-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #99f6e4;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.portal-courses-hero h1 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -.05em;
}

.portal-courses-hero-copy > p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
  line-height: 1.75;
}

.portal-courses-hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.portal-courses-hero-stats > span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
}

.portal-courses-hero-stats strong {
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.portal-courses-hero-stats small {
  color: rgba(255, 255, 255, .52);
  font-size: .58rem;
  font-weight: 700;
}

.portal-courses-hero-search {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 19px;
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.portal-courses-hero-search > label {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}

.portal-course-search-control {
  position: relative;
}

.portal-course-search-control > i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #64748b;
  font-size: .78rem;
  transform: translateY(-50%);
}

.portal-course-search-control input {
  width: 100%;
  min-height: 52px;
  padding: 0 44px 0 42px;
  border: 2px solid transparent;
  border-radius: 13px;
  color: #172033;
  background: #fff;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 600;
  outline: none;
}

.portal-course-search-control input:focus {
  border-color: #99f6e4;
  box-shadow: 0 0 0 5px rgba(153, 246, 228, .13);
}

.portal-course-search-control button {
  position: absolute;
  top: 50%;
  right: 9px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #64748b;
  background: #f1f5f9;
  font-size: .68rem;
  transform: translateY(-50%);
}

.portal-courses-hero-search > small {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .57);
  font-size: .58rem;
  line-height: 1.5;
}

.portal-course-suggestions {
  position: absolute;
  z-index: 50;
  top: calc(100% - 13px);
  right: 20px;
  left: 20px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .2);
}

.portal-course-suggestions button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  color: #334155;
  background: transparent;
  text-align: left;
}

.portal-course-suggestions button:hover {
  color: #3730a3;
  background: #eef2ff;
}

.portal-course-suggestions button > i:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: .7rem;
}

.portal-course-suggestions strong,
.portal-course-suggestions small {
  display: block;
}

.portal-course-suggestions strong {
  font-size: .67rem;
}

.portal-course-suggestions small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .55rem;
}

.portal-course-suggestions button > i:last-child {
  color: #cbd5e1;
  font-size: .55rem;
}

.portal-courses-warning {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #fcd34d;
  border-radius: 15px;
  color: #92400e;
  background: #fffbeb;
}

.portal-courses-warning strong,
.portal-courses-warning p {
  display: block;
  margin: 0;
}

.portal-courses-warning strong {
  font-size: .78rem;
}

.portal-courses-warning p {
  margin-top: 3px;
  font-size: .68rem;
}

.portal-courses-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
  padding: 17px;
  border: 1px solid #e2e8f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.portal-course-filter label {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.portal-course-filter select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  color: #334155;
  background: #fff;
  font-family: inherit;
  font-size: .66rem;
  font-weight: 700;
  outline: none;
}

.portal-course-filter select:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .09);
}

.portal-course-filter select:disabled {
  cursor: not-allowed;
  color: #94a3b8;
  background: #f8fafc;
}

.portal-course-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  color: #64748b;
  background: #f8fafc;
  font-family: inherit;
  font-size: .64rem;
  font-weight: 800;
}

.portal-course-reset:hover {
  color: #3730a3;
  border-color: #c7d2fe;
  background: #eef2ff;
}

.portal-domain-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-top: 16px;
  padding: 3px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.portal-domain-strip button {
  display: grid;
  flex: 0 0 180px;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 9px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #475569;
  background: #fff;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.portal-domain-strip button:hover,
.portal-domain-strip button.active {
  transform: translateY(-1px);
  border-color: #a5b4fc;
  color: #3730a3;
  background: #f5f7ff;
}

.portal-domain-strip button > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  color: var(--domain-color, #4f46e5);
  background: color-mix(in srgb, var(--domain-color, #4f46e5) 12%, white);
  font-size: .7rem;
}

.portal-domain-strip strong {
  overflow: hidden;
  font-size: .61rem;
  line-height: 1.3;
}

.portal-domain-strip small {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  font-size: .52rem;
  font-weight: 800;
}

.portal-subcategory-panel {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 2.3fr);
  gap: 20px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--panel-color, #4f46e5) 20%, #e2e8f0);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--panel-color, #4f46e5) 9%, transparent), transparent 34%),
    #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.portal-subcategory-panel[hidden] {
  display: none;
}

.portal-subcategory-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 20px 8px 4px;
  border-right: 1px solid #e2e8f0;
}

.portal-subcategory-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--domain-color);
  background: color-mix(in srgb, var(--domain-color) 11%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--domain-color) 16%, transparent);
}

.portal-subcategory-heading small {
  display: block;
  color: #94a3b8;
  font-size: .49rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.portal-subcategory-heading h2 {
  margin: 3px 0 0;
  color: #1e293b;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.3;
}

.portal-subcategory-heading p {
  margin: 5px 0 0;
  color: #94a3b8;
  font-size: .54rem;
  line-height: 1.45;
}

.portal-subcategory-list {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
}

.portal-subcategory-list button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 62px;
  grid-template-columns: 36px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  color: #475569;
  background: #f8fafc;
  font-family: inherit;
  text-align: left;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.portal-subcategory-list button:hover,
.portal-subcategory-list button.active {
  transform: translateY(-1px);
  color: #1e293b;
  border-color: color-mix(in srgb, var(--subcategory-color, #4f46e5) 45%, #cbd5e1);
  background: color-mix(in srgb, var(--subcategory-color, #4f46e5) 6%, white);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--subcategory-color, #4f46e5) 10%, transparent);
}

.portal-subcategory-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--subcategory-color, #4f46e5);
  background: color-mix(in srgb, var(--subcategory-color, #4f46e5) 11%, white);
}

.portal-subcategory-copy {
  display: block;
  min-width: 0;
}

.portal-subcategory-copy strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: .58rem;
  font-weight: 850;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-subcategory-copy small {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: .48rem;
  font-weight: 750;
}

.portal-subcategory-check {
  color: var(--subcategory-color, #4f46e5);
  font-size: .68rem;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .18s ease, transform .18s ease;
}

.portal-subcategory-list button.active .portal-subcategory-check {
  opacity: 1;
  transform: scale(1);
}

.portal-courses-result-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 13px;
}

.portal-courses-result-head span {
  display: block;
  color: #4f46e5;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-courses-result-head h2 {
  margin: 3px 0 0;
  color: #263247;
  font-size: .95rem;
  font-weight: 800;
}

.portal-courses-result-head h2 strong {
  color: #4f46e5;
  font-size: 1.15rem;
}

.portal-courses-result-head p {
  margin: 0;
  color: #94a3b8;
  font-size: .63rem;
}

.portal-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portal-course-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.portal-course-card:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: 0 18px 38px rgba(79, 70, 229, .11);
}

.portal-course-card-media {
  position: relative;
  display: grid;
  height: 132px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .85), transparent 28%),
    linear-gradient(135deg, #f8fafc, #eef2ff);
}

.portal-course-card-media > img {
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: contain;
}

.portal-course-card-media > span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--course-color) 24%, white);
  border-radius: 21px;
  color: var(--course-color);
  background: color-mix(in srgb, var(--course-color) 10%, white);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--course-color) 16%, transparent);
  font-size: 1.65rem;
}

.portal-course-domain-badge {
  position: absolute;
  bottom: 10px;
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 22px);
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--domain-color) 22%, white);
  border-radius: 999px;
  color: var(--domain-color);
  background: rgba(255, 255, 255, .92);
  font-size: .53rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.portal-course-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.portal-course-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.portal-course-code-row > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #4338ca;
  background: #eef2ff;
  font-size: .54rem;
  font-weight: 850;
}

.portal-course-code-row > span.training {
  color: #047857;
  background: #d1fae5;
}

.portal-course-code-row small {
  color: #94a3b8;
  font-size: .54rem;
}

.portal-course-card-body h2 {
  margin: 10px 0 0;
  color: #1e293b;
  font-size: .85rem;
  font-weight: 900;
  line-height: 1.35;
}

.portal-course-card-body > p {
  display: -webkit-box;
  min-height: 52px;
  overflow: hidden;
  margin: 7px 0 0;
  color: #64748b;
  font-size: .65rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portal-course-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}

.portal-course-rating > span {
  display: inline-flex;
  gap: 2px;
}

.portal-course-rating i {
  color: #e2e8f0;
  font-size: .62rem;
}

.portal-course-rating i.active {
  color: #f59e0b;
}

.portal-course-rating strong {
  color: #64748b;
  font-size: .56rem;
  font-weight: 750;
}

.portal-course-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #f1f5f9;
}

.portal-course-price small,
.portal-course-price strong {
  display: block;
}

.portal-course-price small {
  color: #94a3b8;
  font-size: .53rem;
  font-weight: 700;
}

.portal-course-price strong {
  margin-top: 2px;
  color: #172033;
  font-size: .86rem;
  font-weight: 900;
}

.portal-course-price strong.pending {
  color: #cbd5e1;
}

.portal-course-price > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: .51rem;
  font-weight: 800;
}

.portal-course-price > span.available {
  color: #047857;
  background: #d1fae5;
}

.portal-course-price > span.pending {
  color: #92400e;
  background: #fef3c7;
}

.portal-course-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 16px;
}

.portal-course-card-actions > a,
.portal-course-card-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 41px;
  padding: 0 10px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .61rem;
  font-weight: 850;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.portal-course-details {
  border: 1px solid #4f46e5;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  box-shadow: 0 6px 14px rgba(79, 70, 229, .16);
}

.portal-course-details:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: #3730a3;
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  box-shadow: 0 9px 18px rgba(79, 70, 229, .24);
}

.portal-course-request {
  border: 1px solid #16a34a;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 6px 14px rgba(22, 163, 74, .15);
}

.portal-course-request:hover {
  transform: translateY(-1px);
  border-color: #15803d;
  background: linear-gradient(135deg, #15803d, #16a34a);
  box-shadow: 0 9px 18px rgba(22, 163, 74, .22);
}

.portal-course-request:disabled {
  cursor: wait;
  opacity: .8;
}

body.portal-course-preview-open,
body.portal-request-open {
  overflow: hidden;
}

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

.portal-request-modal {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(8px);
}

.portal-request-dialog {
  width: min(680px, 100%);
  max-height: 94vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(2, 6, 23, .36);
}

.portal-request-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.portal-request-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #16a34a;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-request-head h2 {
  margin: 6px 0 0;
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1.25;
}

.portal-request-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: .82rem;
}

.portal-request-close {
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}

.portal-request-form {
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.portal-request-course,
.portal-request-field.full,
.portal-request-alert,
.portal-request-actions {
  grid-column: 1 / -1;
}

.portal-request-course {
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 13px;
  background: #f0fdf4;
}

.portal-request-course strong,
.portal-request-course span {
  display: block;
}

.portal-request-course strong {
  color: #0f172a;
  font-size: .95rem;
}

.portal-request-course span {
  margin-top: 4px;
  color: #166534;
  font-size: .78rem;
  font-weight: 800;
}

.portal-request-field {
  display: grid;
  gap: 6px;
}

.portal-request-field label {
  color: #0f172a;
  font-size: .76rem;
  font-weight: 900;
}

.portal-request-field input,
.portal-request-field select,
.portal-request-field textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 10px 11px;
  color: #0f172a;
  background: #fff;
  font: inherit;
  outline: none;
}

.portal-request-field textarea {
  min-height: 82px;
  resize: vertical;
}

.portal-request-field input:focus,
.portal-request-field select:focus,
.portal-request-field textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.portal-request-alert {
  border-radius: 8px;
  padding: 11px 12px;
  font-size: .8rem;
  font-weight: 850;
}

.portal-request-alert[hidden] {
  display: none;
}

.portal-request-alert.success {
  background: #dcfce7;
  color: #166534;
}

.portal-request-alert.error {
  background: #fee2e2;
  color: #991b1b;
}

.portal-request-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portal-request-submit,
.portal-request-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.portal-request-submit {
  border: 0;
  background: #16a34a;
  color: #fff;
  cursor: pointer;
}

.portal-request-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.portal-request-link {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
}

.request-page {
  padding-bottom: 38px;
}

.request-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: .82rem;
}

.request-breadcrumb a {
  color: #0f766e;
  font-weight: 900;
  text-decoration: none;
}

.request-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
}

.request-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #86efac;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-hero h1 {
  margin: 7px 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.request-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.request-hero a,
.request-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #0f172a;
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.request-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 300px;
  padding: 36px 20px;
  border: 1px dashed #99f6e4;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.request-empty i {
  color: #0f766e;
  font-size: 2rem;
}

.request-empty strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.request-empty p {
  margin: 0;
  color: #64748b;
}

.request-screen-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.request-screen-tabs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 58px;
  padding: 13px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.request-screen-tabs a.active {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #0f172a;
}

.request-screen-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: .88rem;
  font-weight: 900;
}

.request-screen-tabs i {
  color: #0f766e;
}

.request-screen-tabs b {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: .78rem;
}

.request-screen-tabs a.active b {
  background: #0f766e;
  color: #fff;
}

.request-flash {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  font-size: .86rem;
  font-weight: 850;
}

.request-flash.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.request-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.request-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.request-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.request-card header span {
  color: #0f766e;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-card h2 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.3;
}

.request-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 0;
}

.request-delete-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  color: #b91c1c;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 900;
  cursor: pointer;
}

.request-delete-form button:hover {
  background: #fef2f2;
}

.request-status {
  border-radius: 999px;
  padding: 6px 9px;
  color: #166534;
  background: #dcfce7;
  font-size: .66rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.request-status.closed {
  color: #475569;
  background: #e2e8f0;
}

.request-status.expired {
  color: #991b1b;
  background: #fee2e2;
}

.request-status.rejected {
  color: #991b1b;
  background: #fee2e2;
}

.request-status.contacted,
.request-status.approved {
  color: #1d4ed8;
  background: #dbeafe;
}

.request-status.approved {
  color: #166534;
  background: #dcfce7;
}

.request-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.request-meta div {
  padding: 9px;
  border-radius: 8px;
  background: #f8fafc;
}

.request-meta small,
.request-meta b {
  display: block;
}

.request-meta small {
  color: #64748b;
  font-size: .63rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-meta b {
  margin-top: 4px;
  color: #0f172a;
  font-size: .78rem;
}

.request-card p {
  margin: 0;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.55;
}

.request-approval-box {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fdf4, #f8fafc);
}

.request-approval-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.request-approval-head > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #dcfce7;
  color: #16a34a;
}

.request-approval-head strong,
.request-approval-head small {
  display: block;
}

.request-approval-head strong {
  color: #0f172a;
  font-size: .9rem;
}

.request-approval-head small {
  margin-top: 2px;
  color: #64748b;
  font-size: .72rem;
  font-weight: 750;
}

.request-approval-grid,
.request-payment-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.request-approval-grid div,
.request-payment-box div {
  min-width: 0;
  padding: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
}

.request-approval-grid small,
.request-approval-grid b,
.request-payment-box small,
.request-payment-box strong {
  display: block;
}

.request-approval-grid small,
.request-payment-box small {
  color: #64748b;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.request-approval-grid b,
.request-payment-box strong {
  margin-top: 4px;
  color: #0f172a;
  font-size: .76rem;
  overflow-wrap: anywhere;
}

.request-payment-box strong {
  color: #166534;
  font-size: .86rem;
}

.request-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-pay {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dbeafe;
  border-radius: 9px;
  padding: 9px 12px;
  background: #fff;
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 900;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.request-pay.primary {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

.request-pay.support {
  border-color: #fbbf24;
  background: #fffbeb;
  color: #92400e;
}

body.request-payment-open {
  overflow: hidden;
}

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

.request-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: grid;
  place-items: center;
  padding: 18px;
}

.request-payment-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.request-payment-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 94vw);
  max-height: 92vh;
  overflow: auto;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .35);
}

.request-payment-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.request-payment-dialog header span {
  color: #0f766e;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-payment-dialog h2 {
  margin: 5px 0 4px;
  color: #0f172a;
  font-size: 1.25rem;
}

.request-payment-dialog p {
  margin: 0;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.45;
}

.request-payment-dialog header > button {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
}

.request-payment-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.request-payment-mode {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
  color: #475569;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.request-payment-mode i {
  color: #0f766e;
  font-size: 1.25rem;
}

.request-payment-mode.active {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #0f172a;
}

.request-payment-panel {
  display: none;
  place-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.request-payment-panel.active {
  display: grid;
}

.request-payment-panel img {
  width: min(260px, 72vw);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.request-payment-panel > i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 1.45rem;
}

.request-payment-panel strong {
  color: #0f172a;
  font-size: .98rem;
}

.request-card-pay,
.request-card-support,
.request-upi-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.request-card-support[hidden],
.request-upi-open[hidden] {
  display: none;
}

.request-card-pay {
  border: 1px solid #16a34a;
  background: #16a34a;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
}

.request-card-pay:disabled {
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}

.request-upi-open {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #fff;
}

.request-card-support {
  border: 1px solid #fbbf24;
  background: #fffbeb;
  color: #92400e;
}

.request-payment-confirm {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.request-payment-confirm button {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #16a34a;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 900;
  cursor: pointer;
}

.request-payment-confirm button:hover {
  background: #15803d;
}

.request-approval-note {
  padding: 10px;
  border-radius: 9px;
  background: #fff;
  color: #475569 !important;
}

.request-expired-note {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-size: .78rem;
  font-weight: 850;
}

.request-expired-note.rejected {
  background: #fef2f2;
  color: #991b1b;
}

.request-expired-note.rejected a {
  background: #dc2626;
}

.request-expired-note a {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #ea580c;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 640px) {
  .request-screen-tabs {
    grid-template-columns: 1fr;
  }

  .request-screen-tabs a {
    min-height: 54px;
  }

  .request-approval-grid,
  .request-payment-box {
    grid-template-columns: 1fr;
  }

  .request-payment-actions,
  .request-pay {
    width: 100%;
  }

  .request-payment-mode-grid {
    grid-template-columns: 1fr;
  }
}

.portal-course-preview[hidden] {
  display: none;
}

.portal-course-preview {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 18px;
}

.portal-course-preview-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 23, 42, .76);
  backdrop-filter: blur(5px);
}

.portal-course-preview-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, 96vw);
  height: min(860px, 94vh);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .35);
  animation: portalCoursePreviewIn .22s ease-out;
}

.portal-course-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 12px 16px 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #1e3a8a, #4f46e5);
}

.portal-course-preview-head small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c7d2fe;
  font-size: .55rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-course-preview-head h2 {
  overflow: hidden;
  margin: 4px 0 0;
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-course-preview-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 1rem;
}

.portal-course-preview-close:hover {
  background: rgba(255, 255, 255, .22);
}

.portal-course-preview-body {
  position: relative;
  min-height: 0;
  background: #f8fafc;
}

.portal-course-preview-body iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.portal-course-preview-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #4f46e5;
  background: #f8fafc;
  font-size: .7rem;
  font-weight: 800;
}

.portal-course-preview-loading[hidden] {
  display: none;
}

@keyframes portalCoursePreviewIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portal-courses-empty {
  padding: 65px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.portal-courses-empty > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 18px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: 1.15rem;
}

.portal-courses-empty h2 {
  margin: 0;
  color: #263247;
  font-size: .94rem;
  font-weight: 900;
}

.portal-courses-empty p {
  margin: 7px 0 16px;
  color: #94a3b8;
  font-size: .67rem;
}

.portal-courses-empty button,
.portal-course-load-more button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  color: #3730a3;
  background: #eef2ff;
  font-family: inherit;
  font-size: .63rem;
  font-weight: 850;
}

.portal-course-load-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.portal-course-load-more button {
  min-width: 180px;
}

.portal-courses-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 27px;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(135deg, #312e81, #0f766e);
  box-shadow: 0 18px 38px rgba(49, 46, 129, .16);
}

.portal-courses-help > div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.portal-courses-help > div > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  color: #172033;
  background: #99f6e4;
  font-size: .95rem;
}

.portal-courses-help small {
  color: #99f6e4;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-courses-help h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: .91rem;
  font-weight: 900;
}

.portal-courses-help p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .65rem;
}

.portal-courses-help > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 11px;
  color: #fff;
  background: #16a34a;
  font-size: .66rem;
  font-weight: 850;
  text-decoration: none;
}

.portal-courses-help > a:hover {
  color: #fff;
  background: #15803d;
}

@media (max-width: 1240px) {
  .portal-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .portal-courses-hero {
    grid-template-columns: 1fr;
  }

  .portal-courses-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-course-reset {
    grid-column: 1 / -1;
  }

  .portal-subcategory-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portal-subcategory-heading {
    padding: 0 0 11px;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
}

@media (max-width: 767.98px) {
  .portal-courses-page {
    padding-top: 16px;
  }

  .portal-courses-hero {
    gap: 27px;
    padding: 29px 23px;
  }

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

  .portal-domain-strip button {
    flex-basis: 165px;
  }

  .portal-courses-result-head,
  .portal-courses-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-courses-help > a {
    width: 100%;
  }

  .portal-course-preview {
    padding: 0;
  }

  .portal-course-preview-dialog {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .portal-course-preview-head {
    min-height: 64px;
    padding-left: 15px;
  }
}

@media (max-width: 520px) {
  .portal-courses-toolbar {
    grid-template-columns: 1fr;
  }

  .portal-course-reset {
    grid-column: auto;
  }

  .portal-courses-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-courses-hero-stats > span {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

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

  .portal-courses-help > div {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .portal-courses-help > div > span {
    width: 42px;
    height: 42px;
  }
}

/* Featured course detail pages */
.featured-course-page {
  --featured-accent: #4f46e5;
  --featured-accent-alt: #06b6d4;
  display: grid;
  gap: 22px;
  color: #0f172a;
}

.featured-course-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 700;
}

.featured-course-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.featured-course-breadcrumb a:hover { color: var(--featured-accent); }
.featured-course-breadcrumb strong { color: #334155; }

.featured-course-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr);
  gap: 34px;
  overflow: hidden;
  min-height: 440px;
  padding: 46px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 15%, color-mix(in srgb, var(--featured-accent-alt) 55%, transparent), transparent 27%),
    linear-gradient(135deg, #071326 0%, color-mix(in srgb, var(--featured-accent) 45%, #101b35) 54%, #071326 100%);
  box-shadow: 0 26px 70px color-mix(in srgb, var(--featured-accent) 22%, transparent);
  isolation: isolate;
}

.featured-course-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 92%);
}

.featured-course-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  opacity: .65;
}

.featured-course-orb-one {
  top: -110px;
  right: 24%;
  width: 250px;
  height: 250px;
  background: color-mix(in srgb, var(--featured-accent) 46%, transparent);
}

.featured-course-orb-two {
  bottom: -120px;
  left: 28%;
  width: 290px;
  height: 290px;
  background: color-mix(in srgb, var(--featured-accent-alt) 30%, transparent);
}

.featured-course-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.featured-course-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.featured-course-hero h1 {
  max-width: 750px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .98;
}

.featured-course-hero-copy > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .73);
  font-size: .96rem;
  line-height: 1.8;
}

.featured-course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.featured-course-hero-actions a,
.featured-course-hero-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 850;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.featured-course-hero-actions a:hover,
.featured-course-hero-actions button:hover { transform: translateY(-2px); }

.featured-course-primary {
  border: 0;
  color: #071326;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.featured-course-primary:hover {
  color: #071326;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
}

.featured-course-cart-button.added,
.featured-course-cart-button:disabled {
  color: #fff;
  background: #16a34a;
  box-shadow: 0 12px 28px rgba(22, 163, 74, .25);
  cursor: default;
}

.featured-course-primary.added,
.featured-course-primary:disabled {
  color: #fff;
  background: #16a34a;
  box-shadow: 0 12px 28px rgba(22, 163, 74, .25);
  cursor: default;
}

.featured-course-cart-button:disabled:hover,
.featured-course-primary:disabled:hover {
  transform: none;
}

.featured-course-secondary {
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.featured-course-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.featured-course-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 740px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(2, 6, 23, .22);
  backdrop-filter: blur(14px);
}

.featured-course-meta > span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 1px 9px;
  padding: 13px 15px;
}

.featured-course-meta > span + span { border-left: 1px solid rgba(255, 255, 255, .1); }
.featured-course-meta i { grid-row: 1 / 3; align-self: center; color: color-mix(in srgb, var(--featured-accent-alt) 62%, white); }
.featured-course-meta small { color: rgba(255, 255, 255, .48); font-size: .52rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.featured-course-meta strong { overflow: hidden; color: #fff; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }

.featured-course-hero-visual {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  min-width: 0;
}

.featured-course-icon-stage {
  position: relative;
  display: grid;
  width: 205px;
  height: 205px;
  place-items: center;
}

.featured-course-icon-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  animation: featured-course-spin 18s linear infinite;
}

.featured-course-icon-ring::before,
.featured-course-icon-ring::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px var(--featured-accent-alt);
  content: "";
}

.featured-course-icon-ring::before { top: -5px; left: 50%; }
.featured-course-icon-ring::after { right: 10%; bottom: 12%; background: var(--featured-accent-alt); }
.featured-course-icon-ring.ring-one { inset: 12px; }
.featured-course-icon-ring.ring-two { inset: 37px; animation-direction: reverse; animation-duration: 12s; }

.featured-course-icon-core {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--featured-accent), var(--featured-accent-alt));
  box-shadow: 0 24px 70px color-mix(in srgb, var(--featured-accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3);
  font-size: 2.15rem;
  transform: rotate(-6deg);
}

@keyframes featured-course-spin {
  to { transform: rotate(360deg); }
}

.featured-course-pulse {
  width: min(100%, 330px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  background: rgba(2, 6, 23, .38);
  backdrop-filter: blur(16px);
}

.featured-course-pulse small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in srgb, var(--featured-accent-alt) 65%, white);
  font-size: .57rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.featured-course-pulse p { margin: 9px 0; color: rgba(255, 255, 255, .74); font-size: .7rem; line-height: 1.65; }
.featured-course-pulse > span { color: rgba(255, 255, 255, .4); font-size: .52rem; font-weight: 750; }

.featured-course-section,
.featured-course-roadmap {
  padding: 28px;
  border: 1px solid #e5eaf2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.featured-course-section-head { max-width: 760px; margin-bottom: 22px; }
.featured-course-section-head > span { color: var(--featured-accent); font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.featured-course-section-head h2 { margin: 5px 0 0; color: #0f172a; font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 900; letter-spacing: -.035em; }
.featured-course-section-head p { margin: 8px 0 0; color: #64748b; font-size: .75rem; line-height: 1.7; }

.featured-trend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.featured-trend-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 20px;
  border: 1px solid #e8edf4;
  border-radius: 18px;
  background: linear-gradient(155deg, #fff, #f8fafc);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.featured-trend-card::after {
  position: absolute;
  right: -30px;
  bottom: -35px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--featured-accent) 8%, transparent);
  content: "";
}

.featured-trend-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--featured-accent) 35%, #e2e8f0);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--featured-accent) 10%, transparent);
}

.featured-trend-card > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--featured-accent); background: color-mix(in srgb, var(--featured-accent) 11%, white); }
.featured-trend-card h3 { margin: 18px 0 0; color: #1e293b; font-size: .82rem; font-weight: 850; }
.featured-trend-card p { margin: 8px 0 0; color: #64748b; font-size: .66rem; line-height: 1.7; }

.featured-course-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 18px;
}

.featured-course-concepts {
  scroll-margin-top: 90px;
  padding: 28px;
  border: 1px solid #e5eaf2;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--featured-accent) 8%, transparent), transparent 30%),
    #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.featured-concepts-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.featured-concepts-heading .featured-course-section-head {
  margin-bottom: 0;
}

.featured-concepts-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.featured-concepts-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #e8edf4;
  border-radius: 999px;
  color: #64748b;
  background: #f8fafc;
  font-size: .56rem;
  font-weight: 750;
}

.featured-concepts-actions > span strong {
  color: var(--featured-accent);
  font-size: .68rem;
}

.featured-concepts-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--featured-accent) 24%, #e2e8f0);
  border-radius: 10px;
  color: var(--featured-accent);
  background: color-mix(in srgb, var(--featured-accent) 7%, white);
  font-size: .6rem;
  font-weight: 850;
}

.featured-concepts-actions button:hover,
.featured-concepts-actions button.expanded {
  color: #fff;
  background: var(--featured-accent);
}

.featured-concept-list {
  display: grid;
  gap: 11px;
}

.featured-concept-item {
  overflow: hidden;
  border: 1px solid #e5eaf2;
  border-radius: 17px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.featured-concept-item.open {
  border-color: color-mix(in srgb, var(--featured-accent) 35%, #e2e8f0);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--featured-accent) 9%, transparent);
}

.featured-concept-toggle {
  display: grid;
  grid-template-columns: 40px 42px minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 86px;
  padding: 14px 17px;
  border: 0;
  color: #334155;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.featured-concept-toggle:hover,
.featured-concept-item.open > .featured-concept-toggle {
  background: linear-gradient(90deg, color-mix(in srgb, var(--featured-accent) 5%, white), #fff);
}

.featured-concept-number {
  color: color-mix(in srgb, var(--featured-accent) 60%, #94a3b8);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
}

.featured-concept-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--featured-accent);
  background: color-mix(in srgb, var(--featured-accent) 10%, white);
}

.featured-concept-title {
  display: block;
  min-width: 0;
}

.featured-concept-title small {
  display: block;
  color: #94a3b8;
  font-size: .49rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.featured-concept-title strong {
  display: block;
  margin-top: 2px;
  color: #1e293b;
  font-size: .82rem;
  font-weight: 900;
}

.featured-concept-title em {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #64748b;
  font-size: .59rem;
  font-style: normal;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-concept-count {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--featured-accent);
  background: color-mix(in srgb, var(--featured-accent) 8%, white);
  font-size: .52rem;
  font-weight: 850;
  white-space: nowrap;
}

.featured-concept-chevron {
  color: #94a3b8;
  font-size: .66rem;
  transition: transform .2s ease, color .2s ease;
}

.featured-concept-item.open .featured-concept-chevron {
  color: var(--featured-accent);
  transform: rotate(180deg);
}

.featured-concept-content {
  border-top: 1px solid #edf1f6;
  background: #f8fafc;
}

.featured-concept-content[hidden] {
  display: none;
}

.featured-concept-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 15px;
}

.featured-concept-topic-grid article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  background: #fff;
}

.featured-concept-topic-grid article > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--featured-accent);
  background: color-mix(in srgb, var(--featured-accent) 9%, white);
  font-size: .57rem;
}

.featured-concept-topic-grid small {
  display: block;
  color: #94a3b8;
  font-size: .45rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.featured-concept-topic-grid strong {
  display: block;
  margin-top: 2px;
  color: #334155;
  font-size: .61rem;
  font-weight: 800;
  line-height: 1.45;
}

.featured-course-panel {
  padding: 26px;
  border: 1px solid #e5eaf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.featured-course-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.featured-course-panel-head > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; color: var(--featured-accent); background: color-mix(in srgb, var(--featured-accent) 10%, white); }
.featured-course-panel-head small { display: block; color: #94a3b8; font-size: .52rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.featured-course-panel-head h2 { margin: 3px 0 0; color: #1e293b; font-size: 1rem; font-weight: 900; }

.featured-skill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.featured-skill-list span,
.featured-career-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #edf1f6;
  border-radius: 11px;
  color: #475569;
  background: #f8fafc;
  font-size: .65rem;
  font-weight: 750;
}

.featured-skill-list i,
.featured-career-list i { color: var(--featured-accent); }

.featured-stack-panel {
  color: #fff;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--featured-accent-alt) 35%, transparent), transparent 40%), #0f172a;
}

.featured-stack-panel .featured-course-panel-head > span { color: #fff; background: rgba(255, 255, 255, .1); }
.featured-stack-panel .featured-course-panel-head small { color: rgba(255, 255, 255, .45); }
.featured-stack-panel .featured-course-panel-head h2 { color: #fff; }

.featured-stack-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.featured-stack-cloud span { padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; color: rgba(255, 255, 255, .84); background: rgba(255, 255, 255, .07); font-size: .62rem; font-weight: 800; }
.featured-stack-panel > p { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .53); font-size: .63rem; line-height: 1.7; }

.featured-projects-section {
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--featured-accent) 7%, transparent), transparent 34%), #fff;
}

.featured-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.featured-project-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 21px;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.featured-project-top { display: flex; align-items: center; justify-content: space-between; }
.featured-project-top > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--featured-accent), var(--featured-accent-alt)); box-shadow: 0 10px 22px color-mix(in srgb, var(--featured-accent) 24%, transparent); }
.featured-project-top small { color: #94a3b8; font-size: .53rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.featured-project-card h3 { margin: 20px 0 0; color: #1e293b; font-size: .9rem; font-weight: 900; }
.featured-project-card p { margin: 9px 0 18px; color: #64748b; font-size: .66rem; line-height: 1.7; }
.featured-project-card > div:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 14px; border-top: 1px solid #eef2f7; color: #94a3b8; font-size: .52rem; font-weight: 750; }
.featured-project-card > div:last-child i { color: var(--featured-accent); }

.featured-course-roadmap { scroll-margin-top: 90px; }
.featured-roadmap-list { display: grid; gap: 10px; }

.featured-roadmap-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid #e8edf4;
  border-radius: 15px;
  background: linear-gradient(90deg, #fff, #f8fafc);
}

.featured-roadmap-list article > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--featured-accent), var(--featured-accent-alt)); font-size: .64rem; font-weight: 900; }
.featured-roadmap-list h3 { margin: 0; color: #1e293b; font-size: .78rem; font-weight: 900; }
.featured-roadmap-list p { margin: 4px 0 0; color: #64748b; font-size: .62rem; line-height: 1.55; }
.featured-roadmap-list article > i { color: color-mix(in srgb, var(--featured-accent) 55%, #94a3b8); font-size: .7rem; }

.featured-course-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured-career-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.featured-source-list { display: grid; gap: 9px; }

.featured-source-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  color: #334155;
  background: #f8fafc;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.featured-source-list a:hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--featured-accent) 35%, #e2e8f0); color: var(--featured-accent); background: color-mix(in srgb, var(--featured-accent) 4%, white); }
.featured-source-list strong { display: block; font-size: .68rem; font-weight: 850; }
.featured-source-list small { display: block; margin-top: 3px; color: #94a3b8; font-size: .55rem; line-height: 1.4; }
.featured-source-list > a > i { color: var(--featured-accent); font-size: .65rem; }

.featured-course-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 30px;
  border-radius: 23px;
  color: #fff;
  background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--featured-accent-alt) 45%, transparent), transparent 32%), linear-gradient(135deg, #0f172a, color-mix(in srgb, var(--featured-accent) 45%, #0f172a));
  box-shadow: 0 18px 44px color-mix(in srgb, var(--featured-accent) 17%, transparent);
}

.featured-course-cta > div:first-child { display: flex; align-items: center; gap: 14px; }
.featured-course-cta > div:first-child > span { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 15px; background: rgba(255, 255, 255, .09); font-size: 1.1rem; }
.featured-course-cta small { color: color-mix(in srgb, var(--featured-accent-alt) 65%, white); font-size: .54rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.featured-course-cta h2 { margin: 3px 0 0; color: #fff; font-size: 1.15rem; font-weight: 900; }
.featured-course-cta p { margin: 4px 0 0; color: rgba(255, 255, 255, .6); font-size: .63rem; }
.featured-course-cta > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.featured-course-cta > div:last-child a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px; color: #fff; background: rgba(255, 255, 255, .08); font-size: .65rem; font-weight: 850; text-decoration: none; }
.featured-course-cta > div:last-child a:first-child { border-color: #22c55e; background: #22c55e; }

@media (max-width: 1199.98px) {
  .featured-course-hero { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); padding: 38px; }
  .featured-trend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .featured-course-hero { grid-template-columns: 1fr; }
  .featured-course-hero-visual { grid-template-columns: 190px minmax(0, 1fr); }
  .featured-course-icon-stage { width: 175px; height: 175px; }
  .featured-course-split,
  .featured-course-bottom { grid-template-columns: 1fr; }
  .featured-concepts-heading { align-items: flex-start; flex-direction: column; }
  .featured-concepts-actions { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  .featured-course-page { gap: 15px; }
  .featured-course-hero { min-height: 0; padding: 28px 22px; border-radius: 22px; }
  .featured-course-hero h1 { font-size: clamp(2.15rem, 12vw, 3.35rem); }
  .featured-course-meta { grid-template-columns: 1fr; }
  .featured-course-meta > span + span { border-top: 1px solid rgba(255, 255, 255, .1); border-left: 0; }
  .featured-course-hero-visual { grid-template-columns: 1fr; }
  .featured-course-section,
  .featured-course-roadmap,
  .featured-course-panel,
  .featured-course-concepts { padding: 20px; border-radius: 18px; }
  .featured-project-grid { grid-template-columns: 1fr; }
  .featured-course-cta { align-items: flex-start; flex-direction: column; padding: 22px; }
  .featured-course-cta > div:last-child { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
  .featured-course-hero-actions a,
  .featured-course-hero-actions button,
  .featured-course-cta > div:last-child a { width: 100%; }
  .featured-trend-grid,
  .featured-skill-list,
  .featured-career-list { grid-template-columns: 1fr; }
  .featured-roadmap-list article { grid-template-columns: 42px minmax(0, 1fr); }
  .featured-roadmap-list article > i { display: none; }
  .featured-concepts-actions > span { flex: 1; justify-content: center; }
  .featured-concepts-actions button { width: 100%; }
  .featured-concept-toggle { grid-template-columns: 34px 38px minmax(0, 1fr) 20px; gap: 8px; padding: 12px; }
  .featured-concept-icon { width: 38px; height: 38px; }
  .featured-concept-count { display: none; }
  .featured-concept-title em { white-space: normal; }
  .featured-concept-topic-grid { grid-template-columns: 1fr; padding: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-course-icon-ring { animation: none; }
}

/* Job openings */
.job-openings-page {
  --job-ink: #172033;
  --job-muted: #64748b;
  --job-line: #e2e8f0;
  --job-blue: #2563eb;
  --job-violet: #6d5ce8;
  --job-teal: #0f9f8f;
  padding-top: 22px;
  background:
    radial-gradient(circle at 78% 5%, rgba(99, 102, 241, .08), transparent 28%),
    radial-gradient(circle at 30% 30%, rgba(14, 165, 233, .05), transparent 26%);
}

.job-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: .75rem;
  font-weight: 700;
}

.job-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  text-decoration: none;
}

.job-breadcrumb a:hover,
.job-breadcrumb strong {
  color: #3730a3;
}

.job-breadcrumb > i {
  font-size: .55rem;
}

.job-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  align-items: center;
  min-height: 328px;
  padding: 42px 48px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(165, 180, 252, .25);
  border-radius: 26px;
  background:
    radial-gradient(circle at 74% 20%, rgba(99, 102, 241, .58), transparent 27%),
    linear-gradient(125deg, #111b3d 0%, #202c69 48%, #5038a4 100%);
  box-shadow: 0 24px 65px rgba(30, 41, 99, .24);
}

.job-hero::before,
.job-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.job-hero::before {
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: -180px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .02);
}

.job-hero::after {
  width: 180px;
  height: 180px;
  top: -100px;
  left: 38%;
  background: rgba(56, 189, 248, .1);
  filter: blur(1px);
}

.job-hero-copy,
.job-hero-visual {
  position: relative;
  z-index: 1;
}

.job-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #c7d2fe;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.job-hero h1 {
  max-width: 720px;
  margin: 18px 0 13px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.job-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(226, 232, 240, .82);
  font-size: .98rem;
  line-height: 1.72;
}

.job-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.job-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f8fafc;
  font-size: .78rem;
  font-weight: 700;
}

.job-hero-points i {
  color: #67e8f9;
}

.job-hero-visual {
  min-height: 240px;
}

.job-hero-briefcase {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
  box-shadow: 0 25px 50px rgba(15, 23, 42, .3);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%) rotate(-5deg);
}

.job-hero-briefcase i {
  font-size: 2.7rem;
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, .25));
}

.job-hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.job-hero-orbit.orbit-one {
  width: 220px;
  height: 220px;
}

.job-hero-orbit.orbit-two {
  width: 310px;
  height: 310px;
  border-color: rgba(103, 232, 249, .16);
}

.job-floating-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  color: #fff;
  background: rgba(15, 23, 42, .45);
  box-shadow: 0 16px 35px rgba(15, 23, 42, .22);
  backdrop-filter: blur(12px);
  font-size: .72rem;
  font-weight: 800;
}

.job-floating-card i {
  color: #a5f3fc;
}

.job-floating-code {
  top: 10px;
  left: 0;
}

.job-floating-cloud {
  top: 35%;
  right: -10px;
}

.job-floating-data {
  bottom: 5px;
  left: 16%;
}

.job-summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -28px 24px 24px;
}

.job-summary article {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 17px 19px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 35px rgba(15, 23, 42, .09);
  backdrop-filter: blur(14px);
}

.job-summary article > span {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
}

.job-summary .blue { color: #2563eb; background: #eff6ff; }
.job-summary .violet { color: #7c3aed; background: #f5f3ff; }
.job-summary .emerald { color: #059669; background: #ecfdf5; }
.job-summary .amber { color: #d97706; background: #fffbeb; }

.job-summary strong,
.job-summary small {
  display: block;
}

.job-summary strong {
  color: #172033;
  font-size: 1.25rem;
  font-weight: 900;
}

.job-summary small {
  margin-top: 2px;
  color: #64748b;
  font-size: .72rem;
  font-weight: 700;
}

.job-search-panel {
  margin-bottom: 28px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .07);
}

.job-search-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 19px;
}

.job-search-heading span,
.job-results-kicker {
  display: block;
  margin-bottom: 3px;
  color: #6366f1;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.job-search-heading h2,
.job-results-toolbar h2 {
  margin: 0;
  color: #172033;
  font-size: 1.15rem;
  font-weight: 900;
}

.job-reset-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  color: #64748b;
  background: #f8fafc;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  transition: color .2s, background .2s;
}

.job-reset-button:hover {
  color: #4338ca;
  background: #eef2ff;
}

.job-filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.job-field-keyword {
  grid-column: span 2;
}

.job-field label {
  display: block;
  margin: 0 0 7px 2px;
  color: #475569;
  font-size: .69rem;
  font-weight: 800;
}

.job-input-wrap {
  position: relative;
}

.job-autocomplete {
  z-index: 12;
}

.job-title-suggestions {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 30;
  max-height: 310px;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid #dbe3ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.job-title-suggestions[hidden] {
  display: none;
}

.job-title-suggestions button {
  display: grid;
  width: 100%;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  color: #334155;
  background: transparent;
  font: inherit;
  font-size: .72rem;
  font-weight: 750;
  text-align: left;
}

.job-title-suggestions button i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #6366f1;
  background: #eef2ff;
  font-size: .68rem;
}

.job-title-suggestions button:hover,
.job-title-suggestions button.active {
  color: #3730a3;
  background: #f5f7ff;
}

.job-input-wrap > i:first-child {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  color: #94a3b8;
  font-size: .8rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.job-input-wrap input,
.job-input-wrap select {
  width: 100%;
  height: 48px;
  padding: 0 38px 0 40px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  outline: none;
  color: #263247;
  background: #fbfdff;
  font: inherit;
  font-size: .78rem;
  font-weight: 650;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.job-input-wrap input {
  padding-right: 14px;
}

.job-input-wrap select {
  cursor: pointer;
  appearance: none;
}

.job-input-wrap select:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  background: #f8fafc;
}

.job-input-wrap input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.job-input-wrap input:focus,
.job-input-wrap select:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .11);
}

.job-select-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #94a3b8;
  font-size: .58rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.job-search-button {
  align-self: end;
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 12px 25px rgba(79, 70, 229, .24);
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  transition: transform .2s, box-shadow .2s;
}

.job-search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(79, 70, 229, .3);
}

.job-popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
}

.job-popular-searches > span {
  margin-right: 2px;
  color: #64748b;
  font-size: .7rem;
  font-weight: 800;
}

.job-popular-searches button {
  padding: 6px 10px;
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  color: #4f46e5;
  background: #f5f7ff;
  font: inherit;
  font-size: .66rem;
  font-weight: 800;
}

.job-popular-searches button:hover {
  border-color: #c7d2fe;
  background: #eef2ff;
}

.job-results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.job-feed-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #bae6fd;
  border-radius: 13px;
  color: #0c4a6e;
  background: linear-gradient(135deg, #f0f9ff, #ecfeff);
}

.job-feed-status > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-feed-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0369a1;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.job-feed-status strong {
  color: #334155;
  font-size: .72rem;
  font-weight: 750;
}

.job-feed-status small {
  flex: 0 0 auto;
  color: #64748b;
  font-size: .65rem;
  font-weight: 700;
}

.job-results-toolbar h2 strong {
  color: #4f46e5;
}

.job-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.job-active-filters:empty {
  display: none;
}

.job-active-filters span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #475569;
  background: #eef2f7;
  font-size: .64rem;
  font-weight: 750;
}

.job-sort-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 205px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #dbe3ef;
  border-radius: 11px;
  color: #64748b;
  background: #fff;
  font-size: .7rem;
  font-weight: 700;
}

.job-sort-control select {
  flex: 1;
  border: 0;
  outline: 0;
  color: #253047;
  background: transparent;
  font: inherit;
  font-weight: 850;
  appearance: none;
  cursor: pointer;
}

.job-sort-control i {
  font-size: .56rem;
}

.job-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.job-card-grid {
  display: grid;
  gap: 14px;
}

.job-card {
  position: relative;
  padding: 21px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}

.job-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 18px 40px rgba(30, 41, 99, .1);
  transform: translateY(-2px);
}

.job-card.is-featured::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: linear-gradient(#6366f1, #8b5cf6);
}

.job-card-top {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: start;
}

.job-company-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.job-company-logo.indigo { background: linear-gradient(145deg, #4f46e5, #7c3aed); }
.job-company-logo.cyan { background: linear-gradient(145deg, #0891b2, #06b6d4); }
.job-company-logo.rose { background: linear-gradient(145deg, #e11d48, #fb7185); }
.job-company-logo.violet { background: linear-gradient(145deg, #7c3aed, #a78bfa); }
.job-company-logo.blue { background: linear-gradient(145deg, #1d4ed8, #3b82f6); }
.job-company-logo.emerald { background: linear-gradient(145deg, #047857, #10b981); }
.job-company-logo.pink { background: linear-gradient(145deg, #be185d, #ec4899); }
.job-company-logo.amber { background: linear-gradient(145deg, #b45309, #f59e0b); }
.job-company-logo.red { background: linear-gradient(145deg, #b91c1c, #ef4444); }
.job-company-logo.teal { background: linear-gradient(145deg, #0f766e, #14b8a6); }
.job-company-logo.orange { background: linear-gradient(145deg, #c2410c, #f97316); }
.job-company-logo.slate { background: linear-gradient(145deg, #334155, #64748b); }
.job-company-logo.purple { background: linear-gradient(145deg, #6d28d9, #9333ea); }
.job-company-logo.green { background: linear-gradient(145deg, #15803d, #22c55e); }
.job-company-logo.navy { background: linear-gradient(145deg, #172554, #1e40af); }

.job-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.job-card-badges span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  font-size: .6rem;
  font-weight: 850;
}

.job-card-badges .featured {
  color: #7c3aed;
  background: #f5f3ff;
}

.job-card-badges .featured i {
  margin-right: 3px;
  color: #f59e0b;
}

.job-card-badges .source {
  color: #0369a1;
  background: #e0f2fe;
}

.job-card-badges .india {
  color: #b45309;
  background: #fff7ed;
}

.job-card-badges .india i {
  margin-right: 3px;
}

.job-card-badges .source[class*="source-smartrecruiters-"],
.job-card-badges .source-greenhouse-fourkites {
  color: #047857;
  background: #ecfdf5;
}

.job-card-badges .source-remotive {
  color: #7c3aed;
  background: #f5f3ff;
}

.job-card-badges .source-arbeitnow {
  color: #047857;
  background: #ecfdf5;
}

.job-card-badges .source-manual {
  color: #1d4ed8;
  background: #eff6ff;
}

/* Resume builder */
.resume-builder-page {
  --resume-ui-accent: #5b3df5;
  padding: 28px 20px 70px;
  background:
    radial-gradient(circle at 88% 8%, rgba(124, 58, 237, .08), transparent 24%),
    radial-gradient(circle at 12% 28%, rgba(14, 165, 233, .07), transparent 22%);
}

.resume-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 750;
}

.resume-breadcrumb a {
  color: #64748b;
}

.resume-breadcrumb a:hover,
.resume-breadcrumb strong {
  color: #4338ca;
}

.resume-breadcrumb > i {
  font-size: .55rem;
}

.resume-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  min-height: 300px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, .14), transparent 17%),
    linear-gradient(132deg, #111b4d 0%, #3730a3 50%, #7c3aed 100%);
  box-shadow: 0 24px 55px rgba(49, 46, 129, .22);
}

.resume-hero::before,
.resume-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
}

.resume-hero::before {
  width: 390px;
  height: 390px;
  right: -90px;
  top: -120px;
}

.resume-hero::after {
  width: 250px;
  height: 250px;
  right: 55px;
  bottom: -170px;
}

.resume-hero-copy {
  position: relative;
  z-index: 2;
  padding: 45px 48px;
}

.resume-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #ddd6fe;
  background: rgba(255, 255, 255, .09);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.resume-hero h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.resume-hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .92rem;
  line-height: 1.7;
}

.resume-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.resume-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}

.resume-hero-points i {
  color: #67e8f9;
}

.resume-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 280px;
}

.resume-paper {
  position: absolute;
  width: 168px;
  height: 220px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 50px rgba(15, 23, 42, .28);
}

.paper-back {
  top: 46px;
  left: 46%;
  opacity: .38;
  transform: rotate(10deg);
}

.paper-front {
  top: 37px;
  left: 34%;
  padding: 38px 22px;
  transform: rotate(-5deg);
}

.paper-front span {
  display: block;
  height: 6px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: #dbeafe;
}

.paper-front span:first-child {
  width: 68%;
  height: 13px;
  background: #6366f1;
}

.paper-front span:nth-child(3) { width: 76%; }
.paper-front span:nth-child(4) { width: 90%; }
.paper-front span:nth-child(5) { width: 58%; }

.resume-hero-icon {
  position: absolute;
  z-index: 3;
  top: 98px;
  left: 21%;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, rgba(103, 232, 249, .9), rgba(79, 70, 229, .92));
  box-shadow: 0 16px 32px rgba(30, 64, 175, .28);
  font-size: 1.55rem;
  transform: rotate(7deg);
}

.resume-studio-toolbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 26px;
  margin: -22px 24px 26px;
  padding: 19px 22px;
  border: 1px solid rgba(226, 232, 240, .88);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 36px rgba(30, 41, 59, .1);
  backdrop-filter: blur(14px);
}

.resume-progress-block {
  min-width: 0;
}

.resume-progress-copy,
.resume-design-controls,
.resume-design-controls > div:first-child {
  display: flex;
  align-items: center;
}

.resume-progress-copy {
  justify-content: space-between;
  gap: 16px;
  color: #64748b;
  font-size: .68rem;
  font-weight: 750;
}

.resume-progress-copy strong {
  color: #4338ca;
}

.resume-progress-track {
  height: 7px;
  margin: 8px 0 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2ff;
}

.resume-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f46e5, #8b5cf6, #06b6d4);
  transition: width .3s ease;
}

.resume-progress-block > small {
  color: #94a3b8;
  font-size: .61rem;
  font-weight: 650;
}

.resume-progress-block > small i {
  margin-right: 5px;
  color: #10b981;
}

.resume-design-controls {
  gap: 13px;
}

.resume-design-controls > div:first-child {
  flex-direction: column;
  align-items: flex-start;
  min-width: 118px;
}

.resume-design-controls span {
  color: #94a3b8;
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.resume-design-controls strong {
  color: #1e293b;
  font-size: .76rem;
}

.resume-template-number {
  display: grid;
  grid-template-columns: auto 64px auto;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #f8fafc;
}

.resume-template-number input {
  width: 64px;
  border: 0;
  outline: 0;
  color: #312e81;
  background: transparent;
  font-size: .82rem;
  font-weight: 850;
  text-align: center;
}

.resume-template-number small {
  color: #94a3b8;
  font-size: .58rem;
  font-weight: 750;
}

.resume-surprise-button,
.resume-add-button,
.resume-text-button,
.resume-clear-button,
.resume-export-button,
.resume-zoom-controls button {
  border: 0;
  font-family: inherit;
}

.resume-surprise-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 8px 18px rgba(79, 70, 229, .2);
  font-size: .68rem;
  font-weight: 850;
}

.resume-studio-grid {
  display: grid;
  grid-template-columns: minmax(480px, .92fr) minmax(590px, 1.08fr);
  align-items: start;
  gap: 24px;
}

.resume-form-panel,
.resume-preview-panel {
  min-width: 0;
  border: 1px solid #e6eaf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(30, 41, 59, .07);
}

.resume-panel-heading,
.resume-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid #edf0f6;
}

.resume-panel-heading span,
.resume-preview-toolbar > div:first-child > span {
  display: block;
  margin-bottom: 4px;
  color: #6753ef;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.resume-panel-heading h2,
.resume-preview-toolbar h2 {
  margin: 0;
  color: #172033;
  font-size: 1.04rem;
  font-weight: 900;
}

.resume-text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 10px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: .65rem;
  font-weight: 850;
}

.resume-form-section {
  border-bottom: 1px solid #edf0f6;
}

.resume-form-section > summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
}

.resume-form-section > summary::-webkit-details-marker {
  display: none;
}

.resume-form-section > summary > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: .82rem;
}

.resume-form-section > summary strong,
.resume-form-section > summary small {
  display: block;
}

.resume-form-section > summary strong {
  color: #253047;
  font-size: .76rem;
  font-weight: 850;
}

.resume-form-section > summary small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .59rem;
  line-height: 1.4;
}

.resume-form-section > summary > i {
  color: #94a3b8;
  font-size: .62rem;
  transition: transform .2s ease;
}

.resume-form-section[open] > summary > i {
  transform: rotate(180deg);
}

.resume-section-body {
  padding: 2px 22px 22px;
}

.resume-field-grid {
  display: grid;
  gap: 14px;
}

.resume-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-field-grid.compact {
  gap: 10px;
}

.resume-field.full {
  grid-column: 1 / -1;
}

.resume-field {
  display: block;
  min-width: 0;
}

.resume-field > span,
.resume-field > label {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: .63rem;
  font-weight: 800;
}

.resume-field input,
.resume-field textarea,
.resume-field select {
  width: 100%;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  outline: 0;
  color: #1e293b;
  background: #fbfcff;
  font-family: inherit;
  font-size: .72rem;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.resume-field input {
  height: 42px;
  padding: 0 12px;
}

.resume-field select {
  height: 42px;
  padding: 0 34px 0 12px;
}

.resume-field textarea {
  min-height: 86px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.55;
}

.resume-field input:focus,
.resume-field textarea:focus,
.resume-field select:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.resume-field input::placeholder,
.resume-field textarea::placeholder {
  color: #b0bac9;
}

.resume-field > span small,
.resume-field > label small {
  margin-left: 3px;
  color: #a3adbc;
  font-size: .52rem;
  font-weight: 650;
}

.resume-autocomplete {
  position: relative;
}

.resume-autocomplete > input {
  padding-right: 38px;
}

.resume-autocomplete > i {
  position: absolute;
  top: 15px;
  right: 13px;
  color: #9aa5b5;
  font-size: .68rem;
  pointer-events: none;
}

.resume-autocomplete:focus-within > i {
  color: #6366f1;
}

.resume-autocomplete-options {
  position: absolute;
  top: calc(100% + 6px);
  z-index: 90;
  width: 100%;
  max-height: 286px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.resume-autocomplete-options[hidden] {
  display: none;
}

.resume-autocomplete-options button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  color: #334155;
  background: transparent;
  font: inherit;
  font-size: .65rem;
  font-weight: 720;
  text-align: left;
}

.resume-autocomplete-options button::before {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 6px;
  color: #6366f1;
  background: #eef2ff;
  content: '\f00c';
  font-family: "Font Awesome 6 Free";
  font-size: .54rem;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.resume-autocomplete-options button:hover,
.resume-autocomplete-options button.active {
  color: #3730a3;
  background: #eef2ff;
}

.resume-autocomplete-empty {
  display: block;
  padding: 11px;
  color: #94a3b8;
  font-size: .61rem;
  line-height: 1.45;
}

.resume-skills-label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resume-skills-label > span {
  color: inherit;
}

.resume-skills-label button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  font: inherit;
  font-size: .55rem;
  font-weight: 850;
}

.resume-photo-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
}

.resume-photo-preview,
.resume-photo-preview img,
.resume-photo-preview > span {
  width: 82px;
  height: 82px;
  border-radius: 18px;
}

.resume-photo-preview {
  overflow: hidden;
  border: 3px solid #fff;
  background: #e0e7ff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .16);
}

.resume-photo-preview img {
  display: block;
  object-fit: cover;
}

.resume-photo-preview > span {
  display: grid;
  place-items: center;
  color: #6366f1;
  font-size: 1.35rem;
}

.resume-photo-preview.has-photo > span {
  display: none;
}

.resume-photo-field strong,
.resume-photo-field p {
  display: block;
}

.resume-photo-field strong {
  color: #334155;
  font-size: .7rem;
}

.resume-photo-field strong small {
  color: #94a3b8;
  font-size: .52rem;
}

.resume-photo-field p {
  margin: 4px 0 10px;
  color: #8490a2;
  font-size: .58rem;
  line-height: 1.5;
}

.resume-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.resume-photo-actions label,
.resume-photo-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  font-family: inherit;
  font-size: .57rem;
  font-weight: 800;
  cursor: pointer;
}

.resume-photo-actions label {
  color: #4338ca;
  background: #eef2ff;
}

.resume-photo-actions button {
  color: #dc2626;
  background: #fee2e2;
}

.resume-summary-label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resume-summary-label button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  font-family: inherit;
  font-size: .56rem;
  font-weight: 850;
  white-space: nowrap;
}

.resume-plan-flash {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: .7rem;
  font-weight: 850;
}

.resume-plan-flash.success {
  border-color: #bbf7d0;
  color: #047857;
  background: #ecfdf5;
}

.resume-plan-flash.error {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}

.resume-plan-flash a {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 9px;
  color: #fff;
  background: #1d4ed8;
  font-size: .58rem;
  font-weight: 900;
  text-decoration: none;
}

.resume-plan-flash.success a {
  background: #047857;
}

.resume-plan-flash.error a {
  background: #b91c1c;
}

.resume-field-help {
  display: block;
  margin-top: 5px;
  color: #94a3b8;
  font-size: .56rem;
  line-height: 1.45;
}

.resume-repeat-list {
  display: grid;
  gap: 13px;
}

.resume-repeat-item {
  overflow: hidden;
  border: 1px solid #e5e9f2;
  border-radius: 14px;
  background: #fbfcff;
}

.resume-repeat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #e8ecf4;
  color: #64748b;
  background: #f4f6fb;
  font-size: .59rem;
  font-weight: 850;
}

.resume-repeat-heading span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.resume-repeat-heading button {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #94a3b8;
  background: #fff;
  font-size: .61rem;
}

.resume-repeat-heading button:hover {
  color: #dc2626;
  background: #fee2e2;
}

.resume-repeat-item > .resume-field-grid {
  padding: 14px;
}

.resume-add-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding: 10px 13px;
  border: 1px dashed #a5b4fc;
  border-radius: 10px;
  color: #4f46e5;
  background: #f5f7ff;
  font-size: .63rem;
  font-weight: 850;
}

.resume-add-button:hover {
  border-style: solid;
  background: #eef2ff;
}

.resume-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  color: #94a3b8;
  font-size: .57rem;
  font-weight: 650;
}

.resume-clear-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 9px;
  color: #dc2626;
  background: #fef2f2;
  font-size: .62rem;
  font-weight: 800;
}

.resume-preview-panel {
  position: sticky;
  top: 86px;
  overflow: hidden;
}

.resume-zoom-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.resume-zoom-controls button {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  color: #64748b;
  background: #fff;
  font-size: .58rem;
}

.resume-zoom-controls strong {
  min-width: 35px;
  color: #334155;
  font-size: .59rem;
  text-align: center;
}

.resume-preview-stage {
  position: relative;
  min-height: 920px;
  overflow: auto;
  padding: 20px;
  background:
    linear-gradient(45deg, #e9edf5 25%, transparent 25%),
    linear-gradient(-45deg, #e9edf5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e9edf5 75%),
    linear-gradient(-45deg, transparent 75%, #e9edf5 75%),
    #f4f6fa;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.resume-preview-pages {
  display: grid;
  width: 794px;
  gap: 24px;
  margin: 0;
  transform-origin: top left;
  transition: transform .2s ease;
}

.resume-sheet {
  --resume-accent: #2563eb;
  --resume-soft: #eff6ff;
  --resume-ink: #172033;
  --resume-font: Arial, sans-serif;
  position: relative;
  box-sizing: border-box;
  width: 794px;
  height: 1123px;
  min-height: 1123px;
  overflow: hidden;
  margin: 0;
  padding: 58px 62px;
  color: var(--resume-ink);
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
  font-family: var(--resume-font);
  font-size: 12px;
  line-height: 1.52;
  transform-origin: top left;
  transition: transform .2s ease;
}

.resume-sheet-content {
  transform-origin: top left;
}

.resume-sheet-measure {
  position: absolute;
  inset: 20px auto auto 20px;
  z-index: -1;
  height: auto;
  min-height: 1123px;
  overflow: visible;
  visibility: hidden;
  pointer-events: none;
}

.resume-document-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--resume-accent);
}

.resume-document-name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.resume-document-monogram {
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  background: var(--resume-accent);
  font-size: 25px;
  font-weight: 900;
}

.resume-document-photo {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border: 3px solid #fff;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .16);
}

.resume-document-header h1 {
  margin: 0;
  color: var(--resume-ink);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.resume-document-header p {
  margin: 6px 0 0;
  color: var(--resume-accent);
  font-size: 13px;
  font-weight: 750;
}

.resume-document-contact {
  display: grid;
  justify-items: end;
  gap: 4px;
  max-width: 270px;
  color: #64748b;
  font-size: 9px;
  text-align: right;
  word-break: break-word;
}

.resume-document-section {
  margin-top: 25px;
}

.resume-document-section h2 {
  margin: 0 0 11px;
  color: var(--resume-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.resume-document-section p {
  margin: 0;
  color: #475569;
  font-size: 10px;
  line-height: 1.65;
}

.resume-document-placeholder {
  color: #a3adbc !important;
  font-style: italic;
}

.resume-document-section ul {
  display: grid;
  gap: 4px;
  margin: 7px 0 0 16px;
  padding: 0;
  color: #475569;
  font-size: 9.5px;
}

.resume-document-section li::marker {
  color: var(--resume-accent);
}

.resume-document-item {
  margin-bottom: 16px;
}

.resume-document-item:last-child {
  margin-bottom: 0;
}

.resume-document-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.resume-document-item h3 {
  margin: 0;
  color: var(--resume-ink);
  font-size: 11px;
  font-weight: 850;
}

.resume-document-item strong {
  display: block;
  margin-top: 2px;
  color: #475569;
  font-size: 9.5px;
}

.resume-document-item-head > span,
.resume-document-item > small {
  color: #7b8797;
  font-size: 8.5px;
  font-weight: 650;
}

.resume-document-item > small {
  display: block;
  margin-top: 2px;
}

.resume-document-item > p,
.resume-document-item > ul {
  margin-top: 7px;
}

.resume-document-item > a {
  display: inline-block;
  margin-top: 4px;
  color: var(--resume-accent);
  font-size: 8.5px;
  word-break: break-all;
}

.resume-personal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
  margin: 0;
}

.resume-personal-facts > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px;
}

.resume-personal-facts dt {
  color: #7b8797;
  font-size: 8.5px;
  font-weight: 650;
}

.resume-personal-facts dd {
  margin: 0;
  color: var(--resume-ink);
  font-size: 8.7px;
  font-weight: 700;
}

.resume-address {
  margin-top: 7px;
}

.resume-address strong {
  color: var(--resume-ink);
  font-size: 8.7px;
}

.resume-address p {
  margin-top: 2px;
  font-size: 8.7px;
}


.resume-document-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 34px;
}

.resume-document-aside {
  margin-top: 24px;
  padding: 3px 0 0 24px;
  border-left: 1px solid #dfe5ec;
}

.resume-document-highlight-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.resume-sheet.layout-2 {
  padding: 45px 50px;
}

.resume-sheet.layout-2 .resume-document-header {
  padding: 25px;
  border: 0;
  border-radius: 18px;
  background: var(--resume-soft);
}

.resume-sheet.layout-2 .resume-document-monogram {
  display: grid;
}

.resume-sheet.layout-2 .resume-document-section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.resume-sheet.layout-2 .resume-document-section h2::after {
  content: "";
  height: 1px;
  flex: 1;
  background: color-mix(in srgb, var(--resume-accent) 28%, white);
}

.resume-sheet.layout-3 {
  padding: 62px 72px;
}

.resume-sheet.layout-3 .resume-document-header {
  display: block;
  border-bottom-width: 1px;
  text-align: center;
}

.resume-sheet.layout-3 .resume-document-name {
  justify-content: center;
}

.resume-sheet.layout-3 .resume-document-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: none;
  margin-top: 14px;
  text-align: center;
}

.resume-sheet.layout-3 .resume-document-contact span:not(:last-child)::after {
  content: " / ";
  margin-left: 5px;
  color: var(--resume-accent);
}

.resume-sheet.layout-3 .resume-document-section h2 {
  color: var(--resume-ink);
  text-align: center;
}

.resume-sheet.layout-4 {
  padding: 0;
}

.resume-sheet.layout-4 .resume-document-header {
  padding: 46px 54px 34px;
  border: 0;
  color: #fff;
  background: var(--resume-ink);
}

.resume-sheet.layout-4 .resume-document-header h1,
.resume-sheet.layout-4 .resume-document-header p,
.resume-sheet.layout-4 .resume-document-contact {
  color: #fff;
}

.resume-sheet.layout-4 .resume-document-columns {
  padding: 20px 54px 54px;
}

.resume-sheet.layout-4 .resume-document-aside {
  border-left-color: var(--resume-accent);
  background: linear-gradient(to bottom, var(--resume-soft), transparent);
}

.resume-sheet.layout-5 {
  padding: 0;
}

.resume-sheet.layout-5 .resume-document-header {
  padding: 45px 50px 30px 275px;
  border: 0;
}

.resume-sheet.layout-5 .resume-document-columns {
  grid-template-columns: minmax(0, 1fr) 225px;
  padding: 0 50px 50px;
}

.resume-sheet.layout-5 .resume-document-main {
  grid-column: 1;
}

.resume-sheet.layout-5 .resume-document-aside {
  grid-column: 2;
  grid-row: 1;
  margin-top: -122px;
  padding: 145px 24px 35px;
  border: 0;
  color: #fff;
  background: var(--resume-accent);
}

.resume-sheet.layout-5 .resume-document-aside h2,
.resume-sheet.layout-5 .resume-document-aside li {
  color: #fff;
}

.resume-sheet.layout-5 .resume-document-aside li::marker {
  color: #fff;
}

.resume-sheet.layout-6 {
  padding: 54px;
}

.resume-sheet.layout-6 .resume-document-header h1 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.resume-sheet.layout-6 .resume-document-header {
  border-bottom: 1px solid var(--resume-ink);
}

.resume-sheet.layout-6 .resume-document-columns {
  grid-template-columns: 190px minmax(0, 1fr);
}

.resume-sheet.layout-6 .resume-document-main {
  grid-column: 2;
}

.resume-sheet.layout-6 .resume-document-aside {
  grid-column: 1;
  grid-row: 1;
  padding: 0 22px 0 0;
  border-width: 0 1px 0 0;
  border-style: solid;
  border-color: #dfe5ec;
}

.resume-sheet.layout-7 {
  padding: 40px 46px;
  font-size: 11px;
}

.resume-sheet.layout-7 .resume-document-header {
  padding-bottom: 16px;
}

.resume-sheet.layout-7 .resume-document-section {
  margin-top: 17px;
}

.resume-sheet.layout-7 .resume-document-item {
  margin-bottom: 10px;
}

.resume-sheet.layout-7 .resume-document-columns {
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
}

.resume-sheet.layout-8 .resume-document-header {
  display: block;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--resume-accent) 28%, white);
  text-align: center;
}

.resume-sheet.layout-8 .resume-document-name {
  justify-content: center;
}

.resume-sheet.layout-8 .resume-document-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: none;
  margin-top: 13px;
}

.resume-sheet.layout-8 .resume-document-contact span {
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--resume-soft);
}

.resume-sheet.layout-9 {
  padding: 0 58px 58px;
}

.resume-sheet.layout-9 .resume-document-header {
  margin: 0 -58px;
  padding: 52px 58px 38px;
  border: 0;
  background: var(--resume-accent);
}

.resume-sheet.layout-9 .resume-document-header h1,
.resume-sheet.layout-9 .resume-document-header p,
.resume-sheet.layout-9 .resume-document-contact {
  color: #fff;
}

.resume-sheet.layout-9 .resume-document-section h2 {
  padding: 7px 10px;
  color: var(--resume-ink);
  background: var(--resume-soft);
}

.resume-sheet.layout-10 {
  padding: 62px 68px;
  font-family: Georgia, serif;
}

.resume-sheet.layout-10 .resume-document-header {
  display: block;
  border-top: 4px double var(--resume-ink);
  border-bottom: 4px double var(--resume-ink);
  text-align: center;
}

.resume-sheet.layout-10 .resume-document-name {
  justify-content: center;
}

.resume-sheet.layout-10 .resume-document-header h1 {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.resume-sheet.layout-10 .resume-document-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: none;
  margin-top: 13px;
}

.resume-sheet.layout-10 .resume-document-section h2 {
  color: var(--resume-ink);
  font-family: Arial, sans-serif;
  text-align: center;
}

.resume-sheet.density-2 .resume-document-section { margin-top: 22px; }
.resume-sheet.density-3 .resume-document-section { margin-top: 28px; }
.resume-sheet.density-4 { line-height: 1.6; }
.resume-sheet.density-5 .resume-document-item { margin-bottom: 19px; }

.resume-sheet.variant-1 { --variant-radius: 0px; }
.resume-sheet.variant-2 { --variant-radius: 8px; }
.resume-sheet.variant-3 { --variant-radius: 16px; }
.resume-sheet.variant-4 { --variant-radius: 24px; }
.resume-sheet.variant-5 { --variant-radius: 5px; }
.resume-sheet.variant-6 { --variant-radius: 12px; }
.resume-sheet.variant-7 { --variant-radius: 20px; }
.resume-sheet.variant-8 { --variant-radius: 30px; }
.resume-sheet.variant-9 { --variant-radius: 10px; }
.resume-sheet.variant-10 { --variant-radius: 18px; }

.resume-sheet[class*="variant-"] .resume-document-photo,
.resume-sheet[class*="variant-"] .resume-document-monogram {
  border-radius: var(--variant-radius);
}

.resume-sheet.variant-2 .resume-document-section h2,
.resume-sheet.variant-7 .resume-document-section h2 {
  padding-left: 8px;
  border-left: 3px solid var(--resume-accent);
}

.resume-sheet.variant-3 .resume-document-section h2,
.resume-sheet.variant-8 .resume-document-section h2 {
  padding-bottom: 5px;
  border-bottom: 1px solid color-mix(in srgb, var(--resume-accent) 42%, white);
}

.resume-sheet.variant-4 .resume-document-section h2,
.resume-sheet.variant-9 .resume-document-section h2 {
  display: inline-block;
  padding: 5px 9px;
  border-radius: var(--variant-radius);
  background: var(--resume-soft);
}

.resume-sheet.variant-5 .resume-document-header,
.resume-sheet.variant-10 .resume-document-header {
  border-bottom-style: double;
}

.resume-sheet.variant-6 .resume-document-item {
  padding-left: 10px;
  border-left: 1px solid color-mix(in srgb, var(--resume-accent) 35%, white);
}

.resume-sheet.variant-7 .resume-document-header h1 { letter-spacing: -.01em; }
.resume-sheet.variant-8 .resume-document-header h1 { letter-spacing: .02em; }
.resume-sheet.variant-9 .resume-document-header h1 { text-transform: uppercase; }
.resume-sheet.variant-10 .resume-document-section { margin-top: 30px; }

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

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

.resume-limit-modal[hidden],
.resume-plan-modal[hidden] {
  display: none;
}

body.resume-modal-open {
  overflow: hidden;
}

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

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

.resume-limit-modal {
  position: fixed;
  inset: 0;
  z-index: 4010;
  display: grid;
  place-items: center;
  padding: 18px;
}

.resume-plan-modal {
  position: fixed;
  inset: 0;
  z-index: 4020;
  display: grid;
  place-items: center;
  padding: 18px;
}

.resume-summary-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(5px);
}

.resume-limit-dialog {
  position: relative;
  width: min(460px, 96vw);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(15, 23, 42, .35);
  text-align: center;
}

.resume-limit-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #64748b;
  background: #f1f5f9;
}

.resume-limit-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 14px 26px rgba(239, 68, 68, .18);
  font-size: 1.35rem;
}

.resume-limit-dialog small {
  color: #dc2626;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.resume-limit-dialog h2 {
  margin: 6px 0 0;
  color: #172033;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 900;
}

.resume-limit-dialog p {
  margin: 10px auto 0;
  max-width: 350px;
  color: #64748b;
  font-size: .72rem;
  line-height: 1.65;
}

.resume-limit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.resume-limit-actions a,
.resume-limit-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: #475569;
  background: #fff;
  font-family: inherit;
  font-size: .65rem;
  font-weight: 850;
  text-decoration: none;
}

.resume-limit-actions button:first-child {
  border-color: #dc2626;
  color: #fff;
  background: #dc2626;
  box-shadow: 0 10px 20px rgba(220, 38, 38, .16);
}

.resume-plan-dialog {
  position: relative;
  width: min(1040px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(15, 23, 42, .35);
}

.resume-plan-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #64748b;
  background: #f1f5f9;
}

.resume-plan-dialog > header {
  padding-right: 44px;
}

.resume-plan-dialog > header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4f46e5;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.resume-plan-dialog > header h2 {
  margin: 8px 0 0;
  color: #172033;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.2;
}

.resume-plan-dialog > header p {
  margin: 7px 0 0;
  max-width: 560px;
  color: #64748b;
  font-size: .72rem;
  line-height: 1.6;
}

.resume-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.resume-plan-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  align-content: start;
  gap: 10px;
  min-height: 370px;
  padding: 18px;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
}

.resume-plan-card.starter {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff, #fff 38%);
}

.resume-plan-card.growth {
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #ecfdf5, #fff 38%);
}

.resume-plan-card.unlimited {
  border-color: #ddd6fe;
  background: linear-gradient(180deg, #f5f3ff, #fff 38%);
}

.resume-plan-card small {
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, .82);
  font-size: .55rem;
  font-weight: 950;
  text-transform: uppercase;
}

.resume-plan-card h3 {
  margin: 0;
  color: #172033;
  font-size: 1rem;
  font-weight: 950;
}

.resume-plan-card strong {
  display: block;
  color: #111827;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.resume-plan-card p {
  margin: 0;
  color: #64748b;
  font-size: .68rem;
  line-height: 1.55;
}

.resume-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.resume-plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #334155;
  font-size: .64rem;
  font-weight: 760;
  line-height: 1.4;
}

.resume-plan-card li i {
  margin-top: 2px;
  color: #059669;
}

.resume-plan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: auto;
  border-radius: 11px;
  color: #fff;
  background: #4f46e5;
  font-size: .66rem;
  font-weight: 900;
  text-decoration: none;
}

.resume-plan-card.starter a { background: #2563eb; }
.resume-plan-card.growth a { background: #059669; }
.resume-plan-card.unlimited a { background: #7c3aed; }

.resume-plan-compare {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #e5e9f2;
  border-radius: 14px;
  background: #f8fafc;
}

.resume-plan-compare span,
.resume-plan-compare div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 11px;
  background: #fff;
}

.resume-plan-compare span {
  align-content: center;
  color: #4f46e5;
  font-size: .66rem;
  font-weight: 950;
}

.resume-plan-compare b {
  color: #172033;
  font-size: .66rem;
}

.resume-plan-compare small {
  color: #64748b;
  font-size: .58rem;
  font-weight: 750;
}

.resume-summary-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(980px, 96vw);
  max-height: min(850px, 92vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(15, 23, 42, .35);
}

.resume-skills-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  width: min(1040px, 96vw);
  max-height: min(850px, 92vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(15, 23, 42, .35);
}

.resume-skills-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px;
  color: #fff;
  background: linear-gradient(135deg, #064e3b, #0f766e 55%, #0891b2);
}

.resume-skills-dialog > header span {
  display: block;
  margin-bottom: 7px;
  color: #a7f3d0;
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.resume-skills-dialog > header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.resume-skills-dialog > header p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
}

.resume-skills-dialog > header button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.resume-skills-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
  padding: 17px 20px 10px;
}

.resume-skills-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: #f8fafc;
}

.resume-skills-search i {
  color: #0d9488;
  font-size: .72rem;
}

.resume-skills-search input {
  width: 100%;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .7rem;
}

.resume-skills-category {
  position: relative;
}

.resume-skills-category span {
  position: absolute;
  top: 5px;
  left: 12px;
  z-index: 1;
  color: #94a3b8;
  font-size: .48rem;
  font-weight: 800;
  text-transform: uppercase;
  pointer-events: none;
}

.resume-skills-category select {
  width: 100%;
  height: 44px;
  padding: 14px 34px 0 11px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  outline: 0;
  color: #334155;
  background: #f8fafc;
  font: inherit;
  font-size: .63rem;
  font-weight: 750;
}

.resume-skills-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 21px 9px;
  color: #64748b;
  font-size: .58rem;
  font-weight: 750;
}

.resume-skills-status strong {
  color: #0f766e;
  font-size: .6rem;
}

.resume-skills-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  padding: 3px 20px 16px;
}

.resume-skill-option {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid #e5e9f2;
  border-radius: 11px;
  color: #334155;
  background: #fff;
  font: inherit;
  text-align: left;
}

.resume-skill-option > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: #94a3b8;
  background: #f1f5f9;
  font-size: .65rem;
}

.resume-skill-option span,
.resume-skill-option strong,
.resume-skill-option small {
  display: block;
}

.resume-skill-option strong {
  overflow: hidden;
  color: inherit;
  font-size: .62rem;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-skill-option small {
  margin-top: 2px;
  overflow: hidden;
  color: #94a3b8;
  font-size: .48rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-skill-option:hover {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.resume-skill-option.selected {
  color: #115e59;
  border-color: #5eead4;
  background: #f0fdfa;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .08);
}

.resume-skill-option.selected > i {
  color: #fff;
  background: #0d9488;
}

.resume-skills-empty {
  grid-column: 1 / -1;
  padding: 55px 20px;
  color: #94a3b8;
  text-align: center;
}

.resume-skills-empty i,
.resume-skills-empty strong,
.resume-skills-empty span {
  display: block;
}

.resume-skills-empty i {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.resume-skills-empty strong {
  color: #475569;
  font-size: .78rem;
}

.resume-skills-empty span {
  margin-top: 4px;
  font-size: .6rem;
}

.resume-skills-selected {
  display: flex;
  min-height: 45px;
  max-height: 84px;
  flex-wrap: wrap;
  gap: 6px;
  overflow-y: auto;
  padding: 9px 20px;
  border-top: 1px solid #edf0f5;
  background: #f8fafc;
}

.resume-skills-selected:empty::before {
  align-self: center;
  color: #94a3b8;
  content: 'Selected skills will appear here';
  font-size: .57rem;
}

.resume-skill-chip {
  display: inline-flex;
  height: 27px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font: inherit;
  font-size: .53rem;
  font-weight: 800;
}

.resume-skills-dialog > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-top: 1px solid #e8ecf3;
  background: #fff;
}

.resume-skills-dialog > footer > div {
  display: flex;
  gap: 8px;
}

.resume-skills-dialog > footer button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #dfe5ef;
  border-radius: 9px;
  color: #64748b;
  background: #fff;
  font: inherit;
  font-size: .58rem;
  font-weight: 850;
}

.resume-skills-dialog > footer button.primary {
  color: #fff;
  border-color: #0d9488;
  background: #0d9488;
}

.resume-skills-dialog > footer button.resume-skills-clear {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff1f2;
}

.resume-summary-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px;
  color: #fff;
  background: linear-gradient(135deg, #312e81, #5b21b6 58%, #7c3aed);
}

.resume-summary-dialog > header span {
  display: block;
  margin-bottom: 7px;
  color: #c4b5fd;
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.resume-summary-dialog > header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.resume-summary-dialog > header p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
}

.resume-summary-dialog > header button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.resume-summary-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
  margin: 17px 20px 10px;
}

.resume-summary-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: #f8fafc;
}

.resume-summary-search i {
  color: #818cf8;
  font-size: .72rem;
}

.resume-summary-search input {
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: .7rem;
}

.resume-summary-search span {
  color: #64748b;
  font-size: .58rem;
  font-weight: 800;
}

.resume-summary-domain {
  position: relative;
}

.resume-summary-domain span {
  position: absolute;
  top: 5px;
  left: 12px;
  z-index: 1;
  color: #94a3b8;
  font-size: .48rem;
  font-weight: 800;
  text-transform: uppercase;
  pointer-events: none;
}

.resume-summary-domain select {
  width: 100%;
  height: 46px;
  padding: 14px 34px 0 11px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  outline: 0;
  color: #334155;
  background: #f8fafc;
  font: inherit;
  font-size: .63rem;
  font-weight: 750;
}

.resume-summary-results {
  display: grid;
  gap: 9px;
  overflow-y: auto;
  padding: 7px 20px 17px;
}

.resume-summary-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 16px;
  padding: 13px 14px;
  border: 1px solid #e5e9f2;
  border-radius: 13px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.resume-summary-option:hover {
  border-color: #a5b4fc;
  box-shadow: 0 8px 22px rgba(79, 70, 229, .09);
  transform: translateY(-1px);
}

.resume-summary-option > div {
  grid-column: 1;
}

.resume-summary-option > div span {
  margin-right: 8px;
  color: #4f46e5;
  font-size: .58rem;
  font-weight: 900;
}

.resume-summary-domain-badge {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #0f766e;
  background: #ecfdf5;
  font-size: .52rem;
  font-weight: 900;
}

.resume-summary-option > div small {
  color: #8490a2;
  font-size: .54rem;
  font-weight: 700;
}

.resume-summary-option p {
  grid-column: 1;
  margin: 0;
  color: #475569;
  font-size: .64rem;
  line-height: 1.58;
}

.resume-summary-option button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  color: #4338ca;
  background: #eef2ff;
  font-family: inherit;
  font-size: .56rem;
  font-weight: 850;
}

.resume-summary-empty {
  padding: 55px 20px;
  color: #94a3b8;
  text-align: center;
}

.resume-summary-empty i,
.resume-summary-empty strong,
.resume-summary-empty p {
  display: block;
}

.resume-summary-empty i {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.resume-summary-empty strong {
  color: #475569;
  font-size: .78rem;
}

.resume-summary-empty p {
  margin: 4px 0 0;
  font-size: .62rem;
}

.resume-summary-dialog > footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-top: 1px solid #e8ecf3;
  background: #f8fafc;
}

.resume-summary-dialog > footer > button,
.resume-summary-pages button {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid #dfe5ef;
  border-radius: 9px;
  color: #64748b;
  background: #fff;
  font-family: inherit;
  font-size: .58rem;
  font-weight: 800;
}

.resume-summary-dialog > footer > button {
  padding: 0 11px;
}

.resume-summary-dialog > footer > button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.resume-summary-pages {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.resume-summary-pages button.active {
  color: #fff;
  border-color: #4f46e5;
  background: #4f46e5;
}

.resume-summary-dialog > footer > span {
  color: #64748b;
  font-size: .57rem;
  font-weight: 750;
  white-space: nowrap;
}

.resume-export-panel {
  padding: 20px 22px 22px;
  border-top: 1px solid #e8ecf3;
}

.resume-export-copy strong,
.resume-export-copy span {
  display: block;
}

.resume-export-copy strong {
  color: #1e293b;
  font-size: .77rem;
}

.resume-export-copy span {
  margin-top: 3px;
  color: #94a3b8;
  font-size: .6rem;
}

.resume-export-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 14px;
}

.resume-export-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 13px;
  border-radius: 12px;
  text-align: left;
}

.resume-export-button > i {
  font-size: 1.18rem;
}

.resume-export-button span,
.resume-export-button strong,
.resume-export-button small {
  display: block;
}

.resume-export-button strong {
  font-size: .68rem;
}

.resume-export-button small {
  margin-top: 2px;
  opacity: .68;
  font-size: .53rem;
}

.resume-export-button.pdf {
  color: #b91c1c;
  background: #fff1f2;
}

.resume-export-button.docx {
  color: #1d4ed8;
  background: #eff6ff;
}

.resume-export-button:hover {
  filter: saturate(1.15);
  transform: translateY(-1px);
}

.resume-export-button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

#resumeExportStatus {
  min-height: 16px;
  margin: 10px 0 0;
  color: #047857;
  font-size: .58rem;
  font-weight: 700;
}

@media (max-width: 1380px) {
  .resume-studio-grid {
    grid-template-columns: minmax(430px, .92fr) minmax(500px, 1.08fr);
  }

  .resume-preview-stage {
    padding-inline: 8px;
  }
}

@media (max-width: 1160px) {
  .resume-studio-grid {
    grid-template-columns: 1fr;
  }

  .resume-preview-panel {
    position: static;
  }

  .resume-preview-stage {
    padding-inline: 20px;
  }
}

@media (max-width: 820px) {
  .resume-builder-page {
    padding: 18px 14px 50px;
  }

  .resume-hero {
    grid-template-columns: 1fr;
  }

  .resume-hero-copy {
    padding: 34px 28px 42px;
  }

  .resume-hero-visual {
    display: none;
  }

  .resume-studio-toolbar {
    grid-template-columns: 1fr;
    margin-inline: 10px;
  }

  .resume-design-controls {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .resume-breadcrumb {
    overflow: hidden;
    white-space: nowrap;
  }

  .resume-hero h1 {
    font-size: 2rem;
  }

  .resume-hero-points {
    display: grid;
    gap: 9px;
  }

  .resume-studio-toolbar {
    margin-top: -16px;
    padding: 16px;
  }

  .resume-design-controls > div:first-child {
    width: 100%;
  }

  .resume-field-grid.two,
  .resume-export-actions {
    grid-template-columns: 1fr;
  }

  .resume-field-grid.two.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resume-panel-heading,
  .resume-preview-toolbar {
    padding: 18px;
  }

  .resume-section-body {
    padding-inline: 16px;
  }

  .resume-form-section > summary {
    padding-inline: 16px;
  }

  .resume-preview-stage {
    padding: 12px 0;
  }

  .resume-sheet {
    margin-inline: 0;
  }

  .resume-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .resume-summary-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .resume-skills-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .resume-summary-dialog,
  .resume-skills-dialog {
    max-height: 95vh;
  }

  .resume-plan-grid,
  .resume-plan-compare {
    grid-template-columns: 1fr;
  }

  .resume-summary-filters {
    grid-template-columns: 1fr;
  }

  .resume-skills-tools {
    grid-template-columns: 1fr;
  }

  .resume-skills-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resume-summary-option {
    grid-template-columns: 1fr;
  }

  .resume-summary-option button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .resume-summary-dialog > footer {
    grid-template-columns: 1fr auto 1fr;
  }

  .resume-summary-pages {
    display: none;
  }

  .resume-summary-dialog > footer > span {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 470px) {
  .resume-skills-modal,
  .resume-limit-modal,
  .resume-plan-modal {
    padding: 10px;
  }

  .resume-limit-dialog,
  .resume-plan-dialog {
    padding: 26px 16px 18px;
  }

  .resume-limit-actions {
    grid-template-columns: 1fr;
  }

  .resume-skills-dialog > header,
  .resume-skills-tools,
  .resume-skills-results,
  .resume-skills-selected,
  .resume-skills-dialog > footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .resume-skills-results {
    grid-template-columns: 1fr;
  }

  .resume-skills-dialog > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .resume-skills-dialog > footer > div {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
  }
}

.job-card h3 {
  margin: 0;
  color: #172033;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.job-card-heading p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: .75rem;
  font-weight: 700;
}

.job-save-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: #64748b;
  background: #fff;
  font-size: .86rem;
  transition: color .2s, border-color .2s, background .2s;
}

.job-save-button:hover,
.job-save-button.is-saved {
  color: #4f46e5;
  border-color: #c7d2fe;
  background: #eef2ff;
}

.job-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 16px;
  margin: 18px 0 15px;
  padding: 14px 0;
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
}

.job-card-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #566176;
  font-size: .7rem;
  font-weight: 650;
}

.job-card-meta i {
  width: 15px;
  color: #818cf8;
  text-align: center;
}

.job-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.job-skill-list span {
  padding: 6px 9px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #475569;
  background: #fbfdff;
  font-size: .64rem;
  font-weight: 750;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
}

.job-card-footer > span {
  color: #94a3b8;
  font-size: .66rem;
  font-weight: 700;
}

.job-card-footer > span i {
  margin-right: 4px;
}

.job-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #4338ca;
  background: #eef2ff;
  font-size: .7rem;
  font-weight: 900;
  text-decoration: none;
  transition: color .2s, background .2s, transform .2s;
}

.job-card-footer a:hover {
  color: #fff;
  background: #4f46e5;
  transform: translateX(2px);
}

.job-card-footer a i {
  font-size: .62rem;
}

.job-side-panel {
  position: sticky;
  top: calc(var(--u-topbar-height) + 18px);
  display: grid;
  gap: 16px;
}

.job-profile-prompt,
.job-help-card {
  padding: 22px;
  border-radius: 20px;
}

.job-profile-prompt {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, .28), transparent 36%),
    linear-gradient(145deg, #172554, #312e81);
  box-shadow: 0 18px 38px rgba(30, 41, 99, .18);
}

.job-profile-prompt::after {
  position: absolute;
  right: -25px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
  content: "";
}

.job-profile-prompt > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 13px;
  color: #a5f3fc;
  background: rgba(255, 255, 255, .1);
}

.job-profile-prompt small,
.job-help-card small {
  color: #a5b4fc;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.job-profile-prompt h2 {
  max-width: 220px;
  margin: 7px 0 9px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.job-profile-prompt p,
.job-help-card p {
  margin: 0 0 18px;
  color: rgba(226, 232, 240, .75);
  font-size: .75rem;
  line-height: 1.65;
}

.job-profile-prompt a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
}

.job-profile-prompt a i {
  font-size: .6rem;
}

.job-help-card {
  border: 1px solid #e2e8f0;
  background: #fff;
}

.job-help-card > div:nth-child(2) {
  margin: 13px 0 10px;
}

.job-help-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #059669;
  background: #ecfdf5;
}

.job-help-card small {
  color: #059669;
}

.job-help-card h3 {
  margin: 4px 0 0;
  color: #172033;
  font-size: 1rem;
  font-weight: 900;
}

.job-help-card p {
  color: #64748b;
}

.job-help-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 11px;
  color: #047857;
  background: #ecfdf5;
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
}

.job-help-card a:hover {
  color: #fff;
  background: #059669;
}

.job-empty-state {
  padding: 65px 25px;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.job-empty-state > span {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 18px;
  color: #6366f1;
  background: #eef2ff;
  font-size: 1.25rem;
}

.job-empty-state h3 {
  margin: 0 0 7px;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 900;
}

.job-empty-state p {
  max-width: 470px;
  margin: 0 auto 17px;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.6;
}

.job-empty-state button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #4f46e5;
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
}

.job-pagination {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "previous pages next"
    "summary summary summary";
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.job-pagination[hidden] {
  display: none;
}

.job-pagination-nav,
.job-page-number {
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  color: #475569;
  background: #fff;
  font: inherit;
  font-size: .69rem;
  font-weight: 850;
  transition: color .2s, border-color .2s, background .2s;
}

.job-pagination-nav {
  gap: 7px;
  padding: 0 12px;
}

#jobPreviousPage {
  grid-area: previous;
}

#jobNextPage {
  grid-area: next;
}

.job-pagination-nav:hover:not(:disabled),
.job-page-number:hover,
.job-page-number.active {
  color: #fff;
  border-color: #4f46e5;
  background: #4f46e5;
}

.job-pagination-nav:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  background: #f8fafc;
}

.job-page-numbers {
  grid-area: pages;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.job-page-number {
  width: 38px;
  padding: 0;
}

.job-page-ellipsis {
  display: inline-flex;
  width: 24px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 900;
}

.job-page-summary {
  grid-area: summary;
  margin: 0;
  color: #64748b;
  font-size: .66rem;
  font-weight: 750;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .job-hero {
    grid-template-columns: minmax(0, 1fr) 310px;
    padding: 38px;
  }

  .job-filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .job-field-keyword {
    grid-column: span 3;
  }

  .job-results-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (max-width: 991.98px) {
  .job-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .job-hero-visual {
    display: none;
  }

  .job-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .job-side-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .job-openings-page {
    padding-top: 15px;
  }

  .job-breadcrumb span,
  .job-breadcrumb > i:nth-of-type(2) {
    display: none;
  }

  .job-hero {
    padding: 29px 24px;
    border-radius: 20px;
  }

  .job-hero h1 {
    font-size: 2rem;
  }

  .job-hero p {
    font-size: .88rem;
  }

  .job-hero-points {
    gap: 10px 16px;
  }

  .job-summary {
    margin: -18px 12px 20px;
  }

  .job-search-panel {
    padding: 19px;
    border-radius: 18px;
  }

  .job-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-field-keyword {
    grid-column: span 2;
  }

  .job-search-button {
    width: 100%;
  }

  .job-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-feed-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-feed-status > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .job-sort-control {
    width: 100%;
  }

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

  .job-side-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .job-search-heading {
    align-items: flex-start;
  }

  .job-reset-button {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .job-reset-button {
    font-size: 0;
  }

  .job-reset-button i {
    font-size: .78rem;
  }

  .job-filter-form {
    grid-template-columns: 1fr;
  }

  .job-field-keyword {
    grid-column: auto;
  }

  .job-summary {
    grid-template-columns: 1fr;
  }

  .job-summary article {
    min-height: 78px;
  }

  .job-card {
    padding: 17px;
  }

  .job-card-top {
    grid-template-columns: 46px minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .job-company-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .job-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-card-footer a {
    width: 100%;
    justify-content: center;
  }

  .job-pagination {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "pages pages"
      "previous next"
      "summary summary";
    padding: 13px;
  }

  .job-page-numbers {
    gap: 5px;
  }

  .job-page-number {
    width: 34px;
    height: 34px;
  }

  .job-pagination-nav {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-card,
  .job-search-button,
  .job-card-footer a {
    transition: none;
  }
}

/* Resume profile saving */
.resume-profile-save {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #c7d2fe;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(167, 139, 250, .18), transparent 32%),
    linear-gradient(135deg, #f8faff, #f5f3ff);
}

.resume-profile-save-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f46e5;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.resume-profile-save-copy strong,
.resume-profile-save-copy small {
  display: block;
}

.resume-profile-save-copy strong {
  margin-top: 5px;
  color: #1e293b;
  font-size: .78rem;
}

.resume-profile-save-copy small {
  margin-top: 3px;
  color: #64748b;
  font-size: .59rem;
  line-height: 1.5;
}

.resume-profile-save > label {
  display: block;
  margin-top: 12px;
}

.resume-profile-save > label > span {
  display: block;
  margin-bottom: 5px;
  color: #475569;
  font-size: .58rem;
  font-weight: 800;
}

.resume-profile-save input {
  width: 100%;
  min-height: 39px;
  padding: 8px 11px;
  border: 1px solid #d8def0;
  border-radius: 10px;
  outline: none;
  color: #1e293b;
  background: rgba(255, 255, 255, .9);
  font-family: inherit;
  font-size: .67rem;
}

.resume-profile-save input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .11);
}

.resume-profile-save-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.resume-profile-save-actions button,
.resume-profile-save-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .62rem;
  font-weight: 800;
  text-decoration: none;
}

.resume-save-profile-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 8px 18px rgba(79, 70, 229, .2);
}

.resume-save-copy-button {
  border: 1px solid #c7d2fe;
  color: #4338ca;
  background: #fff;
}

.resume-profile-save-actions a {
  margin-left: auto;
  color: #475569;
}

.resume-profile-save-actions button:disabled {
  cursor: wait;
  opacity: .65;
}

#resumeProfileSaveStatus {
  min-height: 15px;
  margin: 9px 0 0;
  font-size: .58rem;
  font-weight: 750;
}

#resumeProfileSaveStatus.saving {
  color: #4f46e5;
}

#resumeProfileSaveStatus.success {
  color: #047857;
}

#resumeProfileSaveStatus.error {
  color: #dc2626;
}

#resumeProfileSaveStatus a {
  color: inherit;
  text-decoration: underline;
}

.resume-export-copy {
  padding-top: 1px;
}

/* Saved resumes */
.saved-resumes-page {
  padding: 27px 22px 70px;
  background:
    radial-gradient(circle at 90% 8%, rgba(124, 58, 237, .07), transparent 23%),
    radial-gradient(circle at 9% 42%, rgba(14, 165, 233, .06), transparent 24%);
}

.saved-resumes-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #94a3b8;
  font-size: .7rem;
  font-weight: 750;
}

.saved-resumes-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  text-decoration: none;
}

.saved-resumes-breadcrumb strong {
  color: #4338ca;
}

.saved-resumes-breadcrumb > i {
  font-size: .5rem;
}

.saved-resumes-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 255px;
  overflow: hidden;
  padding: 38px 42px;
  border-radius: 27px;
  color: #fff;
  background:
    radial-gradient(circle at 81% 15%, rgba(196, 181, 253, .26), transparent 25%),
    radial-gradient(circle at 12% 100%, rgba(56, 189, 248, .19), transparent 30%),
    linear-gradient(132deg, #111827 0%, #312e81 56%, #6d28d9 110%);
  box-shadow: 0 24px 55px rgba(49, 46, 129, .2);
}

.saved-resumes-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .025);
}

.saved-resumes-hero > div,
.saved-resumes-create {
  position: relative;
  z-index: 1;
}

.saved-resumes-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #ddd6fe;
  background: rgba(255, 255, 255, .08);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.saved-resumes-hero h1 {
  margin: 13px 0 0;
  color: #fff;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.045em;
}

.saved-resumes-hero p {
  max-width: 690px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: .83rem;
  line-height: 1.72;
}

.saved-resumes-hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .72);
  font-size: .67rem;
  font-weight: 700;
}

.saved-resumes-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.saved-resumes-hero-stats strong {
  color: #fff;
  font-size: .85rem;
}

.saved-resumes-create {
  display: grid;
  flex: 0 0 265px;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 17px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.saved-resumes-create:hover {
  color: #fff;
  background: rgba(255, 255, 255, .15);
  transform: translateY(-2px);
}

.saved-resumes-create > i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #312e81;
  background: linear-gradient(135deg, #e0e7ff, #c4b5fd);
}

.saved-resumes-create strong,
.saved-resumes-create small {
  display: block;
}

.saved-resumes-create strong {
  font-size: .76rem;
}

.saved-resumes-create small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .58);
  font-size: .59rem;
}

.saved-resumes-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 17px;
  border-radius: 14px;
}

.saved-resumes-notice.error {
  border: 1px solid #fecaca;
  color: #991b1b;
  background: #fff1f2;
}

.saved-resumes-notice strong,
.saved-resumes-notice p {
  display: block;
  margin: 0;
}

.saved-resumes-notice strong {
  font-size: .74rem;
}

.saved-resumes-notice p {
  margin-top: 3px;
  font-size: .66rem;
}

.saved-resumes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 15px;
}

.saved-resumes-toolbar > div > span {
  color: #6366f1;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.saved-resumes-toolbar h2 {
  margin: 3px 0 0;
  color: #172033;
  font-size: 1.08rem;
  font-weight: 900;
}

.saved-resumes-toolbar label {
  position: relative;
  width: min(330px, 100%);
}

.saved-resumes-toolbar label i {
  position: absolute;
  top: 50%;
  left: 13px;
  color: #94a3b8;
  font-size: .7rem;
  transform: translateY(-50%);
}

.saved-resumes-toolbar input {
  width: 100%;
  min-height: 42px;
  padding: 9px 13px 9px 36px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  outline: none;
  color: #334155;
  background: #fff;
  box-shadow: 0 7px 20px rgba(15, 23, 42, .04);
  font-family: inherit;
  font-size: .68rem;
}

.saved-resumes-toolbar input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.saved-resumes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.saved-resume-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .065);
  transition: opacity .22s, transform .22s, box-shadow .22s;
}

.saved-resume-card:hover {
  box-shadow: 0 19px 42px rgba(49, 46, 129, .11);
  transform: translateY(-3px);
}

.saved-resume-card.removing {
  opacity: 0;
  transform: scale(.96);
}

.saved-resume-preview {
  position: relative;
  display: grid;
  min-height: 178px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, var(--resume-card-soft), transparent 27%),
    linear-gradient(145deg, #f8fafc, #eef2ff);
}

.saved-resume-preview::before,
.saved-resume-preview::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--resume-card-accent) 18%, transparent);
  border-radius: 50%;
}

.saved-resume-preview::before {
  width: 150px;
  height: 150px;
  right: -55px;
  top: -55px;
}

.saved-resume-preview::after {
  width: 95px;
  height: 95px;
  left: -40px;
  bottom: -45px;
}

.saved-resume-paper {
  position: relative;
  width: 102px;
  height: 136px;
  padding: 14px 12px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 13px 26px rgba(15, 23, 42, .16);
  transform: rotate(-2deg);
}

.saved-resume-paper > span {
  display: block;
  width: 25px;
  height: 25px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: var(--resume-card-accent);
}

.saved-resume-paper > strong {
  display: block;
  width: 62px;
  height: 6px;
  margin-bottom: 9px;
  border-radius: 5px;
  background: #1e293b;
}

.saved-resume-paper > i,
.saved-resume-paper > small {
  display: block;
  height: 3px;
  margin-top: 5px;
  border-radius: 5px;
  background: #cbd5e1;
}

.saved-resume-paper > i:nth-of-type(2) {
  width: 86%;
}

.saved-resume-paper > i:nth-of-type(3) {
  width: 72%;
}

.saved-resume-paper > i:nth-of-type(4) {
  width: 91%;
}

.saved-resume-paper > small {
  height: 5px;
  margin-top: 10px;
  background: var(--resume-card-accent);
  opacity: .55;
}

.saved-resume-template {
  position: absolute;
  right: 11px;
  bottom: 10px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  color: #475569;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(8px);
  font-size: .52rem;
  font-weight: 800;
}

.saved-resume-card-body {
  padding: 17px;
}

.saved-resume-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: start;
  gap: 10px;
}

.saved-resume-card-heading span {
  color: var(--resume-card-accent);
  font-size: .53rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.saved-resume-card-heading h2 {
  overflow: hidden;
  margin: 4px 0 0;
  color: #172033;
  font-size: .86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-resume-card-heading p {
  overflow: hidden;
  margin: 4px 0 0;
  color: #64748b;
  font-size: .62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-resume-delete-trigger {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #fee2e2;
  border-radius: 10px;
  color: #e11d48;
  background: #fff1f2;
  font-size: .67rem;
}

.saved-resume-delete-trigger:hover {
  color: #fff;
  background: #e11d48;
}

.saved-resume-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.saved-resume-metrics span {
  min-width: 0;
  padding: 8px 5px;
  border-radius: 9px;
  color: #64748b;
  background: #f8fafc;
  text-align: center;
  font-size: .49rem;
}

.saved-resume-metrics i,
.saved-resume-metrics strong {
  display: block;
}

.saved-resume-metrics i {
  margin-bottom: 4px;
  color: var(--resume-card-accent);
}

.saved-resume-metrics strong {
  margin-bottom: 1px;
  color: #334155;
  font-size: .66rem;
}

.saved-resume-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #94a3b8;
  font-size: .56rem;
  font-weight: 650;
}

.saved-resume-actions {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  gap: 7px;
  margin-top: 13px;
}

.saved-resume-actions a,
.saved-resume-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  color: #475569;
  background: #fff;
  font-family: inherit;
  font-size: .57rem;
  font-weight: 800;
  text-decoration: none;
}

.saved-resume-actions a {
  border-color: #c7d2fe;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.saved-resume-actions button:hover {
  border-color: #c7d2fe;
  color: #4338ca;
  background: #f5f3ff;
}

.saved-resume-actions button:disabled {
  cursor: wait;
  opacity: .65;
}

.saved-resume-card-status {
  min-height: 14px;
  margin: 8px 0 -2px;
  font-size: .54rem;
  font-weight: 700;
}

.saved-resume-card-status.saving {
  color: #4f46e5;
}

.saved-resume-card-status.success {
  color: #047857;
}

.saved-resume-card-status.error {
  color: #dc2626;
}

.saved-resumes-empty,
.saved-resumes-no-results {
  margin-top: 28px;
  padding: 58px 24px;
  border: 1px dashed #c7d2fe;
  border-radius: 22px;
  background: rgba(255, 255, 255, .75);
  text-align: center;
}

.saved-resumes-empty-visual {
  position: relative;
  width: 105px;
  height: 90px;
  margin: 0 auto 16px;
}

.saved-resumes-empty-visual > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 74px;
  height: 86px;
  margin: auto;
  place-items: center;
  border-radius: 13px;
  color: #4f46e5;
  background: #fff;
  box-shadow: 0 16px 32px rgba(79, 70, 229, .15);
  font-size: 1.45rem;
}

.saved-resumes-empty-visual > i {
  position: absolute;
  width: 64px;
  height: 76px;
  top: 7px;
  border-radius: 11px;
  background: #e0e7ff;
}

.saved-resumes-empty-visual > i:first-of-type {
  left: 4px;
  transform: rotate(-12deg);
}

.saved-resumes-empty-visual > i:last-of-type {
  right: 4px;
  transform: rotate(12deg);
}

.saved-resumes-empty > span {
  color: #6366f1;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.saved-resumes-empty h2,
.saved-resumes-no-results strong {
  display: block;
  margin: 7px 0 0;
  color: #172033;
  font-size: 1.2rem;
  font-weight: 900;
}

.saved-resumes-empty p,
.saved-resumes-no-results p {
  max-width: 540px;
  margin: 8px auto 0;
  color: #64748b;
  font-size: .73rem;
  line-height: 1.65;
}

.saved-resumes-empty a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 16px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 9px 20px rgba(79, 70, 229, .2);
  font-size: .68rem;
  font-weight: 850;
  text-decoration: none;
}

.saved-resumes-no-results > i {
  color: #818cf8;
  font-size: 1.5rem;
}

body.saved-resume-modal-open {
  overflow: hidden;
}

.saved-resume-delete-modal[hidden] {
  display: none;
}

.saved-resume-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  padding: 18px;
  place-items: center;
}

.saved-resume-delete-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .7);
  backdrop-filter: blur(8px);
}

.saved-resume-delete-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 35px 90px rgba(15, 23, 42, .38);
  text-align: center;
  animation: studentProfileModalIn .22s ease-out;
}

.saved-resume-delete-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #64748b;
  background: #f1f5f9;
}

.saved-resume-delete-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 13px;
  place-items: center;
  border: 9px solid #ffe4e6;
  border-radius: 50%;
  color: #fff;
  background: #e11d48;
  box-shadow: 0 12px 25px rgba(225, 29, 72, .2);
}

.saved-resume-delete-dialog > small {
  color: #e11d48;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.saved-resume-delete-dialog h2 {
  margin: 5px 0 0;
  color: #172033;
  font-size: 1.18rem;
  font-weight: 900;
}

.saved-resume-delete-dialog > p {
  margin: 9px 0 0;
  color: #64748b;
  font-size: .7rem;
  line-height: 1.65;
}

.saved-resume-delete-dialog > p strong {
  color: #334155;
}

.saved-resume-delete-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 11px 12px;
  border: 1px solid #fde68a;
  border-radius: 11px;
  color: #92400e;
  background: #fffbeb;
  text-align: left;
  font-size: .63rem;
  line-height: 1.5;
}

.saved-resume-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 9px;
  margin-top: 17px;
}

.saved-resume-delete-actions button {
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: #475569;
  background: #fff;
  font-family: inherit;
  font-size: .65rem;
  font-weight: 850;
}

.saved-resume-delete-actions button:last-child {
  border-color: #e11d48;
  color: #fff;
  background: #e11d48;
  box-shadow: 0 8px 18px rgba(225, 29, 72, .18);
}

.saved-resume-delete-actions button:disabled {
  cursor: wait;
  opacity: .65;
}

#savedResumeDeleteStatus {
  min-height: 15px;
  margin: 9px 0 -7px;
  font-size: .6rem;
  font-weight: 750;
}

#savedResumeDeleteStatus.saving {
  color: #4f46e5;
}

#savedResumeDeleteStatus.error {
  color: #dc2626;
}

@media (max-width: 1180px) {
  .saved-resumes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .saved-resumes-page {
    padding: 18px 14px 50px;
  }

  .saved-resumes-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 25px;
  }

  .saved-resumes-create {
    width: 100%;
    flex-basis: auto;
  }

  .saved-resumes-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .saved-resumes-toolbar label {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .resume-profile-save-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .resume-profile-save-actions a {
    margin-left: 0;
  }

  .saved-resumes-grid {
    grid-template-columns: 1fr;
  }

  .saved-resumes-hero h1 {
    font-size: 2rem;
  }

  .saved-resumes-hero-stats {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .saved-resume-delete-dialog {
    padding: 25px 17px 20px;
  }

  .saved-resume-delete-actions {
    grid-template-columns: 1fr;
  }
}
