/* ==========================================================================
   Quick Art Photography Academy LMS — Mobile App Design System
   Modern Native EdTech Experience (Mobile-First)
   ========================================================================== */

:root {
  --bg-primary: #070a12;
  --bg-secondary: #0d1322;
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-card-hover: rgba(22, 33, 56, 0.85);
  --bg-elevated: #151f35;
  --bg-glass: rgba(13, 19, 34, 0.82);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(216, 161, 83, 0.22);
  --border-gold-glow: rgba(245, 158, 11, 0.45);

  --gold: #d8a153;
  --gold-light: #fcd34d;
  --gold-dark: #b47f35;
  --gold-gradient: linear-gradient(135deg, #fcd34d 0%, #d8a153 50%, #b47f35 100%);
  --gold-badge-bg: rgba(216, 161, 83, 0.14);

  --live-red: #ef4444;
  --live-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --success-green: #10b981;
  --accent-blue: #3b82f6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Cinzel', serif;

  --header-height: 60px;
  --bottom-nav-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(216, 161, 83, 0.25);
  --shadow-live: 0 0 25px rgba(239, 68, 68, 0.35);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: contain;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Utilities */
.hidden { display: none !important; }
.fade-in { animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   1. BRANDED SPLASH SCREEN
   ========================================================================== */
#app-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #111a2e 0%, #060911 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#app-splash.splash-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-halo {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 161, 83, 0.3) 0%, transparent 70%);
  animation: pulseHalo 2.5s infinite ease-in-out;
}

@keyframes pulseHalo {
  0%, 100% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

.splash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 20px rgba(216, 161, 83, 0.35));
  background: transparent !important;
  position: relative;
  z-index: 2;
  animation: logoFloat 3s infinite ease-in-out;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.splash-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 6px;
}

.splash-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.splash-loader {
  display: flex;
  align-items: center;
  gap: 8px;
}

.splash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: bounceDot 1.4s infinite ease-in-out both;
}

.splash-dot:nth-child(1) { animation-delay: -0.32s; }
.splash-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounceDot {
  0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   2. APP HEADER (MATCHING OFFICIAL WEBSITE HEADER)
   ========================================================================== */
.app-header {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: calc(58px + var(--safe-top));
  height: calc(58px + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: max(14px, calc(env(safe-area-inset-left) + 12px));
  padding-right: max(14px, calc(env(safe-area-inset-right) + 12px));
  gap: 8px;
  box-sizing: border-box;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  flex: 0 0 auto;
  min-width: 0;
  line-height: 1;
}

.header-logo {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-height: 38px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  flex-shrink: 0;
  display: block;
}

.header-brand-text {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
}

.header-brand-text b {
  color: #ffe09c;
  font-weight: 700;
}

.header-brand-text small {
  display: block;
  font-size: 7.5px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* Live Header Badge (Compact & Elegant - Single Line) */
.header-live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  transition: all 0.2s ease;
  animation: liveBadgePulse 1.8s infinite;
}

.header-live-badge:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fff;
  transform: translateY(-1px);
}

@keyframes liveBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.35); }
}

.live-beacon {
  width: 6px;
  height: 6px;
  background: var(--live-red);
  border-radius: 50%;
  animation: radarPing 1.2s infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

/* Header Notification Bell (Clean & Minimalist - Perfectly Balanced) */
.header-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.2s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.header-icon-btn .bell-svg {
  width: 24px;
  height: 24px;
  stroke: #cbd5e1;
  stroke-width: 2.1;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.header-icon-btn:hover .bell-svg,
.header-icon-btn:focus-visible .bell-svg {
  stroke: var(--gold);
}

.header-icon-btn:active {
  transform: scale(0.9);
  opacity: 0.85;
}

.header-icon-btn:active .bell-svg {
  stroke: var(--gold);
}

.header-notif-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  background: var(--live-red);
  color: #ffffff;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0d1322;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
}

/* Header Avatar - Guaranteed Breathing Room on Right Edge */
.header-avatar-btn {
  width: 35px;
  height: 35px;
  min-width: 35px;
  min-height: 35px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  cursor: pointer;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffe09c;
  font-size: 12.5px;
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.header-avatar-btn:hover {
  transform: scale(1.05);
  border-color: #ffd875;
}

.header-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustment for narrow screens (< 370px) */
@media (max-width: 370px) {
  .app-header {
    padding-left: max(10px, calc(env(safe-area-inset-left) + 10px));
    padding-right: max(10px, calc(env(safe-area-inset-right) + 10px));
    gap: 6px;
  }
  .header-brand {
    gap: 6px;
  }
  .header-logo {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
  .header-brand-text {
    font-size: 13.5px;
  }
  .header-brand-text small {
    font-size: 7px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-live-badge {
    padding: 0 6px;
    font-size: 9px;
    height: 23px;
  }
  .header-icon-btn {
    width: 33px;
    height: 33px;
  }
  .header-icon-btn .bell-svg {
    width: 21px;
    height: 21px;
  }
  .header-avatar-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   3. MAIN APP CONTAINER & TABS
   ========================================================================== */
.app-viewport {
  width: 100%;
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 16px);
  position: relative;
}

.app-tab-panel {
  display: none;
  padding: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.app-tab-panel.active-tab {
  display: block;
  animation: tabSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. PERMANENT BOTTOM NAVIGATION
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(10, 15, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.nav-tab-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-top: 4px;
}

.nav-tab-item:active {
  transform: scale(0.9);
}

.nav-tab-icon {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
}

.nav-tab-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.nav-tab-item.active {
  color: var(--gold-light);
}

.nav-tab-item.active .nav-tab-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 8px rgba(216, 161, 83, 0.6));
}

.nav-tab-item.active .nav-tab-label {
  color: #fff;
  font-weight: 700;
}

/* Active tab top glow pill */
.nav-tab-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(216, 161, 83, 0.8);
}

/* Live Tab Pulse Badge */
.live-nav-dot {
  position: absolute;
  top: -2px;
  right: -5px;
  width: 7px;
  height: 7px;
  background: var(--live-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--live-red);
  animation: radarPing 1.2s infinite;
}

/* ==========================================================================
   5. AUTHENTICATION & LOGIN SCREEN (NO PUBLIC HOME PAGE)
   ========================================================================== */
#view-auth-gate {
  min-height: calc(100vh - var(--safe-bottom) - var(--safe-top));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 16px;
  max-width: 440px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.auth-logo-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
  border-radius: 0;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 20px rgba(216, 161, 83, 0.38));
  background: transparent !important;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-badge-bg);
  border: 1px solid var(--border-card);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.auth-sub {
  color: var(--text-muted);
  font-size: 13px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

/* Login Tabs */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.auth-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216, 161, 83, 0.2);
}

.phone-prefix {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

.app-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-wrap .app-input {
  border: none;
  background: none;
  padding: 12px 14px;
}

.app-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216, 161, 83, 0.2);
}

/* WhatsApp Alert Banner */
.wa-notice-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.wa-notice-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.wa-notice-text {
  font-size: 12px;
  color: #e2fbe8;
  line-height: 1.35;
}

.wa-notice-text b {
  color: #25d366;
}

