/* =====================================================================
   ILMIY KONFERENSIYA — asosiy uslublar
   9-bo'lim: rasmiy universitet uslubi, ortiqcha animatsiya va
   gradientsiz. Mobil qurilma birinchi o'rinda.

   Rang sxemasi:
     asosiy  #1F3864  (to'q ko'k)
     urg'u   #BF9000  (oltin)
     fon     oq / kulrang
   ===================================================================== */

:root {
    --brand:        #1F3864;
    --brand-dark:   #16294a;
    --brand-light:  #2d4d82;
    --brand-pale:   #eef1f7;

    --accent:       #BF9000;
    --accent-dark:  #a37b00;
    --accent-pale:  #fdf6e3;

    --body-bg:      #f5f6f8;
    --surface:      #ffffff;
    --border:       #e2e5ea;
    --text:         #22262e;
    --text-muted:   #6b7280;

    --radius:       8px;
    --radius-sm:    6px;
    --shadow-sm:    0 1px 3px rgba(31, 56, 100, .06);
    --shadow:       0 2px 12px rgba(31, 56, 100, .08);

    /* Shrift: tizim sans-serif — tashqi manbaga bog'lanmaymiz */
    --font-sans: "Inter", "Roboto", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Arial, "Noto Sans", sans-serif;
    --font-serif: "Times New Roman", Times, serif;
}

/* Bootstrap o'zgaruvchilarini loyiha ranglariga moslash */
body {
    --bs-primary:     #1F3864;
    --bs-primary-rgb: 31, 56, 100;
    --bs-body-color:  var(--text);
    --bs-body-bg:     var(--body-bg);
    --bs-body-font-family: var(--font-sans);
    --bs-border-color: var(--border);
    --bs-link-color:  var(--brand);
    --bs-link-hover-color: var(--brand-dark);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--body-bg);
    font-size: 15px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; color: #1a1d24; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* Klaviatura bilan boshqarish — fokus har doim ko'rinsin */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute; top: 8px; left: 8px; z-index: 2000;
    background: var(--brand); color: #fff; padding: 10px 18px;
    border-radius: var(--radius-sm);
}

/* =====================================================================
   TUGMALAR
   ===================================================================== */
.btn { font-weight: 500; border-radius: var(--radius-sm); }

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-accent:hover, .btn-accent:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-outline-primary { color: var(--brand); border-color: var(--brand); }
.btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); }

/* =====================================================================
   FORMA ELEMENTLARI
   ===================================================================== */
.form-label { font-weight: 500; font-size: 14px; margin-bottom: 5px; }
.form-control, .form-select {
    border-color: var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font-size: 15px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-light);
    box-shadow: 0 0 0 3px rgba(31, 56, 100, .1);
}
.form-text { font-size: 13px; color: var(--text-muted); }
.input-group-text { background: #f7f8fa; border-color: var(--border); color: var(--text-muted); }

.req { color: #c02626; font-weight: 400; }

.form-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--brand);
    padding-bottom: 6px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--brand-pale);
}

/*
   Honeypot maydoni (8-bo'lim).
   `display:none` ishlatilmaydi — ba'zi botlar aynan shuni qidiradi
   va bunday maydonni to'ldirmaydi. Shuning uchun ekrandan chetga chiqaramiz.
*/
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* =====================================================================
   SAYT SARLAVHASI (header)
   ===================================================================== */
.site-topbar {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}
.topbar-link { color: rgba(255, 255, 255, .85); }
.topbar-link:hover { color: #fff; }

.site-navbar {
    background: var(--brand);
    padding: .6rem 0;
    box-shadow: var(--shadow-sm);
}
.site-navbar .navbar-brand { color: #fff; }
.site-navbar .navbar-brand:hover { color: #fff; text-decoration: none; }
.brand-title    { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
.brand-subtitle { display: block; font-size: 12px; font-weight: 400; opacity: .75; }
.brand-logo     { object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; }

.site-navbar .nav-link {
    color: rgba(255, 255, 255, .88);
    font-size: 14.5px;
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    text-decoration: none;
}
.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, .35);
    padding: .3rem .55rem;
}
.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================================================================
   HERO (bosh sahifa yuqori bloki)
   ===================================================================== */
.hero {
    background: var(--brand);
    color: #fff;
    padding: 4rem 0;
    border-bottom: 4px solid var(--accent);
}
.hero-eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .8;
    margin-bottom: .5rem;
}
.hero-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
}
.hero-meta { opacity: .9; margin-bottom: 0; }

@media (max-width: 767px) {
    .hero { padding: 2.5rem 0; }
}

