      * {
            box-sizing: border-box;
        }


        html,
        body {
            margin: 0;
            padding: 0;
            min-height: 100%;
        }


        body {
            font-family:
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                Roboto,
                Helvetica,
                Arial,
                sans-serif;

            background:
                linear-gradient(
                    135deg,
                    #081426 0%,
                    #0d1d38 55%,
                    #102b52 100%
                );

            color: #172033;
        }


        .login-page {
            min-height: 100vh;

            display: flex;
            align-items: center;
            justify-content: center;

            padding: 30px 20px;

            position: relative;
            overflow: hidden;
        }


        .login-page::before {
            content: "";

            position: absolute;

            width: 520px;
            height: 520px;

            top: -260px;
            right: -180px;

            border-radius: 50%;

            background: rgba(255, 255, 255, 0.035);
        }


        .login-page::after {
            content: "";

            position: absolute;

            width: 430px;
            height: 430px;

            bottom: -230px;
            left: -180px;

            border-radius: 50%;

            background: rgba(255, 255, 255, 0.025);
        }


        .login-card {
            width: 100%;
            max-width: 430px;

            background: #ffffff;

            border-radius: 20px;

            padding: 38px;

            position: relative;
            z-index: 2;

            box-shadow:
                0 30px 80px rgba(0, 0, 0, 0.25);
        }


        .brand {
            text-align: center;
            margin-bottom: 30px;
        }


        .brand-mark {
            width: 52px;
            height: 52px;

            margin: 0 auto 16px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 14px;

            background:
                linear-gradient(
                    135deg,
                    #0c1d38,
                    #183966
                );

            color: #ffffff;

            font-size: 22px;
            font-weight: 800;

            letter-spacing: -1px;

            box-shadow:
                0 10px 25px rgba(12, 29, 56, 0.20);
        }


        .brand h1 {
            margin: 0;

            color: #0b1830;

            font-size: 25px;
            line-height: 1.2;

            letter-spacing: -0.5px;
        }


        .brand p {
            margin: 7px 0 0;

            color: #7a8799;

            font-size: 13px;
        }


        .login-heading {
            margin-bottom: 22px;
        }


        .login-heading h2 {
            margin: 0;

            font-size: 21px;

            color: #172033;
        }


        .login-heading p {
            margin: 6px 0 0;

            font-size: 13px;

            color: #7a8799;
        }


        .alert {
            margin-bottom: 20px;

            padding: 12px 14px;

            border-radius: 10px;

            background: #fff2f2;

            border: 1px solid #ffd8d8;

            color: #b42318;

            font-size: 13px;

            line-height: 1.5;
        }


        .form-group {
            margin-bottom: 18px;
        }


        .form-group label {
            display: block;

            margin-bottom: 7px;

            color: #344054;

            font-size: 13px;

            font-weight: 600;
        }


        .form-group input {
            width: 100%;

            height: 46px;

            padding: 0 14px;

            border: 1px solid #d9e1eb;

            border-radius: 9px;

            outline: none;

            background: #ffffff;

            color: #172033;

            font-size: 14px;

            transition:
                border-color 0.2s ease,
                box-shadow 0.2s ease;
        }


        .form-group input:focus {
            border-color: #315b8f;

            box-shadow:
                0 0 0 3px rgba(49, 91, 143, 0.10);
        }


        .form-group input::placeholder {
            color: #a1aab8;
        }


        .login-button {
            width: 100%;

            height: 48px;

            margin-top: 4px;

            border: 0;

            border-radius: 9px;

            background:
                linear-gradient(
                    135deg,
                    #0d203d,
                    #173a67
                );

            color: #ffffff;

            font-size: 14px;

            font-weight: 700;

            cursor: pointer;

            transition:
                transform 0.2s ease,
                box-shadow 0.2s ease;
        }


        .login-button:hover {
            transform: translateY(-1px);

            box-shadow:
                0 10px 22px rgba(13, 32, 61, 0.20);
        }


        .login-footer {
            margin-top: 25px;

            padding-top: 20px;

            border-top: 1px solid #edf0f4;

            text-align: center;

            color: #8a95a5;

            font-size: 12px;

            line-height: 1.6;
        }


        @media (max-width: 480px) {

            .login-page {
                padding: 20px 15px;
            }

            .login-card {
                padding: 30px 22px;

                border-radius: 16px;
            }

            .brand h1 {
                font-size: 23px;
            }

        }
        * {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #f5f7fb;
    color: #172033;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   Layout
========================================================= */

.owner-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: nowrap;
}

/* =========================================================
   Sidebar
========================================================= */

