/* =====================================================
   AYMNET Prim Sistemi - Yardım Merkezi Stil Dosyası
   ===================================================== */

:root {
    --sidebar-width: 280px;
    --topbar-height: 64px;
    --color-primary: #0f1b4c;
    --color-primary-light: #1a2f7a;
    --color-accent: #f4b400;
    --color-accent2: #00c4a0;
    --color-blue: #1565c0;
    --color-orange: #e65100;
    --color-green: #2e7d32;
    --color-purple: #6a1b9a;
    --color-teal: #00695c;
    --color-indigo: #283593;
    --color-red: #c62828;
    --color-gold: #f57f17;
    --color-bg: #f0f2f8;
    --color-card: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: #6b7280;
    --radius: 12px;
    --shadow: 0 2px 16px rgba(15,27,76,0.10);
    --shadow-lg: 0 8px 32px rgba(15,27,76,0.15);
    --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-bg);
}

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-height);
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.sidebar-toggle {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background var(--transition);
}
.sidebar-toggle:hover { background: rgba(255,255,255,0.22); }

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.topbar-logo {
    width: 40px; height: 40px;
    background: var(--color-accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(244,180,0,0.35);
}

.topbar-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
}
.topbar-sub {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.topbar-right { margin-left: auto; }

.badge-system {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* ── LAYOUT ─────────────────────────────────────────── */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: var(--topbar-height);
}

/* ── SIDEBAR ─────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    min-height: calc(100vh - var(--topbar-height));
    background: linear-gradient(180deg, var(--color-primary) 0%, #0a1230 100%);
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    z-index: 900;
    transition: transform var(--transition);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.sidebar-header {
    padding: 20px 20px 14px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-nav {
    flex: 1;
    padding: 8px 0;
}

.nav-divider {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 14px 20px 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    position: relative;
    border-left: 3px solid transparent;
}
.nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-left-color: var(--color-accent);
}
.nav-item.active {
    background: rgba(244,180,0,0.12);
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    font-weight: 600;
}

.nav-icon {
    width: 30px;
    text-align: center;
    font-size: 15px;
    flex-shrink: 0;
}
.nav-label { flex: 1; }

.nav-badge {
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.sidebar-footer {
    padding: 16px 20px;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
}

/* ── MAIN CONTENT ─────────────────────────────────────── */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: calc(100vh - var(--topbar-height));
    display: flex;
    flex-direction: column;
}

/* ── HERO SECTION ─────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #1565c0 0%, #0f1b4c 60%, #1a0a4e 100%);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: #fff;
}
.shape-1 { width: 360px; height: 360px; top: -100px; right: -60px; }
.shape-2 { width: 200px; height: 200px; bottom: -60px; right: 220px; }
.shape-3 { width: 120px; height: 120px; top: 40px; left: 40%; }

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-icon-wrap {
    width: 64px; height: 64px;
    background: rgba(244,180,0,0.18);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0 0 28px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 14px 0;
    display: inline-flex;
}
.hero-stat {
    text-align: center;
    padding: 0 28px;
}
.hero-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}
.hero-stat-lbl {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* ── MODULES SECTION ────────────────────────────────────── */
.modules-section {
    padding: 40px 40px 20px;
    flex: 1;
}

.section-title {
    margin-bottom: 28px;
}
.section-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 4px;
}
.section-title p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.module-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.module-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}
.module-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
    text-decoration: none;
}

.module-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: #fff;
}