/* =====================================================================
   KARTOCHKALAR VA STATISTIKA
   ===================================================================== */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.card-header {
    background: #fafbfc;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    padding: .75rem 1rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.stat-card .stat-icon { font-size: 20px; color: var(--brand); margin-bottom: .35rem; }
.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.1;
}
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); margin-top: .2rem; }

.empty-icon { font-size: 44px; color: #c9cdd4; }

/* =====================================================================
   AUTENTIFIKATSIYA SAHIFALARI
   ===================================================================== */
.auth-body {
    background: linear-gradient(0deg, var(--body-bg), var(--body-bg)),
                var(--brand-pale);
    min-height: 100vh;
}
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
}
.auth-container { width: 100%; max-width: 440px; }

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}
.auth-card-wide { max-width: none; }
.auth-container:has(.auth-card-wide) { max-width: 760px; }

.auth-brand-title { font-size: 17px; font-weight: 600; color: var(--brand); }
.auth-title    { font-size: 21px; margin-bottom: .35rem; }
.auth-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 1.5rem; }

.auth-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 1rem;
}
.auth-icon-success { background: #e8f5ec; color: #1e7a3c; }
.auth-icon-warning { background: var(--accent-pale); color: var(--accent-dark); }
.auth-icon-danger  { background: #fdecec; color: #b02a2a; }

.auth-divider {
    display: flex; align-items: center;
    color: var(--text-muted); font-size: 13px;
    margin: 1.25rem 0;
}
.auth-divider::before, .auth-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--border);
}
.auth-divider span { padding: 0 .75rem; }

.auth-back-link { color: var(--text-muted); font-size: 14px; }
.auth-lang { color: var(--text-muted); font-size: 13px; }
.auth-lang.active { color: var(--brand); font-weight: 600; }

/* --- ORCID orqali kirish ---------------------------------------------
   ORCID uslub qo'llanmasi oq fonli tugmani va o'zgartirilmagan yashil
   iD belgisini talab qiladi. */
.btn-orcid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
}
.btn-orcid:hover,
.btn-orcid:focus {
    background: #f7fbec;
    border-color: #a6ce39;
    color: var(--text);
}
.orcid-mark { flex-shrink: 0; }

.orcid-badge {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem .75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--brand-pale);
}

@media (max-width: 575px) {
    .auth-card { padding: 1.5rem 1.25rem; }
}

/* =====================================================================
   OMMAVIY MAQOLALAR (Google Scholar bo'limi)
   ===================================================================== */
.paper-list { margin: 0; }

.paper-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}
.paper-item:first-child { padding-top: 0; }
.paper-item:last-child  { border-bottom: 0; }

.paper-item-title { font-size: 17px; font-weight: 600; margin-bottom: .35rem; }
.paper-item-title a { color: var(--brand); text-decoration: none; }
.paper-item-title a:hover { text-decoration: underline; }

.paper-item-authors  { font-size: 14px; color: var(--text); }
.paper-item-abstract { font-size: 14px; line-height: 1.6; }
.paper-item-meta     { display: flex; flex-wrap: wrap; gap: .35rem; }

.paper-title {
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.paper-authors { margin-bottom: 1.25rem; }
.paper-author  { margin-bottom: .35rem; font-size: 14px; }
.paper-author-name { font-weight: 600; }
.paper-author-org  { color: var(--text-muted); }
.paper-author-org::before { content: " — "; }

.paper-author-orcid {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-left: .4rem;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
}
.paper-author-orcid:hover { color: var(--brand); }

.paper-section-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--text-muted);
    margin: 1.5rem 0 .5rem;
}

.paper-abstract { font-size: 15px; line-height: 1.75; text-align: justify; }
.paper-keywords { font-size: 14px; font-style: italic; }
.paper-citation { line-height: 1.6; word-break: break-word; }

