/* =========================================================
   NomerSayt Pro — Mukammal UI/UX Dizayn (Dark & Light Mode)
   ========================================================= */

:root, [data-theme="dark"] {
    --bg-body: #090d16;
    --bg-card: rgba(17, 24, 39, 0.78);
    --bg-card-solid: #111827;
    --bg-elevated: rgba(30, 41, 59, 0.75);
    --bg-input: rgba(15, 23, 42, 0.85);
    --border-color: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(59, 130, 246, 0.45);
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.35);
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-card: 0 16px 40px -8px rgba(0, 0, 0, 0.45);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

[data-theme="light"] {
    --bg-body: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-solid: #ffffff;
    --bg-elevated: #f8fafc;
    --bg-input: #ffffff;
    --border-color: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(37, 99, 235, 0.5);
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.2);
    --shadow-card: 0 12px 32px -6px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Twemoji Country Flags', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.55;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Orqa fon nurlari */
.bg-glow {
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
}
.bg-glow-1 {
    top: -120px;
    left: -100px;
    background: #3b82f6;
}
.bg-glow-2 {
    bottom: -120px;
    right: -100px;
    background: #8b5cf6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s ease;
}

code, .mono-phone, .mono-id, .bank-card-number {
    font-family: 'JetBrains Mono', monospace;
}

/* =========================================================
   HEADER VA NAVIGATSIYA
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}
.brand-icon-sm {
    width: 34px;
    height: 34px;
    font-size: 18px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.1;
}
.brand-title span {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.nav-link i {
    font-size: 17px;
}
.nav-link:hover {
    color: var(--text-main);
    background: var(--bg-elevated);
}
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.icon-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.vip-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 88, 12, 0.25));
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
}

.balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px 7px 14px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-weight: 700;
    font-size: 13.5px;
}
.balance-pill-lg {
    padding: 10px 18px;
    font-size: 15px;
}
.balance-plus {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #10b981;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 6px;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
}
.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-name {
    font-size: 13.5px;
    font-weight: 600;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.logout-icon {
    color: var(--danger);
    font-size: 17px;
    margin-left: 4px;
    display: inline-flex;
    padding: 4px;
    border-radius: 6px;
}
.logout-icon:hover {
    background: rgba(239, 68, 68, 0.15);
}

.mobile-menu-btn {
    display: none;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* =========================================================
   ASOSIY KONTEYNER VA KARTALAR
   ========================================================= */
.main-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 24px 60px;
    flex: 1;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.page-head h1 {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-head h1 i {
    color: var(--primary);
}
.page-head p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-top: 4px;
}
.page-head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.text-muted {
    color: var(--text-muted);
}

/* =========================================================
   TUGMALAR (BUTTONS)
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--primary-glow);
    color: #fff;
}
.btn-outline {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}
.btn-danger:hover {
    background: var(--danger);
    color: #fff;
}
.btn-lg {
    padding: 14px 26px;
    font-size: 15.5px;
    border-radius: 14px;
}
.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 10px;
}
.btn-xs {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 8px;
}
.btn-block {
    width: 100%;
}

/* =========================================================
   HERO VA LANDING SAHIFA
   ========================================================= */
.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    padding: 24px 0 48px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}
.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 16.5px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 580px;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
}
.hero-stat-item strong {
    font-size: 24px;
    font-weight: 800;
}
.hero-stat-item span {
    font-size: 13px;
    color: var(--text-muted);
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.showcase-title {
    font-weight: 700;
    font-size: 15px;
}
.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.showcase-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
}
.showcase-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.showcase-name {
    font-weight: 700;
    font-size: 14px;
}
.showcase-sub {
    font-size: 12px;
    color: var(--text-muted);
}
.showcase-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.showcase-price {
    font-weight: 700;
    font-size: 13.5px;
    color: #10b981;
}

.steps-section {
    margin-top: 20px;
}
.section-head {
    text-align: center;
    margin-bottom: 28px;
}
.section-head h2 {
    font-size: 28px;
    font-weight: 800;
}
.section-head p {
    color: var(--text-muted);
    margin-top: 6px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.step-card {
    position: relative;
    overflow: hidden;
}
.step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 42px;
    font-weight: 800;
    opacity: 0.08;
}
.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.step-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}
.step-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================================
   FOYDALANUVCHI DASHBOARD ELEMENTLARI
   ========================================================= */
.welcome-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(139, 92, 246, 0.18));
    border-color: rgba(59, 130, 246, 0.3);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}
