/* =========================================================
   BAKERY PRO
   COMMON STYLE SHEET
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --primary: #e85d04;
    --primary-dark: #c94d00;
    --primary-light: #fff1e8;

    --blue: #2563eb;
    --purple: #7c3aed;
    --green: #16a34a;
    --orange: #f59e0b;

    --dark: #172033;
    --dark-2: #263247;

    --text: #344054;
    --text-light: #667085;
    --muted: #98a2b3;

    --white: #ffffff;

    --bg: #f7f8fc;

    --border: #eaecf0;

    --success-bg: #ecfdf3;
    --success-text: #027a48;

    --warning-bg: #fffaeb;
    --warning-text: #b54708;

    --danger: #d92d20;

    --sidebar-width: 265px;

    --header-height: 76px;

    --radius: 12px;

    --shadow:
        0 1px 3px rgba(16, 24, 40, 0.06),
        0 1px 2px rgba(16, 24, 40, 0.04);

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--bg);

    color: var(--text);

}


a {

    text-decoration: none;

    color: inherit;

}


button,
input,
select,
textarea {

    font-family: inherit;

}


button {

    cursor: pointer;

}


img {

    max-width: 100%;

}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-body {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at top left,
            #fff4eb 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at bottom right,
            #fff1e8 0%,
            transparent 40%
        ),
        #f8fafc;

    padding: 30px;

}


.login-wrapper {

    width: 100%;

    max-width: 1050px;

    min-height: 650px;

    display: grid;

    grid-template-columns: 45% 55%;

    background: var(--white);

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 25px 60px rgba(16, 24, 40, 0.12);

}


/* LEFT BRAND */

.login-brand {

    position: relative;

    padding: 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #e85d04,
            #f48c06
        );

    color: white;

}


.login-brand::before {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    top: -130px;

    right: -130px;

}


.login-brand::after {

    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background: rgba(255,255,255,0.07);

    bottom: -100px;

    left: -100px;

}


.brand-icon {

    position: relative;

    z-index: 2;

    width: 70px;

    height: 70px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,0.18);

    font-size: 32px;

    margin-bottom: 25px;

}


.login-brand h1 {

    position: relative;

    z-index: 2;

    font-size: 38px;

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 12px;

}


.login-brand h1 span {

    color: #ffe0c2;

}


.login-brand > p {

    position: relative;

    z-index: 2;

    line-height: 1.7;

    font-size: 15px;

    color: rgba(255,255,255,0.85);

    max-width: 330px;

}


.brand-features {

    position: relative;

    z-index: 2;

    margin-top: 42px;

    display: flex;

    flex-direction: column;

    gap: 17px;

}


.brand-features div {

    display: flex;

    align-items: center;

    gap: 14px;

    font-size: 14px;

    color: rgba(255,255,255,0.92);

}


.brand-features i {

    width: 30px;

    font-size: 16px;

}


/* LOGIN PANEL */

.login-panel {

    padding: 55px 65px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.login-header {

    margin-bottom: 35px;

}


.login-header h2 {

    color: var(--dark);

    font-size: 29px;

    margin-bottom: 8px;

}


.login-header p {

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.6;

}


.mobile-logo {

    display: none;

}


.form-group {

    margin-bottom: 22px;

}


.form-group label {

    display: block;

    font-size: 13px;

    font-weight: 600;

    color: var(--dark);

    margin-bottom: 8px;

}


.input-wrapper {

    position: relative;

}


.input-wrapper > i:first-child {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #98a2b3;

    font-size: 15px;

}


.input-wrapper input {

    width: 100%;

    height: 50px;

    border: 1px solid var(--border);

    border-radius: 9px;

    padding: 0 45px;

    outline: none;

    font-size: 14px;

    color: var(--dark);

    background: #fff;

    transition: 0.2s;

}


.input-wrapper input:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(232,93,4,0.10);

}


.input-wrapper input::placeholder {

    color: #b0b8c4;

}


.password-toggle {

    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: #98a2b3;

    padding: 7px;

}