/* 6-Digit OTP Box */
.otp-input-large {
  letter-spacing: 12px;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  color: var(--gold-light);
  font-family: monospace;
}

/* Buttons */
.btn-primary {
  width: 100%;
  background: var(--gold-gradient);
  border: none;
  color: #070a12;
  font-weight: 800;
  font-size: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(216, 161, 83, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(216, 161, 83, 0.2);
}

.btn-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:active {
  background: rgba(255, 255, 255, 0.12);
}

.auth-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.auth-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.auth-link-btn:hover {
  color: var(--gold);
}

/* ==========================================================================
   6. TAB 1: DASHBOARD
   ========================================================================== */

/* Profile Header Card (Executive Luxury & Clean) */
.dash-profile-card {
  position: relative;
  background: linear-gradient(145deg, rgba(23, 32, 53, 0.92) 0%, rgba(12, 17, 30, 0.98) 100%);
  border: 1px solid rgba(216, 161, 83, 0.28);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.dash-profile-card::after {
  content: '';
  position: absolute;
  top: -35px;
  right: -35px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(216, 161, 83, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dash-avatar-ring {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(216, 161, 83, 0.85), 0 4px 14px rgba(0, 0, 0, 0.45);
}

.dash-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #141c2c;
  display: block;
}

.dash-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #24324a 0%, #121927 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
}

.dash-avatar-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  border: 2px solid #0d1322;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.45);
}

.dash-profile-info {
  flex: 1;
  min-width: 0;
}

.dash-role-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.dash-role-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(216, 161, 83, 0.14);
  color: var(--gold);
  border: 1px solid rgba(216, 161, 83, 0.32);
  padding: 2.5px 8px;
  border-radius: 100px;
  text-transform: uppercase;
}

.dash-student-id {
  font-size: 10.5px;
  color: #94a3b8;
  font-family: monospace;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.dash-name {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.dash-portal-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
}

.dash-sub-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  flex-shrink: 0;
}

