/* ================================================================
   BAKALAVR QABUL SAHIFASI  —  /user/css/bakalavr.css
   ================================================================ */

:root {
    --primary:   #1566B7;
    --primary-d: #0d47a1;
    --gold:      #FFD54F;
    --gold-d:    #F9A825;
    --text:      #2c3e50;
    --muted:     #5f738c;
    --light-bg:  #f8faff;
    --border:    #e5efff;
    --dark-bg:   #0e1a2b;
}

/* ══════════════════════════════════════════
   FULL HEADER (index sahifa)
══════════════════════════════════════════ */
.bak-header {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 100%);
    padding: 56px 0 52px;
    position: relative;
    overflow: hidden;
}

.bak-header-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.bak-orb-1 { width: 420px; height: 420px; left: -130px; bottom: -130px; background: rgba(255,255,255,0.05); }
.bak-orb-2 { width: 520px; height: 520px; right: -160px; top: -160px;  background: rgba(255,255,255,0.04); }
.bak-orb-3 { width: 160px; height: 160px; right: 22%; top: 22%; background: rgba(255,255,255,0.03); }

/* Diagonal accent — shu sahifada yangi */
.bak-header-diagonal {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 44%;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
    background: rgba(255,255,255,0.025);
    pointer-events: none;
}
.bak-header-inner { position: relative; z-index: 2; }

/* Breadcrumb */
.bak-header .breadcrumb,
.bak-mini-header .breadcrumb {
    background: none; padding: 0; margin-bottom: 20px;
}
.bak-header .breadcrumb-item,
.bak-header .breadcrumb-item a,
.bak-mini-header .breadcrumb-item,
.bak-mini-header .breadcrumb-item a {
    color: rgba(255,255,255,0.6); font-size: 13px;
    text-decoration: none; font-family: sans-serif;
}
.bak-header .breadcrumb-item a:hover,
.bak-mini-header .breadcrumb-item a:hover { color: var(--gold); }
.bak-header .breadcrumb-item.active,
.bak-mini-header .breadcrumb-item.active { color: #fff; }
.bak-header .breadcrumb-item + .breadcrumb-item::before,
.bak-mini-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* Header tag */
.bak-header-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold); background: rgba(255,213,79,0.12);
    border: 1px solid rgba(255,213,79,0.25);
    padding: 5px 16px; border-radius: 20px; margin-bottom: 16px;
}

/* H1 */
.bak-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px); font-weight: 900;
    color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.bak-header h1 em { font-style: italic; color: var(--gold); }

.bak-header-sub {
    font-family: sans-serif; font-size: 15px; font-weight: 300;
    color: rgba(255,255,255,0.65); max-width: 480px;
    line-height: 1.7; margin-bottom: 28px;
}

/* Header 2-kolonna */
.bak-header-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

/* ── COUNTDOWN (yangi element) ── */
.bak-countdown-wrap {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}
.bak-countdown-label {
    font-family: sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    display: flex; align-items: center; gap: 6px;
}
.bak-countdown {
    display: flex; align-items: center; gap: 6px;
}
.bak-cd-unit {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 56px;
    backdrop-filter: blur(6px);
}
.bak-cd-num {
    font-family: 'Playfair Display', serif;
    font-size: 28px; font-weight: 900;
    color: #fff; line-height: 1;
    letter-spacing: -0.02em;
}
.bak-cd-label {
    font-family: sans-serif; font-size: 9px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.5); margin-top: 3px;
}
.bak-cd-sep {
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 900;
    color: rgba(255,255,255,0.35);
    margin-bottom: 14px;
}

/* ── STEPS CARD (yangi element) ── */
.bak-steps-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 24px 22px;
    backdrop-filter: blur(10px);
}
.bak-steps-title {
    font-family: sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold);
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
}
.bak-steps {
    display: flex; flex-direction: column;
}
.bak-step {
    display: flex; align-items: center; gap: 14px;
}
.bak-step-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gold); color: var(--dark-bg);
    font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bak-step-name {
    font-family: sans-serif; font-size: 13px; font-weight: 600;
    color: #fff;
}
.bak-step-date {
    font-family: sans-serif; font-size: 11px;
    color: rgba(255,255,255,0.5); margin-top: 2px;
}
.bak-step-line {
    width: 2px; height: 18px;
    background: rgba(255,255,255,0.15);
    margin-left: 15px;
}

