/* ---------- AdminLTE 3 uslubi (mavzu: data-theme="adminlte") ----------
   ios.css dan keyin yuklanadi (inc/header.php). Bu mavzuda <html> ga .no-ios qo'yiladi, iOS qatlami o'chadi.
   Klassik AdminLTE: to'q yon menyu (#343a40), ko'k tanlangan bo'lim, oq yuqori panel, rangli small-box lar,
   sarlavhali kartalar, Bootstrap 4 tugma va maydonlari. Faqat ekran uchun. */
@media screen {
html[data-theme="adminlte"] {
  --bg:#f4f6f9; --card:#fff; --soft:#f8f9fa; --text:#212529; --muted:#6c757d; --line:#dee2e6; --input:#ced4da;
  --brand:#007bff; --brand-dark:#0069d9; --brand-2:#e7f1ff; --brand-text:#fff; --brand-grad:#007bff;
  --ok:#28a745; --ok-bg:#d4edda; --err:#dc3545; --err-bg:#f8d7da; --warn:#856404; --warn-bg:#fff3cd; --info:#17a2b8;
  --teal:#20c997; --purple:#6f42c1; --orange:#fd7e14; --indigo:#6610f2; --pink:#e83e8c; --gray:#6c757d; --amber:#ffc107;
  --side-bg:#343a40; --side-text:#c2c7d0; --side-head:#8a939e; --side-line:#4b545c; --side-hover:rgba(255,255,255,.1);
  --top:#fff; --top-text:#212529; --mica:var(--bg);
  --shadow:0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2); --shadow-lg:0 .5rem 1rem rgba(0,0,0,.15);
  --radius:.25rem; --r-sm:.2rem; --sw:250px;
}
html[data-theme="adminlte"] body { font-family:"Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size:1rem; letter-spacing:0; background:var(--bg); color:var(--text); }
html[data-theme="adminlte"] :is(h1, h2, h3) { letter-spacing:0; }
html[data-theme="adminlte"] .content-wrapper h1, html[data-theme="adminlte"] h1 { font-size:1.8rem; font-weight:400; }

/* Yuqori panel */
html[data-theme="adminlte"] .main-header { background:#fff !important; color:#212529; border-bottom:1px solid #dee2e6; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
html[data-theme="adminlte"] .main-header a, html[data-theme="adminlte"] .main-header .nav-btn { color:rgba(0,0,0,.5); }
html[data-theme="adminlte"] .main-header a:hover, html[data-theme="adminlte"] .main-header .nav-btn:hover { color:rgba(0,0,0,.7); background:transparent; }

/* Yon menyu: sidebar-dark-primary */
html[data-theme="adminlte"] .main-sidebar { background:#343a40 !important; color:#c2c7d0; border-right:0; box-shadow:0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22); -webkit-backdrop-filter:none; backdrop-filter:none; }
html[data-theme="adminlte"] .main-sidebar .brand-link { color:rgba(255,255,255,.8) !important; border-bottom:1px solid #4b545c; background:transparent; }
html[data-theme="adminlte"] .main-sidebar .brand-link b { color:rgba(255,255,255,.9); font-weight:300; }
html[data-theme="adminlte"] .main-sidebar .brand-link small { color:#8a939e; }
html[data-theme="adminlte"] .nav-sidebar .nav-link { color:#c2c7d0 !important; border-radius:.25rem; margin:1px 8px; padding:8px 12px; background:transparent; box-shadow:none; }
html[data-theme="adminlte"] .nav-sidebar .nav-link .nav-icon { color:#c2c7d0 !important; }
html[data-theme="adminlte"] .nav-sidebar .nav-link:hover { background:rgba(255,255,255,.1); color:#fff !important; }
html[data-theme="adminlte"] .nav-sidebar .nav-link.on { background:#007bff !important; color:#fff !important; box-shadow:0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24); }
html[data-theme="adminlte"] .nav-sidebar .nav-link.on .nav-icon { color:#fff !important; }
html[data-theme="adminlte"] .nav-sidebar .nav-link .badge { background:#dc3545; color:#fff; border-radius:.25rem; }
html[data-theme="adminlte"] .nav-sidebar .nav-link.on::before { display:none; }
html[data-theme="adminlte"] .nav-header, html[data-theme="adminlte"] .side-group { color:#8a939e !important; text-transform:uppercase; font-size:.75rem; letter-spacing:.03em; font-weight:400; }
html[data-theme="adminlte"] .user-panel { border-top:1px solid #4b545c; background:transparent; color:#c2c7d0 !important; }
html[data-theme="adminlte"] .user-panel b { color:#fff; } html[data-theme="adminlte"] .user-panel small, html[data-theme="adminlte"] .user-panel i { color:#c2c7d0; }

/* Kartalar */
html[data-theme="adminlte"] :where(.card, .table-wrap, .stat, .filters, .bulkbar, .question, .qblock, .role-card, .auth-card, .announce, .cred-card) {
  background:#fff; border:0; border-radius:.25rem; box-shadow:0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
}
html[data-theme="adminlte"] .card > h3:first-child, html[data-theme="adminlte"] .card > h2:first-child {
  margin:-16px -16px 14px; padding:.75rem 1.25rem; border-bottom:1px solid rgba(0,0,0,.125); font-size:1.1rem; font-weight:400;
}
html[data-theme="adminlte"] .card.card-outline, html[data-theme="adminlte"] .copy-note { border-top:3px solid #007bff; border-left:0; }

/* Rangli ko'rsatkichlar (small-box) */
html[data-theme="adminlte"] .small-box { border:0 !important; border-radius:.25rem !important; box-shadow:0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2) !important; color:#fff !important; background:var(--c, #17a2b8) !important; transform:none !important; }
html[data-theme="adminlte"] .small-box.bg-info { --c:#17a2b8; } html[data-theme="adminlte"] .small-box.bg-success { --c:#28a745; }
html[data-theme="adminlte"] .small-box.bg-primary { --c:#007bff; } html[data-theme="adminlte"] .small-box.bg-danger { --c:#dc3545; }
html[data-theme="adminlte"] .small-box.bg-warning { --c:#ffc107; color:#1f2d3d !important; } html[data-theme="adminlte"] .small-box.bg-teal { --c:#20c997; }
html[data-theme="adminlte"] .small-box.bg-purple { --c:#6f42c1; } html[data-theme="adminlte"] .small-box.bg-orange { --c:#fd7e14; }
html[data-theme="adminlte"] .small-box.bg-indigo { --c:#6610f2; } html[data-theme="adminlte"] .small-box.bg-pink { --c:#e83e8c; } html[data-theme="adminlte"] .small-box.bg-gray { --c:#6c757d; }
html[data-theme="adminlte"] .small-box .inner { padding:10px; }
html[data-theme="adminlte"] .small-box h3 { color:inherit !important; font-size:2.2rem; font-weight:700; margin:0 0 10px; font-family:inherit; }
html[data-theme="adminlte"] .small-box p { color:inherit !important; opacity:.95; font-size:1rem; }
html[data-theme="adminlte"] .small-box .icon { background:transparent !important; box-shadow:none !important; width:auto !important; height:auto !important; top:-2px; right:12px;
  font-size:70px !important; color:rgba(0,0,0,.15) !important; border-radius:0; transition:transform .3s linear; }
html[data-theme="adminlte"] .small-box:hover .icon { transform:scale(1.1); }
html[data-theme="adminlte"] .small-box .more { background:rgba(0,0,0,.1) !important; color:rgba(255,255,255,.8) !important; border-top:0 !important; text-align:center; padding:3px 0; font-weight:400; font-size:1rem; }
html[data-theme="adminlte"] .small-box.bg-warning .more { color:rgba(31,45,61,.8) !important; }
html[data-theme="adminlte"] .small-box .more:hover { background:rgba(0,0,0,.15) !important; color:#fff !important; }

/* Tugmalar va maydonlar: Bootstrap 4 */
html[data-theme="adminlte"] .content-wrapper :is(button:not([type=button]), a.btn, summary.btn):not(.link):not(.icon-btn):not(.nav-btn):not(.th-opt):not([class*="dot-"]) { border-radius:.25rem; box-shadow:none; font-weight:400; }
html[data-theme="adminlte"] .content-wrapper :is(button:not([type=button]), a.btn, summary.btn):not(.secondary):not(.link):not(.danger):not(.icon-btn):not(.nav-btn):not(.th-opt):not(.ghost):not([class*="dot-"]):not(.on) { background:#007bff; border:1px solid #007bff; color:#fff; }
html[data-theme="adminlte"] .content-wrapper :is(button:not([type=button]), a.btn, summary.btn):not(.secondary):not(.link):not(.danger):not(.icon-btn):not(.nav-btn):not(.th-opt):not(.ghost):not([class*="dot-"]):not(.on):hover { background:#0069d9; border-color:#0062cc; }
html[data-theme="adminlte"] .content-wrapper :is(button, .btn).secondary { background:#f8f9fa; border:1px solid #ddd; color:#444; }
html[data-theme="adminlte"] .content-wrapper :is(button, .btn).secondary:hover { background:#e9ecef; color:#2b2b2b; }
html[data-theme="adminlte"] .content-wrapper :is(button, .btn).danger:not(.link) { background:#dc3545; border:1px solid #dc3545; color:#fff; }
html[data-theme="adminlte"] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) { border:1px solid #ced4da; border-radius:.25rem; background:#fff; box-shadow:inset 0 0 0 transparent; }
html[data-theme="adminlte"] :is(input, select, textarea):focus { border-color:#80bdff; box-shadow:none; outline:0; }

/* Jadvallar: table-striped, table-hover */
html[data-theme="adminlte"] table th { border-bottom:2px solid #dee2e6; background:transparent; color:#212529; font-weight:700; text-transform:none; letter-spacing:0; font-size:.95rem; }
html[data-theme="adminlte"] table td { border-top:1px solid #dee2e6; }
html[data-theme="adminlte"] .table-wrap table tr:nth-child(even) td { background:rgba(0,0,0,.05); }
html[data-theme="adminlte"] .table-wrap table tr:hover td { background:rgba(0,0,0,.075); }

/* Tablar: nav-tabs */
html[data-theme="adminlte"] :is(.tabs, .tab-nav) { border-bottom:1px solid #dee2e6; background:transparent; box-shadow:none; border-radius:0; padding:0; gap:0; }
html[data-theme="adminlte"] :is(.tabs, .tab-nav) a { border:1px solid transparent; border-radius:.25rem .25rem 0 0; margin-bottom:-1px; color:#007bff; background:transparent; box-shadow:none; }
html[data-theme="adminlte"] :is(.tabs, .tab-nav) a.on { color:#495057; background:#fff; border-color:#dee2e6 #dee2e6 #fff; }

/* Mayda elementlar */
html[data-theme="adminlte"] .breadcrumb { background:transparent; }
html[data-theme="adminlte"] .breadcrumb a { color:#007bff; }
html[data-theme="adminlte"] .tag { border-radius:.25rem; }
html[data-theme="adminlte"] .flash.ok { background:#d4edda; color:#155724; border-color:#c3e6cb; }
html[data-theme="adminlte"] .flash.err { background:#f8d7da; color:#721c24; border-color:#f5c6cb; }
html[data-theme="adminlte"] .flash.warn { background:#fff3cd; color:#856404; border-color:#ffeeba; }
html[data-theme="adminlte"] .back-btn { border-radius:.25rem; }
}
