@import url(
    'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'
);


:root {

    --bg: #0d1117;

    --sidebar: #111720;

    --card: #161d27;

    --card-hover: #1b2430;

    --border: #26303d;

    --primary: #b6f23a;

    --primary-hover: #a4df2e;

    --primary-dark: #1c2907;

    --text: #f7f9fb;

    --text-muted: #8c98a8;

    --danger: #ff5f67;

    --warning: #ffb84d;

    --success: #3ddc97;

    --sidebar-width: 260px;

}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        "Inter",
        sans-serif;

    background:
        var(--bg);

    color:
        var(--text);

}


/* =========================================================
   LOGIN
========================================================= */


.login-page {

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

}


.login-visual {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content:
        space-between;

    padding: 48px;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(7, 11, 16, 0.55),
            rgba(7, 11, 16, 0.94)
        ),
        url(
            "https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1600&q=85"
        );

    background-size: cover;

    background-position:
        center;

}


.login-visual::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    right: -170px;

    bottom: -160px;

    border-radius: 50%;

    background:
        var(--primary);

    filter:
        blur(150px);

    opacity: 0.16;

}


.brand {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 22px;

    font-weight: 800;

}


.brand-icon {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        var(--primary);

    color: #111;

    font-size: 22px;

}


.login-copy {

    position: relative;

    z-index: 2;

    max-width: 610px;

}


.login-copy-badge {

    display: inline-flex;

    align-items: center;

    padding: 8px 13px;

    border:
        1px solid
        rgba(
            182,
            242,
            58,
            0.4
        );

    border-radius: 100px;

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 22px;

}


.login-copy h1 {

    font-size:
        clamp(
            42px,
            5vw,
            68px
        );

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 24px;

}


.login-copy h1 span {

    color:
        var(--primary);

}


.login-copy p {

    color: #aeb7c3;

    line-height: 1.7;

    font-size: 16px;

    max-width: 530px;

}


.login-form-area {

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px;

    background: #0d1117;

}


.login-card {

    width: 100%;

    max-width: 430px;

}


.login-card .mobile-logo {

    display: none;

}


.login-card h2 {

    font-size: 32px;

    letter-spacing: -1px;

    margin-bottom: 10px;

}


.login-card > p {

    color:
        var(--text-muted);

    margin-bottom: 35px;

    line-height: 1.5;

}


/* =========================================================
   FORMS
========================================================= */


.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    margin-bottom: 9px;

    color: #ced5df;

    font-size: 14px;

    font-weight: 600;

}


.form-control {

    width: 100%;

    min-height: 52px;

    padding: 0 16px;

    color:
        var(--text);

    background: #121923;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    outline: none;

    font-family: inherit;

    font-size: 15px;

    transition: 0.2s;

}


select.form-control {

    cursor: pointer;

}


.form-control:focus {

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(
            182,
            242,
            58,
            0.08
        );

}


.form-control::placeholder {

    color: #586575;

}


.form-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 4px 20px;

}


.panel-body {

    padding: 25px;

}


.form-panel {

    max-width: 1050px;

}


.form-actions {

    display: flex;

    justify-content:
        flex-end;

    align-items: center;

    gap: 12px;

    margin-top: 10px;

    padding-top: 24px;

    border-top:
        1px solid
        var(--border);

}


/* =========================================================
   BUTTONS
========================================================= */


.btn-primary {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 12px;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    background:
        var(--primary);

    color: #10150b;

    transition: 0.2s;

}


.btn-primary:hover {

    background:
        var(--primary-hover);

    transform:
        translateY(-1px);

}


.btn-auto {

    width: auto;

    padding:
        0 24px;

}


.btn-secondary {

    height: 52px;

    padding:
        0 22px;

    display: inline-flex;

    align-items: center;

    justify-content:
        center;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        var(--card);

    color:
        var(--text-muted);

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.2s;

}


.btn-secondary:hover {

    background:
        var(--card-hover);

    color:
        var(--text);

}


/* =========================================================
   ALERTS
========================================================= */


.alert-error {

    padding: 13px 15px;

    background:
        rgba(
            255,
            95,
            103,
            0.1
        );

    border:
        1px solid
        rgba(
            255,
            95,
            103,
            0.3
        );

    color: #ff8c92;

    border-radius: 10px;

    margin-bottom: 20px;

    font-size: 14px;

}


/* =========================================================
   DASHBOARD LAYOUT
========================================================= */


.dashboard-layout {

    min-height: 100vh;

}


.sidebar {

    width:
        var(--sidebar-width);

    height: 100vh;

    position: fixed;

    top: 0;

    left: 0;

    padding:
        24px 18px;

    background:
        var(--sidebar);

    border-right:
        1px solid
        var(--border);

    display: flex;

    flex-direction: column;

    z-index: 20;

    overflow-y: auto;

}


.sidebar-brand {

    height: 58px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 0 10px;

    font-weight: 800;

    font-size: 20px;

    margin-bottom: 28px;

}