.welcome-left h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}
.welcome-left p {
    color: var(--text-muted);
    font-size: 14px;
}
.welcome-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.stat-icon-blue   { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.stat-icon-green  { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.stat-icon-amber  { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.stat-icon-purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.stat-icon-pink   { background: rgba(236, 72, 153, 0.15); color: #ec4899; }

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}
.stat-value {
    font-size: 22px;
    font-weight: 800;
    margin: 4px 0 6px;
}
.stat-link {
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.stat-sub {
    font-size: 12px;
    color: #10b981;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.quick-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    color: var(--text-main);
}
.quick-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.quick-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.quick-card h4 {
    font-size: 15px;
    margin-bottom: 2px;
}
.quick-card p {
    font-size: 12.5px;
    color: var(--text-muted);
}
.quick-arrow {
    margin-left: auto;
    font-size: 20px;
    color: var(--text-muted);
}

/* =========================================================
   RAQAM SOTIB OLISH SAHIFASI (BUY NUMBER)
   ========================================================= */
.buy-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}
.buy-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.step-box-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.step-circle {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-box-header h3 {
    font-size: 18px;
}
.step-box-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}
.selector-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.selector-card input[type="radio"] {
    display: none;
}
.selector-card:hover {
    border-color: var(--border-hover);
}
.selector-card.selected {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.selector-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.country-flag {
    font-size: 28px;
    line-height: 1;
}
.selector-details {
    display: flex;
    flex-direction: column;
}
.selector-title {
    font-weight: 700;
    font-size: 14px;
}
.selector-sub {
    font-size: 12px;
    color: var(--text-muted);
}
.check-mark {
    margin-left: auto;
    color: var(--primary);
    font-size: 18px;
    opacity: 0;
    transform: scale(0.6);
    transition: 0.2s ease;
}
.selector-card.selected .check-mark {
    opacity: 1;
    transform: scale(1);
}

.sticky-card {
    position: sticky;
    top: 90px;
}
.summary-card h3 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}
.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}
.summary-row span:first-child {
    color: var(--text-muted);
}
.summary-price-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.price-display {
    font-size: 22px;
    font-weight: 800;
    color: #10b981;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.summary-note {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.number-result-card {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(17, 24, 39, 0.9));
    margin-bottom: 28px;
}
.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}
.result-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.result-number-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}
#issuedPhone {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.result-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--bg-elevated);
    padding: 12px 18px;
    border-radius: 12px;
}
.result-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================================================
   BANK KARTASI VA HISOB TO'LDIRISH (TOPUP)
   ========================================================= */
.topup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.bank-card-visual {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #7c3aed 100%);
    color: #fff;
    padding: 26px;
    border-radius: 20px;
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.5);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.bank-card-visual::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.bank-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.card-chip {
    width: 46px;
    height: 34px;
    border-radius: 7px;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    position: relative;
}
.card-brand {
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.5px;
    opacity: 0.9;
}
.bank-card-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.bank-card-number {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}
.card-copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
.bank-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.card-meta-label {
    display: block;
    font-size: 10px;
    opacity: 0.75;
    letter-spacing: 1px;
}
.card-holder-name {
    font-size: 15px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.card-contactless {
    font-size: 24px;
    transform: rotate(90deg);
    opacity: 0.85;
}

.info-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 12px 14px;
    border-radius: 10px;
}
.info-step i {
    color: var(--primary);
    font-size: 18px;
}

.quick-amounts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.amount-chip {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.amount-chip:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.15);
}

/* =========================================================
   VIP OBUNA TARIF KARTALARI (SUBSCRIPTIONS)
   ========================================================= */
.vip-active-chip, .vip-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(5, 150, 105, 0.12));
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #10b981;
}
.vip-active-chip {
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.vip-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.vip-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.vip-banner-info {
    flex: 1;
}
.vip-banner-info h3 {
    color: var(--text-main);
}
.vip-banner-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.sub-payment-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 22px;
    flex-wrap: wrap;
}
.sub-pay-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}
.sub-pay-left i {
    font-size: 24px;
    color: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 26px 22px;
}
.pricing-popular {
    border: 2px solid var(--primary);
    box-shadow: 0 16px 40px var(--primary-glow);
}
.pricing-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    margin-bottom: 12px;
}
.pricing-title {
    font-size: 20px;
    font-weight: 800;
}
.pricing-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 6px 0 18px;
}
.pricing-amount {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.pricing-amount strong {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
}
.pricing-amount span {
    font-size: 13px;
    color: var(--text-muted);
}
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex: 1;
}
.pricing-features li {
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}
.pricing-features li i {
    color: #10b981;
    font-weight: bold;
}

.file-mini-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1.5px dashed var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: center;
    transition: 0.2s;
}
.file-mini-upload:hover {
    border-color: var(--primary);
    color: var(--text-main);
}
.file-mini-upload input {
    display: none;
}

