:root {
    --brand-navy: #10233f;
    --brand-teal: #064e3b;
    --brand-orange: #ff7a45;
    --bg-soft: #f4f6fa;
    --sidebar-width: 250px;
}

html, body {
    margin: 0;
    height: 100%;
}

body {
    background: var(--bg-soft);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
 
}
.sidebar-category-color {
    color: white !important;
    font-weight: 600;
}

.app-shell {
    display: flex;
    height: 100vh;
    width: 100%;
    padding-left: var(--sidebar-width);
    box-sizing: border-box;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: 100vh;
    /* background: linear-gradient(180deg, var(--brand-navy) 0%, #16345f 100%); */
    background: #064E3B;
    color: #fff;
    box-shadow: 4px 0 18px rgba(16, 35, 63, 0.12);
    z-index: 1000;
    overflow: hidden;
}


.sidebar-nav-wrap {
    overflow-y: auto;
}

/* Scrollbar width */
.sidebar-nav-wrap::-webkit-scrollbar {
    width: 6px;
}

/* Initially invisible */
.sidebar-nav-wrap::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.sidebar-nav-wrap::-webkit-scrollbar-track {
    background: transparent;
}

/* Only while scrolling */
.sidebar-nav-wrap.is-scrolling::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
}




.sidebar .brand {
    color: #ffffff !important;
    padding: .5rem 0 .75rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar .nav-link {
    color: #fff;
    border-radius: 10px;
    font-size: .92rem;
    padding: .6rem .8rem;
    transition: all .2s ease;
}
.sidebar .nav-link:hover {
    background: #0F766E;
    color: #fff;
    transform: translateX(2px);
}
.sidebar .nav-link.active, .sidebar .nav-link:active {
    background: var(--brand-teal);
    color: #06231f;
    font-weight: 600;
}

.sidebar-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.content-area {
    flex: 1 1 auto;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: var(--bg-soft);
}

.content-inner {
    max-width: 1400px;
    min-height: 100%;
}

.stat-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16,35,63,.06);
}

.stat-card .icon-badge {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
}

.card, .table-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16,35,63,.06);
}

.btn-brand {
    background: var(--brand-teal);
    border-color: var(--brand-teal);
    color: #ffffff;
    font-weight: 600;
}
.btn-brand:hover { background: #0da393; color: #ffffff; }

.pos-product-card {
    cursor: pointer;
    border-radius: 12px;
    transition: transform .1s ease;
}
.pos-product-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(16,35,63,.12); }

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-navy), #1a3a63);
}
.auth-card { border-radius: 16px; border: none; }

@media (max-width: 991.98px) {
    :root {
        --sidebar-width: 88px;
    }

    .sidebar {
        padding: 1rem 0.7rem !important;
    }

    .sidebar .brand span,
    .sidebar .nav-link span,
    .sidebar .nav-link i + * {
        display: none;
    }

    .sidebar .nav-link {
        display: flex;
        justify-content: center;
        padding: .7rem .5rem;
    }

    .sidebar .nav-link i {
        margin-right: 0 !important;
    }

    .sidebar .nav-item small {
        display: none;
    }

    .sidebar-footer .small {
        display: none;
    }
}

.table thead tr th{
    background: #0a8464;
    color: white;
}
#salesTable tbody tr td a{ 
    color: rgb(10 132 100) !important;
}