.login-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;

    font-size: 13px;

}


.remember-me {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--text-light);

    cursor: pointer;

}


.remember-me input {

    accent-color: var(--primary);

}


.login-options a {

    color: var(--primary);

    font-weight: 600;

}


.login-btn {

    width: 100%;

    height: 50px;

    border: none;

    border-radius: 9px;

    background: var(--primary);

    color: white;

    font-weight: 600;

    font-size: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    transition: 0.2s;

}


.login-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-1px);

}


.demo-login {

    margin-top: 25px;

    padding: 15px 17px;

    border-radius: 9px;

    background: #f8fafc;

    border: 1px solid var(--border);

}


.demo-title {

    color: var(--dark);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 7px;

}


.demo-title i {

    color: var(--primary);

    margin-right: 5px;

}


.demo-login p {

    font-size: 12px;

    color: var(--text-light);

    line-height: 1.7;

}


.login-footer {

    margin-top: 25px;

    text-align: center;

}


.login-footer p {

    color: #98a2b3;

    font-size: 11px;

}


/* =========================================================
   APP LAYOUT
========================================================= */

.app-container {

    min-height: 100vh;

    display: flex;

}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {

    width: var(--sidebar-width);

    height: 100vh;

    position: fixed;

    left: 0;

    top: 0;

    z-index: 100;

    background: var(--white);

    border-right: 1px solid var(--border);

    display: flex;

    flex-direction: column;

    transition: 0.3s ease;

}


.sidebar-logo {

    height: var(--header-height);

    padding: 0 20px;

    display: flex;

    align-items: center;

    gap: 11px;

    border-bottom: 1px solid var(--border);

}


.logo-icon {

    width: 39px;

    height: 39px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 19px;

}


.logo-text h2 {

    color: var(--dark);

    font-size: 19px;

    line-height: 1.1;

}


.logo-text h2 span {

    color: var(--primary);

}


.logo-text small {

    color: var(--muted);

    font-size: 9px;

}


.sidebar-menu {

    flex: 1;

    overflow-y: auto;

    padding: 15px 12px;

}


.sidebar-menu::-webkit-scrollbar {

    width: 4px;

}


.sidebar-menu::-webkit-scrollbar-thumb {

    background: #e4e7ec;

    border-radius: 10px;

}


.menu-section {

    margin-bottom: 18px;

}


.menu-title {

    padding: 7px 11px;

    color: #98a2b3;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

}


.menu-item {

    position: relative;

    min-height: 43px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 12px;

    border-radius: 8px;

    color: #667085;

    font-size: 13px;

    margin-bottom: 3px;

    transition: 0.2s;

}


.menu-item i {

    width: 18px;

    text-align: center;

    font-size: 14px;

}


.menu-item:hover {

    color: var(--primary);

    background: var(--primary-light);

}


.menu-item.active {

    color: var(--primary);

    background: var(--primary-light);

    font-weight: 600;

}


.menu-badge {

    margin-left: auto;

    min-width: 20px;

    height: 20px;

    padding: 0 6px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: white;

    font-size: 9px;

    font-weight: 700;

}


.logout-menu:hover {

    color: var(--danger);

    background: #fef3f2;

}


.sidebar-bottom {

    padding: 15px;

    border-top: 1px solid var(--border);

}


.support-card {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px;

    border-radius: 9px;

    background: #f8fafc;

}


.support-icon {

    width: 34px;

    height: 34px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    background: var(--primary-light);

}


.support-card strong {

    display: block;

    color: var(--dark);

    font-size: 11px;

}


.support-card small {

    display: block;

    color: var(--muted);

    font-size: 9px;

    margin-top: 2px;

}


/* =========================================================
   MAIN CONTENT
========================================================= */

.main-content {

    margin-left: var(--sidebar-width);

    width: calc(100% - var(--sidebar-width));

    min-height: 100vh;

}