.paper-other-titles dt { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.paper-other-titles dd { font-size: 14px; margin-bottom: .5rem; }

.paper-meta dt { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.paper-meta dd { font-size: 14px; margin-bottom: .75rem; }
.paper-meta dd:last-child { margin-bottom: 0; }

/* =====================================================================
   KABINET
   ===================================================================== */
.cabinet-navbar { background: var(--brand); padding: .55rem 0; }
.cabinet-layout { display: flex; min-height: calc(100vh - 56px); }

.cabinet-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: var(--surface);
    border-right: 1px solid var(--border);
}
.cabinet-user {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.cabinet-user-name { font-weight: 600; font-size: 14px; }
.cabinet-user-role { font-size: 12.5px; color: var(--text-muted); }

.cabinet-menu { list-style: none; margin: 0; padding: .6rem 0; }
.cabinet-menu a {
    display: flex; align-items: center; gap: .7rem;
    padding: .6rem 1.25rem;
    color: var(--text);
    font-size: 14.5px;
    border-left: 3px solid transparent;
}
.cabinet-menu a:hover {
    background: var(--brand-pale);
    text-decoration: none;
}
.cabinet-menu a.active {
    background: var(--brand-pale);
    color: var(--brand);
    font-weight: 600;
    border-left-color: var(--accent);
}
.cabinet-menu i { font-size: 16px; width: 18px; text-align: center; }

.cabinet-main { flex: 1; min-width: 0; }

@media (max-width: 991.98px) {
    .cabinet-sidebar { width: 280px; }
}

/* =====================================================================
   PASTKI QISM (footer)
   ===================================================================== */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}
.footer-heading {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: .9rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.footer-text { color: rgba(255, 255, 255, .72); font-size: 14px; }

.footer-links, .footer-contacts { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contacts li { margin-bottom: .45rem; }
.footer-links a, .footer-contacts a { color: rgba(255, 255, 255, .78); }
.footer-links a:hover, .footer-contacts a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .6);
}

.social-link {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.social-link:hover { background: var(--accent); color: #fff; }

/* =====================================================================
   BILDIRISHNOMALAR (toast)
   ===================================================================== */
.toast {
    background: var(--surface);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--brand);
}
.toast-success { border-left-color: #1e7a3c; }
.toast-success .bi { color: #1e7a3c; }
.toast-error   { border-left-color: #b02a2a; }
.toast-error .bi { color: #b02a2a; }
.toast-warning { border-left-color: var(--accent); }
.toast-warning .bi { color: var(--accent-dark); }
.toast-info    { border-left-color: var(--brand); }
.toast-info .bi { color: var(--brand); }

/* =====================================================================
   AUDIT LENTASI
   ===================================================================== */
.audit-feed { list-style: none; margin: 0; padding: 0; }
.audit-feed li {
    display: flex; gap: .75rem;
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--border);
}
.audit-feed li:last-child { border-bottom: none; }
.audit-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    margin-top: .5rem;
    flex-shrink: 0;
}
.audit-text { font-size: 14px; }
.audit-meta { font-size: 12.5px; color: var(--text-muted); }

/* =====================================================================
   ICHKI SAHIFA SARLAVHASI
   ===================================================================== */
.page-header {
    background: var(--brand);
    color: #fff;
    padding: 2.25rem 0 2rem;
    border-bottom: 3px solid var(--accent);
    background-size: cover;
    background-position: center;
}
.page-header-title {
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2rem);
    margin: .5rem 0 0;
}
.page-header-subtitle {
    color: rgba(255, 255, 255, .82);
    margin: .5rem 0 0;
    max-width: 60ch;
}
.page-breadcrumb {
    margin: 0;
    font-size: 13px;
    --bs-breadcrumb-divider-color: rgba(255,255,255,.45);
}
.page-breadcrumb a { color: rgba(255, 255, 255, .8); }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb .breadcrumb-item.active { color: rgba(255, 255, 255, .65); }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }

/* =====================================================================
   BO'LIMLAR
   ===================================================================== */
.section-block { padding: 3rem 0; }
.section-block-alt { background: #eef0f4; }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--border);
}
.section-title {
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    padding-bottom: .6rem;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -.72rem;
    width: 48px; height: 3px;
    background: var(--accent);
}
.section-link { font-size: 14px; white-space: nowrap; }

.group-title {
    font-size: 1.1rem;
    color: var(--brand);
    margin: 2rem 0 1.25rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--brand-pale);
}
.group-title:first-child { margin-top: 0; }

/* Matn bloki (WYSIWYG kontenti) */
.content-body { font-size: 15.5px; line-height: 1.75; }
.content-body h2 { font-size: 1.25rem; margin: 1.75rem 0 .75rem; color: var(--brand); }
.content-body h3 { font-size: 1.1rem;  margin: 1.5rem 0 .6rem; }
.content-body p  { margin-bottom: 1rem; }
.content-body ul, .content-body ol { margin-bottom: 1rem; padding-left: 1.4rem; }
.content-body li { margin-bottom: .35rem; }
.content-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.content-body table {
    width: 100%; margin-bottom: 1.25rem;
    border-collapse: collapse; font-size: 14.5px;
}
.content-body th, .content-body td { border: 1px solid var(--border); padding: .55rem .7rem; }
.content-body th { background: #f7f8fa; font-weight: 600; text-align: left; }
.content-body blockquote {
    border-left: 3px solid var(--accent);
    padding: .25rem 0 .25rem 1rem;
    color: var(--text-muted);
    margin: 1.25rem 0;
}

/* =====================================================================
   HERO qo'shimchalari va COUNTDOWN
   ===================================================================== */
.hero-facts {
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    font-size: 15px; opacity: .92;
}

/* =====================================================================
   HERO — FON RASMI BILAN
   Rasm ochiq rangda bo'lgani uchun matn quyuq ko'kka o'tadi.
   Chap tomonga oq gradient qo'yiladi: rasm qanday bo'lishidan qat'i
   nazar matn ostida yetarli kontrast qoladi (WCAG AA).
   ===================================================================== */
.hero-image {
    position: relative;
    background-color: #eaf0f8;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: var(--text);
    border-bottom-color: var(--brand);
    padding: 4.5rem 0;
}
.hero-image::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg,
        rgba(255, 255, 255, .96) 0%,
        rgba(255, 255, 255, .88) 34%,
        rgba(255, 255, 255, .45) 56%,
        rgba(255, 255, 255, 0) 74%);
}
.hero-image > .container { position: relative; z-index: 1; }