.sidebar {
    width: 250px;
    min-width: 250px;
    height: 100vh;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    background:
        linear-gradient(
            180deg,
            #09172d 0%,
            #0c1c35 100%
        );

    color: #fff;

    z-index: 1000;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.18) transparent;
}


/* WebKit Scrollbar */

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
}


/* Sidebar Top */

.sidebar-top {
    padding: 26px 17px 20px;
}


/* Sidebar Bottom */

.sidebar-bottom {
    padding: 20px 17px 22px;
}


/* =========================================================
   Main Content Alignment
========================================================= */

.main-content {
    margin-left: 250px;
    min-height: 100vh;
    width: calc(100% - 250px);
    box-sizing: border-box;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 900px) {

    .sidebar {
        width: 230px;
        min-width: 230px;
    }

    .main-content {
        margin-left: 230px;
        width: calc(100% - 230px);
    }

    .sidebar-top {
        padding: 22px 14px 18px;
    }

    .sidebar-bottom {
        padding: 18px 14px 20px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 650px) {

    .sidebar {
        width: 250px;
        min-width: 250px;

        transform: translateX(-100%);

        transition:
            transform 0.25s ease;

        box-shadow: 8px 0 30px rgba(0,0,0,0.18);
    }


    .sidebar.sidebar-open {
        transform: translateX(0);
    }


    .main-content {
        margin-left: 0;
        width: 100%;
        min-width: 0;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 400px) {

    .sidebar {
        width: 85%;
        min-width: 0;
        max-width: 280px;
    }

}

/* =========================================================
   Brand
========================================================= */

.brand {
 
    align-items: center;
    gap: 12px;

    padding: 0 10px 28px;
}

.brand-mark {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #dfe9f5
        );

    color: #0c1c35;

    font-size: 17px;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong {
    color: #ffffff;

    font-size: 19px;
    line-height: 1;

    letter-spacing: -0.4px;
}

.brand-text small {
    color: #8fa2bc;

    font-size: 10px;
    font-weight: 500;
}


/* =========================================================
   Navigation
========================================================= */

.nav-label {
    padding: 0 12px 9px;

    color: #7186a3;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.nav-label-space {
    margin-top: 24px;
}


.owner-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.owner-nav a {
    min-height: 43px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 12px;

    border-radius: 9px;

    color: #aebbd0;

    font-size: 13px;
    font-weight: 500;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}


.owner-nav a:hover {
    background: rgba(255, 255, 255, 0.055);

    color: #ffffff;

    transform: translateX(2px);
}


.owner-nav a.active {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.105),
            rgba(255, 255, 255, 0.055)
        );

    color: #ffffff;

    box-shadow:
        inset 3px 0 0 #ffffff;
}


.nav-icon {
    width: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #8095b2;

    font-size: 15px;
}

.owner-nav a.active .nav-icon,
.owner-nav a:hover .nav-icon {
    color: #ffffff;
}


/* =========================================================
   Sidebar Bottom
========================================================= */

.sidebar-bottom {
    padding: 16px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}


.owner-profile {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 8px 7px 13px;
}


.owner-avatar {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}


.owner-profile-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.owner-profile-info strong {
    color: #ffffff;

    font-size: 12px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.owner-profile-info span {
    color: #778ca8;

    font-size: 10px;
}


.logout-link {
    width: 100%;

    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 8px;

    color: #9daec4;

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.18s ease,
        color 0.18s ease;
}


.logout-link:hover {
    background: rgba(255, 255, 255, 0.06);

    color: #ffffff;
}


/* =========================================================
   Main
========================================================= */

.main {
    width: calc(100% - 250px);

    margin-left: 250px;

    min-height: 100vh;
}


/* =========================================================
   Topbar
========================================================= */

.topbar {
    min-height: 96px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 25px 34px;

    background: #ffffff;

    border-bottom: 1px solid #e8edf3;
}


.page-kicker {
    display: block;

    margin-bottom: 4px;

    color: #7d8ba0;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.topbar h1 {
    margin: 0;

    color: #142033;

    font-size: 24px;
    line-height: 1.25;

    letter-spacing: -0.5px;
}


.topbar p {
    margin: 5px 0 0;

    color: #8190a3;

    font-size: 12px;
}


.topbar-button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border-radius: 8px;

    background: #0d203d;

    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}


