* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brown-dark: #2b1714;
    --brown: #3b0804;
    --brown-soft: #5c2f2a;

    --pink: #fb6f83;
    --pink-soft: #ffe4e8;

    --peach: #fff0e8;
    --cream: #fffaf7;
    --white: #ffffff;

    --text: #3b211e;
    --muted: #876f69;
    --border: #f0ddd6;

    --shadow: 0 18px 45px rgba(83, 38, 29, 0.08);
}

body {
    font-family: "Poppins", sans-serif;
    background:
        radial-gradient(
            circle at top right,
            rgba(251, 111, 131, 0.08),
            transparent 32%
        ),
        #fff8f4;
    color: var(--text);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.app-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    background:
        linear-gradient(
            180deg,
            #2b1714 0%,
            #371b17 55%,
            #2b1714 100%
        );

    color: var(--white);
    padding: 30px 22px 24px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 10px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #fb6f83, #ffb4a5);
    font-size: 24px;
    box-shadow: 0 10px 24px rgba(251, 111, 131, 0.25);
}

.brand h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 29px;
    line-height: 1;
}

.brand p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    letter-spacing: 0.4px;
    margin-top: 5px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 26px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-radius: 13px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 500;
    transition: 0.25s ease;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transform: translateX(3px);
}

.menu-link.active {
    color: var(--white);
    background: linear-gradient(
        135deg,
        rgba(251, 111, 131, 0.95),
        rgba(255, 145, 127, 0.95)
    );
    box-shadow: 0 12px 25px rgba(251, 111, 131, 0.18);
}