.top-header {

    height: var(--header-height);

    background: var(--white);

    border-bottom: 1px solid var(--border);

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.header-left {

    display: flex;

    align-items: center;

    gap: 18px;

}


.sidebar-toggle {

    display: none;

    width: 38px;

    height: 38px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;

    color: var(--text);

}


.page-heading h1 {

    font-size: 19px;

    color: var(--dark);

    margin-bottom: 3px;

}


.page-heading p {

    font-size: 11px;

    color: var(--muted);

}


.header-right {

    display: flex;

    align-items: center;

    gap: 20px;

}


.header-icon-btn {

    position: relative;

    width: 38px;

    height: 38px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;

    color: var(--text-light);

    font-size: 15px;

}


.notification-dot {

    position: absolute;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--primary);

    top: 8px;

    right: 9px;

}


.header-user {

    display: flex;

    align-items: center;

    gap: 9px;

}


.user-avatar {

    width: 38px;

    height: 38px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

}


.user-info strong {

    display: block;

    color: var(--dark);

    font-size: 12px;

}


.user-info span {

    display: block;

    color: var(--muted);

    font-size: 9px;

    margin-top: 2px;

}


.user-arrow {

    color: #98a2b3;

    font-size: 9px;

    margin-left: 3px;

}


/* =========================================================
   CONTENT AREA
========================================================= */

.content-area {

    padding: 28px 30px;

    max-width: 1700px;

    margin: auto;

}


/* =========================================================
   WELCOME BANNER
========================================================= */

.welcome-banner {

    border-radius: 14px;

    overflow: hidden;

    margin-bottom: 22px;

    background:
        linear-gradient(
            100deg,
            #e85d04,
            #f48c06
        );

}


.welcome-content {

    min-height: 145px;

    padding: 28px 32px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

}


.welcome-label {

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: 700;

    color: rgba(255,255,255,0.75);

}


.welcome-content h2 {

    margin-top: 7px;

    color: white;

    font-size: 24px;

}


.welcome-content p {

    margin-top: 7px;

    color: rgba(255,255,255,0.85);

    font-size: 12px;

}


.welcome-icon {

    width: 95px;

    height: 95px;

    border-radius: 50%;

    background: rgba(255,255,255,0.13);

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 40px;

}


/* =========================================================
   STATS
========================================================= */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-bottom: 22px;

}


.stat-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 19px;

    box-shadow: var(--shadow);

}


.stat-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.stat-icon {

    width: 40px;

    height: 40px;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;

}


.stat-icon.blue {

    background: #eff6ff;

    color: var(--blue);

}


.stat-icon.purple {

    background: #f5f3ff;

    color: var(--purple);

}


.stat-icon.orange {

    background: #fff7ed;

    color: var(--orange);

}


.stat-icon.green {

    background: #ecfdf3;

    color: var(--green);

}


.stat-growth {

    padding: 4px 7px;

    border-radius: 5px;

    font-size: 9px;

    font-weight: 600;

}


.stat-growth.positive {

    background: var(--success-bg);

    color: var(--success-text);

}


.stat-growth.warning {

    background: var(--warning-bg);

    color: var(--warning-text);

}


.stat-info {

    margin-top: 17px;

}


.stat-info span {

    color: var(--text-light);

    font-size: 11px;

}


.stat-info h3 {

    margin-top: 5px;

    color: var(--dark);

    font-size: 24px;

}


.stat-footer {

    margin-top: 12px;

    padding-top: 10px;

    border-top: 1px solid #f2f4f7;

}


.stat-footer span {

    color: var(--muted);

    font-size: 9px;

}


.stat-footer i {

    margin-right: 3px;

}


.warning-text {

    color: var(--warning-text) !important;

}


/* =========================================================
   DASHBOARD GRID
========================================================= */

.dashboard-grid {

    display: grid;

    grid-template-columns: 1.55fr 1fr;

    gap: 20px;

    margin-bottom: 20px;

}


.dashboard-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

}


.card-header {

    min-height: 72px;

    padding: 17px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #f2f4f7;

}