/* Dashboard All Courses Section */
.dash-all-courses-card {
  background: rgba(18, 24, 38, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.dash-all-courses-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dash-all-courses-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dash-all-courses-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.dash-all-courses-sub {
  font-size: 11px;
  color: #94a3b8;
  margin: 2px 0 0;
}

.btn-all-courses-view {
  background: rgba(216, 161, 83, 0.14);
  border: 1px solid rgba(216, 161, 83, 0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-all-courses-view:active {
  transform: scale(0.95);
  background: rgba(216, 161, 83, 0.25);
}

.dash-courses-horizontal-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 0 -4px;
  padding-left: 4px;
  padding-right: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.dash-courses-horizontal-strip::-webkit-scrollbar {
  height: 4px;
}

.dash-courses-horizontal-strip::-webkit-scrollbar-thumb {
  background: rgba(216, 161, 83, 0.25);
  border-radius: 4px;
}

.dash-course-strip-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: rgba(10, 14, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.dash-course-strip-card:active {
  transform: scale(0.98);
}

.dash-strip-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090d18;
  overflow: hidden;
}

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

.dash-strip-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dash-strip-badge.enrolled {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dash-strip-badge.available {
  background: rgba(216, 161, 83, 0.95);
  color: #0c101c;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dash-strip-content {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-strip-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dash-strip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.dash-strip-btn {
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.dash-strip-btn.btn-continue {
  background: var(--gold-gradient);
  color: #080d18;
}

.dash-strip-btn.btn-enroll {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(216, 161, 83, 0.35);
  color: var(--gold);
}

/* KPI Quick Stats Row */
.dash-kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.dash-kpi-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.kpi-num {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.kpi-num.gold {
  color: var(--gold);
}

.kpi-label {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* Continue Learning Spotlight Hero Card */
.resume-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.resume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.resume-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.resume-course-name {
  font-size: 12px;
  color: var(--text-muted);
}

.resume-body {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.resume-thumb-wrap {
  width: 90px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resume-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  font-size: 18px;
  color: #fff;
}

.resume-details {
  flex: 1;
  min-width: 0;
}

.resume-lesson-title {
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.resume-lesson-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.resume-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.resume-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.resume-btn {
  width: 100%;
  background: var(--gold-gradient);
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 800;
  color: #070a12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

/* Live Class Dynamic Alert Card */
.live-alert-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(185, 28, 28, 0.08) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.45);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-live);
  animation: liveCardGlow 2.5s infinite alternate;
}

@keyframes liveCardGlow {
  from { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }
  to { border-color: rgba(239, 68, 68, 0.7); box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); }
}

.live-alert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-now-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--live-red);
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.live-attendees-pill {
  font-size: 11px;
  color: #fca5a5;
  font-weight: 600;
}

.live-alert-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.live-alert-desc {
  font-size: 12px;
  color: #fecaca;
  opacity: 0.9;
}

.btn-join-live {
  background: var(--live-gradient);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Scheduled Class Preview Card */
.scheduled-class-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scheduled-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cal-box {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-month {
  font-size: 8px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold);
}

.cal-day {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.scheduled-title {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 2px;
}

.scheduled-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* Section Titles */
.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px 0;
}

.section-hdr-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-hdr-link {
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

/* Academy Announcements Feed */
.announcement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  transition: transform 0.2s;
}

.announcement-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.announcement-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  padding: 2px 7px;
  border-radius: 4px;
}

.announcement-date {
  font-size: 11px;
  color: var(--text-dim);
}

.announcement-title {
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 4px;
}

.announcement-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   7. TAB 2: MY COURSES & CLASSROOM
   ========================================================================== */

/* Filter Chips */
.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip.active {
  background: var(--gold-gradient);
  color: #070a12;
  font-weight: 700;
  border-color: transparent;
}

/* Course Card Item */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}

.course-card-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
}

.course-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid var(--border-card);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.course-card-content {
  padding: 14px 16px;
}

.course-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.course-card-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.course-card-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

.progress-pct {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  min-width: 32px;
  text-align: right;
}

.btn-open-classroom {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.btn-open-classroom:active {
  background: var(--gold-gradient);
  color: #070a12;
}

/* ==========================================================================
   8. CLASSROOM PLAYER VIEW (FULLSCREEN OR DEDICATED)
   ========================================================================== */
#view-classroom-player {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.classroom-top-bar {
  height: calc(50px + var(--safe-top));
  padding-top: var(--safe-top);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 14px;
  padding-right: 14px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.classroom-back-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.classroom-back-btn:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.12);
}

.classroom-top-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Video Player Container */
.player-mount-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: sticky;
  top: calc(50px + var(--safe-top));
  z-index: 9;
}

.player-mount-container iframe,
.player-mount-container video {
  width: 100%;
  height: 100%;
  border: none;
}

.classroom-lessons-toggle-btn {
  background: rgba(216, 161, 83, 0.14);
  border: 1px solid rgba(216, 161, 83, 0.4);
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.classroom-lessons-toggle-btn:active {
  transform: scale(0.96);
  background: rgba(216, 161, 83, 0.25);
}

/* Classroom Action Strip (Clean & Minimalist Luxury Design) */
.classroom-action-strip {
  padding: 10px 14px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lesson-badge-dur {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.lesson-meta-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin: 0;
  letter-spacing: -0.2px;
}

.lesson-ctrl-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.btn-player-action {
  flex: 1;
  height: 33px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-player-action:active {
  transform: scale(0.97);
}

.btn-replay {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.btn-replay:hover, .btn-replay:active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-complete {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.22);
  color: #34d399;
}

.btn-complete.done {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #a7f3d0;
  font-weight: 700;
}

.btn-next {
  background: rgba(216, 161, 83, 0.12);
  border-color: rgba(216, 161, 83, 0.35);
  color: #fde68a;
  font-weight: 700;
}

.btn-next:active {
  background: rgba(216, 161, 83, 0.22);
  color: #fff;
}

/* Lesson Content Tabs (Clean, Even Alignment & No Stretch) */
.lesson-nav-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lesson-nav-tabs::-webkit-scrollbar { display: none; }

.lesson-subtab {
  flex: 0 0 auto;
  padding: 11px 2px 9px;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.18s ease;
  margin-bottom: -1px;
}

.subtab-icon {
  font-size: 13px;
  line-height: 1;
}

.lesson-subtab:hover {
  color: #e2e8f0;
}

.lesson-subtab.active {
  color: #fde68a;
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.lesson-tab-body {
  padding: 16px;
  flex: 1;
}

/* Curriculum Drawer / Modules List */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.module-header {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

.module-lessons-container {
  display: flex;
  flex-direction: column;
}

.lesson-row-item {
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s;
}

.lesson-row-item.active {
  background: rgba(216, 161, 83, 0.12);
  border-left: 3px solid var(--gold);
}

.lesson-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lesson-status-icon {
  font-size: 14px;
  color: var(--text-dim);
}

.lesson-row-item.completed .lesson-status-icon {
  color: var(--success-green);
}

.lesson-row-title {
  font-size: 12.5px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-row-time {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Comments & Discussion UI */
.comments-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.comment-compose-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 14px;
}

.comment-compose-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

.comment-compose-input:focus {
  border-color: var(--gold);
}

.comments-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 11px 13px;
}

.comment-item-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.comment-author {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
}

.comment-time {
  font-size: 10.5px;
  color: var(--text-dim);
}

.comment-text {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.45;
  word-break: break-word;
}

/* All Lessons Curriculum Drawer Styling */
.drawer-module-group {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
}

.drawer-module-header {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-module-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex: 1;
  padding-right: 8px;
}

.drawer-module-count {
  font-size: 11px;
  color: var(--gold-light);
  white-space: nowrap;
}

.drawer-lesson-item {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s;
}

.drawer-lesson-item:last-child {
  border-bottom: none;
}

.drawer-lesson-item:active {
  background: rgba(216, 161, 83, 0.08);
}

.drawer-lesson-item.playing {
  background: rgba(216, 161, 83, 0.12);
  border-left: 3px solid var(--gold);
}

.drawer-lesson-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.drawer-lesson-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.drawer-lesson-item.completed .drawer-lesson-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.drawer-lesson-item.playing .drawer-lesson-icon {
  background: var(--gold);
  color: #070a12;
  font-weight: 900;
}

.drawer-lesson-details {
  flex: 1;
  min-width: 0;
}

.drawer-lesson-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-lesson-item.playing .drawer-lesson-name {
  color: #fde68a;
  font-weight: 700;
}

.drawer-lesson-meta {
  font-size: 10.5px;
  color: var(--text-dim);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.now-playing-tag {
  background: rgba(216, 161, 83, 0.25);
  color: #fde68a;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.drawer-lesson-arrow {
  color: var(--text-dim);
  font-size: 16px;
  margin-left: 8px;
}

/* Avatar Quick Menu Luxury Sheet */
.avatar-sheet-hero {
  background: linear-gradient(135deg, rgba(216, 161, 83, 0.12) 0%, rgba(15, 22, 40, 0.8) 100%);
  border: 1px solid var(--border-gold-glow);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.avatar-sheet-img-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-sheet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-sheet-initials {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.avatar-sheet-info {
  flex: 1;
  min-width: 0;
}

.avatar-sheet-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar-sheet-phone {
  font-size: 11.5px;
  color: var(--text-muted);
}

.avatar-sheet-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-right: 6px;
}

.avatar-sheet-id {
  font-size: 10px;
  color: var(--gold-light);
  font-family: monospace;
}

.avatar-sheet-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.avatar-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.avatar-stat-box:active {
  background: rgba(255, 255, 255, 0.05);
}

.avatar-stat-val {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.avatar-stat-lbl {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Profile / Quick Menu Groups & Items (Clean, Dark & Professional) */
.profile-menu-group {
  background: rgba(18, 24, 38, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.profile-menu-item {
  width: 100%;
  padding: 13px 16px;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
  box-sizing: border-box;
}

.profile-menu-group > *:last-child,
.profile-menu-item:last-child {
  border-bottom: none !important;
}

.profile-menu-item:active {
  background: rgba(255, 255, 255, 0.06) !important;
}

.profile-menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.profile-menu-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.profile-menu-item span {
  color: inherit;
  font-size: 13px;
  font-weight: 500;
}

.profile-menu-danger {
  color: #f87171 !important;
}

.profile-menu-danger .profile-menu-icon {
  background: rgba(239, 68, 68, 0.12);
}

.profile-menu-danger span {
  color: #f87171 !important;
  font-weight: 600;
}

button.profile-menu-danger:active {
  background: rgba(239, 68, 68, 0.08) !important;
}

/* ==========================================================================
   9. TAB 3: PAID LIVE CLASSES & SESSIONS
   ========================================================================== */
.live-subtab-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  margin: 10px 0 16px 0;
}

.live-subtab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.live-subtab-btn:active {
  transform: scale(0.98);
}

.live-subtab-btn.active {
  background: linear-gradient(135deg, #d8a153 0%, #b88636 100%);
  color: #070a12;
  box-shadow: 0 2px 10px rgba(216, 161, 83, 0.35);
}

.live-subtab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.live-subtab-btn.active .live-subtab-badge {
  background: rgba(0, 0, 0, 0.22);
  color: #070a12;
}

.live-subtab-panel {
  animation: fadeInLiveTab 0.25s ease;
}

@keyframes fadeInLiveTab {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.paid-live-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.paid-live-card:hover {
  border-color: rgba(234, 179, 8, 0.35);
}

.paid-live-card.active-live-border {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 20px -4px rgba(239, 68, 68, 0.3);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 100%);
}

.paid-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.paid-live-course-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(234, 179, 8, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.paid-live-status-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.paid-live-status-tag.live {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
  animation: liveBadgePulse 1.8s infinite;
}

.paid-live-status-tag.scheduled {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.paid-live-status-tag.completed {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.paid-live-title {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 6px;
}

.paid-live-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.paid-live-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.paid-live-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.paid-live-meta-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.paid-live-meta-val {
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 600;
}

/* Real-Time Live Class Countdown Timer */
.live-countdown-container {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.live-countdown-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.live-countdown-clock {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cd-box {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 7px;
  min-width: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-val {
  font-family: var(--font-heading), monospace;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.cd-tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
  line-height: 1;
}

.cd-colon {
  font-weight: 800;
  font-size: 13px;
  color: #fbbf24;
  line-height: 1;
  padding: 0 1px;
}

.empty-paid-live-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  margin-bottom: 14px;
}

.empty-paid-live-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.empty-paid-live-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.empty-paid-live-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 14px;
  line-height: 1.5;
}

.enrolled-courses-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.enrolled-course-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.empty-paid-live-tip {
  font-size: 11.5px;
  color: #fbbf24;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  line-height: 1.4;
}

.live-stream-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-live);
  border: 1px solid rgba(239, 68, 68, 0.4);
  margin-bottom: 14px;
}

.live-stream-box iframe,
.live-stream-box video {
  width: 100%;
  height: 100%;
  border: none;
}

.live-standby-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: radial-gradient(circle at center, #1e111a 0%, #060911 100%);
}

.live-chat-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 380px;
  overflow: hidden;
  margin-bottom: 18px;
}

.live-chat-header {
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.chat-author {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}

.live-chat-input-bar {
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

.live-reactions-strip {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.reaction-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s;
}

.reaction-btn:active {
  transform: scale(1.3);
}

/* ==========================================================================
   9.5 DEDICATED LIVE CINEMA STUDIO (EXACT SAME AS WEBSITE PORTAL)
   ========================================================================== */
.live-studio-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #040711;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.live-studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + var(--safe-top)) 16px 10px;
  background: rgba(6, 10, 20, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}

.live-leave-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}
.live-leave-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.live-topbar-center {
  text-align: center;
  overflow: hidden;
  max-width: 65%;
}

.live-studio-title {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Live Studio Main Grid & Layout ── */
.live-studio-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-areas:
    "player chat"
    "details chat";
  gap: 20px;
  align-items: start;
  transition: all 0.3s ease;
  padding: 16px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.live-player-wrapper {
  grid-area: player;
  background: #020408;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 40px rgba(216, 161, 83, 0.08);
  position: relative;
  width: 100%;
}

.live-chat-column {
  grid-area: chat;
  width: 100%;
}

.live-details-card {
  grid-area: details;
  width: 100%;
}

@media (max-width: 1080px) {
  .live-studio-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "player"
      "chat"
      "details";
    gap: 16px;
    padding: 12px;
  }
}

.live-video-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Cinema Ratio */
  background: #000;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.live-video-mount {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.live-video-box iframe,
.live-video-box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  pointer-events: none !important; /* Zero click-through to YouTube: prevents pause/play, seekbar, and external redirects */
}

/* ── Enhanced HTML5 & Mobile/Tablet Fullscreen Support ── */
.live-video-box.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  background: #000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important;
  z-index: 2147483640 !important;
}

body.live-fs-open {
  overflow: hidden !important;
  touch-action: none;
}

.live-video-box.is-fullscreen iframe,
.live-video-box.is-fullscreen .live-video-mount,
.live-video-box.is-fullscreen .live-full-shield {
  width: 100% !important;
  height: 100% !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
}

/* ── Initial 5-Second Cinematic Letterbox Bars (Full Coverage for YouTube Overlays) ── */
.live-start-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 18;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
}

.live-start-mask.faded {
  opacity: 0;
  visibility: hidden;
}

/* 1. Top Cinematic Bar */
.live-cinematic-bar-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(to bottom, #04070d 0%, #05080f 80%, rgba(5, 8, 15, 0.95) 100%);
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.75);
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cinematic-bar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cinematic-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: liveBlinkDot 1s infinite alternate ease-in-out;
}

/* 2. Bottom Cinematic Bar */
.live-cinematic-bar-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: linear-gradient(to top, #04070d 0%, #05080f 80%, rgba(5, 8, 15, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.75);
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.live-start-mask.faded .live-cinematic-bar-top {
  transform: translateY(-100%);
}

.live-start-mask.faded .live-cinematic-bar-bottom {
  transform: translateY(100%);
}

@media (max-width: 640px) {
  .live-cinematic-bar-top {
    height: 54px;
    padding: 0 12px;
  }
  .live-cinematic-bar-bottom {
    height: 52px;
  }
  .cinematic-bar-tag {
    font-size: 10.5px;
    padding: 3px 9px;
    gap: 6px;
  }
}

/* ── Video Overlay Interactive Controls ── */
.live-video-overlay-fs,
.fs-chat-toggle-btn {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease, visibility 0.3s ease;
  transform: translateY(8px);
}

.live-video-box:hover .live-video-overlay-fs,
.live-video-box:hover .fs-chat-toggle-btn,
.live-video-box.show-controls .live-video-overlay-fs,
.live-video-box.show-controls .fs-chat-toggle-btn {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

/* ── Live Video Overlay Fullscreen Button ── */
.live-video-overlay-fs {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 25;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.live-video-overlay-fs:hover {
  background: rgba(216, 161, 83, 0.35) !important;
  border-color: #d8a153 !important;
  color: #fff !important;
  transform: scale(1.08) !important;
}

/* ── Invisible Full-Screen Anti-Leak & Continuous Broadcast Shield ── */
.live-full-shield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.001);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto !important;
  touch-action: manipulation;
}

/* ── Fullscreen Live Comments Toggle Button ── */
.fs-chat-toggle-btn {
  position: absolute;
  bottom: 14px;
  right: 68px;
  z-index: 25;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  font-family: inherit;
}
.fs-chat-toggle-btn:hover {
  background: rgba(216, 161, 83, 0.35);
  border-color: var(--gold, #d8a153);
  color: #fff;
  transform: scale(1.05);
}
.fs-chat-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot-anim 1.8s infinite;
}

@media (max-width: 640px), (max-height: 500px) and (orientation: landscape) {
  .live-video-overlay-fs {
    width: 38px !important;
    height: 38px !important;
    bottom: 12px !important;
    right: 12px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }
  .fs-chat-toggle-btn {
    height: 38px !important;
    padding: 0 12px !important;
    bottom: 12px !important;
    right: 58px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    gap: 6px !important;
  }
  .fs-chat-badge-dot {
    width: 6px !important;
    height: 6px !important;
  }
}

/* ── Fullscreen Live Chat & Comments Drawer (Overlay inside Fullscreen) ── */
.fs-chat-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background: rgba(7, 11, 20, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 30;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.8);
  animation: slideDrawerIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDrawerIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.fs-chat-drawer.hidden {
  display: none !important;
}
.fs-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.fs-chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.fs-chat-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fs-chat-btn-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}
.fs-chat-btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.fs-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fs-chat-input-box {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(10, 15, 26, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.fs-chat-input-box input {
  flex: 1;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  outline: none;
  font-family: inherit;
}
.fs-chat-input-box input:focus {
  border-color: var(--gold, #d8a153);
}
.fs-chat-footer-note {
  font-size: 10.5px;
  color: #64748b;
  text-align: center;
  padding: 6px 12px 8px;
}

/* ── Stream Status Bar (Broadcast Control Deck) ── */
.live-stream-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px;
  background: #060911;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  box-sizing: border-box;
}

.live-stream-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap !important;
  flex-shrink: 0;
}

/* 1. Professional Blinking Live Broadcast Badge */
.live-broadcast-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  white-space: nowrap;
  animation: liveBadgePulse 2.2s infinite ease-in-out;
}
.live-blink-circle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: liveBlinkDot 1s infinite alternate ease-in-out;
  flex-shrink: 0;
}

/* 2. Professional Watching Pill */
.live-watching-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}
.live-watching-badge svg {
  color: #10b981;
  flex-shrink: 0;
}
.live-watching-badge .attendees-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #10b981;
  font-size: 13px;
}
.live-watching-badge .watching-word {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

/* 3. Icon-Only Action Buttons */
.live-stream-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap !important;
  flex-shrink: 0;
}
.live-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.live-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}
.live-icon-btn:active {
  transform: scale(0.94);
}
.live-icon-btn.live-fs-btn {
  color: var(--gold, #d8a153);
  border-color: rgba(216, 161, 83, 0.32);
  background: rgba(216, 161, 83, 0.1);
}
.live-icon-btn.live-fs-btn:hover {
  background: rgba(216, 161, 83, 0.25);
  border-color: #d8a153;
  color: #ffffff;
}

@media (max-width: 480px) {
  .live-stream-bar {
    height: 44px;
    padding: 0 10px;
    gap: 6px;
  }
  .live-broadcast-badge {
    padding: 4px 8px;
    font-size: 10.5px;
  }
  .live-watching-badge {
    padding: 4px 8px;
    font-size: 11px;
  }
  .live-watching-badge .watching-word {
    display: none;
  }
  .live-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }
}

/* ── Live Details Card & Downloads ── */
.live-details-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
}
.live-details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.live-details-h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.live-details-meta {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 4px;
}
.live-access-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
}
.live-desc-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.live-resources-section {
  margin-top: 16px;
}
.live-section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold, #d8a153);
  margin: 0 0 10px;
}
.live-resources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.live-resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(8, 13, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-decoration: none;
  color: #f1f5f9;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.live-resource-item:hover {
  border-color: rgba(216, 161, 83, 0.4);
  background: rgba(216, 161, 83, 0.06);
  color: var(--gold);
}

/* ── Live Doubts & Chat Card ── */
.live-chat-card {
  background: #080d18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}
.live-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.live-chat-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-icon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.live-chat-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.chat-refresh-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #94a3b8;
  transition: transform 0.2s, color 0.2s;
}
.chat-refresh-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}
.live-chat-sub {
  font-size: 11px;
  color: #64748b;
  padding: 0 18px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.live-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #050811;
  -webkit-overflow-scrolling: touch;
}
.chat-empty-state {
  margin: auto;
  text-align: center;
  color: #64748b;
  font-size: 12.5px;
  padding: 20px;
}
.chat-empty-state span {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}
.chat-msg-bubble {
  border-radius: 12px;
  padding: 9px 13px;
  line-height: 1.4;
  font-size: 13px;
  animation: fadeInMsg 0.2s ease-out;
}
@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg-bubble.student {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: flex-start;
  max-width: 90%;
}
.chat-msg-bubble.mentor {
  background: linear-gradient(135deg, rgba(216, 161, 83, 0.22), rgba(216, 161, 83, 0.1));
  border: 1px solid rgba(216, 161, 83, 0.4);
  align-self: flex-end;
  max-width: 92%;
}
.chat-msg-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 3px;
}
.chat-msg-bubble.student .chat-msg-hdr {
  color: #93c5fd;
}
.chat-msg-bubble.mentor .chat-msg-hdr {
  color: var(--gold, #d8a153);
}
.chat-msg-time {
  opacity: 0.65;
  font-weight: normal;
}
.chat-msg-text {
  color: #f1f5f9;
  word-break: break-word;
}
.live-chat-input-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #090e1b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.live-chat-input-box input {
  flex: 1;
  padding: 10px 12px;
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.live-chat-input-box input:focus {
  border-color: var(--gold, #d8a153);
}
.btn-live-send {
  background: linear-gradient(135deg, #d8a153, #b88235);
  color: #080d18;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  padding: 9px 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-live-send:hover {
  opacity: 0.9;
}
.live-chat-footer-note {
  padding: 6px 14px 8px;
  background: #040711;
  text-align: center;
  font-size: 10.5px;
  color: #64748b;
}

/* ── Live Stream Keyframes & Micro-Animations ── */
@keyframes liveBlinkDot {
  0% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 8px #ffffff;
  }
  100% {
    opacity: 0.25;
    transform: scale(0.7);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
  }
}
@keyframes liveBadgePulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
  }
  50% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.75);
  }
}
@keyframes pulse-dot-anim {
  0%, 100% {
    box-shadow: 0 0 4px #10b981;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 10px #10b981;
    transform: scale(1.2);
  }
}
@keyframes count-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); color: #34d399; }
  100% { transform: scale(1); }
}
@keyframes pulse-pill {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); border-color: rgba(16, 185, 129, 0.4); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   10. TAB 4: MY PROFILE (EXECUTIVE LUXURY SUITE)
   ========================================================================== */