.topbar-button:hover {
    background: #173861;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   Content
========================================================= */

.content {
    padding: 30px 34px 45px;

    max-width: 1500px;
}


/* =========================================================
   Welcome Card
========================================================= */

.welcome-card {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 28px 30px;

    margin-bottom: 24px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #0b1b34 0%,
            #102b50 58%,
            #163b69 100%
        );

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(12, 29, 55, 0.12);

    position: relative;
    overflow: hidden;
}


.welcome-card::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -100px;
    top: -140px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.07);
}


.welcome-label {
    display: block;

    margin-bottom: 5px;

    color: #9eb2cd;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.welcome-card h2 {
    margin: 0;

    color: #ffffff;

    font-size: 25px;

    letter-spacing: -0.5px;
}


.welcome-card p {
    margin: 7px 0 0;

    color: #a9b9cd;

    font-size: 12px;
}


.welcome-date {
    position: relative;
    z-index: 2;

    min-width: 115px;

    text-align: right;
}


.welcome-date span {
    display: block;

    margin-bottom: 5px;

    color: #8ea4c0;

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.welcome-date strong {
    color: #ffffff;

    font-size: 15px;
}


/* =========================================================
   Stats
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 22px;
       margin-top: 22px;
}


.stat-card {
    padding: 21px 20px;

    background: #ffffff;

    border: 1px solid #e7ebf1;

    border-radius: 13px;

    box-shadow:
        0 5px 18px rgba(20, 32, 51, 0.035);
}


.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 13px;
}


.stat-label {
    color: #78879a;

    font-size: 11px;
    font-weight: 600;
}


.stat-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f1f5f9;

    color: #28486d;

    font-size: 12px;
    font-weight: 700;
}


.stat-value {
    display: block;

    color: #172033;

    font-size: 22px;
    line-height: 1.2;

    letter-spacing: -0.5px;
}


.stat-meta {
    display: block;

    margin-top: 6px;

    color: #99a4b3;

    font-size: 10px;
}


/* =========================================================
   Dashboard Grid
========================================================= */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    gap: 18px;

    margin-bottom: 22px;
}


/* =========================================================
   Panels
========================================================= */

.panel {
    background: #ffffff;

    border: 1px solid #e7ebf1;

    border-radius: 13px;

    box-shadow:
        0 5px 18px rgba(20, 32, 51, 0.035);

    overflow: hidden;
    
    padding: 18px;
}


.panel-header {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 17px 20px;

    border-bottom: 1px solid #edf0f4;
}


.panel-header h3 {
    margin: 0;

    color: #1b2739;

    font-size: 14px;
    font-weight: 700;
}


.panel-header p {
    margin: 4px 0 0;

    color: #8b98a9;

    font-size: 10px;
}


.panel-link {
    color: #315b8f;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}


.panel-link:hover {
    color: #173861;
}


/* =========================================================
   Shop Usage
========================================================= */

.usage-box {
    padding: 24px 20px;
}


.usage-values {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;
}


.usage-values strong {
    color: #172033;

    font-size: 25px;

    letter-spacing: -0.5px;
}


.usage-values strong span {
    color: #a1abb8;

    font-size: 13px;
    font-weight: 500;
}


.usage-values > span {
    color: #7d8a9b;

    font-size: 11px;
}


.progress {
    width: 100%;
    height: 8px;

    overflow: hidden;

    border-radius: 20px;

    background: #edf1f5;
}


.progress-bar {
    height: 100%;

    min-width: 2px;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #183a65,
            #315b8f
        );

    transition: width 0.3s ease;
}


.usage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 10px;

    color: #98a3b2;

    font-size: 10px;
}


.usage-footer a {
    color: #315b8f;

    font-weight: 600;
}


.usage-footer a:hover {
    color: #173861;
}


/* =========================================================
   Summary
========================================================= */

.summary-list {
    padding: 8px 20px 15px;
}


.summary-row {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-bottom: 1px solid #f0f2f5;

    color: #788699;

    font-size: 11px;
}


.summary-row strong {
    color: #263449;

    font-size: 11px;
}


.summary-total {
    min-height: 52px;

    border-bottom: 0;

    color: #25334a;

    font-weight: 700;
}


.summary-total strong {
    color: #0d203d;

    font-size: 14px;
}


/* =========================================================
   Table
========================================================= */

.table-panel {
    margin-bottom: 22px;
}


.table-wrapper {
    width: 100%;

    overflow-x: auto;
}


table {
    width: 100%;

    border-collapse: collapse;

    min-width: 720px;
}


thead th {
    padding: 12px 20px;

    background: #fafbfd;

    border-bottom: 1px solid #edf0f4;

    color: #8290a2;

    font-size: 9px;
    font-weight: 700;

    text-align: left;

    text-transform: uppercase;
    letter-spacing: 0.55px;

    white-space: nowrap;
}