.card-header h3 {

    color: var(--dark);

    font-size: 14px;

}


.card-header p {

    color: var(--muted);

    font-size: 10px;

    margin-top: 4px;

}


.period-select {

    height: 33px;

    padding: 0 10px;

    border: 1px solid var(--border);

    border-radius: 7px;

    background: white;

    color: var(--text-light);

    font-size: 10px;

    outline: none;

}


/* =========================================================
   CHART
========================================================= */

.chart-area {

    height: 270px;

    display: flex;

    padding: 20px 20px 10px;

}


.chart-y-axis {

    width: 40px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding-bottom: 27px;

}


.chart-y-axis span {

    font-size: 9px;

    color: #98a2b3;

}


.chart {

    flex: 1;

    position: relative;

    margin-left: 8px;

}


.chart-grid-line {

    position: absolute;

    left: 0;

    right: 0;

    border-top: 1px dashed #eaecf0;

}


.line-1 {
    top: 0;
}

.line-2 {
    top: 25%;
}

.line-3 {
    top: 50%;
}

.line-4 {
    top: 75%;
}


.chart-bars {

    height: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: space-around;

    position: relative;

    z-index: 2;

    padding: 0 10px;

}


.bar-item {

    height: 100%;

    width: 35px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    align-items: center;

    gap: 8px;

}


.bar {

    width: 100%;

    max-height: calc(100% - 25px);

    border-radius: 6px 6px 2px 2px;

    background:
        linear-gradient(
            to top,
            #fed7aa,
            #fdba74
        );

    transition: 0.2s;

}


.bar.active {

    background:
        linear-gradient(
            to top,
            #e85d04,
            #f48c06
        );

}


.bar:hover {

    opacity: 0.75;

}


.bar-item span {

    color: var(--muted);

    font-size: 9px;

}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-action-list {

    padding: 9px 14px;

}


.quick-action {

    min-height: 61px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 8px 7px;

    border-bottom: 1px solid #f2f4f7;

    transition: 0.2s;

}


.quick-action:last-child {

    border-bottom: none;

}


.quick-action:hover {

    background: #fafafa;

}