.prof-card-executive {
  position: relative;
  background: linear-gradient(145deg, rgba(23, 32, 53, 0.9) 0%, rgba(12, 17, 30, 0.96) 100%);
  border: 1px solid rgba(216, 161, 83, 0.25);
  border-radius: 18px;
  padding: 20px 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.prof-card-executive::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(216, 161, 83, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.prof-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.prof-avatar-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 0 2.5px rgba(216, 161, 83, 0.85), 0 6px 18px rgba(0, 0, 0, 0.45);
}

.prof-avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.prof-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #25334d 0%, #131b2c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.prof-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #0c101c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  border: 2px solid #0d1322;
}

.prof-identity {
  flex: 1;
  min-width: 0;
}

.prof-name {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 5px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.prof-enroll-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.prof-pill-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: 100px;
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  text-transform: uppercase;
}

.prof-enroll-id {
  font-family: monospace;
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

/* Academic Stats Ribbon */
.prof-stats-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(9, 13, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px 8px;
  margin-top: 4px;
}

.prof-stat-cell {
  flex: 1;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
}

.prof-stat-cell:active {
  transform: scale(0.96);
}

.prof-stat-number {
  font-size: 19px;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.prof-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.prof-stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
}

/* Quick Action: PVC Student ID Card Tile */
.prof-id-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(216, 161, 83, 0.14) 0%, rgba(26, 35, 58, 0.65) 100%);
  border: 1px solid rgba(216, 161, 83, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  -webkit-tap-highlight-color: transparent;
}