.menu-icon {
    width: 24px;
    text-align: center;
    font-size: 17px;
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar,
.profile-button {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 0;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.user-avatar {
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-footer div:last-child {
    display: flex;
    flex-direction: column;
}

.sidebar-footer strong {
    font-size: 13px;
}

.sidebar-footer span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 3px;
}

/* MAIN */

.main-area {
    min-width: 0;
}

.topbar {
    min-height: 110px;
    padding: 25px 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 250, 247, 0.84);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.eyebrow {
    color: var(--pink);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.topbar h2 {
    margin-top: 4px;
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    color: var(--brown);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.branch-box {
    min-width: 190px;
    padding: 11px 16px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.branch-box span {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branch-box strong {
    margin-top: 3px;
    font-size: 13px;
    color: var(--brown);
}

.profile-button {
    background: var(--brown);
    color: var(--white);
    cursor: pointer;
}

.page-content {
    padding: 34px 38px 50px;
}

/* WELCOME */

.welcome-banner {
    min-height: 205px;
    border-radius: 28px;
    padding: 34px 38px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.45) 0 75px,
            transparent 76px
        ),
        linear-gradient(135deg, #fbd6d0, #ffece4 55%, #fff7f2);

    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 1px solid #f7d4ca;
    box-shadow: var(--shadow);
}

.welcome-tag {
    display: inline-block;
    color: var(--pink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.welcome-banner h1 {
    max-width: 720px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(40px, 4vw, 58px);
    line-height: 0.98;
    color: var(--brown);
}

.welcome-banner p {
    max-width: 650px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 14px;
}

.welcome-decoration {
    font-size: 92px;
    filter: drop-shadow(0 18px 20px rgba(59, 8, 4, 0.12));
    transform: rotate(4deg);
}

/* SUMMARY */

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.summary-card {
    min-height: 145px;
    padding: 23px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.summary-icon.pink {
    background: var(--pink-soft);
    color: #c94359;
}

.summary-icon.peach {
    background: #fff0de;
}

.summary-icon.cream {
    background: #f5eee7;
}

.summary-icon.warning {
    background: #fff3d9;
    color: #c28300;
}

.summary-card span {
    color: var(--muted);
    font-size: 12px;
}

.summary-card h3 {
    font-family: "Cormorant Garamond", serif;
    color: var(--brown);
    font-size: 31px;
    margin-top: 2px;
}

.summary-card p {
    color: #a28d87;
    font-size: 11px;
    margin-top: 5px;
}

/* PANELS */

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
    gap: 22px;
    margin-top: 24px;
}

.bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
    padding: 26px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.large-panel {
    min-height: 390px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.panel-label {
    color: var(--pink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.panel h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 29px;
    color: var(--brown);
    margin-top: 4px;
}

.text-link {
    color: var(--pink);
    font-size: 12px;
    font-weight: 600;
}

.empty-state {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.empty-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: var(--peach);
    font-size: 32px;
}

.empty-state h4 {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    color: var(--brown);
    margin-top: 18px;
}

.empty-state p {
    max-width: 390px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-top: 6px;
}

.primary-button {
    margin-top: 18px;
    padding: 11px 20px;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, #3b0804, #6a2c26);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(59, 8, 4, 0.16);
}

/* QUICK ACTIONS */

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.quick-action {
    min-height: 68px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    transition: 0.2s ease;
}

.quick-action:hover {
    border-color: #efb6ac;
    background: #fff9f6;
    transform: translateY(-2px);
}

.quick-action > span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--peach);
    color: var(--brown);
    font-size: 19px;
}

.quick-action div {
    display: flex;
    flex-direction: column;
}

.quick-action strong {
    color: var(--brown);
    font-size: 13px;
}

.quick-action small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}

/* ACTIVITY */

.activity-list {
    margin-top: 20px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px;
    border-radius: 16px;
    background: #fff9f6;
    border: 1px solid var(--border);
}

.activity-dot {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 5px rgba(251, 111, 131, 0.13);
}

.activity-item div:last-child {
    display: flex;
    flex-direction: column;
}

.activity-item strong {
    color: var(--brown);
    font-size: 13px;
}

.activity-item span {
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}

.alert-box {
    margin-top: 20px;
    padding: 17px;
    border-radius: 17px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.success-alert {
    background: #effaf2;
    border: 1px solid #d1efd8;
}

.success-alert > span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dff3e5;
    color: #248647;
    font-weight: 700;
}

.success-alert strong {
    color: #27683c;
    font-size: 13px;
}

.success-alert p {
    color: #62866d;
    font-size: 11px;
    margin-top: 4px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid,
    .bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .app-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .topbar {
        position: static;
        padding: 22px;
    }

    .page-content {
        padding: 24px 20px 40px;
    }

    .topbar,
    .welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .topbar-actions {
        width: 100%;
    }

    .branch-box {
        flex: 1;
    }

    .welcome-decoration {
        display: none;
    }
}

@media (max-width: 560px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .topbar-actions {
        align-items: stretch;
    }

    .welcome-banner {
        padding: 28px 24px;
    }

    .welcome-banner h1 {
        font-size: 42px;
    }
}
/* DAILY STOCK PAGE */

.page-heading {
    margin-bottom: 24px;
}

.page-tag {
    display: block;
    color: var(--pink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.page-heading h1 {
    font-family: "Cormorant Garamond", serif;
    color: var(--brown);
    font-size: 44px;
    line-height: 1;
}

.page-heading p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px;
}

.message-wrapper {
    margin-bottom: 20px;
}

.success-message {
    padding: 15px 18px;
    border-radius: 14px;
    background: #effaf2;
    border: 1px solid #d1efd8;
    color: #27683c;
    font-size: 13px;
    font-weight: 600;
}

.stock-page-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(330px, 0.75fr);
    gap: 24px;
}

.stock-form-panel {
    padding: 30px;
}

.stock-form {
    margin-top: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--brown);
    font-size: 12px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: #fffdfa;
    color: var(--text);
    outline: none;
    transition: 0.2s ease;
}

.form-control:focus {
    border-color: #eea99f;
    box-shadow:
        0 0 0 4px rgba(251, 111, 131, 0.1);
}

.field-error {
    color: #c34747;
    font-size: 10px;
}

.field-error-box {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #fff0f0;
    border: 1px solid #f4cccc;
    color: #a33c3c;
    font-size: 12px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.primary-form-button,
.secondary-form-button {
    min-height: 46px;
    padding: 11px 22px;
    border-radius: 13px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.primary-form-button {
    border: 0;
    background:
        linear-gradient(
            135deg,
            var(--brown),
            #6a2c26
        );
    color: var(--white);
    box-shadow:
        0 10px 24px rgba(59, 8, 4, 0.16);
}

.secondary-form-button {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--brown);
}

.recent-stock-panel {
    padding: 28px;
}

.recent-stock-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

.recent-stock-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fffaf7;
}

.recent-product-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--peach);
    flex-shrink: 0;
}

.recent-stock-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.recent-stock-info strong {
    color: var(--brown);
    font-size: 12px;
}

.recent-stock-info span,
.recent-stock-info small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}

.recent-stock-quantity {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.recent-stock-quantity strong {
    color: var(--pink);
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
}

.recent-stock-quantity span {
    color: var(--muted);
    font-size: 9px;
}

.empty-mini-state {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-mini-state > span {
    font-size: 38px;
}

.empty-mini-state strong {
    color: var(--brown);
    margin-top: 12px;
    font-size: 14px;
}

.empty-mini-state p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    margin-top: 5px;
}

@media (max-width: 1100px) {
    .stock-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .stock-form-panel,
    .recent-stock-panel {
        padding: 22px;
    }
}
.selected-branch-note {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff6f1;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.selected-branch-note span {
    color: var(--muted);
    font-size: 12px;
}

.selected-branch-note strong {
    color: var(--brown);
    font-size: 13px;
}
/* LOGIN PAGE */

.login-body {
    margin: 0;
    min-height: 100vh;
    background: #fff8f4;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(420px, 0.8fr);
}

.login-brand-panel {
    padding: 70px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 18% 15%,
            rgba(255, 255, 255, 0.15) 0 90px,
            transparent 91px
        ),
        linear-gradient(
            145deg,
            #2b1714,
            #4b211d 58%,
            #6d302a
        );
    color: white;
}

.login-brand-content {
    max-width: 650px;
}

.login-logo {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 37px;
    background: linear-gradient(145deg, #fb6f83, #ffb4a5);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.login-kicker {
    display: block;
    margin-top: 35px;
    color: #ff9ba9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.login-brand-content h1 {
    margin-top: 16px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 5vw, 76px);
    line-height: 0.98;
}

.login-brand-content p {
    max-width: 580px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.9;
}

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.login-card {
    width: 100%;
    max-width: 470px;
    padding: 42px;
    border-radius: 28px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.login-tag {
    color: var(--pink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-card h2 {
    margin-top: 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 47px;
    color: var(--brown);
}

.login-subtitle {
    color: var(--muted);
    font-size: 13px;
    margin-top: 7px;
}

.login-form {
    margin-top: 28px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.login-form-group label {
    color: var(--brown);
    font-size: 12px;
    font-weight: 600;
}

.login-input {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border-radius: 14px;
    border: 1px solid var(--border);
    outline: none;
    background: #fffdfa;
}

.login-input:focus {
    border-color: #eea99f;
    box-shadow: 0 0 0 4px rgba(251, 111, 131, 0.1);
}

.login-button {
    width: 100%;
    min-height: 50px;
    margin-top: 26px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brown), #6a2c26);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.login-error-box {
    margin-bottom: 15px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #fff0f0;
    border: 1px solid #f4cccc;
    color: #a33c3c;
    font-size: 12px;
}

.sidebar-user-details {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.logout-link {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 370px;
        padding: 45px 30px;
    }

    .login-form-panel {
        padding: 35px 20px;
    }
}
/* CURRENT STOCK */

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.heading-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.stock-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.stock-summary-card {
    min-height: 125px;
    padding: 20px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
}

.stock-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 21px;
    background: var(--peach);
}

.stock-summary-icon.warning-icon {
    background: #fff2d8;
}

.stock-summary-icon.danger-icon {
    background: #ffe8e8;
}

.stock-summary-card div:last-child {
    display: flex;
    flex-direction: column;
}

.stock-summary-card span {
    color: var(--muted);
    font-size: 11px;
}

.stock-summary-card strong {
    color: var(--brown);
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    line-height: 1;
    margin-top: 4px;
}

.stock-summary-card small {
    color: #a38c86;
    font-size: 9px;
    margin-top: 5px;
}

.stock-table-panel {
    padding: 28px;
}

.table-wrapper {
    margin-top: 24px;
    overflow-x: auto;
}

.stock-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.stock-table th,
.stock-table td {
    padding: 15px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    vertical-align: middle;
}

.stock-table th {
    color: var(--muted);
    background: #fff8f4;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stock-table tbody tr:hover {
    background: #fffaf7;
}

.stock-product-cell {
    display: flex;
    align-items: center;
    gap: 11px;
}

.stock-product-image {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--peach);
    overflow: hidden;
    flex-shrink: 0;
}

.stock-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-product-cell > div:last-child {
    display: flex;
    flex-direction: column;
}

.stock-product-cell strong {
    color: var(--brown);
    font-size: 12px;
}

.stock-product-cell small {
    color: var(--muted);
    font-size: 9px;
    margin-top: 3px;
}

.available-quantity {
    color: var(--pink);
    font-size: 16px;
}

.stock-status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

.stock-status.available {
    color: #25713f;
    background: #eaf8ee;
}

.stock-status.low {
    color: #9a6900;
    background: #fff3d9;
}

.stock-status.warning {
    color: #ac5c00;
    background: #ffeed9;
}

.stock-status.expired {
    color: #a43e3e;
    background: #ffe8e8;
}

@media (max-width: 1200px) {
    .stock-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .stock-summary-grid {
        grid-template-columns: 1fr;
    }

    .stock-table-panel {
        padding: 20px;
    }
}
/* ==================================================
   NEW BILL POS
================================================== */

.billing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(420px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.billing-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.billing-customer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.full-width {
    grid-column: 1 / -1;
}

.customer-panel,
.product-selection-panel,
.bill-cart-panel {
    padding: 28px;
}

.product-search-box {
    margin-top: 22px;
}

.billing-product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px;
    margin-top: 18px;
    overflow-y: auto;
}

.billing-product-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fffaf7;
}

.billing-product-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.billing-product-details strong {
    color: var(--brown);
    font-size: 14px;
}

.billing-product-details span,
.billing-product-details small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}

.billing-product-price {
    color: var(--brown);
    font-weight: 700;
    min-width: 110px;
    text-align: right;
}

.billing-product-price strong {
    display: block;
}

.billing-product-price small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.billing-product-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-quantity {
    width: 70px;
    min-height: 42px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.add-product-button {
    min-height: 42px;
    padding: 8px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--pink);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.billing-right {
    min-width: 0;
}

.bill-cart-panel {
    position: sticky;
    top: 135px;
}

.bill-item-count {
    color: var(--muted);
    font-size: 11px;
}

.billing-empty-cart {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.billing-empty-cart > span {
    font-size: 40px;
}

.billing-empty-cart strong {
    color: var(--brown);
    margin-top: 12px;
}

.billing-empty-cart p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
}


/* ==================================================
   BILL CART ITEMS
================================================== */

.bill-cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.bill-cart-item {
    display: block;
    width: 100%;
    padding: 18px;
    border: 1px solid #efd8d0;
    border-radius: 18px;
    background: #fffdfc;
    box-shadow: 0 8px 22px rgba(91, 30, 24, 0.05);
    box-sizing: border-box;
}

.bill-cart-item-top {
    display: block;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3e3dd;
}

.bill-cart-product {
    display: block;
    min-width: 0;
}

.bill-cart-product strong {
    display: block;
    color: var(--brown);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: capitalize;
}

.bill-cart-product span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.bill-cart-item-body {
    display: grid;
    grid-template-columns: minmax(150px, 0.9fr) minmax(170px, 1.1fr);
    gap: 18px;
    padding: 18px 0;
}

.bill-cart-field {
    min-width: 0;
}

.bill-cart-field-label {
    display: block;
    margin-bottom: 9px;
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
}

.bill-cart-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border: 1px solid #efd8d0;
    border-radius: 12px;
    background: #ffffff;
}

.bill-cart-controls button {
    width: 36px;
    height: 36px;
    border: 1px solid #ecd4cc;
    border-radius: 9px;
    background: #fff8f5;
    color: var(--brown);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.bill-cart-controls button:hover {
    border-color: var(--pink);
    background: var(--pink);
    color: #ffffff;
}

.bill-cart-controls span {
    min-width: 68px;
    color: var(--brown);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.free-quantity-field {
    display: block;
}

.cart-free-quantity-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-free-quantity {
    width: 125px;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid #efcfc6;
    border-radius: 11px;
    background: #ffffff;
    color: var(--brown);
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.cart-free-quantity:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 113, 129, 0.12);
}

.cart-free-unit {
    color: var(--brown);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.free-quantity-field small {
    display: none;
}

.bill-cart-item-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f3e3dd;
}

.bill-cart-price {
    display: block;
    text-align: left;
}

.bill-cart-total-label {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bill-cart-price strong {
    display: block;
    color: var(--brown);
    font-size: 20px;
    font-weight: 700;
}

.remove-cart-item {
    margin: 0;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #ef6070;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.remove-cart-item:hover {
    color: #b83240;
    text-decoration: underline;
}


/* ==================================================
   TOTAL AND PAYMENT
================================================== */

.bill-total-section {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    font-size: 12px;
}

.bill-grand-total {
    color: var(--brown);
    font-size: 17px;
}

.payment-section {
    margin-top: 25px;
}

.payment-title {
    color: var(--brown);
    font-size: 12px;
    font-weight: 600;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 10px;
}

.payment-option {
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
}

.payment-option input {
    margin-right: 5px;
}

.payment-option span {
    font-size: 11px;
}

.save-bill-button {
    width: 100%;
    min-height: 49px;
    margin-top: 24px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(
        135deg,
        var(--brown),
        #6a2c26
    );
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.save-bill-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1200px) {
    .billing-layout {
        grid-template-columns: minmax(0, 1fr) 420px;
    }

    .bill-cart-item-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1050px) {
    .billing-layout {
        grid-template-columns: 1fr;
    }

    .bill-cart-panel {
        position: static;
    }

    .bill-cart-item-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .billing-customer-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .customer-panel,
    .product-selection-panel,
    .bill-cart-panel {
        padding: 18px;
    }

    .billing-product-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-product-price {
        min-width: 0;
        text-align: left;
    }

    .billing-product-action {
        width: 100%;
    }

    .product-quantity {
        flex: 1;
        width: auto;
    }

    .bill-cart-item {
        padding: 15px;
    }

    .bill-cart-item-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bill-cart-controls {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .bill-cart-controls span {
        flex: 1;
    }

    .cart-free-quantity-wrap {
        width: 100%;
    }

    .cart-free-quantity {
        flex: 1;
        width: auto;
    }

    .bill-cart-item-footer {
        align-items: center;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }
}
.stock-product-cell.no-image {
    display: flex;
    align-items: center;
    min-width: 180px;
}

.stock-product-cell.no-image > div {
    display: flex;
    flex-direction: column;
}

.stock-product-cell.no-image strong {
    color: var(--brown);
    font-size: 14px;
}

.stock-product-cell.no-image small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 4px;
}

.stock-unit {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}
.bill-search-form {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
}

.bill-search-form .form-control {
    flex: 1;
}

.table-subtext {
    display: block;
    margin-top: 4px;
    color: #9b8179;
}

.view-bill-button {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 10px;
    background: #ffe4df;
    color: #651810;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.view-bill-button:hover {
    background: #ffcbc5;
}

.invoice-heading-actions {
    display: flex;
    gap: 12px;
}

.invoice-sheet {
    max-width: 1000px;
    margin: 0 auto;
    padding: 45px;
    border: 1px solid #f0d9d2;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(92, 35, 24, 0.08);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f6e5df;
}

.invoice-header h1 {
    margin: 0;
    color: #4c100a;
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
}

.invoice-header p {
    margin: 4px 0 0;
    color: #977b73;
}

.invoice-title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.invoice-title span,
.invoice-info-box > span,
.invoice-payment-details > span {
    color: #ff6475;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.invoice-title strong {
    margin-top: 8px;
    color: #4c100a;
}

.invoice-information-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.invoice-info-box {
    padding: 22px;
    border-radius: 18px;
    background: #fff8f5;
}

.invoice-info-box strong {
    display: block;
    margin-top: 10px;
    color: #4c100a;
}

.invoice-info-box p {
    margin: 7px 0 0;
    color: #806861;
}

.invoice-items-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-items-table th {
    padding: 15px;
    background: #fff5f1;
    color: #846c65;
    font-size: 12px;
    text-align: left;
}

.invoice-items-table td {
    padding: 17px 15px;
    border-bottom: 1px solid #f2e1db;
}

.invoice-items-table td small {
    display: block;
    margin-top: 4px;
    color: #a68b83;
}

.invoice-bottom-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-top: 35px;
}

.invoice-payment-details p {
    margin: 12px 0 0;
}



.invoice-grand-total {
    margin-top: 8px;
    padding-top: 18px !important;
    border-top: 2px solid #f0d9d2;
    color: #4c100a;
    font-size: 20px;
}

.invoice-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #f0d9d2;
    text-align: center;
    color: #806861;
}

.invoice-footer strong {
    color: #4c100a;
}
/* ==================================================
   PRINT INVOICE — FULL A4 PAGE
================================================== */

@page {
    size: A4 portrait;
    margin: 8mm;
}


.invoice-totals{
    width:440px;
    margin-left:auto;
}

.invoice-totals > div{
    display:grid;
    grid-template-columns:180px 1fr;
    align-items:center;
    column-gap:24px;
    padding:10px 0;
}

.invoice-totals > div span{
    font-size:18px;
    color:#4c100a;
}

.invoice-totals > div strong{
    display:block;
    width:100%;
    text-align:left;
    font-size:18px;
    white-space:nowrap;
}

.invoice-grand-total{
    margin-top:10px;
    padding-top:18px;
    border-top:2px solid #f0d9d2;
}

.invoice-grand-total span,
.invoice-grand-total strong{
    font-size:22px;
    font-weight:700;
}

.invoice-items-table th:last-child,
.invoice-items-table td:last-child{
    width:180px;
    text-align:left;
}

@media print {

    html,
    body {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #ffffff !important;
    }

    .sidebar,
    .topbar,
    .page-heading,
    .no-print,
    .message-wrapper {
        display: none !important;
    }

    .app-layout,
    .main-area,
    .page-content {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #ffffff !important;
    }

    .invoice-sheet {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        min-height: 275mm !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 12mm 14mm !important;
        box-sizing: border-box !important;

        background: #ffffff !important;
        border: 1px solid #efd9d2 !important;
        border-radius: 18px !important;
        box-shadow: none !important;

        zoom: 1 !important;
        transform: none !important;

        page-break-inside: avoid !important;
        break-inside: avoid-page !important;
    }

    /* ==================================================
       TOP SECTION
       Cake Spot left, invoice number right
    ================================================== */

    .invoice-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;

        padding-bottom: 10mm !important;
        border-bottom: 2px solid #f3ddd6 !important;
    }

    .invoice-header h1 {
        margin: 0 !important;
        font-size: 42px !important;
        line-height: 1 !important;
    }

    .invoice-header p {
        margin: 7px 0 0 !important;
        font-size: 13px !important;
    }

    .invoice-title {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
    }

    .invoice-title span {
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }

    .invoice-title strong {
        margin-top: 7px !important;
        font-size: 18px !important;
    }

    /* ==================================================
       CUSTOMER AND INVOICE DETAILS
    ================================================== */

    .invoice-information-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10mm !important;
        margin: 12mm 0 9mm !important;
    }

    .invoice-info-box {
        min-height: 48mm !important;
        padding: 8mm !important;
        box-sizing: border-box !important;

        background: #fff8f5 !important;
        border-radius: 14px !important;
    }

    .invoice-info-box > span {
        font-size: 10px !important;
        letter-spacing: 1.7px !important;
    }

    .invoice-info-box > strong {
        margin-top: 7px !important;
        font-size: 15px !important;
    }

    .invoice-info-box p {
        margin: 6px 0 0 !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    /* ==================================================
       PRODUCT TABLE
    ================================================== */

    .invoice-items-wrapper {
        width: 100% !important;
        margin-top: 0 !important;
        overflow: visible !important;
    }

    .invoice-items-table {
        width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
    }

    .invoice-items-table th {
        padding: 12px 14px !important;
        font-size: 10px !important;
    }

    .invoice-items-table td {
        padding: 16px 14px !important;
        font-size: 12px !important;
    }

    .invoice-items-table td small {
        display: block !important;
        margin-top: 4px !important;
        font-size: 9px !important;
    }

    .invoice-items-table th:nth-child(1),
    .invoice-items-table td:nth-child(1) {
        width: 36% !important;
    }

    .invoice-items-table th:nth-child(2),
    .invoice-items-table td:nth-child(2) {
        width: 20% !important;
    }

    .invoice-items-table th:nth-child(3),
    .invoice-items-table td:nth-child(3) {
        width: 22% !important;
    }

    .invoice-items-table th:nth-child(4),
    .invoice-items-table td:nth-child(4) {
        width: 22% !important;
    }

    /* ==================================================
       PAYMENT AND TOTAL
    ================================================== */

    .invoice-bottom-section {
        display: grid !important;
        grid-template-columns: 1fr 320px !important;
        align-items: start !important;
        gap: 12mm !important;

        margin-top: 8mm !important;
        padding-top: 0 !important;

        page-break-inside: avoid !important;
        break-inside: avoid-page !important;
    }

    .invoice-payment-details {
        padding-top: 2mm !important;
    }

    .invoice-payment-details > span {
        font-size: 10px !important;
        letter-spacing: 1.7px !important;
    }

    .invoice-payment-details p {
        margin: 8px 0 0 !important;
        font-size: 12px !important;
    }

    
    
    /* ==================================================
       FOOTER
    ================================================== */

    .invoice-footer {
        margin-top: auto !important;
        padding-top: 7mm !important;
        text-align: center !important;
        border-top: 1px solid #efd9d2 !important;
    }

    .invoice-footer strong {
        font-size: 13px !important;
    }

    .invoice-footer p {
        margin: 4px 0 0 !important;
        font-size: 10px !important;
    }

    /* Avoid unwanted page breaks */

    .invoice-header,
    .invoice-information-grid,
    .invoice-items-wrapper,
    .invoice-bottom-section,
    .invoice-footer,
    .invoice-items-table tr {
        page-break-inside: avoid !important;
        break-inside: avoid-page !important;
    }
}


/* ==================================================
   MOBILE INVOICE
================================================== */

@media (max-width: 768px) {

    .bill-search-form,
    .invoice-heading-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .invoice-sheet {
        padding: 22px;
    }

    .invoice-header {
        flex-direction: column;
    }

    .invoice-title {
        align-items: flex-start;
        text-align: left;
    }

    .invoice-information-grid,
    .invoice-bottom-section {
        grid-template-columns: 1fr;
    }

    .invoice-items-wrapper {
        overflow-x: auto;
    }

    .invoice-items-table {
        min-width: 700px;
    }
}

@media (max-width: 768px) {

    .bill-search-form,
    .invoice-heading-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .invoice-sheet {
        padding: 22px;
    }

    .invoice-header {
        flex-direction: column;
    }

    .invoice-title {
        align-items: flex-start;
        text-align: left;
    }

    .invoice-information-grid,
    .invoice-bottom-section {
        grid-template-columns: 1fr;
    }

    .invoice-items-wrapper {
        overflow-x: auto;
    }

    .invoice-items-table {
        min-width: 700px;
    }
}

/* ==================================================
   PRINT INVOICE — ONE FULL A4 PAGE
================================================== */

@page {
    size: A4 portrait;
    margin: 6mm;
}

@media print {

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        background: #ffffff !important;
    }

    .sidebar,
    .topbar,
    .page-heading,
    .no-print,
    .message-wrapper {
        display: none !important;
    }

    .app-layout,
    .main-area,
    .page-content {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #ffffff !important;
    }

    .invoice-sheet {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        height: 273mm !important;
        min-height: 0 !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 10mm 12mm !important;
        box-sizing: border-box !important;

        background: #ffffff !important;
        border: 1px solid #efd9d2 !important;
        border-radius: 16px !important;
        box-shadow: none !important;

        zoom: 1 !important;
        transform: none !important;

        page-break-inside: avoid !important;
        break-inside: avoid-page !important;
    }

    /* Cake Spot left, invoice number right */

    .invoice-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;

        padding-bottom: 7mm !important;
        border-bottom: 1px solid #efd9d2 !important;
    }

    .invoice-header h1 {
        margin: 0 !important;
        font-size: 38px !important;
        line-height: 1 !important;
    }

    .invoice-header p {
        margin: 6px 0 0 !important;
        font-size: 12px !important;
    }

    .invoice-title {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
    }

    .invoice-title span {
        font-size: 10px !important;
        letter-spacing: 1.8px !important;
    }

    .invoice-title strong {
        margin-top: 6px !important;
        font-size: 17px !important;
    }

    /* Customer left, invoice details right */

    .invoice-information-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 9mm !important;
        margin: 9mm 0 !important;
    }

    .invoice-info-box {
        min-height: 42mm !important;
        padding: 7mm !important;
        box-sizing: border-box !important;

        background: #fff8f5 !important;
        border-radius: 12px !important;
    }

    .invoice-info-box > span {
        font-size: 9px !important;
        letter-spacing: 1.5px !important;
    }

    .invoice-info-box > strong {
        display: block !important;
        margin-top: 6px !important;
        font-size: 14px !important;
    }

    .invoice-info-box p {
        margin: 5px 0 0 !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    /* Product table */

    .invoice-items-wrapper {
        width: 100% !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .invoice-items-table {
        width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
    }

    .invoice-items-table th {
        padding: 11px 12px !important;
        font-size: 9px !important;
        text-align: left !important;
    }

    .invoice-items-table td {
        padding: 14px 12px !important;
        font-size: 11px !important;
        vertical-align: middle !important;
    }

    .invoice-items-table td small {
        display: block !important;
        margin-top: 3px !important;
        font-size: 8px !important;
    }

    .invoice-items-table th:nth-child(1),
    .invoice-items-table td:nth-child(1) {
        width: 40% !important;
        text-align: left !important;
    }

    .invoice-items-table th:nth-child(2),
    .invoice-items-table td:nth-child(2) {
        width: 18% !important;
        text-align: center !important;
    }

    .invoice-items-table th:nth-child(3),
    .invoice-items-table td:nth-child(3) {
        width: 20% !important;
        text-align: right !important;
    }

    .invoice-items-table th:nth-child(4),
    .invoice-items-table td:nth-child(4) {
        width: 135px !important;
        padding-right: 0 !important;
        text-align: right !important;
    }

    .invoice-items-table td:nth-child(4) strong {
        display: block !important;
        width: 135px !important;
        margin-left: auto !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-variant-numeric: tabular-nums !important;
    }

    /* Payment left, totals right */

    .invoice-bottom-section {
        display: grid !important;
        grid-template-columns: 1fr 330px !important;
        align-items: start !important;
        gap: 12mm !important;

        margin-top: 8mm !important;
        padding-top: 0 !important;

        page-break-inside: avoid !important;
        break-inside: avoid-page !important;
    }

    .invoice-payment-details {
        padding-top: 2mm !important;
    }

    .invoice-payment-details > span {
        font-size: 9px !important;
        letter-spacing: 1.5px !important;
    }

    .invoice-payment-details p {
        margin: 7px 0 0 !important;
        font-size: 11px !important;
    }

   /* ==================================================
   PAYMENT AND TOTAL ALIGNMENT
================================================== */

.invoice-bottom-section {
    display: grid !important;
    grid-template-columns: 1fr 44% !important;
    align-items: start !important;
    gap: 12mm !important;

    width: 100% !important;
    margin-top: 8mm !important;
    padding-top: 0 !important;

    page-break-inside: avoid !important;
    break-inside: avoid-page !important;
}

.invoice-payment-details {
    padding-top: 2mm !important;
}

.invoice-payment-details > span {
    font-size: 9px !important;
    letter-spacing: 1.5px !important;
}

.invoice-payment-details p {
    margin: 7px 0 0 !important;
    font-size: 11px !important;
}



 




/* Grand total */
.invoice-grand-total {
    margin-top: 4px !important;
    padding-top: 12px !important;

    border-top: 1px solid #e4c8c0 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
}


/* Product Unit Price */
.invoice-items-table th:nth-child(3),
.invoice-items-table td:nth-child(3) {
    text-align: right !important;
}


/* Product Total */
.invoice-items-table th:nth-child(4),
.invoice-items-table td:nth-child(4) {
    width: 22% !important;
    padding-right: 0 !important;
    text-align: right !important;
}

.invoice-items-table td:nth-child(4) strong {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    text-align: right !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums !important;
}

    /* Footer at bottom */

    .invoice-footer {
        margin-top: auto !important;
        padding-top: 6mm !important;

        border-top: 1px solid #efd9d2 !important;
        text-align: center !important;
    }

    .invoice-footer strong {
        font-size: 12px !important;
    }

    .invoice-footer p {
        margin: 3px 0 0 !important;
        font-size: 9px !important;
    }

    .invoice-header,
    .invoice-information-grid,
    .invoice-items-wrapper,
    .invoice-bottom-section,
    .invoice-footer,
    .invoice-items-table tr {
        page-break-inside: avoid !important;
        break-inside: avoid-page !important;
    }
}
.owner-branch-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.owner-branch-form label {
    color: #9a7b73;
    font-size: 10px;
    font-weight: 500;
}

.owner-branch-form select {
    min-width: 220px;
    padding: 7px 10px;
    border: 1px solid #efd6cf;
    border-radius: 9px;
    background: #fffaf7;
    color: #4b100b;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    outline: none;
}
/* =========================================================
   WASTAGE PAGES
========================================================= */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.page-header h1 {
    margin: 6px 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 46px;
    line-height: 1.05;
    color: #4a0d08;
}

.page-header p {
    margin: 0;
    color: #806b66;
    font-size: 15px;
}

.small-title {
    display: block;
    color: #ff6f7f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.primary-btn {
    color: #ffffff;
    background: #69170f;
    box-shadow: 0 12px 25px rgba(105, 23, 15, 0.18);
}

.primary-btn:hover {
    background: #50100b;
}

.secondary-btn {
    color: #69170f;
    background: #fff4ef;
    border: 1px solid #efd6cc;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 280px));
    gap: 22px;
    margin-bottom: 26px;
}

.summary-card {
    min-height: 135px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #efd8cf;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(77, 24, 17, 0.05);
}

.summary-card span {
    margin-bottom: 8px;
    color: #9a7770;
    font-size: 14px;
}

.summary-card strong {
    color: #4a0d08;
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
}

.content-card {
    margin-bottom: 26px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #efd8cf;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(77, 24, 17, 0.05);
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 6px 0 0;
    color: #4a0d08;
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
}

.filter-form {
    display: flex;
    align-items: end;
    gap: 14px;
    flex-wrap: wrap;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #4a201b;
    font-size: 14px;
    font-weight: 600;
}

.form-control,
.wastage-form select,
.wastage-form input,
.wastage-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #ecd6ce;
    border-radius: 12px;
    background: #fffdfc;
    color: #3c211d;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    outline: none;
}