.hero-image .hero-eyebrow { color: var(--brand-light); opacity: 1; }
.hero-image .hero-title   { color: var(--brand); }
.hero-image .hero-meta,
.hero-image .hero-facts   { color: #3a4250; opacity: 1; }

/* Oq fonda "outline-light" tugma ko'rinmay qoladi */
.hero-image .btn-outline-light {
    color: var(--brand);
    border-color: var(--brand);
    background: rgba(255, 255, 255, .75);
}
.hero-image .btn-outline-light:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* Taymer ochiq fonda oq kartochka bo'ladi */
.hero-image .countdown-box {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(31, 56, 100, .15);
    box-shadow: 0 4px 24px rgba(31, 56, 100, .12);
    backdrop-filter: blur(2px);
}
.hero-image .countdown-label { color: var(--text-muted); opacity: 1; }
.hero-image .countdown-cell  { background: var(--brand-pale); }
.hero-image .countdown-value { color: var(--brand); }
.hero-image .countdown-unit  { color: var(--text-muted); opacity: 1; }
.hero-image .countdown-date  { color: var(--text-muted); opacity: 1; }

/* Telefonda rasm matn ostida qolib ketmasin */
@media (max-width: 991.98px) {
    .hero-image { background-position: 72% center; padding: 3rem 0; }
    .hero-image::before {
        background: linear-gradient(180deg,
            rgba(255, 255, 255, .95) 0%,
            rgba(255, 255, 255, .88) 55%,
            rgba(255, 255, 255, .72) 100%);
    }
}

.countdown-box {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.countdown-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .85;
    margin-bottom: 1rem;
}
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
}
.countdown-cell {
    background: rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm);
    padding: .7rem .25rem;
}
.countdown-value {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.countdown-unit {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .75;
    margin-top: .2rem;
}
.countdown-date { margin: 1rem 0 0; font-size: 14px; opacity: .8; }
.countdown-expired { margin: 0; font-size: 15px; font-weight: 600; color: var(--accent); }

/* =====================================================================
   SANA KARTOCHKALARI VA TIMELINE
   ===================================================================== */
.date-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 1.1rem;
    height: 100%;
    position: relative;
}
.date-card.is-deadline { border-left-color: var(--accent); }
.date-card.is-past { opacity: .6; }
.date-card-icon { font-size: 20px; color: var(--brand); margin-bottom: .4rem; }
.date-card.is-deadline .date-card-icon { color: var(--accent-dark); }
.date-card-value { font-weight: 700; font-size: 15px; }
.date-card-title { font-size: 13.5px; color: var(--text-muted); margin-top: .2rem; }
.date-card-badge {
    position: absolute; top: .6rem; right: .6rem;
    font-size: 11px; color: var(--text-muted);
    background: #eef0f4; padding: .1rem .45rem; border-radius: 20px;
}