.prof-id-tile:active {
  transform: scale(0.985);
}

.prof-id-tile-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.prof-id-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(216, 161, 83, 0.18);
  border: 1px solid rgba(216, 161, 83, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.prof-id-tile-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.1px;
}

.prof-id-tile-sub {
  font-size: 11px;
  color: rgba(216, 161, 83, 0.9);
  margin-top: 1px;
}

/* Grouped Settings Cards */
.prof-group-card {
  background: rgba(18, 24, 38, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.prof-group-header {
  padding: 11px 16px 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.015);
}

.prof-row-btn,
.prof-row-info {
  width: 100%;
  padding: 13px 16px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  font-size: 13px;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
  box-sizing: border-box;
}

.prof-group-card > *:last-child {
  border-bottom: none;
}

button.prof-row-btn:active,
a.prof-row-btn:active {
  background: rgba(255, 255, 255, 0.045);
}

.prof-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.prof-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.prof-row-label {
  font-size: 13px;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.3;
}

.prof-row-val {
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: right;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prof-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.prof-row-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(216, 161, 83, 0.15);
  color: var(--gold);
  border: 1px solid rgba(216, 161, 83, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.prof-chevron {
  font-size: 15px;
  color: #64748b;
  font-weight: 600;
  line-height: 1;
  margin-left: 2px;
}

.prof-row-danger {
  color: #f87171 !important;
}

.prof-row-danger .prof-row-label {
  color: #f87171 !important;
  font-weight: 600;
}

.prof-row-danger .prof-row-icon {
  background: rgba(239, 68, 68, 0.12);
}

.prof-row-danger .prof-chevron {
  color: #f87171;
}

button.prof-row-danger:active {
  background: rgba(239, 68, 68, 0.08) !important;
}

.prof-footer-info {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
  padding: 16px 12px 36px;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   11. NOTIFICATION CENTER DRAWER / BOTTOM SHEET
   ========================================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 600px;
  margin: 0 auto;
  background: #0f1628;
  border-top: 1.5px solid var(--border-card);
  border-radius: 24px 24px 0 0;
  padding: 20px 16px calc(var(--safe-bottom) + 20px);
  z-index: 5001;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.sheet-backdrop.active .bottom-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 16px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sheet-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.sheet-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-body {
  overflow-y: auto;
  flex: 1;
}

/* Toast Notifications */
.app-toast {
  position: fixed;
  top: calc(var(--header-height) + var(--safe-top) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-card);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.app-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* All Courses Catalog Modal Sheet */
.catalog-sheet {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.catalog-sheet .modal-course-card {
  background: rgba(14, 20, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  padding: 10px;
  align-items: center;
  transition: transform 0.15s ease;
}

.catalog-sheet .modal-course-card:active {
  transform: scale(0.985);
}

.catalog-sheet .modal-course-thumb {
  width: 90px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #090d16;
}

.catalog-sheet .modal-course-info {
  flex: 1;
  min-width: 0;
}

.catalog-sheet .modal-course-tag {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.catalog-sheet .modal-course-tag.enrolled {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.catalog-sheet .modal-course-tag.available {
  background: rgba(216, 161, 83, 0.15);
  color: var(--gold);
  border: 1px solid rgba(216, 161, 83, 0.3);
}

.catalog-sheet .modal-course-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.catalog-sheet .modal-course-sub {
  font-size: 10.5px;
  color: #94a3b8;
}

.catalog-sheet .modal-course-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.catalog-sheet .modal-course-btn:active {
  transform: scale(0.95);
}

/* Professional Segmented Control for Catalog Modal */
.catalog-tabs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 5px;
  margin: 0 16px 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.catalog-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 4px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.catalog-tab-btn:active {
  transform: scale(0.97);
}

.catalog-tab-btn.active {
  background: linear-gradient(135deg, #d8a153 0%, #b88636 100%);
  color: #070a12;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(216, 161, 83, 0.35);
}

.catalog-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.catalog-tab-btn.active .catalog-tab-badge {
  background: rgba(7, 10, 18, 0.22);
  color: #070a12;
}

/* ==========================================================================
   13.5 IN-APP COURSE CHECKOUT & PAYMENT MODAL
   ========================================================================== */
.checkout-sheet {
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--safe-bottom) + 16px);
  background: #0d1322;
}

.checkout-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Course Hero Mini Card */
.checkout-course-hero {
  background: linear-gradient(135deg, rgba(216, 161, 83, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(216, 161, 83, 0.28);
  border-radius: 16px;
  padding: 12px;
}

.checkout-course-hero-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.checkout-hero-thumb {
  width: 86px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: #090d16;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-hero-info {
  flex: 1;
  min-width: 0;
}

.checkout-hero-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.checkout-hero-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-hero-sub {
  font-size: 10.5px;
  color: #94a3b8;
}

.checkout-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.checkout-hero-perks .perk-chip {
  font-size: 10px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 500;
}

/* Student Information Card */
.checkout-student-card {
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.checkout-section-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.checkout-verified-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 12px;
}

.checkout-inputs-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-input-group label {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  margin-bottom: 4px;
  font-weight: 600;
}

.checkout-input-group input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 12px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-input-group input:focus {
  border-color: var(--gold);
}

.checkout-phone-wrap {
  display: flex;
  align-items: center;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.checkout-phone-wrap:focus-within {
  border-color: var(--gold);
}

.checkout-phone-prefix {
  padding: 9px 10px 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.checkout-phone-wrap input {
  border: none;
  background: transparent;
  padding: 9px 12px;
  flex: 1;
}

.checkout-phone-wrap input:focus {
  border: none;
}

/* Coupon Card */
.checkout-coupon-card {
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.checkout-coupon-header {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.checkout-coupon-input-wrap {
  display: flex;
  gap: 8px;
}

.checkout-coupon-input-wrap input {
  flex: 1;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 12px;
  font-family: inherit;
  text-transform: uppercase;
  outline: none;
}

.checkout-coupon-input-wrap input:focus {
  border-color: var(--gold);
}

.checkout-coupon-input-wrap button {
  padding: 8px 16px;
  background: rgba(216, 161, 83, 0.18);
  border: 1px solid rgba(216, 161, 83, 0.4);
  color: var(--gold);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.checkout-coupon-input-wrap button:active {
  transform: scale(0.96);
}

.checkout-coupon-status {
  font-size: 11px;
  margin-top: 6px;
  display: none;
  font-weight: 500;
}

.checkout-coupon-status.success {
  color: #34d399;
}

.checkout-coupon-status.error {
  color: #f87171;
}

/* Pricing Breakdown */
.checkout-price-card {
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
}

.checkout-price-row .value {
  font-weight: 600;
  color: #f1f5f9;
}

.checkout-price-row .strikethrough {
  text-decoration: line-through;
  color: #64748b;
  font-size: 11.5px;
}

.checkout-price-row.discount-row {
  color: #34d399;
}

.checkout-price-row .discount-val {
  color: #34d399;
  font-weight: 700;
}

.checkout-price-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.checkout-price-row.total-row {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.checkout-price-row .total-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
}

/* Trust Badges */
.checkout-trust-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
}

.trust-icon {
  font-size: 12px;
}

/* Action Button */
.checkout-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.checkout-pay-btn {
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #d8a153 0%, #b88636 100%);
  color: #070a12;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(216, 161, 83, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.checkout-pay-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(216, 161, 83, 0.2);
}

.checkout-pay-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.checkout-support-text {
  font-size: 10.5px;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}

.checkout-wa-link {
  color: #34d399;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 2px;
}

/* ==========================================================================
   14. MOBILE APP INSTALL & APK DOWNLOAD SYSTEM (AVATAR QUICK MENU ONLY)
   ========================================================================== */

/* In-App Browser Warning */
.inapp-warning-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.inapp-warning-icon {
  font-size: 20px;
  line-height: 1;
}

.inapp-warning-text {
  font-size: 11.5px;
  color: #fca5a5;
  line-height: 1.4;
}

.inapp-warning-text b {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

/* Install Modal Sheet */
.install-cta-wrap {
  margin-bottom: 20px;
}

.install-download-btn {
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(216, 161, 83, 0.35);
  margin-bottom: 10px;
}

.pwa-install-row-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-install-row-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(216, 161, 83, 0.4);
}

.install-guide-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.install-steps-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.install-step-card {
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.isc-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(216, 161, 83, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.isc-content {
  flex: 1;
  min-width: 0;
}

.isc-heading {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.isc-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.isc-desc b {
  color: #f1f5f9;
}

.isc-note {
  margin-top: 6px;
  font-size: 10.5px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.09);
  padding: 4px 8px;
  border-radius: 6px;
  border-left: 2px solid #34d399;
  line-height: 1.35;
}

.isc-substeps {
  margin-top: 6px;
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 10px;
  border-radius: 6px;
}

.install-help-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.install-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* ==========================================================================
   15. OFFICIAL STUDENT ID CARD (CR80 PVC DUAL-SIDED) STYLING
   ========================================================================== */
.idcard-sheet {
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--safe-bottom) + 16px);
  background: #0b0f19;
}

.idcard-side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  margin: 0 16px 10px;
}

.idcard-side-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.idcard-side-btn.active {
  background: linear-gradient(135deg, #d8a153 0%, #b88636 100%);
  color: #070a12;
  box-shadow: 0 2px 8px rgba(216, 161, 83, 0.35);
}

.idcard-cards-viewport {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Authentic Standard CR80 PVC Institutional Identity Badge */
.adm-issued-id-card {
  width: 340px;
  min-height: 540px;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
              linear-gradient(180deg, #131722 0%, #0a0c13 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #ffffff;
  margin: 0 auto;
  flex-shrink: 0;
}

.adm-card-sheen {
  position: absolute;
  top: -100px;
  left: -100px;
  right: -100px;
  height: 250px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 1;
}

.adm-card-lanyard-slot {
  width: 48px;
  height: 8px;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin: 0 auto 10px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.adm-card-header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.35);
  padding-bottom: 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  text-align: left;
}

.adm-card-clean-logo {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.adm-card-inst-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 850;
  color: #fbbf24;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.adm-card-inst-sub {
  font-size: 8px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.08em;
}

.adm-card-inst-iso {
  font-size: 7px;
  color: #94a3b8;
}

.adm-card-photo-wrapper {
  position: relative;
  width: 100px;
  height: 120px;
  margin: 0 auto 8px;
  border-radius: 14px;
  padding: 3px;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.adm-card-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}

.adm-card-photo-ribbon {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #042f2c;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1.5px solid #064e3b;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.adm-card-student-name {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 850;
  color: #ffffff;
  margin: 8px 0 2px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-card-course-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 10px;
  border-radius: 999px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}

.adm-card-table-grid {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 7px 10px;
  margin-bottom: 10px;
  text-align: left;
  font-size: 10px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
}

.adm-card-table-row span {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 600;
  display: block;
}

.adm-card-table-row strong {
  color: #ffffff;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.adm-card-footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: auto;
  position: relative;
  z-index: 2;
  text-align: left;
}

.adm-card-qr-block {
  display: flex;
  align-items: center;
  gap: 7px;
}

.adm-card-qr-img {
  width: 50px;
  height: 50px;
  background: #ffffff;
  padding: 2px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  display: block;
}

.adm-card-qr-badge {
  font-size: 8px;
  color: #fbbf24;
  font-weight: 800;
  line-height: 1.2;
}

.adm-card-qr-hint {
  font-size: 6.5px;
  color: #94a3b8;
}

.adm-card-hologram {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #f59e0b, #fbbf24, #10b981, #3b82f6, #ec4899, #f59e0b);
  padding: 1.5px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adm-card-hologram-inner {
  width: 100%;
  height: 100%;
  background: #0c0f17;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 5.5px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  text-align: center;
}

.adm-card-signatory {
  text-align: right;
}

.adm-card-sign-cursive {
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
  font-size: 18px;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 2px;
}

.adm-card-sign-lead {
  font-size: 7px;
  color: #cbd5e1;
  font-weight: 700;
}

.adm-card-sign-session {
  font-size: 6.5px;
  color: #64748b;
}

.adm-card-security-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 240px;
  height: 240px;
  opacity: 0.045;
  pointer-events: none;
  z-index: 1;
}

.adm-card-security-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(300%);
}

/* Back Side */
.adm-issued-id-card.adm-card-back-side {
  text-align: left;
  padding: 16px 18px 14px;
}

.adm-card-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.35);
  padding-bottom: 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.adm-card-back-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adm-card-back-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.adm-card-back-head-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 9.5px;
  font-weight: 850;
  color: #fbbf24;
  display: block;
}

.adm-card-back-head-text span {
  font-size: 7px;
  color: #94a3b8;
  display: block;
}

.adm-card-active-pill {
  font-size: 8px;
  color: #10b981;
  font-weight: 850;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

.adm-card-rules-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.adm-card-rules-heading {
  font-size: 9px;
  font-weight: 850;
  color: #fbbf24;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.adm-card-rules-list {
  margin: 0;
  padding: 0 0 0 12px;
  font-size: 8px;
  color: #cbd5e1;
  line-height: 1.4;
}

.adm-card-rules-list li {
  margin-bottom: 3px;
}

.adm-card-emergency-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.adm-card-emergency-row span {
  font-size: 7px;
  color: #94a3b8;
  display: block;
}

.adm-card-emergency-row strong {
  font-size: 9px;
  color: #fbbf24;
  font-weight: 800;
}

.adm-card-campus-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.adm-card-campus-heading {
  font-size: 7.5px;
  color: #fbbf24;
  font-weight: 800;
  margin-bottom: 2px;
}

.adm-card-campus-detail {
  font-size: 7px;
  color: #cbd5e1;
  line-height: 1.35;
}

.adm-card-campus-detail strong {
  color: #ffffff;
}

.adm-card-barcode-box {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.adm-card-barcode-graphic {
  display: flex;
  justify-content: center;
  margin-bottom: 3px;
}

.adm-card-barcode-svg {
  width: 170px;
  height: 22px;
  opacity: 0.85;
}

.adm-card-barcode-number {
  font-family: monospace;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: #cbd5e1;
}

.adm-card-return-notice {
  font-size: 6px;
  color: #64748b;
  margin: 3px 0 0;
  line-height: 1.25;
}

/* ==========================================================================
   16. ACCREDITED COURSE CERTIFICATE OF COMPLETION (A4 DIPLOMA)
   ========================================================================== */
.cert-sheet {
  background: #090d16;
}

.cert-course-picker-row {
  scrollbar-width: none;
}
.cert-course-picker-row::-webkit-scrollbar {
  display: none;
}

.cert-course-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
}

.cert-course-pill.active {
  background: linear-gradient(135deg, #d8a153 0%, #b88636 100%);
  color: #070a12;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(216, 161, 83, 0.35);
}

/* Status Banner above Certificate */
.cert-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-status-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
}

.cert-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.8s infinite;
}

.cert-status-title {
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.06em;
}

.cert-status-sep {
  color: rgba(255, 255, 255, 0.2);
}

.cert-status-academy {
  color: #cbd5e1;
  font-weight: 700;
}

.cert-status-badges {
  display: flex;
  gap: 6px;
}

.cert-iso-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(216, 161, 83, 0.15);
  border: 1px solid rgba(216, 161, 83, 0.35);
  color: #fbbf24;
}

.cert-msme-badge {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

/* Scrollable Container */
.cert-frame-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Royal Academic Diploma Frame */
.certificate-frame {
  width: 840px;
  min-width: 840px;
  background: #fdfbf7;
  background-image: radial-gradient(circle at 50% 50%, #ffffff 0%, #fbf6ec 60%, #f4ebd9 100%);
  color: #16181f;
  border: 10px double #c99738;
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin: 0 auto;
  box-sizing: border-box;
}

.cert-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.cert-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  pointer-events: none;
  z-index: 3;
}
.cert-corner-tl { top: 6px; left: 6px; }
.cert-corner-tr { top: 6px; right: 6px; }
.cert-corner-bl { bottom: 6px; left: 6px; }
.cert-corner-br { bottom: 6px; right: 6px; }

.cert-microprint-border {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  font-size: 6px;
  font-family: monospace;
  letter-spacing: 0.2em;
  color: rgba(184, 132, 59, 0.5);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  text-align: center;
  z-index: 2;
}

.cert-inner {
  position: relative;
  z-index: 2;
  border: 1.5px solid rgba(201, 151, 56, 0.5);
  outline: 1px dashed rgba(201, 151, 56, 0.35);
  outline-offset: -5px;
  padding: 18px 24px 14px;
  text-align: center;
}

.cert-top {
  margin-bottom: 8px;
}

.cert-crest-unified {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.cert-crest-stars {
  font-size: 8px;
  letter-spacing: 4px;
  color: #c99738;
  margin-bottom: 2px;
  opacity: 0.92;
}

.cert-crest-logo-wrapper {
  position: relative;
  width: 130px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-crest-wreath-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 74px;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(184, 132, 59, 0.25));
}

.cert-academy-logo {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.cert-academy-title {
  font-family: 'Cinzel', serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #141720;
  margin-top: 1px;
  text-transform: uppercase;
}

.cert-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #8c6a28;
  text-transform: uppercase;
  margin-top: 2px;
}

.cert-accreditation-line {
  font-size: 8px;
  font-weight: 700;
  color: #5c584e;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(201, 151, 56, 0.3);
}

.cert-title-container {
  margin: 10px 0 6px;
}

.cert-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #b8843b 0%, #ecd394 50%, #a87224 100%);
  color: #141006;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 5px 22px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(168, 114, 36, 0.25);
  text-transform: uppercase;
}

.cert-badge-star {
  font-size: 10px;
  color: #141006;
}

.cert-reg-code {
  font-size: 8px;
  font-family: monospace;
  color: #847761;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.cert-presented-to {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: #585143;
  margin: 8px 0 3px;
}

.cert-name-wrapper {
  display: inline-block;
  margin-bottom: 6px;
  position: relative;
}

.cert-name {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #875615 0%, #c99738 40%, #ecd394 65%, #754a0d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0;
}

.cert-name-underline {
  height: 2px;
  background: linear-gradient(90deg, transparent, #c99738 20%, #ecd394 50%, #c99738 80%, transparent);
  margin: 3px auto 0;
  width: 90%;
}

.cert-body-text {
  font-size: 11px;
  line-height: 1.55;
  color: #403c35;
  max-width: 580px;
  margin: 0 auto 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cert-course {
  font-family: 'Cinzel', serif;
  font-size: 19px;
  font-weight: 800;
  color: #12151d;
  margin: 2px 0 8px;
  letter-spacing: 0.02em;
}

.cert-meta-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.cert-meta-pill {
  font-size: 9.5px;
  font-weight: 700;
  color: #584935;
  background: rgba(201, 151, 56, 0.12);
  border: 1px solid rgba(201, 151, 56, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.cert-meta-pill-gold {
  background: rgba(201, 151, 56, 0.28);
  color: #704408;
  border-color: #b8843b;
  font-weight: 800;
}

/* Triad Footer */
.cert-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 151, 56, 0.35);
  margin-top: 8px;
}

.cert-verify-block {
  text-align: left;
}

.cert-qr-frame {
  display: inline-block;
  background: #ffffff;
  padding: 4px;
  border: 1px solid #c99738;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cert-qr-img {
  display: block;
  width: 68px !important;
  height: 68px !important;
  object-fit: contain;
}

.cert-qr-text {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6d5423;
  margin-top: 3px;
}

.cert-sig-id {
  font-family: monospace;
  font-size: 9px;
  font-weight: 700;
  color: #141720;
  margin-top: 1px;
}

.cert-barcode {
  display: block;
  margin-top: 3px;
  opacity: 0.75;
}

.cert-seal-block {
  display: flex;
  justify-content: center;
}

.cert-gold-seal-container {
  position: relative;
  width: 86px;
  height: 100px;
  margin: 0 auto;
}

.cert-seal-ribbon {
  position: absolute;
  bottom: 0;
  width: 19px;
  height: 38px;
  background: linear-gradient(135deg, #7c1a22 0%, #a82732 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
  z-index: 1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.cert-ribbon-left {
  left: 20px;
  transform: rotate(14deg);
}

.cert-ribbon-right {
  right: 20px;
  transform: rotate(-14deg);
}

.cert-seal-embossed {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

.cert-seal-svg {
  display: block;
  width: 76px;
  height: 76px;
}

.cert-sig-block {
  text-align: right;
  position: relative;
}

.cert-date-wrap {
  margin-bottom: 4px;
}

.cert-date-val {
  font-family: 'Cinzel', serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #141720;
}

.cert-sig-role {
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #847761;
}

.cert-sig-signature-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.cert-official-stamp {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px dashed rgba(179, 38, 54, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  pointer-events: none;
  opacity: 0.92;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(179, 38, 54, 0.12);
  background: rgba(255, 245, 245, 0.35);
}

.cert-stamp-inner {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(179, 38, 54, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cert-stamp-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a72332;
  font-family: 'Cinzel', serif;
  line-height: 1.05;
}

.cert-stamp-org {
  font-size: 5.2px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cert-stamp-title {
  font-size: 6.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 1px 0;
  color: #881724;
}

.cert-stamp-stars {
  font-size: 5px;
  letter-spacing: 1px;
  color: #a72332;
}

.cert-stamp-status {
  font-size: 4.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  border-top: 1px solid rgba(179, 38, 54, 0.5);
  padding-top: 1px;
  margin-top: 1px;
}

.cert-sig-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.cert-sig-line {
  font-family: 'Alex Brush', cursive;
  font-size: 32px;
  color: #13151e;
  line-height: 1;
  transform: rotate(-2deg);
}

.cert-sig-name {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 900;
  color: #13151e;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.cert-sig-org {
  font-size: 7.5px;
  color: #726c5e;
}

.cert-bottom-tamper {
  font-size: 6.5px;
  font-family: monospace;
  letter-spacing: 0.12em;
  color: #8c826e;
  border-top: 1px solid rgba(201, 151, 56, 0.25);
  padding-top: 6px;
  margin-top: 8px;
}