/* =========================================================
   FORMALAR VA INPUTLAR
   ========================================================= */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon-wrap > i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 18px;
    pointer-events: none;
}
.input-icon-wrap input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input-icon-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.pass-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.file-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-elevated);
    transition: 0.2s ease;
}
.file-dropzone:hover {
    border-color: var(--primary);
}
.file-dropzone input[type="file"] {
    display: none;
}
.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.dropzone-content i {
    font-size: 34px;
    color: var(--primary);
}
.dropzone-title {
    font-weight: 700;
    font-size: 14px;
}
.dropzone-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* =========================================================
   JADVALLAR (TABLES) VA STATUS PILLS
   ========================================================= */
.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.modern-table th {
    padding: 13px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
}
.modern-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    vertical-align: middle;
}
.modern-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}
.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.phone-copy-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.copy-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    padding: 2px;
}
.copy-btn:hover {
    transform: scale(1.15);
}

.service-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.service-dot {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: rgba(128, 128, 128, 0.16);
}

.status-pill, .badge-pending, .badge-approved, .badge-rejected, .badge-done, .badge-cancelled {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.status-pending, .badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.status-approved, .badge-approved, .badge-done {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.status-rejected, .badge-rejected, .badge-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-wrap i {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
}
.search-input-wrap input {
    padding: 9px 14px 9px 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    font-size: 13.5px;
    min-width: 240px;
    outline: none;
}

/* =========================================================
   BILDIRISHNOMALAR (NOTIFICATIONS)
   ========================================================= */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.notif-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    position: relative;
}
.notif-unread {
    border-left: 4px solid var(--primary);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), var(--bg-card));
}
.notif-read {
    opacity: 0.78;
}
.notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.notif-content {
    flex: 1;
}
.notif-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.notif-time {
    font-size: 12px;
    color: var(--text-muted);
}
.notif-body {
    font-size: 14px;
    color: var(--text-secondary);
}
.unread-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* =========================================================
   KIRISH VA RO'YXATDAN O'TISH (AUTH)
   ========================================================= */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 34px 30px;
}
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 10px 25px var(--primary-glow);
}
.auth-header h2 {
    font-size: 24px;
    font-weight: 800;
}
.auth-header p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 4px;
}
.auth-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    gap: 6px;
}
.auth-footer a {
    font-weight: 700;
}

/* =========================================================
   ADMIN PANEL LAYOUT
   ========================================================= */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}
.admin-sidebar {
    padding: 18px;
    position: sticky;
    top: 86px;
}
.admin-sidebar-head {
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.admin-badge {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}
.admin-nav a:hover {
    background: var(--bg-elevated);
    color: var(--text-main);
}
.admin-nav a.active {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
}
.nav-count {
    margin-left: auto;
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
}
.nav-count-red {
    background: var(--danger);
    color: #fff;
}
.admin-logout-link {
    color: #f87171 !important;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px !important;
}

.inline-balance-form, .search-form-inline, .order-admin-actions, .action-btns {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.input-sm {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    width: 115px;
    font-size: 13px;
}

/* =========================================================
   ALERTS, EMPTY STATES, MODAL & TOAST
   ========================================================= */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 22px;
    font-size: 14px;
}
.alert i {
    font-size: 22px;
}
.alert-success {
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}
.alert-danger {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.empty-state {
    text-align: center;
    padding: 44px 20px;
}
.empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.empty-state h4 {
    font-size: 18px;
    margin-bottom: 6px;
}
.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}
.modal-backdrop.open {
    display: flex;
}
.modal-box {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    max-width: 640px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}
.modal-body {
    padding: 20px;
    text-align: center;
    max-height: 75vh;
    overflow-y: auto;
}
.modal-body img {
    max-width: 100%;
    border-radius: 10px;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}
.toast-item {
    background: var(--bg-card-solid);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    animation: slideIn 0.25s ease;
}
@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 32px 24px;
    margin-top: auto;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 360px;
    margin-top: 8px;
}
.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-weight: 600;
}
.status-dot span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* =========================================================
   MOBIL MOSLASHUVCHANLIK (RESPONSIVE)
   ========================================================= */
@media (max-width: 1024px) {
    .hero-section,
    .buy-layout,
    .topup-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .stats-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-nav-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: static;
    }
    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .nav-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card-solid);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-wrapper.open {
        display: flex;
    }
    .main-nav {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
    }
    .header-actions {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }
    .hero-title {
        font-size: 32px;
    }
    .stats-grid,
    .pricing-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-copy {
        align-items: flex-start;
    }
}

/* =========================================================
   v3.0 — TG-LION INTEGRATSIYASI: QO'SHIMCHA USLUBLAR
   ========================================================= */