.quick-action-icon {

    flex: 0 0 37px;

    width: 37px;

    height: 37px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.quick-action-icon.green {

    background: #ecfdf3;

    color: var(--green);

}


.quick-action-icon.blue {

    background: #eff6ff;

    color: var(--blue);

}


.quick-action-icon.orange {

    background: #fff7ed;

    color: var(--orange);

}


.quick-action-icon.purple {

    background: #f5f3ff;

    color: var(--purple);

}


.quick-action div:nth-child(2) {

    flex: 1;

}


.quick-action strong {

    display: block;

    color: var(--dark);

    font-size: 11px;

}


.quick-action span {

    display: block;

    color: var(--muted);

    font-size: 9px;

    margin-top: 3px;

}


.quick-action > i {

    color: #c0c5cc;

    font-size: 9px;

}


/* =========================================================
   TABLE
========================================================= */

.table-responsive {

    overflow-x: auto;

}


.data-table {

    width: 100%;

    border-collapse: collapse;

}


.data-table th {

    text-align: left;

    padding: 12px 20px;

    background: #fcfcfd;

    border-bottom: 1px solid var(--border);

    color: #667085;

    font-size: 14px;

    font-weight: 700;

}


.data-table td {

    padding: 13px 20px;

    border-bottom: 1px solid #f2f4f7;

    color: var(--text);

    font-size: 14px;

}


.data-table tr:last-child td {

    border-bottom: none;

}


.data-table td strong {

    display: block;

    color: var(--dark);

    font-size: 14px;

}


.data-table td small {

    display: block;

    color: var(--muted);

    font-size: 8px;

    margin-top: 3px;

}


.status {

    display: inline-flex;

    align-items: center;

    padding: 4px 7px;

    border-radius: 20px;

    font-size: 8px;

    font-weight: 600;

}


.status.completed {

    color: var(--success-text);

    background: var(--success-bg);

}


.status.pending {

    color: var(--warning-text);

    background: var(--warning-bg);

}


.view-all {

    color: var(--primary);

    font-size: 9px;

    font-weight: 600;

}


.view-all i {

    margin-left: 4px;

}


/* =========================================================
   REQUISITION
========================================================= */

.count-badge {

    min-width: 24px;

    height: 24px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

}


.requisition-list {

    padding: 5px 18px;

}


.requisition-item {

    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 61px;

    border-bottom: 1px solid #f2f4f7;

}


.requisition-item:last-child {

    border-bottom: none;

}


.store-small-icon {

    width: 34px;

    height: 34px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff7ed;

    color: var(--primary);

    font-size: 13px;

}


.requisition-info {

    flex: 1;

}


.requisition-info strong {

    display: block;

    color: var(--dark);

    font-size: 10px;

}


.requisition-info span {

    display: block;

    color: var(--muted);

    font-size: 8px;

    margin-top: 3px;

}


.requisition-time {

    color: var(--muted);

    font-size: 8px;

}


.requisition-btn {

    margin: 7px 18px 18px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border: 1px solid var(--border);

    border-radius: 7px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 600;

}


.requisition-btn:hover {

    background: var(--primary-light);

}


/* =========================================================
   MOBILE OVERLAY
========================================================= */

.sidebar-overlay {

    display: none;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .dashboard-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 900px) {

    .sidebar {

        transform: translateX(-100%);

        box-shadow:
            10px 0 30px rgba(16,24,40,0.12);

    }


    .sidebar.sidebar-open {

        transform: translateX(0);

    }


    .main-content {

        margin-left: 0;

        width: 100%;

    }


    .sidebar-toggle {

        display: flex;

        align-items: center;

        justify-content: center;

    }


    .sidebar-overlay {

        position: fixed;

        inset: 0;

        background: rgba(16,24,40,0.35);

        z-index: 90;

    }


    .sidebar-overlay.overlay-show {

        display: block;

    }


    .login-wrapper {

        max-width: 700px;

        grid-template-columns: 1fr;

    }


    .login-brand {

        display: none;

    }


    .login-panel {

        padding: 50px;

    }


    .mobile-logo {

        width: 50px;

        height: 50px;

        border-radius: 13px;

        display: flex;

        align-items: center;

        justify-content: center;

        background: var(--primary-light);

        color: var(--primary);

        font-size: 21px;

        margin-bottom: 20px;

    }

}


@media (max-width: 650px) {

    .top-header {

        padding: 0 17px;

    }


    .page-heading p {

        display: none;

    }


    .user-info,

    .user-arrow {

        display: none;

    }


    .header-right {

        gap: 8px;

    }


    .content-area {

        padding: 18px 15px;

    }


    .welcome-content {

        padding: 23px;

    }


    .welcome-content h2 {

        font-size: 20px;

    }
    


    .welcome-content p {

        max-width: 230px;

    }


    .welcome-icon {

        width: 65px;

        height: 65px;

        font-size: 25px;

    }


    .stats-grid {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .dashboard-grid {

        gap: 14px;

    }


    .chart-area {

        height: 230px;

        padding-left: 12px;

        padding-right: 12px;

    }


    .bar-item {

        width: 24px;

    }


    .login-body {

        padding: 15px;

    }


    .login-wrapper {

        min-height: auto;

        border-radius: 16px;

    }


    .login-panel {

        padding: 35px 24px;

    }

}


@media (max-width: 400px) {

    .login-panel {

        padding: 30px 18px;

    }


    .login-header h2 {

        font-size: 25px;

    }


    .content-area {

        padding: 14px 10px;

    }


    .top-header {

        padding: 0 12px;

    }


    .welcome-content {

        min-height: 130px;

        padding: 18px;

    }


    .welcome-content h2 {

        font-size: 18px;

    }


    .welcome-icon {

        display: none;

    }


    .stat-card {

        padding: 15px;

    }


    .card-header {

        padding: 15px;

    }

}

/* =========================================================
   STEP 2
   CATEGORY PAGE
========================================================= */


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 10px;

}


.breadcrumb a {

    color: var(--text-light);

    display: flex;

    align-items: center;

    gap: 5px;

}


.breadcrumb a:hover {

    color: var(--primary);

}


.breadcrumb > i {

    font-size: 7px;

    color: #c5cad2;

}


.breadcrumb strong {

    color: var(--primary);

    font-weight: 600;

}


/* =========================================================
   PAGE HEADER
========================================================= */

.content-page-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;

}