tbody td {
    padding: 14px 20px;

    border-bottom: 1px solid #f0f2f5;

    color: #5e6c7e;

    font-size: 11px;

    white-space: nowrap;
}


tbody tr:last-child td {
    border-bottom: 0;
}


tbody tr:hover {
    background: #fbfcfe;
}


tbody td strong {
    color: #263449;

    font-weight: 650;
}


/* =========================================================
   Empty State
========================================================= */

.empty-state {
    padding: 45px 25px;

    text-align: center;
}


.empty-icon {
    width: 42px;
    height: 42px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f2f5f8;

    color: #63748b;

    font-size: 20px;
}


.empty-state h4 {
    margin: 0;

    color: #29364a;

    font-size: 13px;
}


.empty-state p {
    max-width: 390px;

    margin: 6px auto 0;

    color: #98a3b2;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   Quick Actions
========================================================= */

.quick-actions {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}


.quick-action {
    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 15px;

    border: 1px solid #e7ebf1;

    border-radius: 12px;

    background: #ffffff;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}


.quick-action:hover {
    border-color: #d6dee9;

    box-shadow:
        0 8px 22px rgba(20, 32, 51, 0.06);

    transform: translateY(-2px);
}


.quick-action-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f1f5f9;

    color: #294b72;

    font-size: 16px;
    font-weight: 600;
}


.quick-action div {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.quick-action strong {
    color: #27354a;

    font-size: 11px;
    font-weight: 700;
}


.quick-action span:not(.quick-action-icon) {
    color: #919dac;

    font-size: 9px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1150px) {

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .quick-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 800px) {

    .sidebar {
        width: 220px;
        min-width: 220px;
    }

    .main {
        width: calc(100% - 220px);

        margin-left: 220px;
    }

    .topbar {
        padding: 22px 70px;
    }

    .content {
        padding: 24px;
    }

}


@media (max-width: 650px) {

 

    .sidebar {
        position: relative;

        width: 100%;
        min-width: 0;

        min-height: auto;
    }

    .sidebar-top {
        padding: 17px 15px;
    }

    .brand {
        padding-bottom: 18px;
    }

    .owner-nav {
        display: grid;

        

        gap: 4px;
    }

    .nav-label {
        grid-column: 1 / -1;
    }

    .nav-label-space {
        margin-top: 10px;
    }

    .owner-nav a {
        min-height: 39px;
    }

    .sidebar-bottom {
        display: flex;
        align-items: center;

        gap: 12px;

        padding: 12px 15px;
    }

    .owner-profile {
        flex: 1;

        padding: 0;
    }

    .logout-link {
        width: auto;

        padding: 0 15px;
    }

    .main {
        width: 100%;

        margin-left: 0;
    }

    .topbar {
        min-height: auto;

        padding: 21px 70px;

        align-items: flex-start;
    }

    .topbar h1 {
        font-size: 21px;
    }

    .topbar p {
        max-width: 250px;
    }

    .topbar-button {
        display: none;
    }

    .content {
        padding: 18px 15px 30px;
    }

    .welcome-card {
        min-height: auto;

        align-items: flex-start;

        flex-direction: column;

        padding: 23px 21px;
    }

    .welcome-card h2 {
        font-size: 22px;
    }

    .welcome-date {
        text-align: left;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .stat-card {
        padding: 17px 15px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-icon {
        width: 27px;
        height: 27px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 420px) {

    .owner-nav {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 17px;
    }

    .panel-header {
        padding: 16px;
    }

    .usage-box {
        padding: 20px 16px;
    }

    .summary-list {
        padding-left: 16px;
        padding-right: 16px;
    }

    .welcome-card {
        margin-bottom: 15px;
    }

}
/* =========================================
   SHOPS PAGE
========================================= */

.shop-alert {
    background: #eef6ff;
    border: 1px solid #d7e8fb;
    color: #24527a;
    padding: 13px 16px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-size: 14px;
}

/* Shop Overview */
.shop-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.shop-overview-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(15, 35, 70, 0.04);
}

.shop-overview-label {
    display: block;
    color: #718096;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.shop-overview-card strong {
    display: block;
    color: #102451;
    font-size: 26px;
    line-height: 1.2;
}


/* Progress */
.shop-progress-area {
    margin-top: 10px;
}

.shop-progress {
    width: 100%;
    height: 8px;
    background: #edf2f7;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
}

.shop-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #102451, #274b91);
    border-radius: inherit;
    transition: width 0.3s ease;
}


/* Mini Stats */
.shop-mini-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 13px;
}


/* Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.shop-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 520px;
}

.shop-search input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
    color: #1d2939;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-search input:focus {
    border-color: #31579a;
    box-shadow: 0 0 0 3px rgba(49, 87, 154, 0.09);
}

.shop-search-button {
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #102451;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-search-button:hover {
    background: #18336d;
    transform: translateY(-1px);
}

.clear-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    color: #52606d;
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.clear-search:hover {
    color: #102451;
    border-color: #bfcbd9;
    text-decoration: none;
}

.shop-count {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}


/* Shops Card */
.shops-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(15, 35, 70, 0.05);
    overflow: hidden;
}

.shops-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.shops-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.shops-table th {
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 15px 18px;
    border-bottom: 1px solid #e7edf5;
    white-space: nowrap;
}

.shops-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #edf1f5;
    color: #344054;
    font-size: 14px;
    vertical-align: middle;
}

