@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #080808;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 60px;
    background-color: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-r {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: #888888;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.buy-pill-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 6px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.buy-pill-btn:hover, .buy-pill-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Telefon uchun yashirin elementlar (kompyuterda yopiq) */
.mobile-nav,
.menu-btn,
.mobile-menu,
#menu-toggle {
    display: none;
}

/* ==========================================
   MAIN LAYOUT & SIDEBAR
   ========================================== */
.main-container {
    display: flex;
    gap: 30px;
    padding: 40px 60px;
    max-width: 1500px;
    margin: 0 auto;
    min-height: calc(100vh - 85px);
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.user-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.user-info h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.status-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666666;
}

.status-badge.online {
    color: #00e676;
}

.sidebar-menu {
    list-style: none;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.menu-item {
    padding: 13px 16px;
    border-radius: 8px;
    cursor: pointer;
    color: #888888;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.menu-item:hover, .menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.menu-item.logout {
    color: #ff4d4d;
}

.menu-item.logout:hover {
    background: rgba(255, 77, 77, 0.1);
}

/* ==========================================
   CONTENT AREA
   ========================================== */
.content-area {
    flex-grow: 1;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-title {
    margin-bottom: 25px;
}

.page-title h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.page-title p {
    color: #777777;
    font-size: 13px;
}

/* ==========================================
   ADMIN LOGIN CARD
   ========================================== */
.admin-login-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 35px;
    max-width: 440px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.shield-box {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    margin: 0 auto 20px auto;
}

.admin-login-card h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.login-sub {
    color: #666666;
    font-size: 13px;
    margin-bottom: 30px;
}

.input-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    margin-bottom: 20px;
}

.input-box label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #777777;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-box input {
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 14px;
    color: #ffffff;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.3s ease;
}

.input-box input:focus {
    border-color: #ffffff;
}

.btn-primary {
    width: 100%;
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.login-error {
    color: #ff4d4d;
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
    display: none;
}

/* ==========================================
   DASHBOARD STATS & ORDERS
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #777777;
}

.stat-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.active-text {
    color: #00e676 !important;
}

.mt-30 {
    margin-top: 30px;
}

.data-box {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.box-header {
    margin-bottom: 18px;
}

.box-header h3 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666666;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

td {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #dddddd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}


/* Status Pills for Dashboard Table */
.status-pill {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}
.status-pending {
    background: rgba(255, 179, 0, 0.15);
    color: #ffb300;
    border: 1px solid rgba(255, 179, 0, 0.3);
}
.status-paid {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}
.status-delivered {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.3);
}
.status-rejected {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
}

.badge-type {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.empty-table {
    text-align: center;
    color: #666666;
    padding: 40px 0;
}

/* ==========================================
   NARXLAR PANELI SECTION
   ========================================== */
.method-toggle-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease;
}

.method-toggle-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.toggle-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toggle-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-green, #00e676);
}

.toggle-card-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.toggle-card-text p {
    font-size: 12px;
    color: #888888;
}

.toggle-card-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.method-status-badge.status-on {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.35);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.method-status-badge.status-off {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
}

/* CUSTOM SWITCH SLIDER */
.admin-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.admin-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.admin-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #262626;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.admin-switch input:checked + .admin-slider {
    background-color: #00e676;
    border-color: #00e676;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
}

.admin-switch input:checked + .admin-slider:before {
    transform: translateX(23px);
    background-color: #000000;
}