.content-page-header h2 {

    color: var(--dark);

    font-size: 21px;

    margin-bottom: 5px;

}


.content-page-header p {

    color: var(--muted);

    font-size: 11px;

}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.primary-btn {

    min-height: 39px;

    border: none;

    border-radius: 8px;

    padding: 0 15px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    background: var(--primary);

    color: white;

    font-size: 14px;

    font-weight: 600;

    transition: 0.2s;

}


.primary-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-1px);

}


/* =========================================================
   CATEGORY STATISTICS
========================================================= */

.category-stats {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin-bottom: 20px;

}


.category-stat-card {

    min-height: 90px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 16px;

    display: flex;

    align-items: center;

    gap: 13px;

    box-shadow: var(--shadow);

}


.category-stat-icon {

    flex: 0 0 42px;

    width: 42px;

    height: 42px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;

}


.category-stat-icon.blue {

    color: var(--blue);

    background: #eff6ff;

}


.category-stat-icon.green {

    color: var(--green);

    background: #ecfdf3;

}


.category-stat-icon.orange {

    color: var(--orange);

    background: #fff7ed;

}


.category-stat-icon.red {

    color: #d92d20;

    background: #fef3f2;

}


.category-stat-card span {

    display: block;

    color: var(--text-light);

    font-size: 10px;

}


.category-stat-card h3 {

    margin-top: 5px;

    color: var(--dark);

    font-size: 21px;

}


/* =========================================================
   CATEGORY TABLE
========================================================= */

.category-table-card {

    overflow: hidden;

}


.category-table-header {

    min-height: 82px;

    padding: 18px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid var(--border);

}


.category-table-header h3 {

    color: var(--dark);

    font-size: 14px;

}


.category-table-header p {

    color: var(--muted);

    font-size: 10px;

    margin-top: 4px;

}


.table-tools {

    display: flex;

    align-items: center;

    gap: 10px;

}


.table-search {

    width: 210px;

    height: 35px;

    position: relative;

}


.table-search i {

    position: absolute;

    left: 11px;

    top: 50%;

    transform: translateY(-50%);

    color: #98a2b3;

    font-size: 11px;

}


.table-search input {

    width: 100%;

    height: 100%;

    padding: 0 12px 0 32px;

    border: 1px solid var(--border);

    border-radius: 7px;

    outline: none;

    color: var(--dark);

    font-size: 10px;

}


.table-search input:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(232,93,4,0.08);

}


.table-filter {

    height: 35px;

    min-width: 110px;

    padding: 0 10px;

    border: 1px solid var(--border);

    border-radius: 7px;

    outline: none;

    background: white;

    color: var(--text-light);

    font-size: 10px;

}


/* =========================================================
   CATEGORY NAME
========================================================= */

.category-name-cell {

    display: flex;

    align-items: center;

    gap: 10px;

}


.category-row-icon {

    flex: 0 0 37px;

    width: 37px;

    height: 37px;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;

}


.category-row-icon.cake {

    color: #e11d48;

    background: #fff1f2;

}


.category-row-icon.bread {

    color: #b45309;

    background: #fffbeb;

}


.category-row-icon.biscuit {

    color: #92400e;

    background: #fef3c7;

}


.category-row-icon.pastry {

    color: #c2410c;

    background: #fff7ed;

}


.category-row-icon.snacks {

    color: #7c3aed;

    background: #f5f3ff;

}