.wastage-form textarea {
    min-height: 100px;
    resize: vertical;
}

.form-control:focus,
.wastage-form select:focus,
.wastage-form input:focus,
.wastage-form textarea:focus {
    border-color: #ff7a87;
    box-shadow: 0 0 0 3px rgba(255, 122, 135, 0.12);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.data-table thead {
    background: #fff4ef;
}

.data-table th,
.data-table td {
    padding: 15px 16px;
    text-align: left;
    border-bottom: 1px solid #f0ddd6;
    vertical-align: middle;
}

.data-table th {
    color: #856d67;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.data-table td {
    color: #4b312c;
    font-size: 14px;
}

.alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.alert-success {
    color: #27603c;
    background: #eaf8ef;
    border: 1px solid #bfe6cc;
}

.alert-error {
    color: #8b2424;
    background: #fff0f0;
    border: 1px solid #f0c3c3;
}

.field-error {
    color: #c53636;
    font-size: 12px;
}

.wastage-form .primary-btn {
    margin-top: 22px;
}

@media (max-width: 900px) {
    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .page-header h1 {
        font-size: 38px;
    }

    .content-card {
        padding: 20px;
        border-radius: 18px;
    }

    .filter-form {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }
}
/* ================================
   CLEAN DASHBOARD
================================ */

.dashboard-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-intro h1 {
    margin: 0 0 4px;
    color: #3b0804;
    font-size: 36px;
}

.dashboard-intro p {
    margin: 0;
    color: #8b6f68;
}

.dashboard-intro-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.dashboard-stat-card {
    min-width: 0;
    min-height: 135px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #f0d9d1;
    border-radius: 22px;
}

.dashboard-stat-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0eb;
    border-radius: 15px;
    font-size: 22px;
}