.shops-table tbody tr:last-child td {
    border-bottom: 0;
}

.shops-table tbody tr {
    transition: background 0.2s ease;
}

.shops-table tbody tr:hover {
    background: #fbfcfe;
}


/* Shop Name */
.shop-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.shop-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef3fb;
    color: #102451;
    font-size: 15px;
    font-weight: 700;
}

.shop-name-cell strong {
    display: block;
    color: #172b4d;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.shop-name-cell small {
    display: block;
    color: #98a2b3;
    font-size: 12px;
}


/* Contact */
.shop-contact {
    line-height: 1.65;
}

.shop-contact strong {
    display: block;
    color: #344054;
    font-weight: 600;
}

.shop-contact span {
    display: block;
    color: #8a96a8;
    font-size: 12px;
}


/* Location */
.shop-location {
    color: #667085;
    line-height: 1.5;
}

.shop-location strong {
    display: block;
    color: #344054;
    font-weight: 600;
}


/* Status */
.shop-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.shop-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.shop-status.active {
    background: #ecfdf3;
    color: #16804a;
}

.shop-status.inactive {
    background: #f2f4f7;
    color: #667085;
}


/* Created */
.shop-created {
    color: #667085;
    font-size: 13px;
    white-space: nowrap;
}


/* Actions */
.shop-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.shop-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 8px;
    border: 1px solid #dce4ee;
    background: #fff;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-action:hover {
    border-color: #b8c5d6;
    color: #102451;
    background: #f8fafc;
    text-decoration: none;
}

.shop-action.danger {
    color: #b42318;
    border-color: #f1c4c0;
}

.shop-action.danger:hover {
    background: #fff5f4;
    border-color: #e9aaa5;
}

.shop-action.primary {
    background: #102451;
    border-color: #102451;
    color: #fff;
}

.shop-action.primary:hover {
    background: #18336d;
    border-color: #18336d;
    color: #fff;
}


/* Empty State */
.shops-empty {
    text-align: center;
    padding: 65px 25px;
}

.shops-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #eef3fb;
    color: #31579a;
    font-size: 24px;
    font-weight: 700;
}

.shops-empty h3 {
    margin: 0 0 7px;
    color: #172b4d;
    font-size: 18px;
}

.shops-empty p {
    max-width: 430px;
    margin: 0 auto 20px;
    color: #7b8794;
    font-size: 14px;
    line-height: 1.6;
}

.empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: #102451;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.empty-button:hover {
    background: #18336d;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}


/* =========================================
   SHOPS RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .shop-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-toolbar {
        align-items: stretch;
    }

    .shop-search {
        max-width: none;
        width: 100%;
    }

    .shop-count {
        width: 100%;
    }
}


@media (max-width: 650px) {

    .shop-overview {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .shop-overview-card {
        padding: 17px;
    }

    .shop-overview-card strong {
        font-size: 23px;
    }

    .shop-toolbar {
        display: block;
    }

    .shop-search {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        margin-bottom: 10px;
    }

    .shop-search input {
        min-width: 0;
    }

    .shop-search-button {
        padding: 0 15px;
    }

    .clear-search {
        width: 100%;
    }

    .shop-count {
        margin-top: 10px;
    }

    .shops-card {
        border-radius: 14px;
    }

    .shops-empty {
        padding: 50px 20px;
    }

    .shop-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-action {
        width: 100%;
    }
}
/* =========================================
   ADD SHOP PAGE
========================================= */