.category-row-icon.drinks {

    color: #0284c7;

    background: #f0f9ff;

}


.category-row-icon.frozen {

    color: #2563eb;

    background: #eff6ff;

}


.category-row-icon.other {

    color: #667085;

    background: #f2f4f7;

}


.category-name-cell strong {

    color: var(--dark);

    font-size: 11px;

}


.category-name-cell small {

    display: block;

    color: var(--muted);

    font-size: 8px;

    margin-top: 3px;

}


.product-count {

    display: inline-flex;

    padding: 5px 8px;

    border-radius: 5px;

    background: #f8fafc;

    color: var(--text-light);

    font-size: 14px;

    font-weight: 600;

}


/* =========================================================
   STATUS BADGE
========================================================= */

.status-badge {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 5px 8px;

    border-radius: 20px;

    font-size: 14px;

    font-weight: 600;

}


.status-badge i {

    font-size: 5px;

}


.status-badge.active {

    color: var(--success-text);

    background: var(--success-bg);

}


.status-badge.inactive {

    color: #667085;

    background: #f2f4f7;

}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.action-column {

    text-align: center !important;

}


.action-buttons {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

}


.action-btn {

    width: 29px;

    height: 29px;

    border: 1px solid var(--border);

    border-radius: 6px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: white;

    font-size: 10px;

    transition: 0.2s;

}


.action-btn.view {

    color: var(--blue);

}


.action-btn.view:hover {

    background: #eff6ff;

    border-color: #bfdbfe;

}


.action-btn.edit {

    color: var(--orange);

}


.action-btn.edit:hover {

    background: #fff7ed;

    border-color: #fed7aa;

}


.action-btn.delete {

    color: var(--danger);

}


.action-btn.delete:hover {

    background: #fef3f2;

    border-color: #fecaca;

}


/* =========================================================
   TABLE PAGINATION
========================================================= */

.table-pagination {

    min-height: 58px;

    padding: 12px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid var(--border);

}


.table-pagination > span {

    color: var(--muted);

    font-size: 9px;

}


.pagination-buttons {

    display: flex;

    align-items: center;

    gap: 4px;

}


.pagination-buttons button {

    min-width: 28px;

    height: 28px;

    padding: 0 8px;

    border: 1px solid var(--border);

    border-radius: 6px;

    background: white;

    color: var(--text-light);

    font-size: 9px;

}


.pagination-buttons button:not(:disabled):hover {

    background: var(--primary-light);

    color: var(--primary);

    border-color: #fed7aa;

}


.pagination-buttons button:disabled {

    opacity: 0.45;

    cursor: not-allowed;

}


.pagination-buttons button.pagination-active {

    background: var(--primary);

    border-color: var(--primary);

    color: white;

}


/* =========================================================
   MODAL
========================================================= */

.modal-overlay {

    position: fixed;

    inset: 0;

    z-index: 500;

    padding: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(16,24,40,0.48);

    opacity: 0;

    visibility: hidden;

    transition: 0.2s;

}


.modal-overlay.modal-show {

    opacity: 1;

    visibility: visible;

}


.modal-box {

    width: 100%;

    max-width: 500px;

    background: white;

    border-radius: 14px;

    box-shadow:
        0 25px 60px rgba(16,24,40,0.20);

    transform: translateY(10px);

    transition: 0.2s;

}


.modal-show .modal-box {

    transform: translateY(0);

}


/* Modal Header */

.modal-header {

    min-height: 78px;

    padding: 17px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid var(--border);

}


.modal-header > div:first-child {

    display: flex;

    align-items: center;

    gap: 11px;

}


.modal-title-icon {

    width: 38px;

    height: 38px;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 14px;

}


.modal-header h3 {

    color: var(--dark);

    font-size: 14px;

}


.modal-header p {

    color: var(--muted);

    font-size: 9px;

    margin-top: 3px;

}


.modal-close {

    width: 31px;

    height: 31px;

    border: none;

    border-radius: 7px;

    background: #f8fafc;

    color: var(--text-light);

}


