/* Brend: "Lime HUD" (D:\SMM\abbosbek\brand\BRAND.md) */
:root {
    --bg: #0A0F1F;
    --bg2: #0D1326;
    --surface: #121A33;
    --text: #F4F8EC;
    --muted: #9AA3B8;
    --lime: #C6FF3D;
    --violet: #8B7CFF;
    --teal: #5EEAD4;
    --glow: #3A2C8F;
    --warn: #FF8A5B;

    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --primary-color: var(--violet);
    --secondary-color: var(--lime);
    --success-color: var(--lime);
    --danger-color: var(--warn);
    --warning-color: var(--warn);
    --dark-bg: var(--bg);
    --darker-bg: var(--bg2);
    --light-text: var(--text);
    --muted-text: var(--muted);
    --border-color: rgba(139, 124, 255, 0.18);
    --card-bg: var(--surface);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    --transition: all 0.25s ease;
}

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

body {
    font-family: var(--font-body);
    font-weight: 500;
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-user-select: none;
    user-select: none;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* ============== HEADER ============== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565C0 100%);
    padding: 16px;
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 12px;
    border-radius: 8px;
}

.user-greeting {
    font-size: 13px;
    opacity: 0.9;
}

.user-balance {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============== MAIN CONTENT ============== */
.main-content {
    padding: 0 12px 100px 12px;
    max-width: 100%;
}

.section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--light-text);
}