.dashboard-stat-card div:last-child {
    min-width: 0;
}

.dashboard-stat-card span,
.dashboard-stat-card small {
    display: block;
}

.dashboard-stat-card span {
    color: #8b6f68;
    font-size: 14px;
}

.dashboard-stat-card strong {
    display: block;
    margin: 5px 0;
    color: #3b0804;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    line-height: 1;
}

.dashboard-stat-card small {
    color: #9a827b;
    font-size: 12px;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 22px;
    margin-bottom: 22px;
    align-items: stretch;
}

.dashboard-panel {
    min-width: 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #f0d9d1;
    border-radius: 24px;
}

.dashboard-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dashboard-panel-header h2 {
    margin: 0 0 3px;
    color: #3b0804;
    font-size: 28px;
}

.dashboard-panel-header p {
    margin: 0;
    color: #987c74;
    font-size: 13px;
}

.dashboard-alert-list {
    display: grid;
    gap: 12px;
}

.dashboard-alert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 16px;
    background: #fff8f5;
    border: 1px solid #f1ddd5;
    border-radius: 15px;
}

.dashboard-alert-item strong,
.dashboard-alert-item span {
    display: block;
}

.dashboard-alert-item strong {
    color: #4a1712;
    font-size: 14px;
}

.dashboard-alert-item span {
    margin-top: 2px;
    color: #9b827a;
    font-size: 12px;
}