.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.timeline::before {
    content: "";
    position: absolute; left: 11px; top: 8px; bottom: 8px;
    width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 1.75rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute; left: -2rem; top: 0;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--brand);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
}
.timeline-item.is-past .timeline-marker { background: var(--brand); color: #fff; }
.timeline-item.is-today .timeline-marker { border-color: var(--accent); color: var(--accent-dark); }
.timeline-item.is-past .timeline-content { opacity: .7; }
.timeline-date { font-weight: 600; color: var(--brand); font-size: 14px; }
.timeline-time { color: var(--text-muted); font-weight: 400; margin-left: .35rem; }
.timeline-title { font-size: 1rem; margin: .2rem 0 .3rem; }
.timeline-text { color: var(--text-muted); font-size: 14px; margin: 0; }

.side-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.side-card-title { font-size: 15px; font-weight: 600; margin-bottom: 1rem; }
.side-card-text { font-size: 14px; color: var(--text-muted); }
.side-link {
    display: block;
    padding: .5rem 0;
    font-size: 14.5px;
    border-bottom: 1px solid var(--border);
}
.side-link:last-child { border-bottom: none; }

.status-pill {
    display: inline-flex; align-items: center;
    padding: .45rem .9rem;
    border-radius: 30px;
    font-size: 14px; font-weight: 500;
}
.status-open   { background: #e8f5ec; color: #1e7a3c; }
.status-closed { background: #f1f2f4; color: #666; }

/* =====================================================================
   YO'NALISH KARTOCHKALARI
   ===================================================================== */
.section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: box-shadow .15s, transform .15s;
}
.section-card:hover { box-shadow: var(--shadow); }
.section-card-lg { padding: 1.5rem; }
.section-card-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.section-card-icon {
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 17px;
}
.section-card-code {
    font-size: 12px; font-weight: 600; color: var(--text-muted);
    background: #f1f2f4; padding: .15rem .5rem; border-radius: 4px;
}
.section-card-count { margin-left: auto; font-size: 12.5px; color: var(--text-muted); }
.section-card-title { font-size: 1.02rem; margin-bottom: .5rem; }
.section-card-text { font-size: 14px; color: var(--text-muted); margin: 0; }

.cta-inline {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem;
    background: var(--brand-pale);
    border: 1px solid #c9d4e8;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.cta-block { background: var(--brand-dark); color: #fff; padding: 3rem 0; }
.cta-title { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.cta-text  { color: rgba(255, 255, 255, .8); margin: 0; }

/* =====================================================================
   YANGILIKLAR
   ===================================================================== */
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .15s;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-card-link { display: block; color: inherit; height: 100%; }
.news-card-link:hover { text-decoration: none; }

.news-card-image { position: relative; aspect-ratio: 16 / 9; background: #eef0f4; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #c2c7d0; font-size: 34px;
}
.news-pin {
    position: absolute; top: .5rem; right: .5rem;
    background: var(--accent); color: #fff;
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

.news-card-body { padding: 1rem 1.1rem 1.15rem; }
.news-card-date { font-size: 12.5px; color: var(--text-muted); }
.news-card-title { font-size: 1rem; margin: .4rem 0 .5rem; line-height: 1.4; }
.news-card-excerpt { font-size: 14px; color: var(--text-muted); margin-bottom: .6rem; }
.news-card-more { font-size: 13.5px; color: var(--brand); font-weight: 500; }

.article-meta {
    display: flex; gap: 1.25rem;
    font-size: 13.5px; color: var(--text-muted);
    margin-bottom: 1rem;
}
.article-cover { margin: 0 0 1.5rem; }
.article-cover img { width: 100%; border-radius: var(--radius); }
.article-lead {
    font-size: 17px; line-height: 1.65; color: #444;
    border-left: 3px solid var(--accent);
    padding-left: 1rem; margin-bottom: 1.5rem;
}

.share-box { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; }
.share-label { font-size: 14px; color: var(--text-muted); }
.share-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--brand); cursor: pointer;
}
.share-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { border-bottom: 1px solid var(--border); }
.related-list li:last-child { border-bottom: none; }
.related-list a { display: flex; gap: .7rem; padding: .7rem 0; color: inherit; }
.related-list a:hover { text-decoration: none; }
.related-list a:hover .related-title { color: var(--brand); }
.related-list img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.related-title { display: block; font-size: 14px; line-height: 1.4; }
.related-date  { display: block; font-size: 12px; color: var(--text-muted); margin-top: .15rem; }

/* =====================================================================
   QO'MITA VA HOMIYLAR
   ===================================================================== */
.member-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
}
.member-photo { aspect-ratio: 1 / 1; background: #eef0f4; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #c2c7d0; font-size: 46px;
}
.member-body { padding: 1rem .9rem 1.2rem; }
.member-name     { font-size: 15px; margin-bottom: .3rem; }
.member-degree   { font-size: 12.5px; color: var(--accent-dark); margin-bottom: .25rem; }
.member-position { font-size: 13px; color: var(--text); margin-bottom: .2rem; }
.member-org      { font-size: 12.5px; color: var(--text-muted); margin-bottom: .5rem; }
.member-links a  { color: var(--text-muted); margin: 0 .25rem; font-size: 15px; }
.member-links a:hover { color: var(--brand); }

.sponsor-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}
.sponsor-link { color: inherit; }
.sponsor-link:hover { text-decoration: none; }
.sponsor-logo {
    height: 80px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: .6rem;
}
.sponsor-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-name-fallback { font-weight: 600; color: var(--brand); }
.sponsor-name { font-size: 13.5px; font-weight: 500; }
.sponsor-desc { font-size: 12.5px; color: var(--text-muted); margin: .35rem 0 0; }

.sponsors-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--text-muted); margin-bottom: 1rem;
}
.sponsors-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 2rem;
}
.sponsors-strip img { max-height: 46px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; }
.sponsors-strip a:hover img, .sponsors-strip img:hover { filter: none; opacity: 1; }