/* hidden atributi display:flex/grid dan ustun turishi uchun */
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.grid-2 > *, .buy-layout > *, .admin-layout > * { min-width: 0; }
.hint { display: block; color: var(--text-muted); font-size: 12.5px; line-height: 1.5; }
.hint code, .text-muted code { background: var(--bg-elevated); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
pre {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    max-height: 260px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--text-secondary);
}
details summary { cursor: pointer; color: var(--primary); font-size: 12.5px; font-weight: 600; user-select: none; }
.modern-form select:focus,
.input-sm:focus,
.select-sm:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); outline: none; }

/* Aylanuvchi indikator */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ns-spin 0.8s linear infinite;
    flex-shrink: 0;
    vertical-align: -3px;
}
.code-waiting .spinner { border-color: rgba(59, 130, 246, 0.25); border-top-color: var(--primary); width: 22px; height: 22px; }
@keyframes ns-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* ---------- Raqam olish: davlatlar tanlash ---------- */
.country-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.country-toolbar .grow { flex: 1 1 220px; min-width: 0; }
.country-toolbar .search-input-wrap input { min-width: 0; width: 100%; }
.select-sm {
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
}
.countries-grid {
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    max-height: 560px;
    overflow-y: auto;
    padding: 5px;
    margin: -5px;
    scrollbar-width: thin;
}
.country-option {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 13px 15px;
    min-width: 0;
    user-select: none;
}
/* Radio: ko'rinmaydi, lekin klaviatura (Tab/strelkalar) bilan ishlaydi */
.country-option input[type="radio"] {
    display: block;
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.country-option:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.country-top { display: flex; align-items: center; gap: 10px; padding-right: 24px; min-width: 0; }
.country-top .selector-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.country-meta { font-size: 12px; color: var(--text-muted); }
.country-price { font-weight: 800; font-size: 14.5px; color: #10b981; }
.country-option .check-mark { position: absolute; top: 11px; right: 11px; margin-left: 0; }
.list-note { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.stale-flag { color: #fbbf24; font-weight: 600; }
.no-results { text-align: center; padding: 18px 0 4px; font-size: 14px; }
.price-strike { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.price-strike:empty { display: none; }

.mini-alert {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
}
.mini-alert-warn { background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.4); color: #fbbf24; }
.mini-alert i { font-size: 17px; margin-top: 1px; }
.buy-sidebar { min-width: 0; }
#buyBtn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[disabled], .btn:disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* ---------- Natija kartasi: raqam + kod ---------- */
.result-label { display: block; font-size: 12.5px; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.result-meta > div { display: flex; flex-direction: column; font-size: 13.5px; }
.result-meta > div span { font-size: 12px; color: var(--text-muted); }
[data-theme="light"] .number-result-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.13), rgba(255, 255, 255, 0.96));
}
.code-panel { margin-top: 22px; padding-top: 20px; border-top: 1px dashed rgba(16, 185, 129, 0.4); }
.code-panel-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16.5px; margin-bottom: 10px; }
.code-panel-head i { color: #229ED9; font-size: 20px; }
.code-steps { margin: 0 0 16px 20px; color: var(--text-secondary); font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.code-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.code-state { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.code-waiting { color: var(--text-secondary); font-weight: 600; }
.code-wait-text b { font-family: 'JetBrains Mono', monospace; color: var(--primary); }
.code-done { flex-direction: column; align-items: stretch; gap: 14px; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.code-digits {
    font-family: 'JetBrains Mono', monospace;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 8px;
    line-height: 1.15;
    color: #10b981;
    word-break: break-all;
}
.code-pass { font-family: 'JetBrains Mono', monospace; font-size: 19px; font-weight: 700; word-break: break-all; }
.code-pass-row { padding-top: 12px; border-top: 1px solid var(--border-color); }
.code-done > .btn { align-self: flex-start; }
.code-msg { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.code-msg:empty { display: none; }
.code-msg.ok { color: #34d399; }
.code-msg.err { color: #f87171; }
.code-msg.warn { color: #fbbf24; }
.code-chip { color: #10b981; font-weight: 800; letter-spacing: 2px; }
.country-cell { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; }
.country-icon { font-size: 22px; line-height: 1; }

/* ---------- Admin: API sozlamalari ---------- */
.form-section-title {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--primary);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
    margin-top: 4px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.check-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.check-list li.ok { color: #34d399; }
.check-list li.bad { color: #f87171; }
.check-list li i { font-size: 19px; }
.big-number { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.big-number small { font-size: 15px; color: var(--text-muted); font-weight: 700; }
.calc-box {
    background: var(--bg-elevated);
    border: 1px dashed var(--border-hover);
    border-radius: 14px;
    padding: 14px 16px;
}
.calc-title { font-weight: 700; font-size: 13.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; color: var(--primary); }
.calc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.calc-row .input-sm { width: 90px; }
.diag-list { display: flex; flex-direction: column; gap: 10px; }
.diag-item { border: 1px solid var(--border-color); border-left-width: 4px; border-radius: 10px; padding: 10px 12px; background: var(--bg-elevated); }
.diag-item.ok { border-left-color: #10b981; }
.diag-item.bad { border-left-color: #ef4444; }
.diag-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.diag-sum { font-size: 13.5px; margin: 6px 0; color: var(--text-secondary); word-break: break-word; }
.switch-row { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 14px; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
    position: relative;
    flex-shrink: 0;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    transition: 0.2s ease;
}
.switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: 0.2s ease;
}
.switch-row input:checked + .switch { background: var(--success); border-color: var(--success); }
.switch-row input:checked + .switch::after { transform: translateX(20px); background: #fff; }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Admin: filtr chiplar (jurnal, buyurtmalar) ---------- */
.log-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: linear-gradient(135deg, var(--primary), #6366f1); border-color: transparent; color: #fff; }

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .code-digits { font-size: 30px; letter-spacing: 5px; }
    #issuedPhone { font-size: 22px; }
    .countries-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: 480px; }
    .country-toolbar .select-sm { flex: 1 1 auto; }
}

/* ---------- Sarlavha (header): ixcham ko'rinish, yozuvlar qatorga bo'linib ketmasin ---------- */
.nav-link, .balance-pill, .user-name { white-space: nowrap; }
@media (min-width: 769px) {
    .main-nav { gap: 2px; margin-left: 6px; }
    .nav-link { padding: 8px 10px; font-size: 13.5px; gap: 5px; }
    .header-actions { gap: 8px; }
    .header-inner { gap: 12px; }
}
@media (min-width: 769px) and (max-width: 1180px) {
    .nav-link i { display: none; }
    .user-name { max-width: 70px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .header-inner { flex-wrap: wrap; }
    .nav-wrapper { flex-basis: 100%; flex-wrap: wrap; row-gap: 10px; }
}

/* ---------- Admin: yon panel + 4 ustunli statistika kichik noutbuk kengligida sig'ishi uchun ---------- */
@media (min-width: 1025px) and (max-width: 1240px) {
    .admin-content .stats-grid { grid-template-columns: repeat(2, 1fr); }
}


/* =========================================================
   v4.0 — YANGI SAHIFALAR: murojaat, API hujjati, admin panel, xavfsizlik
   ========================================================= */

/* ---------- Umumiy yordamchilar ---------- */
.mt-14 { margin-top: 14px; }
.mt-24 { margin-top: 24px; }
.mb-18 { margin-bottom: 18px; }
.ml-auto { margin-left: auto; }
.text-ok { color: #34d399; }
.text-danger { color: #f87171; }
.small-note { font-size: 12.5px; line-height: 1.5; }
.lh { line-height: 1.7; }
.grow { flex: 1 1 auto; min-width: 0; }
.stack-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.admin-content { min-width: 0; }
.admin-body .main-container { max-width: 1400px; }
.glass-card h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.glass-card h3 i { color: var(--primary); }
.section-card { overflow: hidden; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row-tight { gap: 6px; }
.btn-row form { margin: 0; }
.inline-form { display: inline-block; margin-top: 12px; }
.inline-form-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form-row .input-sm { width: 220px; max-width: 100%; }
.decide-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.decide-form .input-sm { width: 170px; max-width: 100%; }
.chip-sep { width: 1px; align-self: stretch; background: var(--border-color); margin: 0 4px; }
.row-off { opacity: 0.55; }
.log-msg { max-width: 420px; word-break: break-word; font-size: 13px; }
.logout-form { display: inline-flex; margin: 0; }
.link-btn { background: none; border: none; padding: 0; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.page-head form { margin: 0; }

/* ---------- Forma maydonlari (ikonkasiz) ---------- */
.input-plain,
.select-block {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.modern-form select,
.modern-form textarea { padding: 12px 14px; }
.modern-form .input-icon-wrap select { padding-left: 42px; }
.modern-form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.input-plain:focus,
.select-block:focus,
.modern-form textarea:focus,
.modern-form .input-icon-wrap select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.input-icon-wrap input::placeholder,
.input-plain::placeholder,
.modern-form textarea::placeholder { color: var(--text-muted); opacity: 0.8; }
.search-form-inline .select-block { width: auto; min-width: 190px; padding: 9px 12px; font-size: 13.5px; }
.char-count { text-align: right; }
.field-error { display: flex; align-items: center; gap: 5px; color: #f87171; font-size: 12.5px; font-weight: 600; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--danger) !important; }
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* parol kuchi ko'rsatkichi */
.pw-meter { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.pw-bar { flex: 1; height: 6px; background: var(--bg-input); border-radius: 999px; overflow: hidden; border: 1px solid var(--border-color); }
.pw-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: #ef4444; transition: width 0.25s ease, background 0.25s ease; }
.pw-fill[data-level="1"] { background: #f97316; }
.pw-fill[data-level="2"] { background: #f59e0b; }
.pw-fill[data-level="3"] { background: #84cc16; }
.pw-fill[data-level="4"] { background: #10b981; }
.pw-label { min-width: 74px; text-align: right; font-size: 12px; font-weight: 700; color: var(--text-muted); }

/* ---------- Ogohlantirishlar ---------- */
.alert > span, .alert > div { min-width: 0; word-break: break-word; }
.alert-warn { background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.4); color: #fbbf24; }
.alert-info { background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.35); color: #93c5fd; }
.alert a { text-decoration: underline; font-weight: 700; color: inherit; }
.mini-alert-ok { background: rgba(16, 185, 129, 0.13); border: 1px solid rgba(16, 185, 129, 0.38); color: #34d399; }
.mini-alert code { background: rgba(0, 0, 0, 0.2); padding: 1px 6px; border-radius: 6px; font-size: 12px; }

.alert-list { display: flex; flex-direction: column; gap: 10px; }
.alert-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-color);
    border-left: 4px solid #f59e0b; background: var(--bg-elevated);
}
.alert-row.lvl-bad, .alert-row.lvl-error { border-left-color: var(--danger); }
.alert-row.lvl-info { border-left-color: var(--primary); }
.alert-row-main { min-width: 0; flex: 1; word-break: break-word; }
.alert-row form { margin: 0; flex-shrink: 0; }

/* ---------- Belgilar (tag), sahifalash ---------- */
.tag-mini {
    display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 700; background: var(--bg-elevated); border: 1px solid var(--border-color);
    color: var(--text-muted); vertical-align: middle; white-space: nowrap;
}
.tag-ok { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.4); color: #34d399; }
.tag-warn { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.tag-admin { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.42); color: #fbbf24; }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.pager .pg {
    min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-elevated);
    color: var(--text-secondary); font-size: 13.5px; font-weight: 700;
}
.pager a.pg:hover { border-color: var(--primary); color: var(--primary); }
.pager .pg.cur { background: linear-gradient(135deg, var(--primary), #6366f1); border-color: transparent; color: #fff; }
.pager .pg.gap { border: none; background: none; min-width: 20px; padding: 0; }

/* ---------- Statistika kartalari, jadval qatorlari ---------- */
.stat-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.stat-info { min-width: 0; display: flex; flex-direction: column; }
.stat-info .stat-value { word-break: break-word; }
.modern-table tfoot th { padding: 13px 16px; font-size: 13px; text-align: left; background: var(--bg-elevated); border-top: 1px solid var(--border-color); }
.modern-table td .small-note { margin-top: 2px; }
.kv-list { display: flex; flex-direction: column; margin: 0; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border-color); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv dt, .kv > span:first-child { color: var(--text-muted); font-size: 13px; flex-shrink: 0; }
.kv dd, .kv-val { margin: 0; text-align: right; font-weight: 600; word-break: break-word; min-width: 0; }
.kv-val code { font-size: 12.5px; }

/* ---------- Radio kartalar (bildirishnoma auditoriyasi) ---------- */
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card > span {
    display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--border-color); background: var(--bg-input); transition: 0.2s ease;
}
.radio-card strong { font-size: 13.5px; }
.radio-card small { font-size: 12px; color: var(--text-muted); }
.radio-card:hover > span { border-color: var(--primary); }
.radio-card input:checked + span { border-color: var(--primary); background: rgba(59, 130, 246, 0.14); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16); }
.radio-card input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Ro'yxatlar, hujjat elementlari ---------- */
.doc-list { margin: 10px 0 14px 20px; display: flex; flex-direction: column; gap: 7px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.doc-list code, .doc-steps code, .doc-sec p code, .doc-table code { background: var(--bg-elevated); padding: 1px 6px; border-radius: 6px; font-size: 12.5px; }
.doc-steps { margin: 10px 0 14px 22px; display: flex; flex-direction: column; gap: 9px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ---------- Kod bloklari, tablar, API hujjat sahifasi ---------- */
.codeblock { border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; background: var(--bg-input); margin: 12px 0; }
.codeblock-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px;
    background: var(--bg-elevated); border-bottom: 1px solid var(--border-color); font-size: 12.5px; font-weight: 700; color: var(--text-secondary);
}
.codeblock pre { margin: 0; border: none; border-radius: 0; max-height: 440px; background: transparent; padding: 14px 16px; white-space: pre; word-break: normal; overflow: auto; font-size: 12.5px; line-height: 1.6; color: var(--text-main); }
.codeblock pre code { font-family: 'JetBrains Mono', monospace; background: none; padding: 0; font-size: inherit; }
.code-sample { margin-top: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.tab {
    padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-elevated);
    color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.2s ease;
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: linear-gradient(135deg, var(--primary), #6366f1); border-color: transparent; color: #fff; }

.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.docs-toc { position: sticky; top: 86px; padding: 18px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 110px); overflow: auto; }
.docs-toc-title { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.docs-toc a { padding: 7px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.docs-toc a:hover { background: var(--bg-elevated); color: var(--primary); }
.docs-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.doc-sec { scroll-margin-top: 90px; }
.doc-sec h2 { font-size: 20px; font-weight: 800; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.doc-sec p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; margin: 8px 0; }
.doc-sec .mini-alert { margin-top: 14px; margin-bottom: 0; }
.doc-num {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(59, 130, 246, 0.15); color: var(--primary); font-size: 14px; font-weight: 800;
}
.doc-table th, .doc-table td { padding: 10px 14px; font-size: 13.5px; vertical-align: top; }
.method-tag, .free-tag, .paid-tag { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.3px; }
.method-tag { background: rgba(139, 92, 246, 0.16); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.4); }
.free-tag { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.paid-tag { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.api-builder { background: var(--bg-elevated); border: 1px dashed var(--border-hover); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.api-builder .codeblock { margin: 0; }
.api-builder .codeblock pre { white-space: pre-wrap; word-break: break-all; max-height: 160px; }
.page-head-actions .btn { white-space: nowrap; }

/* ---------- Murojaat: yozishma va ro'yxat ---------- */
.support-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
.support-admin-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.thread-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.thread { display: flex; flex-direction: column; gap: 14px; max-height: 560px; overflow-y: auto; padding: 4px 6px 4px 0; margin-bottom: 14px; scrollbar-width: thin; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble-row.theirs { justify-content: flex-start; }
.bubble { max-width: min(580px, 90%); padding: 12px 16px; border-radius: 16px; border: 1px solid var(--border-color); min-width: 0; }
.bubble-row.mine .bubble { border-bottom-right-radius: 4px; }
.bubble-row.theirs .bubble { border-bottom-left-radius: 4px; }
.bubble-user { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.18)); border-color: rgba(59, 130, 246, 0.4); }
.bubble-admin { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.38); }
.bubble-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.bubble-meta strong { color: var(--text-secondary); }
.bubble-text { font-size: 14.5px; line-height: 1.6; word-break: break-word; }
.reply-form { border-top: 1px solid var(--border-color); padding-top: 18px; margin-top: 4px; }
.ticket-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--border-color); background: var(--bg-elevated); color: var(--text-main); transition: 0.2s ease;
}
.ticket-item:hover { border-color: var(--primary); transform: translateX(2px); }
.ticket-item.unread { border-left: 4px solid var(--primary); background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), var(--bg-elevated)); }
.ticket-main { min-width: 0; flex: 1; }
.ticket-subject { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.notif-icon-admin { background: rgba(245, 158, 11, 0.16); color: #f59e0b; }

/* ---------- Profil: API kalit ---------- */
.profile-grid { align-items: start; }
.newkey-card { border-color: rgba(16, 185, 129, 0.5); background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), var(--bg-card)); margin-bottom: 24px; }
.newkey-head, .newkey-title { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #34d399; margin-bottom: 12px; }
.key-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg-input); border: 1px dashed rgba(16, 185, 129, 0.6); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.key-value { flex: 1 1 260px; min-width: 0; word-break: break-all; font-size: 14px; letter-spacing: 0.3px; color: var(--text-main); }
.copy-temp { position: fixed; left: -9999px; top: 0; opacity: 0; }
.chat-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-elevated); margin-bottom: 8px; }

/* ---------- Kirish: admin va OTP ---------- */
.auth-card-wide { max-width: 560px; }
.auth-logo-admin { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35); }
.brand-icon-admin { background: linear-gradient(135deg, #f59e0b, #ef4444) !important; }
.auth-footer-split { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.auth-footer-split form { margin: 0; }
.otp-input { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 30px !important; font-weight: 800; letter-spacing: 12px; padding-left: 14px !important; padding-right: 2px !important; }

/* ---------- Tarif/karta/sozlamalar sahifalari ---------- */
.plan-admin-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; }
.notify-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.bank-card-visual { max-width: 420px; }

/* ---------- Sarlavha: bildirishnoma qo'ng'irog'i, foydalanuvchi, hisoblagichlar ---------- */
.nav-dot-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; }
.user-chip-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.footer-brand { min-width: 0; }

/* ---------- Boshqa: bosh sahifa, raqam olish ---------- */
.hero-content { min-width: 0; }
.hero-visual { min-width: 0; }
.showcase-card { width: 100%; }
.service-icon-tg { background: rgba(34, 158, 217, 0.18); color: #229ED9; }
.service-dot-tg { background: rgba(34, 158, 217, 0.18); color: #229ED9; }
.tg-color { color: #229ED9; }
.step-box { min-width: 0; }
.qc-blue   { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.qc-green  { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.qc-amber  { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.qc-purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.qc-pink   { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.qc-cyan   { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.file-name { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--primary); word-break: break-all; }
.file-name:empty { display: none; }
.toast-ic { font-size: 19px; color: #10b981; flex-shrink: 0; }
.toast-ic.err { color: #f87171; }
.toast-item { transition: opacity 0.25s ease, transform 0.25s ease; }
.toast-item.hide { opacity: 0; transform: translateY(10px); }
@media (max-width: 640px) { .toast-container { left: 12px; right: 12px; bottom: 12px; } }

/* ---------- Xato sahifasi (404, 419, 429, 500 ...) ---------- */
.errpage { align-items: center; justify-content: center; }
.err-wrap { display: flex; align-items: center; justify-content: center; padding: 24px 16px; width: 100%; flex: 1; }
.err-card { max-width: 480px; width: 100%; text-align: center; padding: 40px 30px; }
.err-code {
    font-size: 88px; font-weight: 800; line-height: 1; margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.err-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.err-text { color: var(--text-muted); margin-bottom: 22px; font-size: 14.5px; }

/* ---------- Yorug' mavzu: kontrast ---------- */
[data-theme="light"] .alert-success, [data-theme="light"] .mini-alert-ok, [data-theme="light"] .text-ok,
[data-theme="light"] .status-approved, [data-theme="light"] .badge-approved, [data-theme="light"] .badge-done,
[data-theme="light"] .free-tag, [data-theme="light"] .tag-ok, [data-theme="light"] .check-list li.ok, [data-theme="light"] .newkey-head,
[data-theme="light"] .newkey-title { color: #047857; }
[data-theme="light"] .alert-danger, [data-theme="light"] .text-danger, [data-theme="light"] .status-rejected,
[data-theme="light"] .badge-rejected, [data-theme="light"] .badge-cancelled, [data-theme="light"] .tag-warn,
[data-theme="light"] .check-list li.bad, [data-theme="light"] .field-error { color: #b91c1c; }
[data-theme="light"] .alert-warn, [data-theme="light"] .mini-alert-warn, [data-theme="light"] .status-pending,
[data-theme="light"] .badge-pending, [data-theme="light"] .paid-tag, [data-theme="light"] .tag-admin,
[data-theme="light"] .stale-flag { color: #b45309; }
[data-theme="light"] .alert-info { color: #1d4ed8; }
[data-theme="light"] .method-tag { color: #6d28d9; }
[data-theme="light"] .bubble-admin { background: rgba(245, 158, 11, 0.12); }
[data-theme="light"] .mini-alert code { background: rgba(15, 23, 42, 0.07); }
[data-theme="light"] .code-digits, [data-theme="light"] .country-price, [data-theme="light"] .code-chip { color: #047857; }
[data-theme="light"] .err-code { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; }

/* ---------- Moslashuvchanlik (yangi sahifalar) ---------- */
@media (max-width: 1024px) {
    .docs-layout { grid-template-columns: 1fr; }
    .docs-toc { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .docs-toc-title { width: 100%; }
}
@media (max-width: 860px) {
    .support-grid, .support-admin-grid, .plan-admin-grid, .notify-grid { grid-template-columns: 1fr; }
    .radio-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .bubble { max-width: 96%; }
    .otp-input { font-size: 24px !important; letter-spacing: 8px; }
    .inline-form-row .input-sm, .decide-form .input-sm { width: 100%; }
    .kv { flex-direction: column; align-items: flex-start; gap: 2px; }
    .kv dd, .kv-val { text-align: left; }
    .err-code { font-size: 68px; }
    .search-form-inline { flex-wrap: wrap; }
    .search-input-wrap input { min-width: 0; width: 100%; }
    .page-head-actions { width: 100%; }
}

/* ---------- Admin boshqaruv: yonma-yon jadvallar ixcham bo'ladi ("Holat" ustuni kesilmasin) ---------- */
.grid-2 .modern-table th { padding: 11px 10px; font-size: 11.5px; letter-spacing: 0.4px; }
.grid-2 .modern-table td { padding: 12px 10px; font-size: 13.5px; }
@media (min-width: 769px) {
    .grid-2.split-wide-right { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
