  :root {
    --surface: #23133a;
    --surface2: #1f1232;
    --surface3: #2a1647;
    --border: #3a1c63;
    --border2: #5e309d;
    --gold: #883CF0;
    --gold2: #883CF0;
    --gold-dim: rgba(232,160,32,0.12);
    --gold-glow: rgba(232,160,32,0.25);
    --cyan: #883CF0;
    --cyan-dim: #1f1232;
    --red: #9f3df1;
    --green: #883CF0;
    --green-dim: #291a3e;
    --text: #c8d4e0;
    --text-dim: #d6d6d6;
    --text-faint: #e8f0ff;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  .delinea-training-guide-2 {
    background: #191127;
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    height: 100vh;
    overflow-y: auto;
  }

  /* ── LAYOUT ─────────────────────────────── */
  .shell { display: flex; min-height: 100vh; }

  /* ── SIDEBAR ────────────────────────────── */
  .sidebar {
    width: 280px;
    min-width: 280px;
    background: #180f26;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .sidebar-logo {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-logo .brand {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
  }

  .sidebar-logo h1 {
    font-size: 18px;
    font-weight: 600;
    color: #e8edf2;
    line-height: 1.2;
  }

  .progress-bar-wrap {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  .progress-label {
    display: flex;
    justify-content: space-between;
    
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    
    margin-bottom: 8px;
  }

  .progress-track {
    height: 4px;
    background: #282035;
    border-radius: 2px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3a1c63, #684895);
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 0%;
  }

  .nav-section {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-section-label {
    
    font-size: 9px;
    
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 4px 24px 8px;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 24px;
    cursor: pointer;
    transition: all 0.15s;
    border-left: 2px solid transparent;
    font-size: 13.5px;
    color: var(--text-dim);
    position: relative;
  }

  .nav-item:hover { color: var(--text); background: #23133a9f; }

  .nav-item.active {
    color: var(--gold);
    background: #23133a;
    border-left-color: var(--gold);
  }

  .nav-item .nav-icon {
    width: 18px;
    text-align: center;
    font-size: 13px;
    flex-shrink: 0;
  }

  .nav-item .nav-check {
    margin-left: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    transition: all 0.2s;
    flex-shrink: 0;
  }

  .nav-item.completed .nav-check {
    background: var(--green);
    border-color: var(--green);
    color: #0a0c0f;
  }

  /* ── MAIN CONTENT ───────────────────────── */
  .main {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .topbar {
    background: #180f26;
    border-bottom: 1px solid var(--border);
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .breadcrumb {
    
    font-size: 11px;
    color: var(--text-dim);
    
  }

  .breadcrumb span { color: var(--gold); }

  .mode-badge {
    
    font-size: 10px;
    background: #23133a;
    color: var(--red);
    border: 1px solid #3a1c63;
    padding: 3px 10px;
    border-radius: 2px;
    
    text-transform: uppercase;
  }

  .content {
    padding: 48px 56px 80px;
    max-width: 900px;
  }

  /* ── MODULE HEADER ──────────────────────── */
  .module-header {
    margin-bottom: 40px;
  }

  .module-tag {
    
    font-size: 10px;
    
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
  }

  .module-title {
    font-size: 34px;
    font-weight: 700;
    color: #edf2f8;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .module-desc {
    color: var(--text-dim);
    font-size: 15px;
    max-width: 660px;
    line-height: 1.75;
  }

  /* ── SECTIONS ───────────────────────────── */
  .module { display: none; }
  .module.active { display: block; animation: fadeIn 0.3s ease; }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

  /* ── CARDS ──────────────────────────────── */
  .card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
  }

  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
  }

  .card.cyan::before { background: var(--cyan); }
  .card.green::before { background: var(--green); }
  .card.red::before { background: var(--red); }

  .card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #e2eaf2;
    margin-bottom: 10px;
  }

  .card p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

  /* ── STEPS ──────────────────────────────── */
  .steps { margin: 28px 0; }

  .step {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    position: relative;
  }

  .step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 36px;
    bottom: -8px;
    width: 1px;
    background: var(--border2);
  }

  .step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--surface3);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    margin-top: 2px;
    z-index: 1;
    transition: all 0.2s;
  }

  .step.done .step-num {
    background: var(--gold);
    color: #fff;
  }

  .step-body {
    flex: 1;
    padding-bottom: 24px;
  }

  .step-title {
    font-size: 15px;
    font-weight: 600;
    color: #dde8f2;
    margin-bottom: 5px;
  }

  .step-desc {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.65;
  }

  .step-mark {
    background: none;
    border: 1px solid var(--border2);
    color: var(--text-dim);
    font-size: 11px;
    
    padding: 4px 12px;
    border-radius: 2px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.15s;
    
  }

  .step-mark:hover { border-color: var(--gold); color: var(--gold); }
  .step.done .step-mark { border-color: var(--green); color: var(--green); }

  /* ── INFO BOXES ─────────────────────────── */
  .info-box {
    display: flex;
    gap: 14px;
    background: var(--gold-dim);
    border: 1px solid rgba(232,160,32,0.2);
    border-radius: 3px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 13.5px;
    color: #c8b480;
    line-height: 1.65;
  }

  .info-box.tip { background: var(--cyan-dim); border-color: rgba(61,214,200,0.2); color: #7ed8d2; }
  .info-box.warn { background: rgba(224,82,82,0.08); border-color: rgba(224,82,82,0.2); color: #c88080; }
  .info-box.success { background: var(--green-dim); border-color: rgba(77,201,138,0.2); color: #7ec8a0; }

  .info-box .ib-icon { font-size: 16px; margin-top: 1px; flex-shrink: 0; }

  /* ── TABLE ──────────────────────────────── */
  .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
  }

  .data-table thead tr {
    background: var(--surface3);
  }

  .data-table th {
    
    font-size: 10px;
    
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 11px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border2);
  }

  .data-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
  }

  .data-table tr:hover td { background: var(--surface3); }

  .badge {
    display: inline-block;
    
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    
  }

  .badge.enabled { background: var(--green-dim); color: var(--green); border: 1px solid #5e309d; }
  .badge.disabled { background: rgba(224,82,82,0.1); color: var(--red); border: 1px solid rgba(224,82,82,0.2); }
  .badge.label { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(232,160,32,0.2); }

  /* ── CODE BLOCK ─────────────────────────── */
  .code-block {
    background: #0f0818;
    border: 1px solid var(--border2);
    border-radius: 3px;
    padding: 16px 20px;
    font-size: 12px;
    color: #e3eff9;
    line-height: 1.7;
    margin: 14px 0;
    overflow-x: auto;
  }

  .code-block .kw { color: var(--gold); }
  .code-block .val { color: var(--cyan); }
  .code-block .cmt { color: var(--text-faint); font-style: italic; }

  /* ── QUIZ ───────────────────────────────── */
  .quiz-wrap {
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 4px;
    padding: 32px;
    margin: 28px 0;
  }

  .quiz-wrap h3 {
    
    font-size: 11px;
    
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }

  .quiz-q {
    font-size: 15px;
    font-weight: 500;
    color: #dde8f2;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .quiz-options { display: flex; flex-direction: column; gap: 10px; }

  .quiz-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
    color: var(--text-dim);
    background: #1f1232;
  }

  .quiz-opt:hover { border-color: #5e309d; color: var(--text); }
  .quiz-opt.correct {border-color: #77b255;
    background: #77b25520;
    color: #60c090; }
  .quiz-opt.wrong { border-color: #dc143c;
    background: #dc143c2b;
    color:#ff7a90; }

  .quiz-opt .opt-letter {
    
    font-size: 11px;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 1px solid var(--border2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
  }

  .quiz-result {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 3px;
    font-size: 13.5px;
    display: none;
  }

  .quiz-result.show { display: block; }
  .quiz-result.pass { background: #77b25520;
    border: 1px solid #77b255;
    color: #60c090; }
  .quiz-result.fail { background: #dc143c2b;
    border: 1px solid #dc143c;
    color: #ff7a90; }

  /* ── ACCORDION ──────────────────────────── */
  .accordion { margin: 20px 0; }

  .acc-item {
    border: 1px solid var(--border);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
  }

  .acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    background: var(--surface2);
    transition: background 0.15s;
    font-size: 14px;
    font-weight: 500;
    color: #d0dce8;
  }

  .acc-header:hover { background: var(--surface3); }

  .acc-header .acc-icon {
    font-size: 11px;
    color: var(--gold);
    transition: transform 0.2s;
  }

  .acc-item.open .acc-icon { transform: rotate(180deg); }

  .acc-body {
    display: none;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.7;
  }

  .acc-item.open .acc-body { display: block; }

  /* ── NAV BUTTONS ────────────────────────── */
  .module-nav {
    display: flex;
    gap: 12px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
  }

  .btn {
    
    font-size: 12px;
    
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
  }

  .btn-primary {
    background: var(--gold);
    color: #fff;
    font-weight: 600;
  }

  .btn-primary:hover { background: #883cf0e0; }

  .btn-ghost {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border2);
  }

  .btn-ghost:hover { border-color: var(--text-dim); color: var(--text); }

  /* ── GRID ───────────────────────────────── */
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }

  .feat-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px;
    transition: border-color 0.15s;
  }

  .feat-card:hover { border-color: var(--gold); }

  .feat-card .fc-icon { font-size: 22px; margin-bottom: 10px; }
  .feat-card h4 { font-size: 14px; font-weight: 600; color: #dde8f2; margin-bottom: 6px; }
  .feat-card p { font-size: 12.5px; color: var(--text-dim); line-height: 1.6; }

  /* ── SCROLLBAR ──────────────────────────── */
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }

  /* ── HERO INTRO ─────────────────────────── */
  .hero-strip {
    background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3) 100%);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px 36px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
  }

  .hero-strip::after {
    content: 'DELINEA';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 72px;
    font-weight: 700;
    color: rgba(155, 32, 232, 0.04);
    pointer-events: none;
    white-space: nowrap;
    
  }

  .hero-strip h2 {
    font-size: 22px;
    font-weight: 600;
    color: #edf2f8;
    margin-bottom: 8px;
  }

  .hero-strip p { color: var(--text-dim); font-size: 14px; max-width: 580px; }

  /* ── COMPLETION ─────────────────────────── */
  .completion-screen {
    text-align: center;
    padding: 60px 20px;
  }

  .completion-screen .cs-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }

  .completion-screen h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
  }

  .completion-screen p { color: var(--text-dim); max-width: 480px; margin: 0 auto; }

  /* ── TAG CHIPS ──────────────────────────── */
  .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
  .tag {
    
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 2px;
    background: var(--surface3);
    border: 1px solid var(--border2);
    color: var(--text-dim);
    
  }

@media(max-width:767px){
  .sidebar{
        display: none;
  }
}