.module-card-body { flex: 1; }
.module-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--color-primary);
}
.module-card-body p {
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.module-card-arrow {
    color: rgba(0,0,0,0.2);
    font-size: 12px;
    transition: all var(--transition);
}
.module-card:hover .module-card-arrow {
    transform: translateX(4px);
    color: rgba(0,0,0,0.5);
}

/* Color variants */
.color-blue::before, .color-blue .module-card-icon { background: var(--color-blue); }
.color-blue::before { background: var(--color-blue); }
.color-orange::before, .color-orange .module-card-icon { background: var(--color-orange); }
.color-green::before, .color-green .module-card-icon { background: var(--color-green); }
.color-purple::before, .color-purple .module-card-icon { background: var(--color-purple); }
.color-teal::before, .color-teal .module-card-icon { background: var(--color-teal); }
.color-indigo::before, .color-indigo .module-card-icon { background: var(--color-indigo); }
.color-red::before, .color-red .module-card-icon { background: var(--color-red); }
.color-gold::before, .color-gold .module-card-icon { background: var(--color-gold); }

/* ── INFO BANNER ───────────────────────────────────── */
.info-banner {
    margin: 0 40px 32px;
    background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
    border: 1px solid #bee3f8;
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.info-banner-icon {
    width: 44px; height: 44px;
    background: #1565c0;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}
.info-banner-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 6px;
}
.info-banner-body p {
    font-size: 13.5px;
    color: #4a5568;
    margin: 0;
    line-height: 1.65;
}

/* ── CONTENT PAGE LAYOUT ───────────────────────────── */
.content-header {
    padding: 36px 40px 28px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a2f7a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.content-header::after {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.ch-breadcrumb {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ch-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.ch-breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.ch-breadcrumb i { font-size: 10px; }

.ch-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.ch-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.ch-title-row h1 {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}
.content-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.65;
    max-width: 680px;
}

.ch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.ch-tag {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── PAGE BODY ─────────────────────────────────────── */
.page-body {
    padding: 32px 40px 40px;
    flex: 1;
}

/* ── INFO CARDS ──────────────────────────────────────── */
.info-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 4px solid transparent;
}
.info-card.ic-blue { border-top-color: var(--color-blue); }
.info-card.ic-orange { border-top-color: var(--color-orange); }
.info-card.ic-green { border-top-color: var(--color-green); }
.info-card.ic-purple { border-top-color: var(--color-purple); }
.info-card.ic-gold { border-top-color: var(--color-gold); }
.info-card.ic-red { border-top-color: var(--color-red); }

.ic-icon {
    font-size: 24px;
    margin-bottom: 4px;
}
.ic-blue .ic-icon { color: var(--color-blue); }
.ic-orange .ic-icon { color: var(--color-orange); }
.ic-green .ic-icon { color: var(--color-green); }
.ic-purple .ic-icon { color: var(--color-purple); }
.ic-gold .ic-icon { color: var(--color-gold); }
.ic-red .ic-icon { color: var(--color-red); }

.ic-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
}
.ic-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
}
.ic-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 2px;
}

/* ── CONTENT BLOCKS ──────────────────────────────────── */
.content-block {
    background: var(--color-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    overflow: hidden;
}
.cb-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f4;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cb-header-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}
.cb-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}
.cb-body { padding: 24px; }

/* ── STEP LIST ───────────────────────────────────────── */
.step-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    color: #fff;
}
.step-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 2px 0 4px;
}
.step-content p {
    font-size: 13.5px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* ── PAIRING DIAGRAM ───────────────────────────────── */
.pairing-diagram {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pair-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pair-person {
    flex: 1;
    min-width: 140px;
    background: #f8f9ff;
    border: 2px solid #dde1f0;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
}
.pair-person.winner {
    border-color: var(--color-green);
    background: #f0fdf4;
}
.pair-person .person-num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}
.pair-person .person-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2px;
}
.pair-person .person-package {
    font-size: 12px;
    color: var(--color-text-muted);
}
.pair-person .person-bonus {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-green);
    margin-top: 4px;
}

.pair-vs {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-align: center;
}

.pair-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--color-orange);
    font-size: 20px;
}
.pair-result {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: #fff;
    border-radius: 10px;
    padding: 12px 20px;
    text-align: center;
    min-width: 140px;
}
.pair-result .res-label {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.pair-result .res-value {
    font-size: 18px;
    font-weight: 800;
    margin-top: 2px;
}

.pair-group {
    background: #fafbff;
    border: 1px solid #e8eaf4;
    border-radius: 12px;
    padding: 20px;
}
.pair-group-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8eaf4;
}

/* ── RULE CARDS ─────────────────────────────────────── */
.rule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.rule-card {
    border-radius: 10px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.rule-card.rc-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
}
.rule-card.rc-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.rule-card.rc-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.rule-card.rc-danger {
    background: #fff1f2;
    border: 1px solid #fecaca;
}