.topbar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.topbar-button:hover {
    color: #fff;
    border-color: #bdc9d8;
    text-decoration: none;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.form-alert-error {
    background: #fff5f4;
    border: 1px solid #f3c7c3;
    color: #b42318;
}

.add-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

.add-shop-panel {
    padding: 26px;
}

.panel-header {
    margin-bottom: 25px;
}

.panel-header h2 {
    margin: 0 0 5px;
    color: #172b4d;
    font-size: 20px;
}

.panel-header p {
    margin: 0;
    color: #7b8794;
    font-size: 13px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    min-width: 0;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.form-group label span {
    color: #d92d20;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
    color: #1d2939;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input {
    height: 46px;
    padding: 0 14px;
}

.form-group textarea {
    padding: 12px 14px;
    resize: vertical;
    min-height: 105px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aaba;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #31579a;
    box-shadow: 0 0 0 3px rgba(49, 87, 154, .09);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #edf1f5;
}

.form-cancel,
.form-submit {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.form-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dce4ee;
    color: #52606d;
    text-decoration: none;
}

.form-cancel:hover {
    color: #102451;
    border-color: #bdc9d8;
    text-decoration: none;
}

.form-submit {
    border: 1px solid #102451;
    background: #102451;
    color: #fff;
    transition: all .2s ease;
}

.form-submit:hover {
    background: #18336d;
    border-color: #18336d;
}


/* Shop Limit Panel */

.shop-limit-panel {
    padding: 25px;
}

.shop-limit-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #eef3fb;
    color: #102451;
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 18px;
}

.shop-limit-panel h3 {
    margin: 0 0 7px;
    color: #172b4d;
    font-size: 18px;
}

.shop-limit-panel p {
    margin: 0;
    color: #7b8794;
    font-size: 13px;
    line-height: 1.65;
}

.shop-limit-number {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 25px;
}

.shop-limit-number strong {
    color: #102451;
    font-size: 32px;
    line-height: 1;
}

.shop-limit-number span {
    color: #7b8794;
    font-size: 13px;
}

.shop-limit-panel .shop-progress {
    margin-top: 17px;
}

.shop-limit-footer {
    margin-top: 12px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}


@media (max-width: 850px) {

    .add-shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-limit-panel {
        order: -1;
    }
}


@media (max-width: 650px) {

    .add-shop-panel {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-group-full {
        grid-column: auto;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-cancel,
    .form-submit {
        width: 100%;
    }

    .topbar-button {
        display: none;
    }
}
.form-group select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
    color: #1d2939;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group select:focus {
    border-color: #31579a;
    box-shadow: 0 0 0 3px rgba(49, 87, 154, .09);
}

/* =========================================================
   Barbers Page
   ========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    padding: 20px;
}

.stat-card-label {
    margin-bottom: 8px;
    color: #7b8799;
    font-size: 13px;
    font-weight: 500;
}

.stat-card-value {
    color: #172844;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}


/* =========================================================
   Barber Filter
   ========================================================= */

.barber-filter-panel {
    margin-bottom: 20px;
}

.barber-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
        padding: 16px;
}

.barber-filter-form .form-group {
    width: 300px;
    margin: 0;
}

.barber-filter-form .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #33435c;
    font-size: 13px;
    font-weight: 600;
}

.barber-filter-form select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #ffffff;
    color: #273750;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.barber-filter-form select:focus {
    border-color: #294b7c;
}

.filter-button {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #122b58;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-button:hover {
    background: #0d2145;
}


/* =========================================================
   Barber Table
   ========================================================= */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 13px 16px;
    border-bottom: 1px solid #e8edf2;
    background: #f8fafc;
    color: #778398;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #edf0f4;
    color: #34435a;
    font-size: 13px;
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:hover {
    background: #fbfcfe;
}


/* =========================================================
   Barber Name
   ========================================================= */

.barber-name-cell {
    display: flex;
    align-items: center;
    gap: 11px;
}

.barber-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #edf2f8;
    color: #19375f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.barber-name-cell strong {
    display: block;
    color: #1a2a45;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}


/* =========================================================
   Status
   ========================================================= */

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-active {
    background: #eaf7ef;
    color: #24794a;
}

.status-inactive {
    background: #fbeeee;
    color: #b24d4d;
}


/* =========================================================
   Table Action
   ========================================================= */

.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #dce3eb;
    border-radius: 7px;
    background: #ffffff;
    color: #294a75;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.table-action:hover {
    background: #f5f7fa;
    border-color: #cfd8e3;
    color: #193b68;
}


/* =========================================================
   Empty State
   ========================================================= */

.empty-state {
    padding: 55px 20px;
    text-align: center;
}