.faq-accordion .accordion-button { font-weight: 500; font-size: 15px; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--brand-pale); color: var(--brand); }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--border); }

/* =====================================================================
   DASTUR
   ===================================================================== */
.program-tabs .nav-link {
    text-align: left;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    margin-right: .5rem;
    margin-bottom: .5rem;
}
.program-tabs .nav-link.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.day-heading {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem;
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--border);
}
.day-title { font-size: 1.2rem; margin: 0; }
.day-date  { color: var(--text-muted); font-size: 14px; }

.session-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}
.session-plenary { border-left-color: var(--accent); }
.session-break   { border-left-color: #b8bcc4; background: #fafbfc; }
.session-opening, .session-closing { border-left-color: #1e7a3c; }

.session-head { display: flex; gap: 1rem; padding: 1rem 1.1rem; }
.session-time {
    font-weight: 700; color: var(--brand);
    font-size: 15px; white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 76px;
}
.session-time-end { display: block; font-weight: 400; font-size: 13px; color: var(--text-muted); }
.session-info { flex: 1; min-width: 0; }
.session-title { font-size: 1rem; margin: 0 0 .35rem; }
.session-meta {
    display: flex; flex-wrap: wrap; gap: .85rem;
    font-size: 13px; color: var(--text-muted);
}
.session-type-badge {
    background: var(--brand-pale); color: var(--brand);
    padding: .1rem .5rem; border-radius: 4px; font-size: 12px; font-weight: 500;
}
.session-online { color: #1e7a3c; font-weight: 500; }
.session-desc { font-size: 14px; color: var(--text-muted); margin: .5rem 0 0; }

.talk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.talk-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: .7rem 1.1rem;
    border-bottom: 1px solid var(--border);
}
.talk-item:last-child { border-bottom: none; }
.talk-time {
    font-size: 13px; color: var(--text-muted);
    min-width: 76px; font-variant-numeric: tabular-nums;
}
.talk-body { flex: 1; min-width: 0; }
.talk-title { font-size: 14.5px; font-weight: 500; }
.talk-speaker { font-size: 13px; color: var(--text-muted); margin-top: .2rem; }
.talk-org { opacity: .85; }
.talk-duration { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

@media (max-width: 575px) {
    .session-head { flex-direction: column; gap: .35rem; }
    .talk-item { flex-wrap: wrap; }
}

/* =====================================================================
   GALEREYA VA LIGHTBOX
   ===================================================================== */
.album-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    color: inherit;
}
.album-card:hover { text-decoration: none; box-shadow: var(--shadow); }
.album-cover { position: relative; aspect-ratio: 4 / 3; background: #eef0f4; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #c2c7d0; font-size: 38px;
}
.album-count {
    position: absolute; bottom: .5rem; right: .5rem;
    background: rgba(0, 0, 0, .6); color: #fff;
    font-size: 12px; padding: .15rem .5rem; border-radius: 20px;
}
.album-body { padding: .85rem 1rem 1rem; }
.album-title { font-size: 15px; margin: 0 0 .2rem; }
.album-date { font-size: 12.5px; color: var(--text-muted); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
}
.gallery-item {
    position: relative;
    display: block; padding: 0;
    border: none; background: #eef0f4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #c2c7d0; font-size: 30px;
}
.gallery-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 34px;
    background: rgba(0, 0, 0, .3);
}
.gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
    color: #fff; font-size: 12px; text-align: left;
    padding: 1.5rem .6rem .5rem;
}

.lightbox {
    position: fixed; inset: 0; z-index: 1080;
    background: rgba(10, 12, 18, .94);
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    border: none; color: #fff;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
    position: absolute; bottom: 1rem; left: 0; right: 0;
    text-align: center; color: rgba(255, 255, 255, .85);
    font-size: 14px; margin: 0; padding: 0 1rem;
}

/* =====================================================================
   ARXIV
   ===================================================================== */