.rule-card-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.rc-warning .rule-card-icon { color: #d97706; }
.rc-info .rule-card-icon { color: #2563eb; }
.rc-success .rule-card-icon { color: #16a34a; }
.rc-danger .rule-card-icon { color: #dc2626; }

.rule-card h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px;
}
.rc-warning h4 { color: #92400e; }
.rc-info h4 { color: #1e40af; }
.rc-success h4 { color: #166534; }
.rc-danger h4 { color: #991b1b; }

.rule-card p {
    font-size: 12.5px;
    margin: 0;
    line-height: 1.55;
}
.rc-warning p { color: #78350f; }
.rc-info p { color: #1e3a8a; }
.rc-success p { color: #14532d; }
.rc-danger p { color: #7f1d1d; }

/* ── EXAMPLE TABLE ───────────────────────────────────── */
.example-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.example-table th {
    background: var(--color-primary);
    color: rgba(255,255,255,0.9);
    padding: 11px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
}
.example-table th:first-child { border-radius: 8px 0 0 0; }
.example-table th:last-child { border-radius: 0 8px 0 0; text-align: right; }
.example-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #f0f2f8;
    color: var(--color-text);
    vertical-align: middle;
}
.example-table td:last-child { text-align: right; font-weight: 700; }
.example-table tr:nth-child(even) td { background: #f8f9ff; }
.example-table tr:hover td { background: #eef2ff; }
.example-table tfoot td {
    background: #f0f4ff;
    font-weight: 700;
    color: var(--color-primary);
    border-top: 2px solid #c7d2fe;
    border-bottom: none;
}
.example-table tfoot td:last-child {
    color: var(--color-green);
    font-size: 15px;
}

.pair-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(21,101,192,0.1);
    color: var(--color-blue);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
}

.kazanc-cell { color: var(--color-green); }
.no-kazanc-cell { color: var(--color-text-muted); font-style: italic; font-weight: 400; }

/* ── TIMELINE ────────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 28px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 9px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-blue), var(--color-accent));
}
.tl-item {
    position: relative;
    margin-bottom: 20px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
    position: absolute;
    left: -23px; top: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--color-blue);
    background: var(--color-blue);
}
.tl-dot.done { background: var(--color-green); box-shadow: 0 0 0 2px var(--color-green); }
.tl-dot.warn { background: var(--color-orange); box-shadow: 0 0 0 2px var(--color-orange); }

.tl-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 4px;
}
.tl-content p {
    font-size: 13px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* ── ALERT BOXES ─────────────────────────────────────── */
.alert-box {
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.alert-box.ab-info { background: #eff6ff; border: 1px solid #bfdbfe; }
.alert-box.ab-warning { background: #fffbeb; border: 1px solid #fde68a; }
.alert-box.ab-success { background: #f0fdf4; border: 1px solid #bbf7d0; }

.ab-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.ab-info .ab-icon { color: #2563eb; }
.ab-warning .ab-icon { color: #d97706; }
.ab-success .ab-icon { color: #16a34a; }

.ab-body h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.ab-info .ab-body h4 { color: #1e40af; }
.ab-warning .ab-body h4 { color: #92400e; }
.ab-success .ab-body h4 { color: #166534; }

.ab-body p { font-size: 13px; margin: 0; line-height: 1.6; }
.ab-info .ab-body p { color: #1e3a8a; }
.ab-warning .ab-body p { color: #78350f; }
.ab-success .ab-body p { color: #14532d; }

/* ── ADIM CARDS (Step-by-step visual) ────────────────── */
.adim-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8eaf4;
    box-shadow: 0 2px 10px rgba(15,27,76,0.07);
    margin-bottom: 18px;
    overflow: hidden;
}
.adim-header {
    padding: 18px 24px 14px;
    border-left: 5px solid transparent;
}
.adim-header.ac-green  { border-left-color: #2e7d32; background: linear-gradient(to right, #f0fdf4, #fff); }
.adim-header.ac-red    { border-left-color: #c62828; background: linear-gradient(to right, #fff1f2, #fff); }
.adim-header.ac-blue   { border-left-color: #1565c0; background: linear-gradient(to right, #eff6ff, #fff); }
.adim-header.ac-purple { border-left-color: #6a1b9a; background: linear-gradient(to right, #faf5ff, #fff); }
.adim-header.ac-orange { border-left-color: #e65100; background: linear-gradient(to right, #fff8f0, #fff); }
.adim-header.ac-teal   { border-left-color: #00695c; background: linear-gradient(to right, #f0fdfa, #fff); }

.adim-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.adim-header.ac-green  .adim-label { color: #2e7d32; }
.adim-header.ac-red    .adim-label { color: #c62828; }
.adim-header.ac-blue   .adim-label { color: #1565c0; }
.adim-header.ac-purple .adim-label { color: #6a1b9a; }
.adim-header.ac-orange .adim-label { color: #e65100; }
.adim-header.ac-teal   .adim-label { color: #00695c; }

.adim-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f1b4c;
    margin: 0 0 4px;
    line-height: 1.2;
}
.adim-title .hl-green  { color: #2e7d32; }
.adim-title .hl-red    { color: #c62828; }
.adim-title .hl-blue   { color: #1565c0; }
.adim-title .hl-purple { color: #6a1b9a; }
.adim-title .hl-orange { color: #e65100; }

.adim-desc {
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.65;
    margin: 0;
}

.adim-body {
    padding: 20px 24px 24px;
}

/* ── CALC FLOW (formula boxes) ───────────────────────── */
.calc-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.calc-box {
    min-width: 100px;
    border-radius: 10px;
    border: 2px solid transparent;
    padding: 12px 14px;
    text-align: center;
    flex-shrink: 0;
}
.calc-box .cb-month {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.75;
}
.calc-box .cb-val {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 3px;
}
.calc-box .cb-unit {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    opacity: 0.65;
    text-transform: uppercase;
}
.calc-box .cb-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.calc-box .cb-sub {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 3px;
}

/* Colors */
.cb-green  { background: #f0fdf4; border-color: #86efac; color: #166534; }
.cb-green-solid { background: #2e7d32; border-color: #2e7d32; color: #fff; }
.cb-red    { background: #fff1f2; border-color: #fca5a5; color: #991b1b; }
.cb-red-solid { background: #c62828; border-color: #c62828; color: #fff; }
.cb-blue   { background: #eff6ff; border-color: #93c5fd; color: #1e40af; }
.cb-blue-solid { background: #1565c0; border-color: #1565c0; color: #fff; }
.cb-orange { background: #fff8f0; border-color: #fdba74; color: #9a3412; }
.cb-orange-solid { background: #e65100; border-color: #e65100; color: #fff; }
.cb-purple { background: #faf5ff; border-color: #c4b5fd; color: #5b21b6; }
.cb-purple-solid { background: #6a1b9a; border-color: #6a1b9a; color: #fff; }
.cb-grey   { background: #f3f4f6; border-color: #d1d5db; color: #4b5563; }
.cb-teal   { background: #f0fdfa; border-color: #5eead4; color: #115e59; }
.cb-teal-solid { background: #00695c; border-color: #00695c; color: #fff; }

.calc-op {
    font-size: 26px;
    font-weight: 700;
    color: #9ca3af;
    flex-shrink: 0;
    line-height: 1;
    padding: 0 2px;
}

/* ── VS COMPARISON ───────────────────────────────────── */
.vs-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.vs-label {
    font-size: 15px;
    font-weight: 800;
    color: #6b7280;
    padding: 0 6px;
    flex-shrink: 0;
}
.vs-arrow {
    font-size: 22px;
    color: #6366f1;
    flex-shrink: 0;
}

.vs-badge {
    display: inline-block;
    background: #c62828;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-top: 5px;
}
.vs-badge.vb-green { background: #2e7d32; }
.vs-badge.vb-grey  { background: #6b7280; }

/* ── DECISION / SCENARIO ─────────────────────────────── */
.decision-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 14px;
    overflow: hidden;
    opacity: 1;
    transition: all 0.2s;
}
.decision-card.dc-inactive { opacity: 0.55; }

.dc-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f4;
}
.dc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.dc-badge.db-success { background: #2e7d32; color: #fff; }
.dc-badge.db-muted   { background: #e5e7eb; color: #6b7280; border: 1px solid #d1d5db; }
.dc-badge.db-info    { background: #1565c0; color: #fff; }

.dc-badge-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f1b4c;
}
.decision-card.dc-inactive .dc-badge-title { color: #9ca3af; }

.dc-body {
    padding: 16px 20px 18px;
    background: #fafbff;
}
.decision-card.dc-inactive .dc-body { background: #f9fafb; }
.dc-what {
    font-size: 13.5px;
    color: #374151;
    line-height: 1.65;
    margin-bottom: 14px;
}
.dc-formula {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
}
.decision-card.dc-inactive .dc-formula { background: #f3f4f6; }
.dc-formula-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 6px;
}
.dc-formula-line {
    font-size: 14.5px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.dc-formula-line .fw { font-weight: 700; }
.dc-formula-line .fv { font-weight: 800; font-size: 16px; }
.dc-formula-line .fv.fv-green  { color: #2e7d32; }
.dc-formula-line .fv.fv-blue   { color: #1565c0; }
.dc-formula-line .fv.fv-orange { color: #e65100; }
.dc-formula-line .fv.fv-grey   { color: #9ca3af; }

/* ── RESULT BANNER ───────────────────────────────────── */
.result-banner {
    border-radius: 14px;
    padding: 28px 32px;
    text-align: center;
    margin-top: 20px;
    color: #fff;
}
.result-banner.rb-green  { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.result-banner.rb-blue   { background: linear-gradient(135deg, #0d47a1, #1565c0); }
.result-banner.rb-orange { background: linear-gradient(135deg, #bf360c, #e65100); }

.rb-scenario-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.rb-desc {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 12px;
}
.rb-value {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}
.rb-unit {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── DECISION BOX (karar noktası) ────────────────────── */
.karar-box {
    border-radius: 12px;
    border: 2px solid;
    padding: 18px 22px;
    margin: 16px 0;
}
.karar-box.kb-orange {
    border-color: #fdba74;
    background: linear-gradient(to bottom right, #fff8f0, #fff);
}
.karar-box .kb-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e65100;
    margin-bottom: 4px;
}
.karar-box .kb-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f1b4c;
    margin-bottom: 8px;
    line-height: 1.3;
}
.karar-box .kb-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
    line-height: 1.6;
}
.karar-compare {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.karar-result-box {
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.45;
    flex: 1;
    min-width: 240px;
}
.karar-result-box.krb-green  { background: #2e7d32; color: #fff; }
.karar-result-box.krb-red    { background: #c62828; color: #fff; }
.karar-result-box.krb-orange { background: linear-gradient(135deg,#bf360c,#e65100); color: #fff; }

/* ── COMING SOON ─────────────────────────────────────── */
.coming-soon-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 60px 40px;
    color: var(--color-text-muted);
}
.coming-soon-page .cs-icon {
    font-size: 60px;
    color: #d1d5db;
    margin-bottom: 24px;
}
.coming-soon-page h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.coming-soon-page p {
    font-size: 14px;
    max-width: 380px;
    line-height: 1.65;
}

/* ── FOOTER ──────────────────────────────────────────── */
.page-footer {
    padding: 20px 40px;
    font-size: 12px;
    color: var(--color-text-muted);
    border-top: 1px solid #e8eaf4;
    text-align: center;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .sidebar-toggle {
        display: flex;
    }
    .hero-section { padding: 32px 24px; }
    .hero-content h1 { font-size: 24px; }
    .hero-stats { flex-direction: column; gap: 8px; }
    .hero-stat-divider { width: 60px; height: 1px; }
    .modules-section { padding: 24px; }
    .page-body { padding: 20px 24px; }
    .content-header { padding: 24px; }
    .module-grid { grid-template-columns: 1fr; }
    .info-banner { margin: 0 24px 24px; flex-direction: column; }
    .page-footer { padding: 16px 24px; }
    .badge-system { display: none; }
}

@media (max-width: 480px) {
    .hero-stats { display: none; }
}