.empty-state-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #edf2f8;
    color: #19375f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.empty-state h3 {
    margin: 0 0 7px;
    color: #1a2a45;
    font-size: 17px;
    font-weight: 600;
}

.empty-state p {
    max-width: 430px;
    margin: 0 auto 20px;
    color: #7d899d;
    font-size: 13px;
    line-height: 1.6;
}

.empty-state .form-submit {
    display: inline-block;
    width: auto;
    min-width: 120px;
    text-decoration: none;
     padding: 12px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .barber-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .barber-filter-form .form-group {
        width: 100%;
    }

    .filter-button {
        width: 100%;
    }

    .data-table {
        min-width: 760px;
    }

}
/* =========================================================
   ADD BARBER
   ========================================================= */

.alert {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}

.alert-error {
    background: #fff4f4;
    border: 1px solid #f1caca;
    color: #a32929;
}

.alert-error div + div {
    margin-top: 4px;
}


/* Form Select */

.form-group select {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 14px;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    background: #ffffff;
    color: #18243a;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    box-sizing: border-box;

    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, #718096 50%),
        linear-gradient(135deg, #718096 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 19px,
        calc(100% - 13px) 19px;
    background-size:
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
}

.form-group select:focus {
    border-color: #31558f;
    box-shadow: 0 0 0 3px rgba(49, 85, 143, 0.08);
}

.form-group select:hover {
    border-color: #b9c4d3;
}


/* Number Inputs */

.form-group input[type="number"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    background: #ffffff;
    color: #18243a;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-group input[type="number"]:focus {
    border-color: #31558f;
    box-shadow: 0 0 0 3px rgba(49, 85, 143, 0.08);
}

.form-group input[type="number"]::placeholder {
    color: #9aa6b5;
}


/* Text Input */

.form-group input[type="text"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    background: #ffffff;
    color: #18243a;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus {
    border-color: #31558f;
    box-shadow: 0 0 0 3px rgba(49, 85, 143, 0.08);
}

.form-group input[type="text"]::placeholder {
    color: #9aa6b5;
}


/* Form Labels */

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #26344d;
    font-size: 13px;
    font-weight: 600;
}


/* Form Actions */

.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #edf0f4;
}

.form-cancel,
.form-submit {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.form-cancel {
    background: #ffffff;
    border: 1px solid #d8dfe8;
    color: #4a5870;
}

.form-cancel:hover {
    background: #f7f9fb;
    border-color: #c6cfdb;
    color: #26344d;
}

.form-submit {
    border: 1px solid #102451;
    background: #102451;
    color: #ffffff;
    cursor: pointer;
}

.form-submit:hover {
    background: #0c1c3f;
    border-color: #0c1c3f;
    box-shadow: 0 5px 14px rgba(16, 36, 81, 0.14);
    transform: translateY(-1px);
}


/* Commission Fields */

#fixedCommissionGroup,
#percentageCommissionGroup {
    transition: opacity 0.2s ease;
}


/* Mobile */

@media (max-width: 650px) {

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-cancel,
    .form-submit {
        width: 100%;
    }

    .form-group select,
    .form-group input[type="text"],
    .form-group input[type="number"] {
        height: 44px;
    }

}
/* =========================================================
   Sales Report
   ========================================================= */

.sales-report-summary {
    margin-bottom: 24px;
}

.sales-report-filter {
    margin-bottom: 24px;
}

.sales-report-filter .barber-filter-form {
    align-items: flex-end;
}

.sales-report-filter .form-group {
    min-width: 160px;
}

.sales-report-filter input[type="date"] {
    width: 100%;
    box-sizing: border-box;
}

.sales-report-section {
    margin-top: 24px;
}

.sales-report-section .panel-header {
    margin-bottom: 20px;
}

.sales-report-section .panel-header h2 {
    margin: 0 0 5px;
}

.sales-report-section .panel-header p {
    margin: 0;
}

.sales-report-number {
    white-space: nowrap;
}

.sales-report-total {
    font-weight: 700;
}


/* Payment summary */

.sales-report-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* Responsive */

@media (max-width: 900px) {

    .sales-report-payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .sales-report-payment-grid {
        grid-template-columns: 1fr;
    }

    .sales-report-filter .barber-filter-form {
        display: block;
    }

    .sales-report-filter .form-group {
        width: 100%;
        margin-bottom: 14px;
    }

    .sales-report-filter .filter-button {
        width: 100%;
    }

}
/* =========================================================
   Customer Form
========================================================= */

.customer-preferences-header {
    margin-top: 32px;
    margin-bottom: 20px;
}

.customer-preferences-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* Preference Item */