.sidebar-brand-icon {

    width: 38px;

    height: 38px;

    border-radius: 11px;

    display: grid;

    place-items: center;

    background:
        var(--primary);

    color: #10150b;

}


.nav-section-title {

    padding: 0 12px;

    margin:
        18px 0 8px;

    color: #586575;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.3px;

}


.nav-link {

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 47px;

    padding: 0 13px;

    border-radius: 10px;

    color: #91a0b0;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    margin-bottom: 5px;

    transition: 0.2s;

}


.nav-link:hover {

    background: #18212c;

    color:
        var(--text);

}


.nav-link.active {

    background:
        rgba(
            182,
            242,
            58,
            0.12
        );

    color:
        var(--primary);

}


.nav-icon {

    width: 22px;

    font-size: 18px;

    display: flex;

    justify-content: center;

}


.sidebar-bottom {

    margin-top: auto;

}


.admin-profile {

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        14px 10px;

    margin-top: 8px;

    border-top:
        1px solid
        var(--border);

}


.admin-avatar {

    width: 38px;

    height: 38px;

    min-width: 38px;

    border-radius: 50%;

    background:
        var(--primary);

    color: #111;

    display: grid;

    place-items: center;

    font-weight: 800;

}


.admin-meta {

    min-width: 0;

}


.admin-name {

    font-size: 13px;

    font-weight: 600;

}


.admin-email {

    color:
        var(--text-muted);

    font-size: 11px;

    margin-top: 3px;

    overflow: hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

    max-width: 145px;

}


.logout-link {

    color: #ff7b82;

}


/* =========================================================
   MAIN
========================================================= */


.main-content {

    margin-left:
        var(--sidebar-width);

    min-height: 100vh;

}


.topbar {

    min-height: 80px;

    padding:
        15px 32px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;

    border-bottom:
        1px solid
        var(--border);

    background:
        rgba(
            13,
            17,
            23,
            0.9
        );

    backdrop-filter:
        blur(8px);

}


.page-heading h1 {

    font-size: 22px;

    margin-bottom: 5px;

}


.page-heading p {

    color:
        var(--text-muted);

    font-size: 13px;

}


.topbar-actions {

    display: flex;

    gap: 10px;

}


.icon-btn {

    width: 42px;

    height: 42px;

    border:
        1px solid
        var(--border);

    background:
        var(--card);

    border-radius: 10px;

    color:
        var(--text);

    cursor: pointer;

    transition: 0.2s;

}


.icon-btn:hover {

    border-color:
        #394656;

    background:
        var(--card-hover);

}


.dashboard-content {

    padding:
        30px 32px 50px;

}


/* =========================================================
   WELCOME
========================================================= */


.welcome-panel {

    position: relative;

    overflow: hidden;

    padding:
        30px 70px 30px 30px;

    border-radius: 18px;

    background:
        linear-gradient(
            105deg,
            rgba(
                182,
                242,
                58,
                0.16
            ),
            rgba(
                22,
                29,
                39,
                0.5
            )
        ),
        var(--card);

    border:
        1px solid
        rgba(
            182,
            242,
            58,
            0.15
        );

    margin-bottom: 24px;

}


.welcome-panel::after {

    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    right: -80px;

    top: -110px;

    border-radius: 50%;

    background:
        var(--primary);

    filter:
        blur(100px);

    opacity: 0.12;

    pointer-events: none;

}


.welcome-panel h2 {

    position: relative;

    z-index: 2;

    font-size: 26px;

    margin-bottom: 8px;

}


.welcome-panel p {

    position: relative;

    z-index: 2;

    color:
        var(--text-muted);

}


.welcome-close {

    position: absolute;

    top: 18px;

    right: 18px;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 9px;

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );

    color:
        var(--text-muted);

    font-size: 15px;

    cursor: pointer;

    z-index: 5;

    transition:
        all 0.2s ease;

}


.welcome-close:hover {

    background:
        rgba(
            255,
            255,
            255,
            0.09
        );

    color:
        var(--text);

    border-color:
        rgba(
            255,
            255,
            255,
            0.14
        );

}


.welcome-panel.welcome-hidden {

    display: none;

}


/* =========================================================
   STATS
========================================================= */


.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 18px;

    margin-bottom: 24px;

}


.stat-card {

    position: relative;

    background:
        var(--card);

    border:
        1px solid
        var(--border);

    padding: 22px;

    border-radius: 16px;

    transition: 0.2s;

}


.stat-card:hover {

    transform:
        translateY(-2px);

    background:
        var(--card-hover);

}


.stat-card-top {

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 10px;

}


.stat-label {

    color:
        var(--text-muted);

    font-size: 13px;

    font-weight: 500;

}


.stat-icon {

    width: 40px;

    height: 40px;

    min-width: 40px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(
            182,
            242,
            58,
            0.09
        );

    color:
        var(--primary);

}


.stat-value {

    margin-top: 18px;

    font-size: 29px;

    font-weight: 800;

    letter-spacing: -1px;

}