/* ============== PRODUCTS ============== */
.product-category {
    margin-bottom: 24px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.category-header i {
    font-size: 18px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card:active {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(33, 150, 243, 0.3);
}

.product-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.product-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-quantity {
    font-size: 12px;
    color: var(--muted-text);
    margin-bottom: 8px;
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 0;
    color: var(--muted-text);
}

/* ============== CART ============== */
.cart-container {
    margin-bottom: 20px;
}

.cart-items {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.cart-item {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-details {
    font-size: 12px;
    color: var(--muted-text);
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 12px;
}

.cart-item-remove {
    background: rgba(244, 67, 54, 0.1);
    border: none;
    color: var(--danger-color);
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.cart-item-remove:active {
    background: rgba(244, 67, 54, 0.2);
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted-text);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.cart-summary {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
}

.total-price {
    color: var(--secondary-color);
    font-weight: 700;
}

/* ============== PROFILE ============== */
.profile-container {
    margin-bottom: 20px;
}

.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

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

.detail-row .value {
    font-weight: 600;
    color: var(--light-text);
    word-break: break-all;
}

/* ============== REFERRAL ============== */
.referral-description {
    font-size: 13px;
    color: var(--muted-text);
    margin-bottom: 12px;
}

.referral-link-box {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.referral-link {
    flex: 1;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
}

.btn-copy {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy:active {
    background: #1565C0;
    transform: scale(0.95);
}

.referral-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--darker-bg);
    border-radius: 6px;
}

.stat-label {
    font-size: 12px;
    color: var(--muted-text);
}

.stat-value {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 14px;
}

/* ============== ORDER HISTORY ============== */
.order-history {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.order-id {
    font-weight: 600;
    color: var(--light-text);
}

.order-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.order-status.pending {
    background: rgba(255, 152, 0, 0.2);
    color: var(--warning-color);
}

.order-status.paid {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
}

.order-details {
    color: var(--muted-text);
    margin-top: 6px;
}

/* ============== BUTTONS ============== */
.btn {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:active {
    background: #1565C0;
    transform: scale(0.98);
}

.btn-large {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

/* ============== MODALS ============== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: flex-end;
    justify-content: center;
    animation: slideUp 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-content {
    background: var(--dark-bg);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--border-color);
    border: none;
    color: var(--light-text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 1001;
}

.modal-close:active {
    background: var(--primary-color);
}

.modal-body {
    padding: 30px 20px 20px 20px;
}

.modal-body h2 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--light-text);
}

.modal-description {
    font-size: 13px;
    color: var(--muted-text);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ============== PRODUCT DETAIL MODAL ============== */
.product-detail {
    text-align: center;
}

.product-detail .product-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.product-detail h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-description {
    color: var(--muted-text);
    margin-bottom: 16px;
}

.product-fields {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--light-text);
}

.form-input {
    width: 100%;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.2);
}

.form-group small {
    display: block;
    font-size: 11px;
    color: var(--muted-text);
    margin-top: 4px;
}

.product-price-box {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 13px;
    color: var(--muted-text);
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

/* ============== CHECKOUT ============== */
.checkout-items {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.checkout-item {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-summary {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.payment-methods {
    margin-bottom: 16px;
}

.payment-methods h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light-text);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:last-child {
    margin-bottom: 0;
}

.payment-method input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.payment-method input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.payment-method span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--light-text);
}

/* ============== SUCCESS ============== */
.success-animation {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 64px;
    color: var(--success-color);
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ============== BOTTOM NAVIGATION ============== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 99;
}

.nav-item {
    background: none;
    border: none;
    color: var(--muted-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 10px;
    width: 60px;
}

.nav-item i {
    font-size: 24px;
}

.nav-item.active {
    color: var(--primary-color);
    background: rgba(33, 150, 243, 0.1);
}

.nav-item:active {
    transform: scale(0.9);
}

/* ============== TOAST ============== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--darker-bg);
    color: var(--light-text);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
    z-index: 2000;
    border: 1px solid var(--border-color);
    animation: slideIn 0.3s ease;
}

.toast.show {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.toast.success {
    border-color: var(--success-color);
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.toast.error {
    border-color: var(--danger-color);
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger-color);
}

/* ============== RESPONSIVE ============== */
@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-content {
        border-radius: 16px;
        margin: 20px;
        max-height: 80vh;
    }

    .bottom-nav {
        height: 60px;
    }

    .main-content {
        padding: 0 16px 80px 16px;
    }
}

/* ============== BREND: LIME HUD ==============
   Fon: bg + violet panjara + yuqori o'ngda glow nuri.
   Sarlavha: Unbounded 900, KATTA HARF. Yorliq/raqam: IBM Plex Mono.
   Lime — asosiy urg'u (narx, CTA); lime ustidagi matn faqat bg rangida. */
body {
    background:
        radial-gradient(circle at 100% 0%, rgba(58, 44, 143, 0.55) 0%, transparent 45%),
        linear-gradient(rgba(139, 124, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(139, 124, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
        var(--bg);
    background-attachment: fixed;
}

/* Header */
.header {
    background: rgba(10, 15, 31, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
}

.app-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 22px;
    text-transform: none; /* brend nomi aynan "OsonOL" yoziladi */
    letter-spacing: 0;
    line-height: 1.05;
}

.app-title::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: var(--lime);
    border-radius: 2px;
    margin-bottom: 8px;
}

.header-btn {
    background: var(--surface);
    border: 1px solid var(--border-color);
    color: var(--text);
}

.header-btn:active {
    background: var(--bg2);
}

.cart-badge {
    background: var(--lime);
    color: var(--bg);
    font-family: var(--font-mono);
}

.user-info {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.user-greeting {
    color: var(--muted);
}

.user-balance {
    font-family: var(--font-mono);
    color: var(--text);
}

.user-balance i {
    color: var(--violet);
}

/* Sarlavhalar va yorliqlar */
.section-title,
.card-title,
.modal-body h2,
.product-detail h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--text);
}

.section-title {
    font-size: 20px;
    margin: 8px 0 20px;
}

.card-title {
    font-size: 14px;
}

.category-header {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lime);
}

.category-header h3 {
    font-size: inherit;
    font-weight: inherit;
}

.category-header i {
    color: var(--violet);
    font-size: 14px;
}

/* Mahsulot kartochkalari */
.product-card {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg2) 100%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 12px;
}

.product-card:active {
    border-color: var(--lime);
    box-shadow: 0 0 0 1px var(--lime), 0 0 24px rgba(198, 255, 61, 0.15);
}

.product-name {
    font-weight: 800;
    color: var(--text);
}

.product-quantity {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price,
.cart-item-price,
.total-price,
.stat-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--lime);
}

/* Bo'sh bo'lsa ko'k chiziq ko'rinmasin */
.product-fields:empty {
    display: none;
}

/* Tugmalar: CTA — lime fon, bg rangli matn */
.btn-primary,
.btn-copy {
    background: var(--lime);
    color: var(--bg);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:active,
.btn-copy:active {
    background: #b3ec2a;
}

.btn {
    border-radius: 12px;
}

.cart-item-remove {
    color: var(--warn);
    background: rgba(255, 138, 91, 0.1);
}

/* Kartalar (savatcha, profil, to'lov) */
.cart-item,
.cart-summary,
.profile-card,
.order-item,
.checkout-item,
.checkout-summary,
.payment-method,
.product-price-box,
.stat {
    background: var(--surface);
    border-color: var(--border-color);
}

.detail-row .label,
.stat-label,
.price-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

.referral-link,
.form-input {
    font-family: var(--font-mono);
    background: var(--bg);
    border: 1px solid var(--border-color);
    color: var(--text);
}

.form-input:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 1px var(--lime);
}

.order-id {
    font-family: var(--font-mono);
    color: var(--violet);
}

.order-status {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-status.paid {
    background: rgba(198, 255, 61, 0.12);
    color: var(--lime);
}

.order-status.pending {
    background: rgba(139, 124, 255, 0.15);
    color: var(--violet);
}

.payment-method input[type="radio"] {
    accent-color: var(--lime);
}

.payment-method input[type="radio"]:checked + span {
    color: var(--lime);
}

/* Modal */
.modal {
    background: rgba(5, 8, 18, 0.75);
}

.modal-content {
    background: var(--bg2);
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.modal-close {
    background: var(--surface);
    color: var(--text);
}

/* Pastki menyu */
.bottom-nav {
    background: rgba(13, 19, 38, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-item {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 9px;
}

.nav-item.active {
    color: var(--lime);
    background: rgba(198, 255, 61, 0.08);
}

.toast {
    font-family: var(--font-mono);
    background: var(--surface);
    border-color: var(--lime);
}

/* ============== SUZUVCHI KAPSULA MENYU ==============
   4 bo'lim; faol tugma lime fonda kengayib nomini ko'rsatadi, qolganlari faqat ikonka. */
.main-content {
    padding-bottom: 170px;
}

.bottom-nav {
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 420px;
    height: 62px;
    padding: 6px;
    gap: 4px;
    justify-content: space-between;
    background: rgba(18, 26, 51, 0.88);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(139, 124, 255, 0.06) inset;
}

.nav-item {
    flex: 0 0 auto;
    width: auto;
    height: 50px;
    min-width: 50px;
    padding: 0 16px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    transition: background 0.25s ease, color 0.25s ease, flex-grow 0.25s ease;
}

.nav-item i {
    font-size: 18px;
}

.nav-item span {
    display: none;
    white-space: nowrap;
}

.nav-item.active {
    flex: 1 1 auto;
    background: var(--lime);
    color: var(--bg);
}

.nav-item.active span {
    display: inline;
}

.nav-item:not(.active):active {
    background: rgba(139, 124, 255, 0.12);
}