.customer-preference-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px 18px;

    border: 1px solid #e3e8ef;
    border-radius: 10px;

    background: #fff;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.customer-preference-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}


/* Checkbox */

.customer-preference-item input[type="checkbox"] {
    width: 18px;
    height: 18px;

    margin: 2px 0 0;

    flex-shrink: 0;

    cursor: pointer;
}


/* Preference Content */

.customer-preference-content {
    display: flex;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}

.customer-preference-content strong {
    font-size: 14px;
    font-weight: 600;
    color: #17233c;
}

.customer-preference-content small {
    font-size: 13px;
    line-height: 1.5;
    color: #718096;
}


/* Reminder Days */

#reminderDaysGroup {
    max-width: 260px;

    margin: 4px 0 8px 32px;
}

.input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-suffix input {
    width: 100%;
    padding-right: 55px;
    box-sizing: border-box;
}

.input-with-suffix span {
    position: absolute;
    right: 14px;

    font-size: 13px;
    color: #718096;

    pointer-events: none;
}


/* Form Grid */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* Mobile */

@media (max-width: 650px) {

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .customer-preferences-header {
        margin-top: 26px;
    }

    .customer-preference-item {
        padding: 14px;
    }

    #reminderDaysGroup {
        max-width: none;
        margin-left: 0;
    }

}
.expense-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.expense-actions form {
    margin: 0;
}

.expense-actions .filter-button,
.expense-actions .delete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.expense-actions .delete-button {
    border: 1px solid #dc2626;
    background: #dc2626;
    color: #fff;
}

.expense-actions .delete-button:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}
  .report-filters {
            display: flex;
            flex-wrap: wrap;
            align-items: end;
            gap: 14px;
            margin-bottom: 24px;
        }

        .report-filters .form-group {
            flex: 1 1 150px;
            margin-bottom: 0;
        }

        .report-filters label {
            display: block;
            margin-bottom: 7px;
            font-size: 13px;
            font-weight: 600;
        }

        .report-filters input,
        .report-filters select {
            width: 100%;
            min-height: 42px;
            padding: 9px 11px;
            border: 1px solid #d9e1ec;
            border-radius: 7px;
            background: #fff;
            color: #172b4d;
        }

        .report-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 9px;
        }

        .report-actions a,
        .report-actions button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 10px 15px;
            border: 1px solid #d9e1ec;
            border-radius: 7px;
            background: #fff;
            color: #183153;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
        }

        .report-actions .primary {
            border-color: #173b70;
            background: #173b70;
            color: #fff;
        }

        .report-section {
            margin-top: 25px;
        }

        .report-section .panel-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .report-section h2 {
            margin: 0;
            font-size: 17px;
        }

        .report-stat-note {
            margin-top: 8px;
            color: #718096;
            font-size: 12px;
        }

        .report-table {
            width: 100%;
            border-collapse: collapse;
        }

        .report-table th,
        .report-table td {
            padding: 13px 15px;
            border-bottom: 1px solid #edf1f6;
            text-align: left;
            font-size: 13px;
        }

        .report-table th {
            color: #64748b;
            font-weight: 600;
            background: #f8fafc;
        }

        .report-table .amount {
            text-align: right;
            white-space: nowrap;
            font-weight: 600;
        }

        .report-table-wrap {
            overflow-x: auto;
        }

        .report-badge {
            display: inline-block;
            padding: 5px 8px;
            border-radius: 5px;
            background: #e8f7ee;
            color: #187747;
            font-size: 11px;
            font-weight: 700;
        }

        .report-badge.void {
            background: #fff0f0;
            color: #b42318;
        }

        .report-empty {
            padding: 25px 15px;
            color: #718096;
            text-align: center;
            font-size: 13px;
        }

        @media (max-width: 640px) {
            .report-filters {
                display: grid;
                grid-template-columns: 1fr 1fr;
            }

            .report-filters .form-group {
                min-width: 0;
            }

            .report-filters .shop-filter,
            .report-filters .report-actions {
                grid-column: 1 / -1;
            }

            .report-actions a,
            .report-actions button {
                flex: 1;
            }

            .report-table th,
            .report-table td {
                padding: 11px 10px;
            }
        }
        
/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
        position: absolute;
    top: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #102451;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    z-index: 1002;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(16, 36, 81, 0.10);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
}

@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
    }

    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        visibility: hidden;
        box-sizing: border-box;
    }

    .sidebar.mobile-open {
        transform: translateX(0);
        visibility: visible;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 18, 40, 0.55);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.sidebar-menu-open {
        overflow: hidden;
    }
}
