/* ============================================================
   SKILL INDIA DIGITAL — Main Stylesheet
   assets/css/style.css
   ============================================================ */

:root {
  --navy:       #0A1628;
  --navy-mid:   #112244;
  --navy-light: #1A3366;
  --saffron:    #FF6B00;
  --saffron-lt: #FF8C33;
  --gold:       #F5A623;
  --green-in:   #138808;
  --white:      #FFFFFF;
  --off-white:  #F8F9FC;
  --lt-gray:    #EEF0F5;
  --mid-gray:   #8892A4;
  --dk-gray:    #3A4560;
  --border:     #E2E6F0;
  --success:    #12B76A;
  --warning:    #F59E0B;
  --danger:     #EF4444;
  --info:       #3B82F6;
  --shadow:     0 2px 16px rgba(10,22,40,.10);
  --shadow-lg:  0 8px 40px rgba(10,22,40,.15);
  --radius:     8px;
  --radius-lg:  14px;
  --font-disp:  'Rajdhani', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--off-white); color: var(--navy); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }
img { max-width: 100%; }

/* ---- TOPBAR ---- */
.topbar { width: 100%; position: relative; z-index: 1000; background: #1f2937; color: #fff; }
.topbar-inner { max-width: 1200px; min-height: 20px;max-height: 20px; margin: 0 auto; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; }
.topbar-inner > span { color: #fff; font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 4px; }
.topbar-icon { width: 40px; height: 42px; position: relative; display: contents; align-items: center; justify-content: center; color: #fff !important; text-decoration: none !important; transition: background .2s ease; }
.topbar-icon-btn { width: 40px; height: 42px; padding: 0; border: 0; background: transparent; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.topbar-icon i, .topbar-icon-btn i { color: #fff !important; font-size: 16px; transition: transform .2s ease, opacity .2s ease; }
.topbar-icon:hover, .topbar-icon:focus-within, .topbar-icon-btn:hover, .topbar-icon-btn:focus { color: #fff !important; background: rgba(255,255,255,.10); }
.topbar-icon:hover i, .topbar-icon:focus-within i, .topbar-icon-btn:hover i, .topbar-icon-btn:focus i { color: #fff !important; transform: scale(1.12); }
.topbar-icon:focus, .topbar-icon-btn:focus { outline: 2px solid rgba(255,255,255,.8); outline-offset: -2px; }
.topbar-dropdown-menu { display: none; position: absolute; top: 100%; right: 0; z-index: 1001; background: #fff; color: var(--navy); }
.topbar-dropdown:hover .topbar-dropdown-menu, .topbar-dropdown:focus-within .topbar-dropdown-menu { display: flex; }
.topbar .dropdown-menu { margin-top: 0; border-radius: 0 0 6px 6px; box-shadow: 0 5px 15px rgba(0,0,0,.15); }
.topbar .b-search { width: 194px; padding: 0; align-items: stretch; }
.topbar .b-site-search { width: 150px; border: 0; border-radius: 0; padding: 9px 10px; color: var(--navy); }
.topbar .b-search .btn { border-radius: 0; background: #505050; color: #fff; box-shadow: none; min-width: 44px; padding: 0; }
.topbar .b-social-dropdown, .topbar .b-accessibility-dropdown { min-width: 50px; width: 50px; padding: 0; flex-direction: column; }
.topbar .b-social-dropdown .dropdown-item, .topbar .b-accessibility-dropdown .dropdown-item { width: 100%; text-align: center; padding: 10px 5px; color: var(--navy); }
.topbar .b-social-dropdown .dropdown-item:hover, .topbar .b-accessibility-dropdown .dropdown-item:hover { background: var(--lt-gray); }
.topbar .b-social-dropdown .dropdown-item i { font-size: 16px; color: var(--navy) !important; }
.topbar .b-accessibility-dropdown .bg-dark { background: #343a40; }
.topbar .b-accessibility-dropdown .text-white { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 768px) {
  .topbar-inner { min-height: 40px; padding: 0 8px; }
  .topbar-inner > span { font-size: 11px; }
  .topbar-actions { gap: 0; }
  .topbar-icon, .topbar-icon-btn { width: 34px; height: 40px; }
  .topbar-icon i, .topbar-icon-btn i { font-size: 14px; }
}

/* ---- NAVBAR ---- */
.navbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(10,22,40,.08); }
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-emblem { width: 44px; height: 44px; flex-shrink: 0; }
.logo-main { font-family: var(--font-disp); font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.logo-sub { font-size: 10px; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 1.5px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-link { padding: 7px 14px; border-radius: var(--radius); font-size: 12px; font-weight: 600; color: var(--dk-gray); transition: all .2s; }
.nav-link:hover, .nav-link.active { background: var(--lt-gray); color: var(--navy); }
.nav-auth { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.notif-bell { position: relative; font-size: 18px; color: var(--dk-gray); padding: 4px 8px; }
.notif-count { position: absolute; top: 0; right: 0; background: var(--danger); color: white; font-size: 9px; font-weight: 700; padding: 1px 4px; border-radius: 10px; min-width: 16px; text-align: center; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; border: none; transition: all .2s; cursor: pointer; text-align: center; justify-content: center; }
.btn-primary  { background: var(--saffron); color: white; }
.btn-primary:hover  { background: var(--saffron-lt); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,0,.3); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: white; }
.btn-outline  { background: transparent; border: 1.5px solid var(--border); color: var(--dk-gray); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-success  { background: var(--success); color: white; }
.btn-danger   { background: var(--danger); color: white; }
.btn-info     { background: var(--info); color: white; }
.btn-warning  { background: var(--warning); color: white; }
.btn-sm  { padding: 5px 12px; font-size: 12px; }
.btn-lg  { padding: 12px 28px; font-size: 15px; }
.btn-block { width: 100%; display: flex; }

/* ---- ANNOUNCEMENTS ---- */
.ann-bar { padding: 8px 0; font-size: 12px; text-align: center; }
.ann-bar.banner  { background: #FFF3CD; color: #856404; border-bottom: 1px solid #FFE083; }
.ann-bar.notice  { background: #D1ECF1; color: #0C5460; border-bottom: 1px solid #BEE5EB; }
.ann-bar.alert   { background: #F8D7DA; color: #721C24; border-bottom: 1px solid #F5C6CB; }
.ann-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---- HERO ---- */
.hero { color: white; padding: 0; aspect-ratio: 2560 / 911; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.india-strip { display: flex; height: 4px; margin-bottom: 28px; border-radius: 2px; overflow: hidden; max-width: 180px; }
.s1 { flex: 1; background: #FF9933; }
.s2 { flex: 1; background: #FFF; }
.s3 { flex: 1; background: #138808; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,107,0,.2); border: 1px solid rgba(255,107,0,.4); color: #FF8C33; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-family: var(--font-disp); font-size: 44px; font-weight: 700; line-height: 1.1; margin-bottom: 14px; }
.hero h1 span { color: var(--saffron); }
.hero-sub { font-size: 15px; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 36px; margin-bottom: 32px; }
.hero-stat .num { font-family: var(--font-disp); font-size: 30px; font-weight: 700; color: var(--saffron); }
.hero-stat .lbl { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; }

/* ---- FILTER BAR ---- */
.filter-bar { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 64px; z-index: 90; box-shadow: 0 2px 8px rgba(10,22,40,.05); }
.filter-inner { max-width: 1280px; margin: 0 auto; padding: 14px 20px; }
.filter-label { font-size: 11px; font-weight: 600; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.filters-grid { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: 11px; color: var(--mid-gray); font-weight: 500; }
.filter-group select, .filter-group input[type="text"], .filter-group input[type="number"], .filter-group input[type="date"] { padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; color: var(--navy); background: var(--off-white); min-width: 130px; outline: none; }
.filter-group select:focus, .filter-group input:focus { border-color: var(--saffron); }
.filter-range { display: flex; gap: 6px; align-items: center; }
.filter-range input { min-width: 72px; }

/* ---- MAIN CONTENT ---- */
.main-content { max-width: 1280px; margin: 0 auto; padding: 24px 20px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.section-title { font-family: var(--font-disp); font-size: 22px; font-weight: 700; color: var(--navy); }
.results-count { font-size: 13px; color: var(--mid-gray); }

/* ---- COURSE CARDS ---- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.course-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s; }
.course-card a.card-link { display: block; color: inherit; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--saffron); }
.card-header-inner { padding: 16px 18px 12px; border-bottom: 1px solid var(--lt-gray); }
.card-domain { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.domain-iot    { background: #E8F5E9; color: #2E7D32; }
.domain-ai     { background: #E3F2FD; color: #1565C0; }
.domain-cyber  { background: #FCE4EC; color: #880E4F; }
.domain-cloud  { background: #E0F7FA; color: #006064; }
.domain-data   { background: #FFF3E0; color: #E65100; }
.domain-default{ background: #F3E5F5; color: #4A148C; }
.card-title { font-family: var(--font-disp); font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.card-centre-name { font-size: 12px; color: var(--mid-gray); }
.card-body-inner { padding: 14px 18px; }
.card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 10px; }
.meta-lbl { font-size: 10px; color: var(--mid-gray); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.meta-val { font-size: 13px; color: var(--navy); font-weight: 500; margin-top: 1px; }
.mode-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.mode-online  { background: #E3F2FD; color: #1565C0; }
.mode-offline { background: #F3E5F5; color: #4A148C; }
.mode-hybrid  { background: #E8F5E9; color: #2E7D32; }
.partner-tag { font-size: 11px; color: var(--mid-gray); }
.card-footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; background: var(--off-white); border-top: 1px solid var(--lt-gray); }
.seats-badge { font-size: 12px; font-weight: 600; }
.seats-badge.good { color: var(--success); }
.seats-badge.low  { color: var(--warning); }
.seats-badge.full { color: var(--danger); }
.deadline-txt { font-size: 11px; color: var(--mid-gray); }

/* ---- COURSE DETAIL ---- */
.detail-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: white; padding: 48px 20px 40px; }
.detail-hero-inner { max-width: 1280px; margin: 0 auto; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 20px; background: none; border: none; cursor: pointer; }
.back-btn:hover { color: white; }
.detail-hero h1 { font-family: var(--font-disp); font-size: 36px; font-weight: 700; line-height: 1.2; margin: 10px 0; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; }
.detail-meta-item { font-size: 13px; color: rgba(255,255,255,.8); }
.detail-meta-item span { font-weight: 600; color: white; }
.detail-layout { max-width: 1280px; margin: 0 auto; padding: 28px 20px 100px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.detail-section { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.detail-section h2 { font-family: var(--font-disp); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--saffron); display: inline-block; }
.syllabus-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.syllabus-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--lt-gray); }
.syllabus-list li::before { content: '&#9658;'; color: var(--saffron); font-size: 10px; margin-top: 3px; flex-shrink: 0; }
.elig-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.elig-table td { padding: 9px 12px; border-bottom: 1px solid var(--lt-gray); }
.elig-table td:first-child { color: var(--mid-gray); font-weight: 500; width: 40%; }
.fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fee-card { text-align: center; padding: 16px; background: var(--off-white); border-radius: var(--radius); }
.fee-amount { font-family: var(--font-disp); font-size: 24px; font-weight: 700; color: var(--saffron); }
.fee-label { font-size: 11px; color: var(--mid-gray); margin-top: 4px; }
.selection-steps { display: flex; gap: 0; }
.sel-step { flex: 1; text-align: center; padding: 12px 8px; background: var(--off-white); border: 1px solid var(--border); font-size: 12px; }
.sel-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.sel-step:last-child  { border-radius: 0 var(--radius) var(--radius) 0; background: #F0FDF4; border-color: #BBF7D0; }
.sel-step .step-num { font-size: 10px; color: var(--mid-gray); margin-bottom: 3px; }
.sel-step .step-name { font-weight: 600; color: var(--navy); }
.sidebar-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 16px; }
.sidebar-card h3 { font-family: var(--font-disp); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.seat-bar { height: 6px; background: var(--lt-gray); border-radius: 3px; margin: 8px 0; }
.seat-bar-fill { height: 100%; border-radius: 3px; background: var(--success); }
.kv-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; border-bottom: 1px solid var(--lt-gray); }
.kv-key { color: var(--mid-gray); }
.kv-val { font-weight: 600; color: var(--navy); }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 2px solid var(--saffron); padding: 14px 20px; z-index: 200; display: flex; justify-content: center; gap: 20px; align-items: center; box-shadow: 0 -4px 20px rgba(10,22,40,.12); }

/* ---- FORM ELEMENTS ---- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--dk-gray); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.form-group label .req { color: var(--danger); }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; outline: none; transition: border-color .2s; background: white; }
.form-control:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,107,0,.08); }
.form-control.error { border-color: var(--danger); }
.form-hint { font-size: 11px; color: var(--mid-gray); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--danger); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1/-1; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }

/* ---- CAPTCHA ---- */
.captcha-wrap { background: var(--lt-gray); border: 1px dashed #CCC; border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.captcha-text { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: 8px; user-select: none; text-decoration: line-through; text-decoration-color: var(--mid-gray); background: var(--lt-gray); padding: 4px 8px; border-radius: 4px; }
.captcha-input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; outline: none; }
.captcha-input:focus { border-color: var(--saffron); }
.captcha-refresh { background: none; border: none; cursor: pointer; color: var(--saffron); font-size: 20px; padding: 4px; }

/* ---- OTP BOXES ---- */
.otp-group { display: flex; gap: 8px; }
.otp-box { width: 48px; height: 52px; text-align: center; font-size: 22px; font-weight: 700; border: 2px solid var(--border); border-radius: var(--radius); outline: none; background: white; }
.otp-box:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,107,0,.1); }

/* ---- ALERTS ---- */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; border-left: 4px solid; }
.alert-success { background: #F0FDF4; border-color: var(--success); color: #166534; }
.alert-danger   { background: #FEF2F2; border-color: var(--danger);  color: #991B1B; }
.alert-warning  { background: #FFFBEB; border-color: var(--warning); color: #92400E; }
.alert-info     { background: #EFF6FF; border-color: var(--info);    color: #1D4ED8; }

/* ---- BADGES ---- */
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.s-applied     { background: #EFF6FF; color: #1D4ED8; }
.s-shortlisted { background: #FFFBEB; color: #92400E; }
.s-selected    { background: #F0FDF4; color: #166534; }
.s-rejected    { background: #FEF2F2; color: #991B1B; }
.s-waitlisted  { background: #F5F3FF; color: #5B21B6; }
.s-paid        { background: #F0FDF4; color: #166534; }
.s-pending     { background: #FFFBEB; color: #92400E; }
.s-failed      { background: #FEF2F2; color: #991B1B; }

/* ---- TABLES ---- */
.table-wrap { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.table-head-bar { padding: 14px 18px; border-bottom: 1px solid var(--lt-gray); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.table-head-bar h3 { font-family: var(--font-disp); font-size: 17px; font-weight: 700; color: var(--navy); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table thead th { padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; color: var(--mid-gray); text-transform: uppercase; letter-spacing: .5px; background: var(--off-white); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table tbody td { padding: 12px 14px; border-bottom: 1px solid var(--lt-gray); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--off-white); }
.actions-cell { display: flex; gap: 6px; flex-wrap: wrap; }
.tbl-overflow { overflow-x: auto; }

/* ---- METRIC CARDS ---- */
.metrics-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; overflow: hidden;}
.metric-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px;   }
.metric-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 10px; }
.ic-blue   { background: #EFF6FF; }
.ic-green  { background: #F0FDF4; }
.ic-amber  { background: #FFFBEB; }
.ic-red    { background: #FEF2F2; }
.ic-purple { background: #FAF5FF; }
.metric-num { font-family: var(--font-disp); font-size: 28px; font-weight: 700; color: var(--navy); }
.metric-lbl { font-size: 12px; color: var(--mid-gray); margin-top: 2px; overflow: hidden;}
.metric-change { font-size: 11px; color: var(--success); margin-top: 4px; }

/* ---- DASHBOARD LAYOUT ---- */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 130px); }
.trainee-sidebar { background: var(--navy); color: white; padding: 0; }
.trainee-sidebar .user-panel { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.trainee-sidebar .user-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--saffron); display: flex; align-items: center; justify-content: center; font-family: var(--font-disp); font-size: 20px; font-weight: 700; color: white; margin-bottom: 10px; }
.trainee-sidebar .user-name { font-weight: 600; font-size: 14px; }
.trainee-sidebar .user-role { font-size: 11px; color: rgba(255,255,255,.5); }
.sidebar-section-label { font-size: 10px; color: rgba(255,255,255,.3); padding: 14px 20px 4px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.trainee-sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 13px; color: rgba(255,255,255,.7); transition: all .2s; }
.trainee-sidebar-link:hover, .trainee-sidebar-link.active { background: rgba(255,255,255,.1); color: white; }
.trainee-sidebar-link.active { border-left: 3px solid var(--saffron); padding-left: 17px; }
.dash-main { background: var(--off-white); padding: 28px; }
.dash-header { margin-bottom: 24px; }
.dash-header h1 { font-family: var(--font-disp); font-size: 26px; font-weight: 700; color: var(--navy); }
.dash-header p { font-size: 13px; color: var(--mid-gray); }

/* ---- WIZARD ---- */
.wizard-container { max-width: 860px; margin: 0 auto; }
.wizard-progress { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 28px; margin-bottom: 20px; position: relative; overflow: hidden; }
.wizard-steps-row { display: flex; justify-content: space-between; position: relative; }
.wizard-steps-row::before { content: ''; position: absolute; top: 13px; left: 40px; right: 40px; height: 2px; background: var(--lt-gray); z-index: 0; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 1; }
.step-circle { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 2px solid var(--lt-gray); background: white; color: var(--mid-gray); transition: all .3s; }
.step-circle.done   { border-color: var(--success); background: var(--success); color: white; }
.step-circle.active { border-color: var(--saffron); background: var(--saffron); color: white; }
.step-lbl { font-size: 10px; color: var(--mid-gray); text-align: center; max-width: 72px; line-height: 1.3; }
.step-lbl.active { color: var(--saffron); font-weight: 600; }
.wizard-body { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.wizard-body h2 { font-family: var(--font-disp); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.wizard-body .step-sub { font-size: 13px; color: var(--mid-gray); margin-bottom: 24px; }
.wizard-footer { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--lt-gray); align-items: center; }
.auto-save-note { font-size: 12px; color: var(--success); }
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 20px; text-align: center; cursor: pointer; transition: all .2s; }
.upload-zone:hover { border-color: var(--saffron); background: #FFF9F5; }
.upload-zone .uz-icon { font-size: 28px; margin-bottom: 6px; }
.upload-zone .uz-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.upload-zone .uz-hint { font-size: 11px; color: var(--mid-gray); margin-top: 4px; }
.upload-zone input[type="file"] { display: none; }
.declaration-box { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: var(--radius); padding: 16px; margin-bottom: 16px; font-size: 12px; color: var(--dk-gray); line-height: 1.8; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.review-section { background: var(--off-white); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.review-section h4 { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.review-kv { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12px; }
.review-kv .rk { color: var(--mid-gray); }
.review-kv .rv { font-weight: 500; color: var(--navy); text-align: right; max-width: 60%; }

/* ---- NOTIFICATIONS ---- */
.notif-list { display: flex; flex-direction: column; gap: 10px; }
.notif-item { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; }
.notif-item.unread { border-left: 3px solid var(--saffron); }
.notif-icon-wrap { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.notif-body .ntitle { font-weight: 600; font-size: 13px; color: var(--navy); }
.notif-body .ndesc  { font-size: 12px; color: var(--mid-gray); margin-top: 2px; }
.notif-body .ntime  { font-size: 11px; color: #BBB; margin-top: 4px; }
.unread-dot { width: 8px; height: 8px; background: var(--saffron); border-radius: 50%; flex-shrink: 0; margin-top: 4px; }

/* ---- PROFILE ---- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.profile-card-header { padding: 14px 18px; border-bottom: 1px solid var(--lt-gray); display: flex; justify-content: space-between; align-items: center; }
.profile-card-header h3 { font-family: var(--font-disp); font-size: 16px; font-weight: 700; color: var(--navy); }
.profile-card-body { padding: 16px 18px; }

/* ---- PAGINATION ---- */
.pagination-nav { display: flex; justify-content: center; margin-top: 24px; }
.pagination { display: flex; list-style: none; gap: 4px; }
.pagination li a, .pagination li.active a { padding: 6px 12px; border-radius: var(--radius); font-size: 13px; border: 1px solid var(--border); color: var(--dk-gray); transition: all .2s; display: block; }
.pagination li a:hover { background: var(--lt-gray); }
.pagination li.active a { background: var(--saffron); color: white; border-color: var(--saffron); }

/* ---- TABS ---- */
.tab-bar { display: flex; gap: 0; border-bottom: 2px solid var(--lt-gray); margin-bottom: 20px; }
.tab-btn { padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--mid-gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; background: none; border-top: none; border-left: none; border-right: none; }
.tab-btn.active { color: var(--saffron); border-bottom-color: var(--saffron); font-weight: 600; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---- MODAL ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,22,40,.7); z-index: 500; display: flex; align-items: center; justify-content: center; }
.modal-box { background: white; border-radius: var(--radius-lg); padding: 32px; max-width: 500px; width: 90%; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.modal-box h2 { font-family: var(--font-disp); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.modal-sub { font-size: 13px; color: var(--mid-gray); margin-bottom: 24px; }

/* ---- SITE FOOTER ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 40px 20px 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { font-family: var(--font-disp); font-size: 20px; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.5); max-width: 240px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-col-title { font-size: 12px; font-weight: 600; color: white; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--saffron); }
.footer-bottom { padding: 16px 0; }
.footer-bottom-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 11px; flex-wrap: wrap; gap: 8px; }

/* ---- UTILITIES ---- */
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-muted   { color: var(--mid-gray); }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--lt-gray); margin: 16px 0; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero h1 { font-size: 32px; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .trainee-sidebar { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .fee-grid { grid-template-columns: 1fr 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .selection-steps { flex-direction: column; }
}
@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .metrics-row { grid-template-columns: 1fr; }
  .wizard-steps-row::before { display: none; }
  .step-lbl { display: none; }
}

/* ============================================================
   LMS Components
   ============================================================ */

/* Sidebar card (used in course/lesson sidebars) */
.sidebar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.sidebar-card h3 {
  font-family: var(--font-disp);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lt-gray);
}

/* Key-value rows */
.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--lt-gray);
  font-size: 13px;
}
.kv-key { color: var(--mid-gray); }
.kv-val { font-weight: 600; color: var(--navy); }

/* Detail hero banner */
.detail-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  color: white;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.detail-hero h1 { font-family: var(--font-disp); font-size: 26px; font-weight: 700; }
.detail-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.detail-section h2 {
  font-family: var(--font-disp);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--saffron);
}
.elig-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.elig-table tr { border-bottom: 1px solid var(--lt-gray); }
.elig-table td:first-child { color: var(--mid-gray); padding: 9px 0; width: 45%; font-weight: 500; }
.elig-table td:last-child { color: var(--navy); font-weight: 600; padding: 9px 0; }

/* Syllabus list */
.syllabus-list { list-style: none; padding: 0; margin: 0; }
.syllabus-list li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--lt-gray);
  font-size: 13px;
  color: var(--dk-gray);
  position: relative;
}
.syllabus-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Declaration / instruction box */
.declaration-box {
  background: #FFF9F0;
  border: 1px solid #FFE0B2;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--dk-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Course grid for LMS */
.lms-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

/* Lesson body content styling */
.lesson-body h1, .lesson-body h2, .lesson-body h3 {
  font-family: var(--font-disp);
  color: var(--navy);
  margin: 20px 0 10px;
}
.lesson-body p { margin-bottom: 12px; line-height: 1.85; }
.lesson-body ul, .lesson-body ol { margin: 0 0 14px 22px; line-height: 2; }
.lesson-body a { color: var(--saffron); }
.lesson-body img { max-width: 100%; border-radius: var(--radius); margin: 10px 0; }
.lesson-body blockquote {
  border-left: 4px solid var(--saffron);
  padding-left: 16px;
  color: var(--dk-gray);
  font-style: italic;
  margin: 16px 0;
}
.lesson-body pre, .lesson-body code {
  background: #1e293b;
  color: #e2e8f0;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-x: auto;
  display: block;
  margin: 12px 0;
}

/* Live session pulsing indicator */
@keyframes lms-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.live-indicator { animation: lms-pulse 1.2s infinite; }

/* Certificate styling */
.cert-container {
  max-width: 940px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  border-radius: 8px;
  overflow: hidden;
}

/* Progress ring (used in course overview) */
.progress-ring-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================== Announcement Slider ================================= */ 
.announcement-slider { 
    position: relative; 
    width: 100%; overflow: 
    hidden; background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
} 

.announcement-track {
    position: relative;
    min-height: 35px;
    max-height: 40px;
 } 
 .announcement-slide {
    display: none;
    align-items:
    center; gap: 16px; 
    width: 100%; 
    min-height: 40px;
    padding: 12px 90px;
    box-sizing: border-box;
    animation: announcementFade 0.5s ease;
} 
.announcement-slide.active {
     display: flex;
} 
/* Icon */ 
.announcement-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff; font-size: 18px;
} 
/* Content */ 
.announcement-content { 
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.5;
} 
.announcement-label { 
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
 } 
.announcement-content strong {
    font-size: 16px;
    font-weight: 700;
} 
.announcement-text {
 font-size: 15px;
 } 

 /* Announcement Types */ 
 .announcement-slide.info {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
 } 
 .announcement-slide.success {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
 } 
 .announcement-slide.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
 } 
 .announcement-slide.danger { 
    background: linear-gradient(135deg, #dc2626, #b91c1c);
     color: #ffffff;
} 
.announcement-slide.notice { 
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
     color: #ffffff;
} 
/* Previous / Next */
 .announcement-prev, .announcement-next { 
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
 } 
 .announcement-prev { 
    left: 25px;
 } 
 .announcement-next {
     right: 25px;
} 
.announcement-prev:hover, .announcement-next:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.05);
 } 
 /* Dots */
.announcement-dots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
 } 
 .announcement-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
 } 
 .announcement-dot.active { 
    width: 20px;
    border-radius: 10px;
    background: #ffffff;
 } 
 /* Animation */
  @keyframes announcementFade {
    from { 
    opacity: 0;
    transform: translateY(8px);
 } 
 to { 
    opacity: 1;
     transform: translateY(0);
    } 
} 
/* Mobile */ 
@media (max-width: 768px) { 
    .announcement-slide {
        min-height: 85px;
         padding: 12px 55px;
          gap: 10px;
        } 
        .announcement-icon {
            width: 34px;
            height: 34px;
            min-width: 34px;
            font-size: 14px;
        } 
        .announcement-content {
             display: block;
        } 
        .announcement-content strong { 
            display: inline;
            font-size: 14px;
        } 
        .announcement-text { 
            display: inline;
             font-size: 13px;
        } 
        .announcement-label { 
            display: inline-block;
            margin-right: 5px;
            font-size: 9px;
        } 
        .announcement-prev { 
        left: 10px;
        } 
        .announcement-next { 
            right: 10px;
        } 
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: Arial, Helvetica, sans-serif;
        background: #f6f8fb;
        color: #1f2937;
    }

    /* Breadcrumb */
    .breadcrumb-area {
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        padding: 18px 0;
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: auto;
    }

    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 16px;
        color: #6b7280;
    }

    .breadcrumb a {
        color: #1d4ed8;
        text-decoration: none;
        font-weight: 500;
    }

    .breadcrumb a:hover {
        text-decoration: underline;
    }

    .breadcrumb i {
        font-size: 13px;
        color: #9ca3af;
    }

    /* Main Section */
    .sitemap-section {
        padding: 60px 0 80px;
    }

    .section-heading {
        text-align: center;
        margin-bottom: 45px;
    }

    .section-heading .icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
        background: #eaf2ff;
        color: #2563eb;
        font-size: 30px;
    }

    .section-heading h1 {
        font-size: 38px;
        color: #111827;
        margin-bottom: 10px;
    }

    .section-heading p {
        color: #6b7280;
        font-size: 16px;
    }

    /* Sitemap Grid */
    .sitemap-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .sitemap-card {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 25px;
        transition: all 0.3s ease;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    }

    .sitemap-card:hover {
        transform: translateY(-5px);
        border-color: #bfdbfe;
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.10);
    }

    .card-title {
        display: flex;
        align-items: center;
        gap: 13px;
        margin-bottom: 18px;
    }

    .card-title .card-icon {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eff6ff;
        color: #2563eb;
        border-radius: 10px;
        font-size: 20px;
    }

    .card-title h2 {
        font-size: 19px;
        color: #111827;
    }

    /* Links */
    .sitemap-links {
        list-style: none;
    }

    .sitemap-links li {
        margin-bottom: 11px;
    }

    .sitemap-links li:last-child {
        margin-bottom: 0;
    }

    .sitemap-links a {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #4b5563;
        text-decoration: none;
        font-size: 15px;
        padding: 5px 0;
        transition: 0.2s ease;
    }

    .sitemap-links a i {
        color: #9ca3af;
        font-size: 12px;
        transition: 0.2s ease;
    }

    .sitemap-links a:hover {
        color: #2563eb;
        padding-left: 5px;
    }

    .sitemap-links a:hover i {
        color: #2563eb;
    }

    /* Programs */
    .program-list {
        margin-top: 5px;
        padding-left: 20px;
        border-left: 2px solid #e5e7eb;
    }

    .program-list a {
        font-size: 14px;
    }

    /* Full Width Card */
    .sitemap-card.full-width {
        grid-column: span 3;
    }

    .quick-links {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .quick-links a {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        padding: 13px 15px;
        border-radius: 9px;
        color: #374151;
        text-decoration: none;
        font-size: 14px;
        transition: 0.2s ease;
    }

    .quick-links a:hover {
        background: #eff6ff;
        color: #2563eb;
        border-color: #bfdbfe;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .sitemap-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .sitemap-card.full-width {
            grid-column: span 2;
        }

        .quick-links {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px) {
        .container {
            width: 92%;
        }

        .sitemap-section {
            padding: 40px 0 60px;
        }

        .section-heading h1 {
            font-size: 30px;
        }

        .sitemap-grid {
            grid-template-columns: 1fr;
        }

        .sitemap-card.full-width {
            grid-column: span 1;
        }

        .quick-links {
            grid-template-columns: 1fr;
        }

        .breadcrumb {
            font-size: 14px;
        }
    }

        .topbar-dropdown {
            position: relative;
        }

        .topbar-dropdown .topbar-dropdown-menu {
            top: 100%;
            right: auto;
            left: 81%;
            transform: translateX(-50%);
            margin-top: 5px;
        }

        .b-search.topbar-dropdown-menu {
            width: 280px;
        }

        