.archive-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.archive-cover { aspect-ratio: 3 / 4; max-height: 260px; background: var(--brand-pale); }
.archive-cover img { width: 100%; height: 100%; object-fit: cover; }
.archive-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--brand); gap: .35rem;
}
.archive-placeholder .bi { font-size: 42px; }
.archive-placeholder span { font-size: 18px; font-weight: 700; }
.archive-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.archive-title { font-size: 15px; margin-bottom: .4rem; }
.archive-desc  { font-size: 13.5px; color: var(--text-muted); }
.archive-meta  { font-size: 12.5px; margin: .5rem 0 1rem; }
.archive-meta > div { display: flex; justify-content: space-between; gap: .5rem; padding: .15rem 0; }
.archive-meta dt { color: var(--text-muted); font-weight: 400; }
.archive-meta dd { margin: 0; text-align: right; }
.archive-body .btn { margin-top: auto; }

/* =====================================================================
   ALOQA
   ===================================================================== */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: none; }
.contact-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--brand-pale); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-label { display: block; font-size: 12.5px; color: var(--text-muted); }
.contact-value { display: block; font-size: 14.5px; color: var(--text); }

.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-box iframe { display: block; width: 100%; height: 280px; border: 0; }

.attachment-box {
    background: var(--brand-pale);
    border: 1px solid #c9d4e8;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}
.attachment-icon { font-size: 30px; color: var(--brand); }

/* =====================================================================
   SERTIFIKAT TEKSHIRUVI
   ===================================================================== */
.verify-code-input {
    font-family: ui-monospace, "SFMono-Regular", "Consolas", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.verify-result {
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
}
.verify-valid   { background: #e8f5ec; border: 1px solid #b6dfc4; }
.verify-invalid { background: #fdecec; border: 1px solid #f0c2c2; }
.verify-revoked { background: var(--accent-pale); border: 1px solid #e8d9a8; }
.verify-icon { font-size: 52px; line-height: 1; margin-bottom: .5rem; }
.verify-valid   .verify-icon { color: #1e7a3c; }
.verify-invalid .verify-icon { color: #b02a2a; }
.verify-revoked .verify-icon { color: var(--accent-dark); }
.verify-title { font-size: 1.2rem; margin-bottom: .35rem; }
.verify-text  { color: var(--text-muted); margin: 0; }

.verify-details { margin: 0; }
.verify-details > div {
    display: flex; flex-wrap: wrap; gap: .5rem 1rem;
    padding: .6rem 0; border-bottom: 1px solid var(--border);
}
.verify-details > div:last-child { border-bottom: none; }
.verify-details dt { min-width: 160px; color: var(--text-muted); font-weight: 400; font-size: 14px; }
.verify-details dd { margin: 0; flex: 1; min-width: 200px; }
.verify-code {
    background: var(--brand-pale); color: var(--brand);
    padding: .2rem .5rem; border-radius: 4px;
    letter-spacing: .05em;
}

/* =====================================================================
   KABINET: MAQOLALAR
   ===================================================================== */
.submission-list { display: flex; flex-direction: column; gap: .75rem; }

.submission-item {
    display: flex; align-items: center; gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    color: inherit;
}
.submission-item:hover { text-decoration: none; box-shadow: var(--shadow); }
.submission-main { flex: 1; min-width: 0; }
.submission-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.submission-reg {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12.5px; font-weight: 600; color: var(--brand);
    background: var(--brand-pale); padding: .1rem .45rem; border-radius: 4px;
}
.submission-title { font-size: 15px; margin: 0 0 .4rem; line-height: 1.45; }
.submission-meta {
    display: flex; flex-wrap: wrap; gap: .85rem;
    font-size: 12.5px; color: var(--text-muted);
}
.submission-note {
    margin-top: .5rem; padding: .45rem .65rem;
    background: var(--accent-pale); border-radius: var(--radius-sm);
    font-size: 13px; color: #6b5400;
}
.submission-arrow { color: #c2c7d0; flex-shrink: 0; }

/* Maqola matni (til bloklari) */
.lang-block { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.lang-block:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.lang-tag {
    display: inline-block; font-size: 11.5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-muted); background: #f1f2f4;
    padding: .1rem .45rem; border-radius: 4px; margin-bottom: .5rem;
}
.lang-title { font-size: 1.02rem; margin: 0 0 .6rem; line-height: 1.45; }
.lang-abstract { font-size: 14.5px; line-height: 1.7; color: #3a3f48; margin-bottom: .6rem; }
.lang-keywords { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.keyword-chip {
    font-size: 12px; background: var(--brand-pale); color: var(--brand);
    padding: .12rem .5rem; border-radius: 20px;
}

/* Fayllar ro'yxati */
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li {
    display: flex; align-items: center; gap: .8rem;
    padding: .7rem 1rem; border-bottom: 1px solid var(--border);
}
.file-list li:last-child { border-bottom: none; }
.file-icon { font-size: 22px; color: var(--brand); flex-shrink: 0; }
.file-name { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.file-meta { font-size: 12.5px; color: var(--text-muted); }

.current-file {
    display: flex; align-items: center; gap: .8rem;
    background: var(--brand-pale); border: 1px solid #c9d4e8;
    border-radius: var(--radius-sm); padding: .7rem .9rem;
}
.current-file > .bi { font-size: 22px; color: var(--brand); }

/* Holat tarixi */
.status-timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; position: relative; }
.status-timeline::before {
    content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px;
    width: 2px; background: var(--border);
}
.status-timeline li { position: relative; padding-bottom: 1rem; }
.status-timeline li:last-child { padding-bottom: 0; }
.status-dot {
    position: absolute; left: -1.5rem; top: 4px;
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid var(--surface);
}
.status-name { font-size: 13.5px; font-weight: 600; }
.status-date { font-size: 12px; color: var(--text-muted); }
.status-comment {
    font-size: 12.5px; color: var(--text-muted);
    margin-top: .25rem; padding-left: .5rem;
    border-left: 2px solid var(--border);
}

/* Tafsilotlar ro'yxati */
.detail-list { margin: 0; font-size: 14px; }
.detail-list > div {
    display: flex; justify-content: space-between; gap: .75rem;
    padding: .45rem 0; border-bottom: 1px solid var(--border);
}
.detail-list > div:last-child { border-bottom: none; }
.detail-list dt { color: var(--text-muted); font-weight: 400; }
.detail-list dd { margin: 0; text-align: right; }

/* Hammuallif qatorlari */
.coauthor-row {
    background: #fafbfc; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: .75rem; margin-bottom: .6rem;
}
.char-counter { font-variant-numeric: tabular-nums; }

/* Qisqa ro'yxatlar (dashboard) */
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { border-bottom: 1px solid var(--border); }
.mini-list li:last-child { border-bottom: none; }
.mini-list a {
    display: flex; align-items: center; gap: .75rem;
    padding: .7rem 1rem; color: inherit;
}
.mini-list a:hover { background: #fafbfd; text-decoration: none; }
.mini-title { font-size: 14px; font-weight: 500; }
.mini-meta  { font-size: 12.5px; color: var(--text-muted); }
.min-w-0 { min-width: 0; }

/* =====================================================================
   KABINET: SERTIFIKAT VA TO'LOV
   ===================================================================== */
.cert-card {
    display: flex; gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.1rem;
}
.cert-icon { font-size: 32px; color: var(--accent); flex-shrink: 0; }
.cert-body { flex: 1; min-width: 0; }
.cert-type  { font-size: 15px; margin: 0 0 .3rem; }
.cert-paper { font-size: 13.5px; color: var(--text-muted); margin-bottom: .6rem; }
.cert-meta  { font-size: 12.5px; margin: 0; }
.cert-meta > div { display: flex; justify-content: space-between; gap: .5rem; padding: .12rem 0; }
.cert-meta dt { color: var(--text-muted); font-weight: 400; }
.cert-meta dd { margin: 0; }

.payment-amount { text-align: center; padding: .5rem 0; }
.payment-amount-value {
    font-size: 2rem; font-weight: 700; color: var(--brand);
    font-variant-numeric: tabular-nums;
}
.payment-amount-currency { font-size: 1rem; color: var(--text-muted); margin-left: .3rem; }
.payment-requisites {
    background: #f7f8fa; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: .75rem;
    font-size: 13px; white-space: pre-wrap; word-break: break-word; margin: 0;
    font-family: var(--font-sans);
}

/* Ommaviy to'lov sahifasidagi bosqichlar */
.payment-steps { padding-left: 1.15rem; margin: 0; }
.payment-steps li { padding: .3rem 0; font-size: 14.5px; }
.payment-steps li::marker { color: var(--brand); font-weight: 600; }

/* =====================================================================
   CHOP ETISH
   ===================================================================== */
@media print {
    .site-header, .site-footer, .toast-container,
    .cabinet-sidebar, .admin-sidebar, .btn { display: none !important; }

    body { background: #fff; font-family: var(--font-serif); font-size: 12pt; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
}

/* Animatsiyani kamaytirish sozlamasi yoqilgan foydalanuvchilar uchun */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
