/* superhoca — base styles */
:root {
  --brand:     #3B5BDB;
  --zinc-50:   #fafafa;
  --zinc-100:  #f4f4f5;
  --zinc-200:  #e4e4e7;
  --zinc-300:  #d4d4d8;
  --zinc-400:  #a1a1aa;
  --zinc-500:  #71717a;
  --zinc-600:  #52525b;
  --zinc-700:  #3f3f46;
  --zinc-800:  #27272a;
  --zinc-900:  #18181b;
  --sb:        240px;
  --topbar-h:  56px;
  --radius:    8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  color: var(--zinc-800);
  background: var(--zinc-50);
  -webkit-font-smoothing: antialiased;
}

/* ── App shell ───────────────────────────────────── */
.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.app-sidebar {
  width: var(--sb);
  min-width: var(--sb);
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--zinc-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width .2s, min-width .2s;
}

.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--zinc-100);
}
.sb-brand-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sb-brand-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-nav { display: flex; flex-direction: column; padding: 8px 0; }
.sb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius);
  margin: 0 6px;
  color: var(--zinc-600);
  text-decoration: none;
  font-size: 13.5px;
  transition: background .12s, color .12s;
}
.sb-item:hover { background: var(--zinc-100); color: var(--zinc-900); }
.sb-item.active { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); font-weight: 500; }
.sb-item i { font-size: 18px; flex-shrink: 0; }
.sb-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-spacer { flex: 1; }
.sb-divider { height: 1px; background: var(--zinc-100); margin: 4px 12px; }

.sb-user {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--zinc-100);
  font-size: 13px; color: var(--zinc-600);
}
.sb-user-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-logout {
  background: none; border: none; cursor: pointer;
  color: var(--zinc-400); padding: 4px; border-radius: 4px;
  display: flex; align-items: center;
}
.sb-logout:hover { color: var(--zinc-700); }

.sb-collapse {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 10px; color: var(--zinc-400);
  border-top: 1px solid var(--zinc-100);
}
.sb-collapse:hover { color: var(--zinc-700); }

.app-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.app-topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--zinc-200);
  background: #fff;
  display: flex; align-items: center;
  padding: 0 20px; gap: 12px;
  flex-shrink: 0;
}
.topbar-title { font-size: 15px; font-weight: 500; }
.topbar-menu-btn { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--zinc-600); }

.app-content { flex: 1; overflow-y: auto; padding: 24px; }

/* ── Auth pages (Login / Signup) ──────────────────── */
.auth-page { min-height: 100vh; display: flex; font-family: 'DM Sans', system-ui, sans-serif; }