.modal-close:hover {

    background: #f2f4f7;

}


/* Modal Body */

.modal-body {

    padding: 22px 20px;

}


.modal-form-group {

    margin-bottom: 18px;

}


.modal-form-group:last-child {

    margin-bottom: 0;

}


.modal-form-group > label {

    display: block;

    color: var(--dark);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 7px;

}


.modal-form-group > label span {

    color: var(--danger);

}


.modal-form-group input,
.modal-form-group textarea {

    width: 100%;

    border: 1px solid var(--border);

    border-radius: 7px;

    outline: none;

    padding: 10px 12px;

    color: var(--dark);

    background: white;

    font-size: 11px;

    resize: vertical;

}


.modal-form-group input {

    height: 39px;

}


.modal-form-group input:focus,
.modal-form-group textarea:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(232,93,4,0.08);

}


.modal-form-group input::placeholder,
.modal-form-group textarea::placeholder {

    color: #b0b8c4;

}


/* =========================================================
   STATUS SWITCH
========================================================= */

.status-switch-wrapper {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px;

    border: 1px solid var(--border);

    border-radius: 8px;

}


.status-switch-wrapper strong {

    display: block;

    color: var(--dark);

    font-size: 10px;

}


.status-switch-wrapper small {

    display: block;

    color: var(--muted);

    font-size: 8px;

    margin-top: 3px;

}


.switch {

    position: relative;

    width: 38px;

    height: 21px;

    flex: 0 0 auto;

}


.switch input {

    opacity: 0;

    width: 0;

    height: 0;

}


.slider {

    position: absolute;

    inset: 0;

    border-radius: 20px;

    background: #d0d5dd;

    cursor: pointer;

    transition: 0.2s;

}


.slider::before {

    content: "";

    position: absolute;

    width: 17px;

    height: 17px;

    left: 2px;

    top: 2px;

    border-radius: 50%;

    background: white;

    transition: 0.2s;

    box-shadow: 0 1px 2px rgba(0,0,0,0.15);

}


.switch input:checked + .slider {

    background: var(--primary);

}


.switch input:checked + .slider::before {

    transform: translateX(17px);

}


/* =========================================================
   MODAL FOOTER
========================================================= */

.modal-footer {

    min-height: 70px;

    padding: 13px 20px;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 8px;

    border-top: 1px solid var(--border);

}


.secondary-btn {

    min-height: 39px;

    padding: 0 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;

    color: var(--text-light);

    font-size: 11px;

    font-weight: 600;

}


.secondary-btn:hover {

    background: #f8fafc;

}


/* =========================================================
   CATEGORY RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .category-stats {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 700px) {

    .content-page-header {

        align-items: flex-start;

        flex-direction: column;

    }


    .content-page-header .primary-btn {

        width: 100%;

    }


    .category-table-header {

        align-items: flex-start;

        flex-direction: column;

    }


    .table-tools {

        width: 100%;

    }


    .table-search {

        flex: 1;

        width: auto;

    }


    .table-filter {

        width: 120px;

    }


    .category-stats {

        grid-template-columns: 1fr;

    }


    .table-pagination {

        align-items: flex-start;

        flex-direction: column;

        gap: 10px;

    }

}


@media (max-width: 500px) {

    .breadcrumb {

        overflow-x: auto;

        white-space: nowrap;

    }


    .category-page {

        padding-top: 15px;

    }


    .category-table-header {

        padding: 15px;

    }


    .table-tools {

        flex-direction: column;

        align-items: stretch;

    }


    .table-search {

        width: 100%;

    }


    .table-filter {

        width: 100%;

    }


    .modal-overlay {

        padding: 12px;

    }


    .modal-box {

        max-height: 95vh;

        overflow-y: auto;

    }


    .modal-header {

        padding: 15px;

    }


    .modal-body {

        padding: 18px 15px;

    }


    .modal-footer {

        padding: 12px 15px;

    }

}