.stat-footer {

    color:
        var(--text-muted);

    font-size: 12px;

    margin-top: 8px;

}


.stat-positive {

    color:
        var(--success);

}


/* =========================================================
   PANELS
========================================================= */


.dashboard-grid {

    display: grid;

    grid-template-columns:
        1.6fr 1fr;

    gap: 18px;

}


.panel {

    background:
        var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    overflow: hidden;

}


.panel-header {

    padding:
        20px 22px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 15px;

    border-bottom:
        1px solid
        var(--border);

}


.panel-header h3 {

    font-size: 15px;

}


.panel-header a {

    color:
        var(--primary);

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

}


/* =========================================================
   TABLE
========================================================= */


.table-wrap {

    overflow-x: auto;

}


table {

    width: 100%;

    border-collapse:
        collapse;

}


th,
td {

    padding:
        16px 22px;

    text-align: left;

    font-size: 13px;

    border-bottom:
        1px solid
        var(--border);

}


tr:last-child td {

    border-bottom: 0;

}


th {

    color:
        var(--text-muted);

    font-size: 11px;

    text-transform:
        uppercase;

    letter-spacing: 0.5px;

    white-space: nowrap;

}


td {

    color: #d5dce5;

}


.empty-table-message {

    text-align: center;

    padding: 40px !important;

    color:
        var(--text-muted);

}


.empty-table-message i {

    display: block;

    font-size: 27px;

    margin-bottom: 12px;

}


.empty-table-message span {

    display: block;

}


/* =========================================================
   BADGES
========================================================= */


.badge {

    display: inline-flex;

    align-items: center;

    padding:
        6px 9px;

    border-radius:
        100px;

    background:
        rgba(
            140,
            152,
            168,
            0.1
        );

    color:
        var(--text-muted);

    font-size: 11px;

    font-weight: 700;

    text-transform:
        capitalize;

}


.badge-paid {

    background:
        rgba(
            61,
            220,
            151,
            0.1
        );

    color:
        var(--success);

}


.badge-trial {

    background:
        rgba(
            255,
            184,
            77,
            0.1
        );

    color:
        var(--warning);

}


.badge-danger {

    background:
        rgba(
            255,
            95,
            103,
            0.1
        );

    color:
        var(--danger);

}


/* =========================================================
   QUICK ACTIONS
========================================================= */


.quick-actions {

    padding: 18px;

}


.quick-action {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 14px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    text-decoration: none;

    color:
        var(--text);

    margin-bottom: 10px;

    transition: 0.2s;

}


.quick-action:last-child {

    margin-bottom: 0;

}


.quick-action:hover {

    background: #1b2430;

    border-color: #364455;

    transform:
        translateX(2px);

}


.quick-action-icon {

    width: 38px;

    height: 38px;

    min-width: 38px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        rgba(
            182,
            242,
            58,
            0.08
        );

    color:
        var(--primary);

}


.quick-action strong {

    display: block;

    font-size: 13px;

    margin-bottom: 3px;

}


.quick-action span {

    color:
        var(--text-muted);

    font-size: 11px;

}


/* =========================================================
   RESPONSIVE
========================================================= */


@media (
    max-width: 1100px
) {

    .stats-grid {

        grid-template-columns:
            repeat(
                2,
                1fr
            );

    }


    .dashboard-grid {

        grid-template-columns:
            1fr;

    }

}


@media (
    max-width: 850px
) {

    .login-page {

        grid-template-columns:
            1fr;

    }


    .login-visual {

        display: none;

    }


    .login-card
    .mobile-logo {

        display: flex;

        margin-bottom: 45px;

    }


    .sidebar {

        display: none;

    }


    .main-content {

        margin-left: 0;

    }


    .dashboard-content {

        padding:
            22px 18px;

    }


    .topbar {

        padding:
            15px 18px;

    }


    .form-grid {

        grid-template-columns:
            1fr;

    }

}


@media (
    max-width: 600px
) {

    .stats-grid {

        grid-template-columns:
            1fr;

    }


    .login-form-area {

        padding: 25px;

    }


    .welcome-panel {

        padding:
            25px 60px 25px 22px;

    }


    .welcome-panel h2 {

        font-size: 21px;

    }


    .form-actions {

        flex-direction:
            column-reverse;

        align-items:
            stretch;

    }


    .btn-auto,
    .btn-secondary {

        width: 100%;

    }

}

/* =====================================================
   GLOBAL CURRENCY DISPLAY
   Example: 4,500 PKR
===================================================== */

.currency-amount {
    white-space: nowrap;
}
.currency-code {
    display: inline-block !important;

    margin-left: 4px !important;

    color: var(--primary) !important;

    font-size: 0.55em !important;

    font-weight: 800 !important;

    line-height: 1 !important;

    vertical-align: middle !important;

    letter-spacing: 0.3px !important;
}

.currency-amount .currency-code {
    color: var(--primary) !important;
}