.auth-left {
  width: 42%; min-height: 100vh;
  background: linear-gradient(155deg, #0A1845 0%, #1a3db5 55%, #234ED1 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 48px; position: relative; overflow: hidden;
}
.auth-left-deco-1, .auth-left-deco-2 { position: absolute; border-radius: 50%; pointer-events: none; }
.auth-left-deco-1 { width: 380px; height: 380px; background: rgba(255,255,255,.04); top: -120px; right: -100px; }
.auth-left-deco-2 { width: 220px; height: 220px; background: rgba(254,77,69,.12); bottom: 40px; left: -60px; }
.auth-left-inner { position: relative; z-index: 1; width: 100%; }

.auth-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
.auth-logo-icon { font-size: 36px; color: #FE4D45; }
.auth-logo-text {
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif;
  font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.5px;
}
.auth-tagline {
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif;
  font-size: 38px; font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 36px;
}
.auth-features { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.auth-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.82); }
.auth-check {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 13px; flex-shrink: 0;
}

.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: #f5f7ff; }
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-form-title { font-family: 'Raleway', 'IBM Plex Sans', sans-serif; font-size: 30px; font-weight: 800; color: #0A1845; margin-bottom: 6px; }
.auth-form-sub { font-size: 15px; color: #6b7280; margin-bottom: 28px; }

.auth-alert { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field label { font-size: 13.5px; font-weight: 600; color: #374151; }
.auth-hint { font-weight: 400; color: #9ca3af; font-size: 12px; }
.auth-field input {
  padding: 11px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus { border-color: #1a3db5; box-shadow: 0 0 0 3px rgba(26,61,181,.1); }

.auth-pass-wrap { position: relative; }
.auth-pass-wrap input { width: 100%; padding-right: 44px; }
.auth-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #9ca3af; font-size: 18px;
  display: flex; align-items: center; padding: 0;
}
.auth-eye:hover { color: #374151; }

.auth-submit {
  padding: 12px 24px; border: none; border-radius: 10px; cursor: pointer;
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 700;
  background: #1a3db5; color: #fff; transition: background .15s, transform .1s;
}
.auth-submit:hover:not(:disabled) { background: #1533a0; }
.auth-submit:active:not(:disabled) { transform: scale(.99); }
.auth-submit:disabled { opacity: .5; cursor: not-allowed; }
.auth-submit--red { background: #FE4D45; }
.auth-submit--red:hover:not(:disabled) { background: #e5413a; }

.auth-alt { margin-top: 22px; text-align: center; font-size: 14px; color: #6b7280; }
.auth-alt a { color: #1a3db5; font-weight: 600; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }
.auth-terms { margin-top: 12px; text-align: center; font-size: 12px; color: #9ca3af; }
.auth-terms a { color: #6b7280; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #d1d5db; font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.auth-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 16px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  background: #fff; color: #374151; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.auth-google-btn:hover { border-color: #d1d5db; box-shadow: 0 1px 6px rgba(0,0,0,.08); }

/* ── Dashboard ───────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat-icon { font-size: 24px; color: var(--brand); }
.stat-value { font-size: 28px; font-weight: 500; }
.stat-label { font-size: 12px; color: var(--zinc-500); text-transform: uppercase; letter-spacing: .04em; }

/* ── Courses grid ────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.course-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.course-info { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.course-info h3 { font-size: 14px; font-weight: 500; }
.btn-primary {
  display: inline-block;
  background: var(--brand); color: #fff;
  padding: 7px 14px; border-radius: 6px;
  text-decoration: none; font-size: 13px;
  text-align: center;
}
.btn-primary:hover { opacity: .88; }

/* ── States ──────────────────────────────────────── */
.loading-state, .empty-state, .error-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
  padding: 48px; color: var(--zinc-400);
  text-align: center;
}

/* ── Overlay (mobile) ────────────────────────────── */
.sb-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 40;
}
@media (max-width: 767px) {
  .app-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
    transform: translateX(-100%);
    transition: transform .2s;
  }
  .mobile-open .app-sidebar { transform: none; }
  .auth-left { display: none; }
  .auth-right { padding: 24px 20px; }
}

/* ── Onboarding ─────────────────────────────────────── */
.onb-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #234ED1 0%, #1B3FA8 40%, #0E2670 80%, #0A1845 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
  font-family: 'Poppins', 'IBM Plex Sans', sans-serif;
}
.onb-d { position: absolute; border: 2px solid rgba(255,255,255,.08); transform: rotate(45deg); pointer-events: none; }
.onb-d1 { width: 80px; height: 80px; top: 10%; left: 8%; }
.onb-d2 { width: 120px; height: 120px; top: 60%; right: 6%; }
.onb-d3 { width: 50px; height: 50px; bottom: 12%; left: 15%; border-color: rgba(254,77,69,.2); }

.onb-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(24px); border-radius: 24px;
  padding: 48px 44px; width: 100%; max-width: 520px; position: relative; z-index: 1;
}
.onb-step-badge {
  display: inline-block; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); border-radius: 20px;
  padding: 3px 14px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 24px;
}
.onb-card-title { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.onb-card-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 28px; }

.onb-intro { text-align: center; }
.onb-slide { display: flex; flex-direction: column; align-items: center; }
.onb-slide-icon { font-size: 72px; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.onb-slide-title { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.onb-slide-sub { font-size: 15px; color: rgba(255,255,255,.65); max-width: 360px; line-height: 1.6; }

.onb-dots { display: flex; justify-content: center; gap: 8px; margin: 28px 0 24px; }
.onb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s, transform .2s; }
.onb-dot.active { background: #fff; transform: scale(1.3); }
.onb-intro-btns { display: flex; justify-content: center; gap: 12px; }

.onb-btn-primary {
  padding: 12px 28px; background: #FE4D45; color: #fff; border: none; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; transition: background .15s, transform .1s;
}
.onb-btn-primary:hover:not(:disabled) { background: #e5413a; }
.onb-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.onb-btn-big { padding: 14px 36px; font-size: 16px; }
.onb-btn-ghost {
  padding: 12px 20px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2); border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 14px; transition: background .15s;
}
.onb-btn-ghost:hover { background: rgba(255,255,255,.16); }

.onb-field { display: flex; flex-direction: column; gap: 8px; }
.onb-field label { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.8); }
.onb-field input {
  padding: 12px 16px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 12px; font-size: 15px; font-family: inherit; color: #fff; outline: none; transition: border-color .15s;
}
.onb-field input::placeholder { color: rgba(255,255,255,.35); }
.onb-field input:focus { border-color: rgba(255,255,255,.5); }
.onb-slug-preview { font-size: 12.5px; color: rgba(255,255,255,.45); padding: 2px; }
.onb-mt { margin-top: 24px; }

.onb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.onb-chip {
  padding: 8px 16px; border-radius: 20px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); font-family: inherit; font-size: 13.5px; cursor: pointer; transition: all .15s;
}
.onb-chip:hover { background: rgba(255,255,255,.18); }
.onb-chip.active { background: #FE4D45; border-color: #FE4D45; color: #fff; font-weight: 600; }

.onb-sales-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.onb-sales-card {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 20px 14px; text-align: center; cursor: pointer;
  font-family: inherit; color: #fff; transition: all .15s;
}
.onb-sales-card:hover:not([disabled]) { background: rgba(255,255,255,.14); }
.onb-sales-card.active { background: rgba(254,77,69,.18); border-color: #FE4D45; }
.onb-sales-card--disabled { opacity: .45; cursor: not-allowed; }
.onb-sales-icon { font-size: 28px; margin-bottom: 10px; }
.onb-sales-label { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.onb-sales-desc { font-size: 12px; color: rgba(255,255,255,.55); }
.onb-badge { display: inline-block; padding: 1px 7px; border-radius: 10px; background: rgba(255,255,255,.15); font-size: 10px; margin-left: 4px; }

.onb-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.onb-error { margin-top: 12px; font-size: 13px; color: #FE4D45; text-align: center; }

.onb-done { text-align: center; padding: 64px 44px; }
.onb-done-icon { font-size: 72px; color: rgba(255,255,255,.7); margin-bottom: 24px; }
.onb-done-icon--success { color: #22C55E; }

.onb-fade-enter-active, .onb-fade-leave-active { transition: opacity .3s; }
.onb-fade-enter-from, .onb-fade-leave-to { opacity: 0; }
@keyframes onb-spin { to { transform: rotate(360deg); } }
.onb-spin { display: inline-block; animation: onb-spin 1s linear infinite; }

@media (max-width: 600px) {
  .onb-card { padding: 32px 24px; }
  .onb-sales-grid { grid-template-columns: 1fr; }
  .onb-slide-title { font-size: 24px; }
}

/* ── Course Create ──────────────────────────────────── */
.cc-page {
  min-height: 100vh; background: #1a3db5;
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif;
  display: flex; flex-direction: column;
}
.cc-nav {
  height: 60px; background: #0A1845; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cc-nav-left { display: flex; align-items: center; gap: 14px; }
.cc-nav-back {
  background: none; border: none; color: rgba(255,255,255,.65); cursor: pointer;
  font-size: 20px; display: flex; align-items: center; padding: 6px; border-radius: 6px;
}
.cc-nav-back:hover { color: #fff; background: rgba(255,255,255,.1); }
.cc-nav-title { font-size: 15px; font-weight: 700; color: #fff; }
.cc-draft-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border-radius: 20px; padding: 3px 10px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.65);
}
.cc-draft-dot { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.cc-nav-actions { display: flex; align-items: center; gap: 10px; }
.cc-btn-save {
  padding: 7px 18px; background: transparent; border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); border-radius: 8px; cursor: pointer;
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 600; transition: all .15s;
}
.cc-btn-save:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.cc-btn-save:disabled { opacity: .5; cursor: not-allowed; }
.cc-btn-publish {
  padding: 7px 18px; background: #FE4D45; border: none; color: #fff; border-radius: 8px; cursor: pointer;
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; transition: background .15s;
}
.cc-btn-publish:hover { background: #e5413a; }
.cc-btn-publish:disabled { opacity: .5; cursor: not-allowed; }

.cc-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; padding: 24px; flex: 1; max-width: 1200px; margin: 0 auto; width: 100%; }
.cc-modules { display: flex; flex-direction: column; gap: 16px; }

.cc-module-card {
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); border-radius: 16px; overflow: hidden; transition: border-color .15s;
}
.cc-module-card.dragging { opacity: .5; border-style: dashed; }
.cc-module-card.drag-over { border-color: rgba(255,255,255,.5); }
.cc-module-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; }
.cc-drag-handle { cursor: grab; color: rgba(255,255,255,.3); font-size: 18px; padding: 4px; display: flex; align-items: center; }
.cc-drag-handle:hover { color: rgba(255,255,255,.6); }
.cc-module-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.cc-module-icon--video { background: rgba(254,77,69,.18); color: #FE4D45; }
.cc-module-icon--doc   { background: rgba(123,167,255,.18); color: #7ba7ff; }
.cc-module-icon--quiz  { background: rgba(245,158,11,.18); color: #f59e0b; }
.cc-module-icon--live  { background: rgba(34,197,94,.18); color: #22C55E; }
.cc-module-title { flex: 1; font-size: 14px; font-weight: 600; color: #fff; }
.cc-module-del { background: none; border: none; cursor: pointer; color: rgba(255,255,255,.25); font-size: 18px; padding: 4px; display: flex; align-items: center; border-radius: 6px; transition: color .15s, background .15s; }
.cc-module-del:hover { color: #FE4D45; background: rgba(254,77,69,.12); }
.cc-module-chevron { font-size: 18px; color: rgba(255,255,255,.35); transition: transform .2s; }
.cc-module-chevron.open { transform: rotate(180deg); }
.cc-module-body { padding: 0 18px 18px; }

.cc-source-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.cc-source-tab {
  padding: 5px 14px; border-radius: 6px; cursor: pointer;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.6); transition: all .15s;
}
.cc-source-tab.active { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.cc-source-tab:hover:not(.active) { background: rgba(255,255,255,.1); }

.cc-url-row { display: flex; gap: 8px; }
.cc-url-input {
  flex: 1; padding: 10px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none;
}
.cc-url-input::placeholder { color: rgba(255,255,255,.3); }
.cc-url-input:focus { border-color: rgba(255,255,255,.4); }
.cc-url-add { padding: 10px 18px; background: #234ED1; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; transition: background .15s; }
.cc-url-add:hover { background: #1B3FA8; }

.cc-upload-zone { border: 2px dashed rgba(255,255,255,.2); border-radius: 12px; padding: 40px 24px; text-align: center; cursor: pointer; transition: border-color .15s; }
.cc-upload-zone:hover { border-color: rgba(255,255,255,.4); }
.cc-upload-icon { font-size: 40px; color: rgba(255,255,255,.35); margin-bottom: 12px; }
.cc-upload-text { font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: rgba(255,255,255,.6); }
.cc-upload-hint { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 4px; }

.cc-material-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cc-material-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; transition: all .15s;
}
.cc-material-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.cc-material-btn i { font-size: 24px; }

.cc-quiz-empty { text-align: center; padding: 20px 0; color: rgba(255,255,255,.5); font-family: 'DM Sans', sans-serif; font-size: 13.5px; }
.cc-quiz-btns { display: flex; gap: 10px; margin-top: 16px; justify-content: center; }
.cc-btn-red { padding: 9px 20px; background: #FE4D45; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; }
.cc-btn-white { padding: 9px 20px; background: transparent; color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.25); border-radius: 8px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; }

.cc-live-types { display: flex; gap: 8px; margin-bottom: 16px; }
.cc-live-type { padding: 7px 16px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); color: rgba(255,255,255,.65); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; transition: all .15s; }
.cc-live-type.active { background: rgba(34,197,94,.18); border-color: #22C55E; color: #22C55E; }
.cc-live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-live-field { display: flex; flex-direction: column; gap: 6px; }
.cc-live-field label { font-family: 'DM Sans', sans-serif; font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 600; }
.cc-live-field input { padding: 9px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; }
.cc-live-field input:focus { border-color: rgba(255,255,255,.4); }
.cc-live-field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .5; }

.cc-add-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 2px dashed rgba(255,255,255,.15);
  color: rgba(255,255,255,.55); cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: all .15s;
}
.cc-add-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.cc-add-btn i { font-size: 20px; }

.cc-picker { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 24px; backdrop-filter: blur(20px); }
.cc-picker h3 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.cc-picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-picker-item {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); cursor: pointer; font-family: inherit; color: #fff; text-align: left; transition: all .15s;
}
.cc-picker-item:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.cc-picker-item-name { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cc-picker-item-sub { font-size: 11.5px; color: rgba(255,255,255,.5); font-family: 'DM Sans', sans-serif; }

.cc-sidebar { position: sticky; top: 84px; height: fit-content; display: flex; flex-direction: column; gap: 16px; }
.cc-sidebar-card { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; }
.cc-sidebar-title { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cc-sb-input {
  width: 100%; padding: 10px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; margin-bottom: 10px; display: block;
}
.cc-sb-input::placeholder { color: rgba(255,255,255,.3); }
.cc-sb-input:focus { border-color: rgba(255,255,255,.4); }
textarea.cc-sb-input { resize: vertical; min-height: 72px; }

.cc-price-radios { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.cc-price-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.cc-price-radio input[type="radio"] { accent-color: #FE4D45; width: 16px; height: 16px; cursor: pointer; }
.cc-price-radio span { font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: rgba(255,255,255,.8); }
.cc-price-amount-row { display: flex; align-items: center; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); border-radius: 10px; overflow: hidden; }
.cc-price-currency { padding: 10px 12px; font-size: 14px; color: rgba(255,255,255,.5); font-family: 'DM Sans', sans-serif; border-right: 1px solid rgba(255,255,255,.15); }
.cc-price-amount { flex: 1; padding: 10px 12px; background: transparent; border: none; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; }
.cc-price-amount::placeholder { color: rgba(255,255,255,.3); }

.cc-level-pills { display: flex; gap: 8px; }
.cc-level-pill { flex: 1; padding: 8px; text-align: center; border-radius: 8px; cursor: pointer; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); font-family: 'Raleway', sans-serif; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.7); transition: all .15s; }
.cc-level-pill:hover:not(.active) { background: rgba(255,255,255,.12); }
.cc-level-pill.active { background: rgba(26,61,181,.4); border-color: #7ba7ff; color: #fff; }

.cc-select { width: 100%; padding: 10px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; appearance: none; }
.cc-select option { background: #0A1845; color: #fff; }

.cc-cover-zone { border: 2px dashed rgba(255,255,255,.18); border-radius: 12px; padding: 32px 16px; text-align: center; cursor: pointer; transition: border-color .15s; }
.cc-cover-zone:hover { border-color: rgba(255,255,255,.4); }
.cc-cover-icon { font-size: 36px; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.cc-cover-text { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.55); }
.cc-cover-spec { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 4px; }

.cc-btn-save-full { width: 100%; padding: 12px; background: #234ED1; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; transition: background .15s; }
.cc-btn-save-full:hover { background: #1B3FA8; }
.cc-btn-save-full:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 900px) {
  .cc-layout { grid-template-columns: 1fr; }
  .cc-sidebar { position: static; }
  .cc-material-grid { grid-template-columns: repeat(3, 1fr); }
  .cc-picker-grid { grid-template-columns: 1fr; }
}