.dashboard-alert-item b {
    flex-shrink: 0;
    color: #3b0804;
    font-size: 18px;
}

.recent-bill-list {
    display: grid;
    gap: 10px;
}

.recent-bill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 15px;
    background: #fffaf8;
    border: 1px solid #f1ded7;
    border-radius: 14px;
}

.recent-bill-item strong,
.recent-bill-item span {
    display: block;
}

.recent-bill-item strong {
    color: #3b0804;
}

.recent-bill-item span {
    margin-top: 2px;
    color: #9a8179;
    font-size: 12px;
}

.recent-bill-amount {
    flex-shrink: 0;
    text-align: right;
}

.compact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.compact-actions a {
    min-height: 62px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3b0804;
    background: #fff8f5;
    border: 1px solid #f0d9d1;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
}

.compact-actions a:hover {
    background: #ffece7;
}

.compact-actions span {
    font-size: 18px;
}

.compact-empty-state {
    padding: 24px;
    color: #987c74;
    text-align: center;
    background: #fffaf8;
    border-radius: 14px;
}

.dashboard-stock-panel .table-responsive {
    overflow-x: auto;
}

.dashboard-stock-panel .data-table {
    width: 100%;
    min-width: 0;
}

@media (max-width: 1200px) {
    .dashboard-summary-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-intro {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .dashboard-summary-cards {
        grid-template-columns: 1fr;
    }

    .compact-actions {
        grid-template-columns: 1fr;
    }

    .dashboard-intro-actions {
        width: 100%;
    }

    .dashboard-intro-actions a {
        flex: 1;
        text-align: center;
    }
}
/* ==================================================
   FINAL BILL ITEM FIX
================================================== */

.bill-cart-item-body {
    display: grid !important;
    grid-template-columns: 165px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

.bill-cart-field {
    min-width: 0 !important;
}

.bill-cart-controls {
    display: grid !important;
    grid-template-columns: 38px 70px 38px !important;
    align-items: center !important;
    gap: 6px !important;
    width: max-content !important;
    padding: 5px !important;
}

.bill-cart-controls button {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
}

.bill-cart-controls span {
    min-width: 0 !important;
    width: 70px !important;
    text-align: center !important;
}

.free-quantity-field {
    display: block !important;
}

.cart-free-quantity-wrap {
    display: grid !important;
    grid-template-columns: minmax(110px, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.cart-free-quantity {
    width: 100% !important;
    min-width: 0 !important;
}

.free-quantity-field small {
    display: none !important;
}

@media (max-width: 1200px) {
    .bill-cart-item-body {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

@media (max-width: 650px) {
    .bill-cart-controls {
        width: 100% !important;
        grid-template-columns: 40px 1fr 40px !important;
    }

    .bill-cart-controls span {
        width: auto !important;
    }
}
/* ==================================================
   FINAL INVOICE AMOUNT ALIGNMENT
================================================== */

.invoice-bottom-section {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.invoice-totals {
    width: 340px;
    margin-left: auto;
}

.invoice-totals > div {
    display: grid;
    grid-template-columns: 160px 180px;
    align-items: center;
    padding: 10px 0;
}

.invoice-totals > div span {
    text-align: left;
}

.invoice-totals > div strong {
    display: block;
    width: 180px;
    text-align: left;
    white-space: nowrap;
}


/* PRODUCT TOTAL — SAME STARTING LINE */

.invoice-items-table th:last-child,
.invoice-items-table td:last-child {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.invoice-items-table td:last-child strong {
    display: block;
    width: 180px;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: nowrap;
}


/* GRAND TOTAL */

.invoice-grand-total {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 2px solid #f0d9d2;
}

.invoice-grand-total span,
.invoice-grand-total strong {
    font-size: 22px;
    font-weight: 700;
}


/* PRINT ALIGNMENT */

@media print {

    .invoice-bottom-section {
        grid-template-columns:
            minmax(0, 1fr) 340px !important;
    }

    .invoice-totals {
        width: 340px !important;
        margin-left: auto !important;
    }

    .invoice-totals > div {
        display: grid !important;
        grid-template-columns:
            160px 180px !important;
    }

    .invoice-totals > div strong {
        width: 180px !important;
        text-align: left !important;
    }

    .invoice-items-table th:last-child,
    .invoice-items-table td:last-child {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .invoice-items-table td:last-child strong {
        display: block !important;
        width: 180px !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
}
/* SAME ALIGNMENT WHILE PRINTING */

@media print {

    .invoice-bottom-section {
        grid-template-columns:
            minmax(0, 1fr) 340px !important;
    }

    .invoice-totals {
        width: 340px !important;
        margin-left: auto !important;
    }

    .invoice-totals > div {
        display: grid !important;
        grid-template-columns:
            160px 180px !important;
    }

    .invoice-totals > div strong {
        width: 180px !important;
        text-align: left !important;
    }

    .invoice-items-table th:last-child,
    .invoice-items-table td:last-child {
        width: 180px !important;
        text-align: left !important;
        padding-right: 0 !important;
    }

}
/* =========================================================
   BASE INVENTORY DASHBOARD
========================================================= */

.dashboard-page {
    width: 100%;
}

.dashboard-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.dashboard-page .page-subtitle {
    display: inline-block;
    margin-bottom: 10px;
    color: #ff687f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dashboard-page .page-header h1 {
    margin: 0 0 10px;
    color: #3b0804;
    font-family: "Cormorant Garamond", serif;
    font-size: 52px;
    line-height: 1;
}

.dashboard-page .page-header p {
    margin: 0;
    color: #8a6e67;
    font-size: 17px;
    line-height: 1.7;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-card {
    display: block;
    min-height: 210px;
    padding: 28px;
    border: 1px solid #efd9d2;
    border-radius: 24px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(59, 8, 4, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    border-color: #ff9baa;
    box-shadow: 0 16px 36px rgba(59, 8, 4, 0.1);
}

.dashboard-card .card-icon {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: #fff0ed;
    font-size: 26px;
}

.dashboard-card h3 {
    margin: 0 0 10px;
    color: #3b0804;
    font-size: 21px;
    font-weight: 700;
}

.dashboard-card p {
    margin: 0;
    color: #806862;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .dashboard-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .dashboard-page .page-header h1 {
        font-size: 40px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        min-height: auto;
    }
}
/* =========================================================
   INCOMING BASE TRANSFERS
========================================================= */

.table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
}

.table-actions .primary-button,
.table-actions .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 44px;
    padding: 0 18px;
    margin: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.table-actions .primary-button {
    border: 1px solid #711a12;
    background: #711a12;
    color: #ffffff;
    box-shadow: none;
}

.table-actions .primary-button:hover {
    background: #50100b;
    border-color: #50100b;
    color: #ffffff;
    transform: none;
}

.table-actions .secondary-button {
    border: 1px solid #efcfc8;
    background: #fff7f4;
    color: #5a130e;
    box-shadow: none;
}

.table-actions .secondary-button:hover {
    border-color: #f07b86;
    background: #ffe9e5;
    color: #5a130e;
    transform: none;
}

/* Make the action column wide enough for both buttons */

.data-table th:last-child,
.data-table td:last-child {
    min-width: 215px;
}

/* Prevent table content from becoming cramped */

.data-table th,
.data-table td {
    vertical-align: middle;
}

.data-table td {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Status badges */

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge.pending {
    background: #fff0cf;
    color: #a45b00;
}

.status-badge.active {
    background: #e5f7ec;
    color: #147a43;
}

.status-badge.inactive {
    background: #ffe5e8;
    color: #b42332;
}

/* Mobile and tablet */

@media (max-width: 900px) {
    .table-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .table-actions .primary-button,
    .table-actions .secondary-button {
        width: 100%;
        min-width: 110px;
    }

    .data-table th:last-child,
    .data-table td:last-child {
        min-width: 140px;
    }
}
/* ================= REPORT TABLE ALIGNMENT FIX ================= */

.report-page {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.report-section {
    width: 100%;
    max-width: 100%;
}

.report-table-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}

.report-table {
    width: 100%;
    min-width: 900px;
    table-layout: auto;
}

.report-table th,
.report-table td {
    padding: 13px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.report-table th:first-child,
.report-table td:first-child {
    padding-left: 16px;
}

.report-table th:last-child,
.report-table td:last-child {
    padding-right: 16px;
}

.report-section-header {
    padding: 18px 26px;
}

.report-section-total {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Central stock table */
.report-section:nth-of-type(4) .report-table {
    min-width: 1050px;
}

/* Distribution table */
.report-section:nth-of-type(5) .report-table {
    min-width: 950px;
}

/* Better horizontal scrollbar */
.report-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.report-table-wrapper::-webkit-scrollbar-track {
    background: #f8ebe7;
    border-radius: 10px;
}

.report-table-wrapper::-webkit-scrollbar-thumb {
    background: #c89b91;
    border-radius: 10px;
}

.report-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #8b443a;
}

@media (min-width: 1400px) {
    .report-table {
        min-width: 100%;
    }

    .report-table th,
    .report-table td {
        padding: 14px 12px;
        font-size: 13px;
    }
}
.menu-group {
    margin-bottom: 24px;
}

.menu-title {
    font-size: 11px;
    font-weight: 700;
    color: #9a9a9a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-left: 14px;
}