@media (max-width: 600px) {
    .method-toggle-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 16px;
    }
    .toggle-card-right {
        width: 100%;
        justify-content: space-between;
    }
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.price-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-card-header {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card-header i {
    color: #00e676;
}

.btn-save {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-save:hover {
    background: #00e676;
    color: #000000;
}

/* ==========================================
   MOBILE RESPONSIVE (TELEFONLAR UCHUN)
   ========================================== */
@media screen and (max-width: 992px) {
    .navbar {
        padding: 18px 25px;
    }

    .main-container {
        padding: 30px 25px;
        gap: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* NAVBAR */
    .navbar {
        padding: 16px 16px;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .logo {
        font-size: 14px;
        letter-spacing: 2px;
    }

    /* Kompyuter menyusini yashirish */
    .desktop-menu,
    .buy-pill-btn {
        display: none !important;
    }

    /* Telefon tezkor havolalari */
    .mobile-nav {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-nav a {
        color: #888888;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.5px;
        white-space: nowrap;
        transition: color 0.2s;
    }

    .mobile-nav a:hover {
        color: #ffffff;
    }

    /* Hamburger tugmasi */
    #menu-toggle {
        display: none;
    }

    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-btn span {
        width: 22px;
        height: 2px;
        background: #ffffff;
        border-radius: 4px;
        transition: 0.3s ease;
    }

    #menu-toggle:checked + .menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #menu-toggle:checked + .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Ochiluvchi mobil menyu */
    .mobile-menu {
        display: flex;
        position: absolute;
        top: 62px;
        right: 12px;
        width: 170px;
        padding: 10px;
        flex-direction: column;
        gap: 4px;
        background: rgba(18, 18, 18, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.96);
        transition: 0.25s ease;
        z-index: 1001;
    }

    #menu-toggle:checked ~ .mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .mobile-menu a {
        color: #ffffff;
        text-decoration: none;
        padding: 10px 12px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .mobile-menu a:hover, .mobile-menu a.active {
        background: rgba(255, 255, 255, 0.12);
        color: #00e676;
    }

    /* ASOSIY KONTEYNER TELEFONDA */
    .main-container {
        flex-direction: column;
        padding: 20px 14px;
        gap: 20px;
    }

    .sidebar {
        width: 100%;
    }

    .user-card {
        padding: 15px;
        margin-bottom: 12px;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px;
    }

    .menu-item {
        flex: 1 1 calc(50% - 8px);
        font-size: 11px;
        padding: 10px 8px;
        justify-content: center;
        margin-bottom: 0;
        text-align: center;
    }

    .admin-login-card {
        padding: 28px 18px;
        margin: 15px auto;
        width: 100%;
        max-width: 100%;
    }

    .page-title h2 {
        font-size: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .data-box {
        padding: 16px;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 540px;
    }

    .prices-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media screen and (max-width: 380px) {
    .navbar {
        padding: 14px 10px;
    }

    .logo {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .mobile-nav {
        gap: 8px;
    }

    .mobile-nav a {
        font-size: 9px;
    }

    .sidebar-menu .menu-item {
        flex: 1 1 100%;
    }
}


/* ==========================================
   YANGI PAKET QO'SHISH VA BOSHQARISH USLUBLARI
   ========================================== */
.add-package-card {
    background: #111114;
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(0, 230, 118, 0.15);
    transition: all 0.3s ease;
}

.add-package-card:hover {
    border-color: rgba(0, 230, 118, 0.45);
}

.add-pkg-header {
    margin-bottom: 18px;
}

.add-pkg-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.add-pkg-title i {
    font-size: 26px;
    color: #00e676;
}

.add-pkg-title h4 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.add-pkg-title p {
    font-size: 12px;
    color: #888888;
    margin: 0;
}

.add-pkg-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.btn-add-pkg {
    align-self: flex-start;
    background: #00e676;
    color: #000000;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-add-pkg:hover {
    background: #00c853;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
}

.card-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.card-actions-row .btn-save {
    flex: 1;
    margin-top: 0;
}

.btn-delete-pkg {
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff5252;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-pkg:hover {
    background: #ff5252;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
}

@media (max-width: 600px) {
    .btn-add-pkg {
        width: 100%;
        justify-content: center;
    }
}


/* ===================================================
   DASHBOARD LUXURY PROFIT & STATS STYLES
   =================================================== */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
    margin-bottom: 30px !important;
}

@media screen and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

.profit-stat-card {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.12) 0%, #111111 100%) !important;
    border: 1px solid rgba(0, 230, 118, 0.4) !important;
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.1) !important;
}

.stat-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profit-amount {
    color: #00e676 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    text-shadow: 0 0 15px rgba(0, 230, 118, 0.3) !important;
}

.stat-tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
}

.stat-tag.tag-green {
    background: rgba(0, 230, 118, 0.2);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.stat-subtext {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.text-green {
    color: #00e676 !important;
}

.live-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #00e676;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e676;
    animation: pulseDotAnim 2s infinite;
}

@keyframes pulseDotAnim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Method Tag in Table */
.method-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.method-tag.method-account {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.method-tag.method-pass {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Cost Setting Box */
.cost-setting-box {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cost-info h4 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cost-info p {
    color: #888888;
    font-size: 12.5px;
    margin: 0;
}

.cost-input-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cost-input-area input {
    background: #090909;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #00e676;
    font-size: 16px;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 8px;
    width: 110px;
    text-align: center;
    outline: none;
    transition: 0.25s ease;
}

.cost-input-area input:focus {
    border-color: #00e676;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}

.cost-input-area .unit-text {
    color: #aaaaaa;
    font-size: 13px;
    font-weight: 600;
}

.btn-save-cost {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-save-cost:hover {
    background: #00e676;
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.4);
}

/* ==========================================
   TIZIMNI RESTART QILISH (TOZALASH) USLUBLARI
   ========================================== */
.system-restart-card {
    background: linear-gradient(135deg, #181111 0%, #0d0909 50%, #150f0f 100%);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 71, 87, 0.15);
    margin-bottom: 30px;
}

.restart-info {
    max-width: 650px;
}

.restart-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.restart-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.4);
    color: #ff4757;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.restart-safe-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: #00e676;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.restart-info h4 {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0 6px 0;
}

.restart-info p {
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.5;
    margin: 0;
}

.restart-info p strong {
    color: #00e676;
}

.btn-restart-system {
    background: #ff4757;
    color: #ffffff;
    border: none;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(255, 71, 87, 0.35);
}

.btn-restart-system:hover {
    background: #ff6b81;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 71, 87, 0.5);
}

.btn-restart-system:active {
    transform: scale(0.97);
}

@media screen and (max-width: 768px) {
    .system-restart-card {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .btn-restart-system {
        width: 100%;
        justify-content: center;
    }
}