body.dark .bak-header { background: linear-gradient(135deg, #060c18 0%, #0a1628 100%); }

/* ══════════════════════════════════════════
   MINI HEADER (ichki sahifalar)
══════════════════════════════════════════ */
.bak-mini-header {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 100%);
    padding: 44px 0 36px;
    position: relative;
    overflow: hidden;
}
.bak-mini-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 40px); font-weight: 900;
    color: #fff; line-height: 1.2; margin-bottom: 8px;
}
.bak-mini-title em { font-style: italic; color: var(--gold); }
.bak-mini-sub {
    font-family: sans-serif; font-size: 14px; font-weight: 300;
    color: rgba(255,255,255,0.6); max-width: 500px; line-height: 1.6;
}
body.dark .bak-mini-header { background: linear-gradient(135deg, #060c18 0%, #0a1628 100%); }

/* ══════════════════════════════════════════
   SECTION
══════════════════════════════════════════ */
.bak-section { padding: 60px 0 88px; }
body.dark .bak-section { background: #0a1525; }

/* ══════════════════════════════════════════
   SECTION HEAD (index)
══════════════════════════════════════════ */
.bak-section-head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 36px;
}
.bak-section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 700; color: var(--dark-bg);
    white-space: nowrap; margin: 0;
}
body.dark .bak-section-head h2 { color: #e2e8f0; }
.bak-section-line {
    flex: 1; height: 1px; background: var(--border);
}
body.dark .bak-section-line { background: rgba(255,255,255,0.08); }

/* ══════════════════════════════════════════
   NAV GRID (index — yangi karta stili)
══════════════════════════════════════════ */
.bak-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.bak-nav-card {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; text-decoration: none; color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.25s;
    /* reveal start */
    opacity: 0; transform: translateY(18px);
}
.bak-nav-card.bak-visible {
    opacity: 1; transform: translateY(0);
}
.bak-nav-card:hover {
    box-shadow: 0 8px 28px rgba(21,102,183,0.12);
    border-color: rgba(21,102,183,0.3);
    transform: translateY(-3px) !important;
}
body.dark .bak-nav-card { background: #1a2740; border-color: rgba(255,255,255,0.07); }

.bak-nav-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(21,102,183,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 20px; flex-shrink: 0;
    transition: background 0.2s;
}
.bak-nav-card:hover .bak-nav-icon {
    background: rgba(21,102,183,0.16);
}
.bak-nav-body { flex: 1; min-width: 0; }
.bak-nav-name {
    font-family: sans-serif; font-size: 14px; font-weight: 700;
    color: var(--text); margin-bottom: 3px;
}
.bak-nav-desc {
    font-family: sans-serif; font-size: 12px; color: var(--muted);
    line-height: 1.4;
}
body.dark .bak-nav-name { color: #e2e8f0; }
.bak-nav-arrow {
    color: var(--border); font-size: 13px; flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.bak-nav-card:hover .bak-nav-arrow { color: var(--primary); transform: translateX(4px); }

/* Stagger animation delays */
.bak-nav-card:nth-child(1)  { transition-delay: 0.05s; }
.bak-nav-card:nth-child(2)  { transition-delay: 0.10s; }
.bak-nav-card:nth-child(3)  { transition-delay: 0.15s; }
.bak-nav-card:nth-child(4)  { transition-delay: 0.20s; }
.bak-nav-card:nth-child(5)  { transition-delay: 0.25s; }
.bak-nav-card:nth-child(6)  { transition-delay: 0.30s; }
.bak-nav-card:nth-child(7)  { transition-delay: 0.35s; }
.bak-nav-card:nth-child(8)  { transition-delay: 0.40s; }

/* ══════════════════════════════════════════
   INNER LAYOUT (ichki sahifalar)
══════════════════════════════════════════ */
.bak-inner-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── Sidebar ── */
.bak-sidebar { position: sticky; top: 90px; }
.bak-sidebar-title {
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 8px;
    display: flex; align-items: center; gap: 6px;
}
.bak-sidenav { display: flex; flex-direction: column; gap: 3px; }
.bak-sidelink {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 11px;
    font-family: sans-serif; font-size: 13px; font-weight: 500;
    color: var(--muted); text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bak-sidelink i { width: 16px; text-align: center; font-size: 13px; flex-shrink: 0; }
.bak-sidelink:hover { background: var(--light-bg); color: var(--primary); border-color: var(--border); }
.bak-sidelink.active {
    background: rgba(21,102,183,0.08); color: var(--primary);
    border-color: rgba(21,102,183,0.2); font-weight: 600;
}
body.dark .bak-sidelink { color: #94a3b8; }
body.dark .bak-sidelink:hover  { background: rgba(255,255,255,0.05); color: #e2e8f0; }
body.dark .bak-sidelink.active { background: rgba(21,102,183,0.2); color: #90caf9; }

/* ── Content card ── */
.bak-content-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 20px; padding: 32px 32px 28px;
}
body.dark .bak-content-card { background: #1a2740; border-color: rgba(255,255,255,0.07); }

.bak-content-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.8px; text-transform: uppercase;
    color: var(--primary); background: rgba(21,102,183,0.08);
    border: 1px solid rgba(21,102,183,0.15);
    padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.bak-content-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px; font-weight: 700; color: var(--dark-bg);
    line-height: 1.4; margin-bottom: 24px;
}
body.dark .bak-content-title { color: #e2e8f0; }

/* ══════════════════════════════════════════
   PDF VIEWER
══════════════════════════════════════════ */
.bak-pdf-wrap {
    border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; margin-bottom: 24px;
}
body.dark .bak-pdf-wrap { border-color: rgba(255,255,255,0.08); }
.bak-pdf-header {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    background: var(--light-bg); border-bottom: 1px solid var(--border);
    font-family: sans-serif; font-size: 13px; font-weight: 600; color: var(--text);
}
body.dark .bak-pdf-header { background: #111e33; border-color: rgba(255,255,255,0.07); color: #e2e8f0; }
.bak-pdf-header i { color: #e53935; font-size: 16px; }
.bak-pdf-download {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: sans-serif; font-size: 12px; font-weight: 600;
    color: var(--primary); text-decoration: none;
    background: rgba(21,102,183,0.08); border: 1px solid rgba(21,102,183,0.15);
    padding: 5px 12px; border-radius: 8px;
    transition: background 0.2s;
}
.bak-pdf-download:hover { background: rgba(21,102,183,0.16); color: var(--primary); }
.bak-pdf-iframe { width: 100%; height: 800px; display: block; border: none; }

/* ══════════════════════════════════════════
   QR
══════════════════════════════════════════ */
.bak-qr-row { margin-bottom: 24px; }
.bak-qr-card {
    display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
    background: var(--light-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 18px 24px;
}
body.dark .bak-qr-card { background: #111e33; border-color: rgba(255,255,255,0.07); }
.bak-qr-img { width: 180px; height: 180px; object-fit: contain; border-radius: 8px; }
.bak-qr-label {
    font-family: sans-serif; font-size: 12px; color: var(--muted);
    text-align: center;
}

/* ══════════════════════════════════════════
   IMAGE GRID
══════════════════════════════════════════ */
.bak-img-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.bak-img-wrap {
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border);
}
.bak-img-wrap img {
    width: 100%;
    object-fit: cover;
    display: block; transition: transform 0.4s;
}

/* ══════════════════════════════════════════
   VIDEO
══════════════════════════════════════════ */
.bak-video-wrap {
    border-radius: 14px; overflow: hidden;
    border: 1px solid var(--border);
}
body.dark .bak-video-wrap { border-color: rgba(255,255,255,0.08); }
.bak-video-label {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: var(--light-bg); border-bottom: 1px solid var(--border);
    font-family: sans-serif; font-size: 13px; font-weight: 600; color: var(--text);
}
body.dark .bak-video-label { background: #111e33; border-color: rgba(255,255,255,0.07); color: #e2e8f0; }
.bak-video-label i { color: var(--primary); }
.bak-video { width: 100%; display: block; background: #000; }

/* ══════════════════════════════════════════
   HUJJATLAR RO'YXATI
══════════════════════════════════════════ */
.bak-alert {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(21,102,183,0.05);
    border: 1px solid rgba(21,102,183,0.15);
    border-left: 4px solid var(--primary);
    border-radius: 12px; padding: 14px 16px;
    margin-bottom: 24px;
}
.bak-alert i { color: var(--primary); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.bak-alert p { font-family: sans-serif; font-size: 14px; color: var(--text); margin: 0; line-height: 1.6; font-weight: 500; }
body.dark .bak-alert { background: rgba(21,102,183,0.1); border-color: rgba(21,102,183,0.3); }
body.dark .bak-alert p { color: #cbd5e1; }

.bak-doc-list { display: flex; flex-direction: column; gap: 8px; }
.bak-doc-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 16px 18px;
    background: var(--light-bg); border: 1px solid var(--border);
    border-radius: 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.bak-doc-item:hover {
    box-shadow: 0 4px 16px rgba(21,102,183,0.08);
    border-color: rgba(21,102,183,0.2);
}
body.dark .bak-doc-item { background: #111e33; border-color: rgba(255,255,255,0.07); }
.bak-doc-item-important {
    background: rgba(255,213,79,0.06);
    border-color: rgba(255,213,79,0.3);
}
body.dark .bak-doc-item-important { background: rgba(255,213,79,0.05); border-color: rgba(255,213,79,0.2); }

.bak-doc-num {
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(21,102,183,0.1);
    color: var(--primary); font-family: 'Playfair Display', serif;
    font-size: 14px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bak-doc-num-gold { background: rgba(255,213,79,0.2); color: var(--gold-d); }

.bak-doc-body { flex: 1; }
.bak-doc-name {
    font-family: sans-serif; font-size: 13px; font-weight: 700;
    color: var(--text); margin-bottom: 3px;
}
.bak-doc-desc {
    font-family: sans-serif; font-size: 13px; color: var(--muted); line-height: 1.5;
}
body.dark .bak-doc-name { color: #e2e8f0; }

.bak-doc-check {
    color: #4caf50; font-size: 14px; flex-shrink: 0; margin-top: 3px;
}
.bak-doc-check-gold { color: var(--gold-d); }

/* ══════════════════════════════════════════
   CONTACT GRID
══════════════════════════════════════════ */
.bak-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.bak-contact-card {
    background: var(--light-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 20px 18px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.bak-contact-card:hover { box-shadow: 0 6px 20px rgba(21,102,183,0.1); border-color: rgba(21,102,183,0.25); }
body.dark .bak-contact-card { background: #111e33; border-color: rgba(255,255,255,0.07); }
.bak-contact-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(21,102,183,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 18px; margin-bottom: 12px;
}
.bak-contact-icon-gold { background: rgba(255,213,79,0.15); color: var(--gold-d); }
.bak-contact-label {
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
}
.bak-contact-val {
    font-family: sans-serif; font-size: 13px; font-weight: 600;
    color: var(--text); display: block; margin-bottom: 3px; line-height: 1.5;
}
.bak-contact-sub { font-family: sans-serif; font-size: 12px; color: var(--muted); margin-top: 4px; }
.bak-contact-link { text-decoration: none; transition: color 0.2s; }
.bak-contact-link:hover { color: var(--primary); }
.bak-contact-gold { color: var(--gold-d) !important; }
body.dark .bak-contact-val { color: #e2e8f0; }

/* ── MAP ── */
.bak-map-wrap {
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
body.dark .bak-map-wrap { border-color: rgba(255,255,255,0.08); }
.bak-map-label {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: var(--light-bg); border-bottom: 1px solid var(--border);
    font-family: sans-serif; font-size: 13px; font-weight: 600; color: var(--text);
}
body.dark .bak-map-label { background: #111e33; border-color: rgba(255,255,255,0.07); color: #e2e8f0; }
.bak-map-label i { color: var(--primary); }
.bak-map-iframe { width: 100%; height: 400px; display: block; border: none; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bak-header-content { grid-template-columns: 1fr; }
    .bak-steps-card { display: none; }
}
@media (max-width: 992px) {
    .bak-inner-layout { grid-template-columns: 1fr; }
    .bak-sidebar { position: static; }
    .bak-sidenav { flex-direction: row; flex-wrap: wrap; }
    .bak-sidelink { flex: 1; min-width: 140px; }
    .bak-nav-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .bak-section { padding: 40px 0 64px; }
    .bak-img-grid { grid-template-columns: 1fr; }
    .bak-contact-grid { grid-template-columns: 1fr; }
    .bak-content-card { padding: 22px 18px; }
    .bak-pdf-iframe { height: 380px; }
    .bak-cd-num { font-size: 22px; }
    .bak-cd-unit { min-width: 44px; padding: 8px 10px; }
}
@media (max-width: 480px) {
    .bak-header h1, .bak-mini-title { font-size: 28px; }
    .bak-nav-name { font-size: 13px; }
}

/* ================================================================
   ESLATMA SAHIFASI — Info blocks, Rules, External links
   ================================================================ */

/* Info blocks */
.bak-info-blocks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }

.bak-info-block {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 16px 18px;
    border-radius: 14px; border: 1px solid;
}
.bak-ib-blue {
    background: rgba(21,102,183,0.04);
    border-color: rgba(21,102,183,0.15);
}
.bak-ib-gold {
    background: rgba(255,213,79,0.06);
    border-color: rgba(255,213,79,0.3);
}
body.dark .bak-ib-blue { background: rgba(21,102,183,0.1); border-color: rgba(21,102,183,0.25); }
body.dark .bak-ib-gold { background: rgba(255,213,79,0.05); border-color: rgba(255,213,79,0.2); }

.bak-ib-icon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.bak-ib-blue .bak-ib-icon { background: rgba(21,102,183,0.1); color: var(--primary); }
.bak-ib-gold .bak-ib-icon { background: rgba(255,213,79,0.2); color: var(--gold-d); }

.bak-ib-title {
    font-family: sans-serif; font-size: 13px; font-weight: 700;
    color: var(--text); margin-bottom: 4px;
}
.bak-ib-text {
    font-family: sans-serif; font-size: 13px; color: var(--muted);
    line-height: 1.6; margin: 0;
}
body.dark .bak-ib-title { color: #e2e8f0; }

/* Score table */
.bak-score-table-wrap { margin-bottom: 28px; }
.bak-score-table-title {
    font-family: sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 8px;
}
.bak-score-table {
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
body.dark .bak-score-table { border-color: rgba(255,255,255,0.08); }
.bak-score-header {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--primary); color: #fff;
    font-family: sans-serif; font-size: 12px; font-weight: 700;
    padding: 10px 16px; gap: 8px;
}
.bak-score-group-label {
    background: rgba(21,102,183,0.07);
    font-family: sans-serif; font-size: 11px; font-weight: 700;
    color: var(--primary); padding: 8px 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.5px;
}
body.dark .bak-score-group-label {
    background: rgba(21,102,183,0.15); border-color: rgba(255,255,255,0.07);
}
.bak-score-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 10px 16px; gap: 8px;
    font-family: sans-serif; font-size: 13px; color: var(--text);
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background 0.15s;
}
.bak-score-row:hover { background: var(--light-bg); }
body.dark .bak-score-row {
    color: #cbd5e1; border-color: rgba(255,255,255,0.06);
}
body.dark .bak-score-row:hover { background: rgba(255,255,255,0.03); }
.bak-score-ball {
    font-family: 'Playfair Display', serif; font-weight: 700;
    color: var(--primary); font-size: 14px;
}
.bak-score-subtotal {
    background: rgba(21,102,183,0.04); font-weight: 600;
}
.bak-score-total {
    background: rgba(21,102,183,0.08); font-weight: 700;
    border-bottom: none;
}
.bak-score-ball-gold { color: var(--gold-d) !important; font-size: 16px; }

/* Rules */
.bak-rules-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.bak-rule-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 16px; border-radius: 12px;
    background: var(--light-bg); border: 1px solid var(--border);
}
body.dark .bak-rule-item { background: #111e33; border-color: rgba(255,255,255,0.07); }
.bak-rule-icon {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.bak-rule-ok   { background: rgba(76,175,80,0.1);  color: #4caf50; }
.bak-rule-warn { background: rgba(255,152,0,0.1);  color: #f57c00; }
.bak-rule-ban  { background: rgba(229,57,53,0.1);  color: #e53935; }
.bak-rule-text {
    font-family: sans-serif; font-size: 13px; color: var(--text);
    line-height: 1.6; margin: 0;
}
body.dark .bak-rule-text { color: #cbd5e1; }

/* External links */
.bak-ext-links { display: flex; flex-direction: column; gap: 8px; }
.bak-ext-link {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-radius: 14px;
    background: var(--light-bg); border: 1px solid var(--border);
    text-decoration: none; color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.bak-ext-link:hover {
    box-shadow: 0 4px 16px rgba(21,102,183,0.1);
    border-color: rgba(21,102,183,0.25);
}
body.dark .bak-ext-link { background: #111e33; border-color: rgba(255,255,255,0.07); }
.bak-ext-icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.bak-ext-yt  { background: rgba(255,0,0,0.1);     color: #f00; }
.bak-ext-tg  { background: rgba(0,136,204,0.1);   color: #0088cc; }
.bak-ext-web { background: rgba(21,102,183,0.1);  color: var(--primary); }
.bak-ext-body { flex: 1; min-width: 0; }
.bak-ext-title {
    font-family: sans-serif; font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 2px;
}
.bak-ext-src { font-family: sans-serif; font-size: 11px; color: var(--muted); }
body.dark .bak-ext-title { color: #e2e8f0; }
.bak-ext-arrow { color: var(--border); font-size: 12px; flex-shrink: 0; transition: color 0.2s; }
.bak-ext-link:hover .bak-ext-arrow { color: var(--primary); }

/* ================================================================
   NIZOMLAR SAHIFASI — Law list
   ================================================================ */
.bak-law-list { display: flex; flex-direction: column; gap: 10px; }
.bak-law-item {
    padding: 16px 18px;
    background: var(--light-bg); border: 1px solid var(--border);
    border-radius: 14px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.bak-law-item:hover {
    box-shadow: 0 4px 16px rgba(21,102,183,0.09);
    border-color: rgba(21,102,183,0.22);
}
body.dark .bak-law-item { background: #111e33; border-color: rgba(255,255,255,0.07); }
.bak-law-meta {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.bak-law-code {
    font-family: 'Playfair Display', serif; font-size: 12px; font-weight: 700;
    color: var(--primary); background: rgba(21,102,183,0.08);
    border: 1px solid rgba(21,102,183,0.18);
    padding: 2px 10px; border-radius: 6px;
}
.bak-law-date {
    font-family: sans-serif; font-size: 11px; color: var(--muted);
}
.bak-law-title {
    font-family: sans-serif; font-size: 13px; color: var(--text);
    line-height: 1.6; margin: 0 0 10px;
}
body.dark .bak-law-title { color: #cbd5e1; }
.bak-law-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.bak-law-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: sans-serif; font-size: 12px; font-weight: 600;
    color: var(--primary); text-decoration: none;
    background: rgba(21,102,183,0.07); border: 1px solid rgba(21,102,183,0.18);
    padding: 5px 14px; border-radius: 8px;
    transition: background 0.2s;
}
.bak-law-link:hover { background: rgba(21,102,183,0.15); color: var(--primary); }

/* ================================================================
   FANLAR SAHIFASI — Search + Table
   ================================================================ */
.bak-search-wrap {
    position: relative; margin-bottom: 16px;
}
.bak-search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 14px; pointer-events: none;
}
.bak-search-input {
    width: 100%; padding: 11px 14px 11px 40px;
    font-family: sans-serif; font-size: 13px;
    border: 1px solid var(--border); border-radius: 12px;
    background: var(--light-bg); color: var(--text);
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.bak-search-input:focus {
    border-color: rgba(21,102,183,0.4);
    box-shadow: 0 0 0 3px rgba(21,102,183,0.08);
}
body.dark .bak-search-input { background: #111e33; border-color: rgba(255,255,255,0.1); color: #e2e8f0; }

.bak-fanlar-table-wrap {
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden; overflow-x: auto;
}
body.dark .bak-fanlar-table-wrap { border-color: rgba(255,255,255,0.08); }
.bak-fanlar-table {
    width: 100%; border-collapse: collapse; font-family: sans-serif; font-size: 13px;
}
.bak-fanlar-table thead tr {
    background: var(--primary); color: #fff;
}
.bak-fanlar-table th {
    padding: 11px 14px; text-align: left; font-size: 12px;
    font-weight: 700; white-space: nowrap;
}
.bak-fanlar-table td {
    padding: 10px 14px; color: var(--text); border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
body.dark .bak-fanlar-table td { color: #cbd5e1; border-color: rgba(255,255,255,0.06); }
.bak-fanlar-table tbody tr:last-child td { border-bottom: none; }
.bak-fanlar-table tbody tr:hover td { background: var(--light-bg); }
body.dark .bak-fanlar-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.bak-fanlar-table td:nth-child(4),
.bak-fanlar-table td:nth-child(5) {
    font-weight: 600; color: var(--primary);
}
body.dark .bak-fanlar-table td:nth-child(4),
body.dark .bak-fanlar-table td:nth-child(5) { color: #90caf9; }

.bak-table-empty {
    padding: 32px; text-align: center;
    font-family: sans-serif; font-size: 14px; color: var(--muted);
}

/* ================================================================
   KOMISSIYA SAHIFASI — Accordion + Rol badges
   ================================================================ */
.bak-accordion { display: flex; flex-direction: column; gap: 8px; }

.bak-acc-item {
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
body.dark .bak-acc-item { border-color: rgba(255,255,255,0.08); }

.bak-acc-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; background: #fff; border: none; cursor: pointer;
    text-align: left; transition: background 0.2s;
}
body.dark .bak-acc-btn { background: #1a2740; }
.bak-acc-btn:hover { background: var(--light-bg); }
body.dark .bak-acc-btn:hover { background: rgba(255,255,255,0.04); }
.bak-acc-btn.bak-acc-active { background: rgba(21,102,183,0.06); }
body.dark .bak-acc-btn.bak-acc-active { background: rgba(21,102,183,0.15); }

.bak-acc-btn-left {
    display: flex; align-items: center; gap: 14px;
}
.bak-acc-num {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    background: rgba(21,102,183,0.1); color: var(--primary);
    font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
.bak-acc-btn.bak-acc-active .bak-acc-num { background: var(--primary); color: #fff; }
.bak-acc-btn span:last-of-type {
    font-family: sans-serif; font-size: 14px; font-weight: 600; color: var(--text);
}
body.dark .bak-acc-btn span:last-of-type { color: #e2e8f0; }
.bak-acc-arrow {
    color: var(--muted); font-size: 12px; flex-shrink: 0;
    transition: transform 0.3s;
}
.bak-acc-btn.bak-acc-active .bak-acc-arrow { transform: rotate(180deg); color: var(--primary); }

.bak-acc-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s;
    padding: 0 20px;
    background: #fff;
    border-top: 0px solid var(--border);
}
body.dark .bak-acc-body { background: #1a2740; border-color: rgba(255,255,255,0.07); }
.bak-acc-body.bak-acc-open {
    max-height: 2000px;
    padding: 16px 20px 20px;
    border-top-width: 1px;
}

.bak-kom-subtitle {
    font-family: sans-serif; font-size: 13px; font-weight: 600;
    color: var(--primary); margin-bottom: 14px; line-height: 1.5;
}
.bak-kom-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
body.dark .bak-kom-table-wrap { border-color: rgba(255,255,255,0.07); }
.bak-kom-table {
    width: 100%; border-collapse: collapse; font-family: sans-serif; font-size: 13px;
}
.bak-kom-table thead tr { background: var(--primary); color: #fff; }
.bak-kom-table th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; }
.bak-kom-table td {
    padding: 10px 14px; color: var(--text); border-bottom: 1px solid var(--border);
    vertical-align: middle; line-height: 1.5;
}
body.dark .bak-kom-table td { color: #cbd5e1; border-color: rgba(255,255,255,0.06); }
.bak-kom-table tbody tr:last-child td { border-bottom: none; }
.bak-kom-table tbody tr:hover td { background: var(--light-bg); }
body.dark .bak-kom-table tbody tr:hover td { background: rgba(255,255,255,0.03); }

/* Role badges */
.bak-kom-role {
    display: inline-block; padding: 2px 10px; border-radius: 6px;
    font-family: sans-serif; font-size: 11px; font-weight: 700;
    white-space: nowrap;
}
.bak-role-rais   { background: rgba(21,102,183,0.12); color: var(--primary); }
.bak-role-muovin { background: rgba(13,71,161,0.1);   color: var(--primary-d); }
.bak-role-kotib  { background: rgba(255,213,79,0.2);  color: var(--gold-d); }
.bak-role-azo    { background: rgba(95,115,140,0.1);  color: var(--muted); }