:root {
    --radius: 8px;
    --sidebar: #0f3f41;
    --sidebar-soft: #135155;
    --primary: #19a7a3;
    --primary-dark: #118a87;
    --primary-soft: #ecfbfa;
    --surface: #ffffff;
    --surface-soft: #f8fffe;
    --canvas: #f3f9f8;
    --text: #163235;
    --muted: #6a7d80;
    --line: #dce8e7;
    --success: #169f79;
    --warning: #d7a22e;
    --danger: #df5c5c;
    --info: #2d8db2;
    --shadow: 0 14px 36px rgba(22, 50, 53, .08);
    --shadow-soft: 0 8px 22px rgba(22, 50, 53, .05);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(25, 167, 163, .07), transparent 28%),
        linear-gradient(180deg, #f7fcfb 0%, var(--canvas) 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    overflow-x: hidden;
}
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: #0d716f; }

.app-shell { min-height: 100vh; display: flex; }
.app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 272px;
    background: linear-gradient(180deg, #114447 0%, #0d3538 100%);
    color: #fff;
    z-index: 1035;
    box-shadow: 12px 0 34px rgba(11, 39, 41, .16);
}
.sidebar-inner { width: 100%; min-height: 100%; display: flex; flex-direction: column; padding: 22px 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; padding: 4px 8px 20px; }
.brand:hover { color: #fff; }
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #41d8d0, #19a7a3);
    border-radius: var(--radius);
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(25, 167, 163, .30);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .04em; }
.brand small { color: rgba(226, 248, 247, .7); font-size: 11px; margin-top: 2px; }
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;

    /* Sembunyikan scrollbar Firefox */
    scrollbar-width: none;

    /* Sembunyikan scrollbar Internet Explorer lama */
    -ms-overflow-style: none;
}

/* Sembunyikan scrollbar Chrome, Edge, dan Safari */
.sidebar-nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.nav-section { color: rgba(224, 246, 245, .55); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 18px 12px 7px; }
.sidebar-nav .nav-link, .logout-link {
    border: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 41px;
    padding: 10px 12px;
    color: rgba(236, 253, 252, .84);
    text-decoration: none;
    border-radius: var(--radius);
    margin: 4px 0;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    background: transparent;
    text-align: left;
}
.sidebar-nav .nav-link i, .logout-link i { width: 18px; text-align: center; }
.sidebar-nav .nav-link:hover, .logout-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transform: translateX(2px);
}
.sidebar-nav .nav-link.active {
    background: linear-gradient(135deg, rgba(65, 216, 208, .24), rgba(25, 167, 163, .18));
    color: #fff;
    box-shadow: inset 3px 0 0 #4ce1d8, 0 10px 22px rgba(0, 0, 0, .10);
}
.sidebar-nav .nav-link.active i { color: #93fbf6; }
.sidebar-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.sidebar-status { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: #def6f4; }
.sidebar-status > span { width: 9px; height: 9px; border-radius: 999px; background: #53e0a5; box-shadow: 0 0 0 4px rgba(83,224,165,.14); }
.sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status strong { font-size: 12px; }
.sidebar-status small { color: rgba(224,246,245,.56); font-size: 10px; }

.app-content { width: calc(100% - 272px); margin-left: 272px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 28px;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(220, 232, 231, .85);
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(14px);
}
.topbar-kicker { font-size: 11px; color: var(--muted); }
.topbar-title { font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.profile-button {
    border: 1px solid rgba(220, 232, 231, .8);
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 9px;
    border-radius: var(--radius);
    color: var(--text);
    box-shadow: var(--shadow-soft);
}
.profile-button:hover { background: #fcfffe; }
.profile-button img { width: 36px; height: 36px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.profile-copy { text-align: left; line-height: 1.2; }
.profile-copy strong, .profile-copy small { display: block; }
.profile-copy strong { font-size: 13px; }
.profile-copy small { color: var(--muted); font-size: 9px; margin-top: 3px; letter-spacing: .06em; }
.page-content { flex: 1; padding: 24px 28px 36px; }
.app-footer { color: var(--muted); font-size: 12px; padding: 18px 28px 24px; }
.app-offcanvas { width: 280px !important; background: linear-gradient(180deg, #114447 0%, #0d3538 100%); color: #fff; border: 0; }

.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.page-heading h1 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin: 0; letter-spacing: -.025em; }
.page-heading p { color: var(--muted); margin: 6px 0 0; max-width: 700px; font-size: 13px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.card, .stat-card, .filter-card, .summary-panel, .table-shell, .empty-state {
    border: 1px solid rgba(220, 232, 231, .88);
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow);
    background: var(--surface);
}
.card { overflow: hidden; }
.card-header {
    background: linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
    border-bottom: 1px solid rgba(220, 232, 231, .9);
    padding: 15px 18px;
    font-weight: 800;
    font-size: 14px;
}
.card-body { padding: 18px; }
.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    min-height: 108px;
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -36px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(25, 167, 163, .06);
}
.stat-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); font-size: 17px; flex: 0 0 auto; position: relative; z-index: 1; }
.tone-primary { background: rgba(25, 167, 163, .12); color: #118a87; }
.tone-success { background: rgba(22, 159, 121, .12); color: #118666; }
.tone-warning { background: rgba(215, 162, 46, .15); color: #b98412; }
.tone-danger { background: rgba(223, 92, 92, .12); color: #c94f4f; }
.tone-info { background: rgba(45, 141, 178, .12); color: #28799a; }
.tone-dark { background: rgba(22, 50, 53, .08); color: #31585d; }
.stat-copy { position: relative; z-index: 1; }
.stat-copy span, .stat-copy small { display: block; color: var(--muted); }
.stat-copy span { font-size: 12px; font-weight: 700; }
.stat-copy strong { display: block; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; margin-top: 4px; letter-spacing: -.02em; }
.stat-copy small { margin-top: 4px; font-size: 10px; }

.btn, .form-control, .form-select, .input-group-text, .alert, .badge, .dropdown-menu, .modal-content, .offcanvas, .pagination .page-link, .dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select, .rounded, .rounded-1, .rounded-2, .rounded-3, .rounded-4, .rounded-pill {
    border-radius: var(--radius) !important;
}
.btn {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    font-size: 12.5px;
    padding: 7px 12px;
    letter-spacing: 0;
    border-width: 1px;
    box-shadow: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 31px; padding: 5px 9px; font-size: 11.5px; }
.btn-icon { width: 36px; min-width: 36px; padding: 0; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #28c0bb); border-color: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, var(--primary-dark), #15a39f); border-color: var(--primary-dark); color: #fff; }
.btn-outline-primary { color: var(--primary-dark); border-color: rgba(25, 167, 163, .28); background: #fff; }
.btn-outline-primary:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.btn-light { background: #fff; border-color: rgba(220, 232, 231, .92); color: var(--text); }
.btn-light:hover { background: var(--surface-soft); border-color: #cfe0df; color: var(--text); }
.btn-warning { background: #f5c96c; border-color: #f5c96c; color: #5f4300; }
.btn-warning:hover { background: #edbd58; border-color: #edbd58; color: #5f4300; }
.btn-danger { background: #f06d6d; border-color: #f06d6d; }
.btn-danger:hover { background: #e35b5b; border-color: #e35b5b; }
.btn-success { background: #22b485; border-color: #22b485; }
.btn-success:hover { background: #199e74; border-color: #199e74; }
.form-label, label { font-size: 12px; font-weight: 700; color: #35575b; margin-bottom: 7px; }
.form-control, .form-select {
    border-color: #d9e7e6;
    min-height: 40px;
    font-size: 13px;
    color: var(--text);
    background-color: #fff;
}
.form-control::placeholder { color: #98abb0; }
.form-control:focus, .form-select:focus {
    border-color: #4cc9c3;
    box-shadow: 0 0 0 .2rem rgba(25,167,163,.13);
}
.form-text { font-size: 11px; }
.input-group > .form-control, .input-group > .form-select, .input-group > .btn, .input-group > .input-group-text { border-radius: var(--radius) !important; }
.input-group { gap: 6px; }
.input-group-text { background: #f6fbfb; border-color: #d9e7e6; color: #547478; }

.table-shell { overflow: hidden; }
.table-responsive { border-radius: var(--radius); }
.table { margin: 0; vertical-align: middle; color: #294346; }
.table > :not(caption) > * > * { padding: 11px 12px; border-bottom-color: #edf3f2; }
.table thead th {
    background: #f7fbfb;
    color: #4f6a6d;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .035em;
    white-space: nowrap;
    border-bottom: 1px solid #deeaeb;
}
.table tbody td { font-size: 12.75px; }
.table tbody tr:hover { background: #f6fcfc; }
.table .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.table-product { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.table-product img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: #f8fafc; }
.table-product strong, .table-product small { display: block; }
.table-product small { color: var(--muted); margin-top: 2px; }
.badge { font-weight: 700; padding: 5px 8px; font-size: 11px; }
.text-bg-warning { background: rgba(215, 162, 46, .15) !important; color: #a9780f !important; }
.text-bg-success { background: rgba(22, 159, 121, .14) !important; color: #117c5d !important; }
.text-bg-danger { background: rgba(223, 92, 92, .14) !important; color: #b84848 !important; }
.text-bg-info { background: rgba(45, 141, 178, .14) !important; color: #2b7592 !important; }
.text-bg-light { background: rgba(22, 50, 53, .06) !important; color: #51686c !important; }

.dataTables_wrapper { padding: 15px 16px 10px; }
.dataTables_wrapper .row:first-child, .dataTables_wrapper .row:last-child { align-items: center; gap: 8px 0; }
.dataTables_wrapper .dataTables_length label, .dataTables_wrapper .dataTables_filter label { color: var(--muted); font-size: 11px; }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select {
    border: 1px solid #d9e7e6;
    min-height: 34px;
    padding: 6px 9px;
    background: #fff;
    font-size: 12px;
}
.dataTables_wrapper .dataTables_filter input:focus, .dataTables_wrapper .dataTables_length select:focus {
    outline: none;
    border-color: #4cc9c3;
    box-shadow: 0 0 0 .2rem rgba(25,167,163,.10);
}
.dataTables_wrapper .dataTables_info { color: var(--muted); font-size: 11px; padding-top: 14px; }
.pagination { gap: 4px; }
.pagination .page-link { border: 1px solid var(--line); color: #4f6a6d; min-width: 32px; text-align: center; padding: .42rem .65rem; font-size: 12px; }
.pagination .page-link:hover { background: #f6fcfc; }
.pagination .active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

.filter-card { padding: 16px 18px; margin-bottom: 20px; background: linear-gradient(180deg, #ffffff 0%, #fbfefe 100%); }
.filter-card .row { align-items: end; }
.section-title { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; margin: 0; }
.section-title i { color: var(--primary); }
.summary-panel { padding: 20px; }
.summary-list { margin: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px dashed #d8e7e5; }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--muted); font-size: 13px; }
.summary-row strong { text-align: right; font-size: 13px; }
.summary-row.total { font-size: 15px; padding-top: 15px; }
.summary-row.total span, .summary-row.total strong { color: var(--text); font-weight: 850; }
.empty-state { text-align: center; padding: 42px 20px; color: var(--muted); }
.empty-state > i { font-size: 35px; color: #c1d6d5; }
.empty-state h3 { color: var(--text); font-size: 17px; margin: 14px 0 5px; }
.empty-state p { margin: 0; }

.order-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(25,167,163,.12), rgba(255,255,255,1));
    border: 1px solid rgba(25,167,163,.18);
    border-radius: var(--radius);
}
.order-hero h2 { margin: 0; font-size: 22px; font-weight: 850; }
.order-meta { display: flex; flex-wrap: wrap; gap: 18px; }
.order-meta-item small, .order-meta-item strong { display: block; }
.order-meta-item small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.order-meta-item strong { margin-top: 3px; }
.recipe-row { border: 1px solid #dce8e7; border-radius: var(--radius); padding: 12px; margin-bottom: 10px; background: #fbfefe; }

.alert { font-size: 12.5px; border-width: 1px; }
.dropdown-menu { border: 1px solid rgba(220, 232, 231, .92); box-shadow: var(--shadow); padding: .45rem; }
.dropdown-item { border-radius: 6px; font-size: 13px; padding: .55rem .7rem; }
.dropdown-item:hover { background: #f3fbfb; }
.modal-content { border: 1px solid rgba(220, 232, 231, .88); box-shadow: var(--shadow); }


.cashier-welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border: 1px solid rgba(25, 167, 163, .2);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #0f7775 0%, #19a7a3 58%, #49c9c4 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(17, 138, 135, .18);
}
.cashier-welcome::before,
.cashier-welcome::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cashier-welcome::before { width: 240px; height: 240px; right: -70px; top: -130px; }
.cashier-welcome::after { width: 130px; height: 130px; right: 150px; bottom: -92px; }
.cashier-welcome-copy,
.cashier-welcome-actions { position: relative; z-index: 1; }
.cashier-welcome-copy h1 { margin: 8px 0 5px; font-size: clamp(22px, 3vw, 31px); font-weight: 850; letter-spacing: -.03em; }
.cashier-welcome-copy p { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; }
.cashier-welcome-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); font-size: 11px; font-weight: 700; }
.cashier-welcome-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cashier-welcome .btn-light { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.96); }
.cashier-welcome .btn-primary { background: #0d6664; border-color: #0d6664; }
.cashier-welcome .btn-primary:hover { background: #094f4e; border-color: #094f4e; }
.cashier-mini-card {
    min-height: 92px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(220, 232, 231, .9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.cashier-mini-icon { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: var(--radius); font-size: 16px; }
.cashier-mini-card small,
.cashier-mini-card strong { display: block; }
.cashier-mini-card small { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.cashier-mini-card strong { color: var(--text); font-size: 15px; line-height: 1.25; }
.cashier-chart-wrap { height: 310px; }
.cashier-shift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cashier-shift-grid > div { padding: 13px; border: 1px solid #e2eceb; border-radius: var(--radius); background: #fbfefe; }
.cashier-shift-grid span,
.cashier-shift-grid strong { display: block; }
.cashier-shift-grid span { color: var(--muted); font-size: 10.5px; }
.cashier-shift-grid strong { margin-top: 4px; font-size: 18px; }
.cashier-payment-progress { padding-top: 4px; font-size: 12px; }
.cashier-payment-progress .progress { height: 9px; border-radius: var(--radius); background: #e6f1f0; }
.cashier-payment-progress .progress-bar { border-radius: var(--radius); background: linear-gradient(90deg, #19a7a3, #49c9c4); }
.cashier-pending-list { padding: 8px 14px 14px; }
.cashier-pending-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 3px; color: var(--text); border-bottom: 1px solid #edf3f2; }
.cashier-pending-item:last-child { border-bottom: 0; }
.cashier-pending-item:hover { color: var(--primary-dark); }
.cashier-order-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary-dark); font-size: 11px; font-weight: 800; }
.cashier-order-copy { min-width: 0; }
.cashier-order-copy strong,
.cashier-order-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cashier-order-copy strong { font-size: 12px; }
.cashier-order-copy small { color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.cashier-order-total { color: var(--text); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.cashier-rank { width: 27px; height: 27px; display: grid; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; }
.cashier-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cashier-quick-grid > a { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 14px; border: 1px solid #dfeceb; border-radius: var(--radius); background: #fbfefe; color: var(--text); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.cashier-quick-grid > a:hover { transform: translateY(-2px); border-color: rgba(25,167,163,.38); box-shadow: var(--shadow-soft); }
.cashier-quick-grid > a > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary-dark); flex: 0 0 auto; }
.cashier-quick-grid strong,
.cashier-quick-grid small { display: block; }
.cashier-quick-grid strong { font-size: 12.5px; }
.cashier-quick-grid small { color: var(--muted); font-size: 10.5px; margin-top: 3px; }

.login-body { background: #edf6f4; }
.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(390px, .92fr) minmax(440px, 1.08fr);
    background: #fff;
}
.login-welcome-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: clamp(38px, 6vw, 80px);
    background: linear-gradient(145deg, #0f7554 0%, #147f61 48%, #199874 100%);
    color: #fff;
}
.login-shape { position: absolute; pointer-events: none; }
.login-shape-top {
    width: 430px;
    height: 430px;
    right: -245px;
    top: -205px;
    border-radius: 50%;
    background: #fff;
}
.login-shape-bottom {
    width: 520px;
    height: 260px;
    left: -260px;
    bottom: -145px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    transform: rotate(8deg);
}
.login-welcome-panel::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -170px;
    bottom: -210px;
    border-radius: 50%;
    background: rgba(8, 78, 57, .18);
}
.login-welcome-content { position: relative; z-index: 2; width: min(100%, 480px); text-align: center; }
.login-brand-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fff;
    color: #117957;
    font-size: 27px;
    box-shadow: 0 14px 28px rgba(4, 61, 44, .20);
}
.login-brand-name { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.login-welcome-content h1 { margin: 28px 0 10px; font-size: clamp(29px, 4vw, 44px); line-height: 1.08; font-weight: 850; letter-spacing: -.035em; }
.login-welcome-content p { max-width: 420px; margin: 0 auto; color: rgba(255,255,255,.78); font-size: 13px; }
.login-feature-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.login-feature-list span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); font-size: 10.5px; }
.login-form-panel { display: grid; place-items: center; min-height: 100vh; padding: 42px; background: #fff; }
.login-box { width: min(100%, 450px); }
.login-box-modern { text-align: left; }
.login-logo { display: block; max-width: 225px; max-height: 76px; object-fit: contain; margin: 0 auto 28px; }
.login-eyebrow { color: #117957; font-size: 11px; font-weight: 850; letter-spacing: .17em; text-align: center; }
.login-box h2 { margin: 6px 0 5px; color: #164137; font-size: 29px; font-weight: 850; letter-spacing: -.03em; text-align: center; }
.login-box > p { max-width: 370px; margin: 0 auto 25px; color: var(--muted); font-size: 12.5px; text-align: center; }
.login-form { margin-top: 4px; }
.login-input-group { gap: 0; }
.login-input-group .input-group-text { min-width: 44px; justify-content: center; border-right: 0; background: #f3faf7; color: #34705f; }
.login-input-group .form-control { border-left: 0; min-height: 44px; }
.login-input-group .form-control:focus { border-left: 0; }
.login-input-group .btn { min-width: 44px; border-color: #d9e7e2; background: #fff; color: #4e7268; }
.login-submit { min-height: 43px; background: linear-gradient(135deg, #14865f, #1ba778); border-color: #14865f; }
.login-submit:hover { background: linear-gradient(135deg, #106f4f, #168b65); border-color: #106f4f; }
.login-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; padding: 11px 12px; border: 1px solid #dfebe7; border-radius: var(--radius); background: #f8fcfa; color: #71847e; font-size: 10.5px; }
.login-note i { margin-top: 2px; color: #15835e; }
@media (max-width: 991.98px) {
    .app-content { width: 100%; margin-left: 0; }
    .topbar { padding: 12px 16px; }
    .page-content { padding: 20px 16px 28px; }
    .app-footer { padding-left: 16px; padding-right: 16px; }
    .login-page { grid-template-columns: 1fr; }
    .login-welcome-panel { min-height: 310px; padding: 44px 24px; }
    .login-form-panel { min-height: auto; padding: 42px 22px; }
    .login-shape-top { width: 310px; height: 310px; right: -190px; top: -180px; }
    .login-welcome-content h1 { margin-top: 20px; font-size: 32px; }
    .cashier-welcome { align-items: flex-start; flex-direction: column; }
    .cashier-welcome-actions { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
    .page-heading { flex-direction: column; }
    .page-actions { width: 100%; }
    .page-actions .btn { flex: 0 1 auto; width: auto; }
    .card-body { padding: 15px; }
    .dataTables_wrapper { padding: 12px 12px 8px; }
    .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_length { text-align: left !important; }
    .dataTables_wrapper .dataTables_filter input { width: calc(100% - 54px); }
    .order-hero h2 { font-size: 19px; }
    .profile-button { padding: 4px; }
    .login-welcome-panel { min-height: 230px; padding: 34px 18px; }
    .login-brand-icon { width: 56px; height: 56px; font-size: 22px; }
    .login-brand-name { font-size: 10px; }
    .login-welcome-content h1 { margin: 14px 0 6px; font-size: 25px; }
    .login-welcome-content p { font-size: 11.5px; }
    .login-feature-list { display: none; }
    .login-form-panel { padding: 32px 18px; }
    .login-logo { max-width: 190px; margin-bottom: 22px; }
    .login-box h2 { font-size: 24px; }
    .cashier-welcome { padding: 20px 18px; }
    .cashier-welcome-actions { width: 100%; }
    .cashier-welcome-actions .btn { flex: 1 1 auto; }
    .cashier-shift-grid, .cashier-quick-grid { grid-template-columns: 1fr; }
    .cashier-pending-item { grid-template-columns: 30px minmax(0,1fr); }
    .cashier-order-total { grid-column: 2; }
    .cashier-chart-wrap { height: 260px; }
}

@media print {
    .app-sidebar, .topbar, .app-footer, .page-actions, .filter-card, .dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate { display: none !important; }
    .app-content { width: 100%; margin: 0; }
    .page-content { padding: 0; }
    .card, .table-shell, .stat-card { box-shadow: none; }
}

/* Patch: media menu, aksi resep landscape, dan login premium */
.table-product img {
    display: block;
    flex: 0 0 auto;
    object-position: center;
}
.menu-photo-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px;
    border: 1px solid #dce8e7;
    border-radius: var(--radius);
    background: #f8fcfb;
}
.menu-photo-preview img {
    width: 76px;
    height: 62px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 1px solid #dce8e7;
    border-radius: var(--radius);
    background: #fff;
}
.menu-photo-preview strong,
.menu-photo-preview small { display: block; }
.menu-photo-preview strong { font-size: 12.5px; color: var(--text); }
.menu-photo-preview small { margin-top: 3px; color: var(--muted); font-size: 10.5px; }

.recipe-action-column {
    width: 170px;
    min-width: 170px;
    white-space: nowrap;
}
.recipe-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
}
.recipe-actions form {
    display: inline-flex;
    margin: 0;
}
.recipe-actions .btn { flex: 0 0 auto; }

.premium-login-body {
    min-height: 100vh;
    margin: 0;
    background: #eef7f6;
    overflow-x: hidden;
}
.premium-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(480px, 1.08fr) minmax(430px, .92fr);
    background: #fff;
}
.premium-login-showcase {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(30px, 4.5vw, 64px);
    color: #fff;
    background:
        linear-gradient(145deg, rgba(10, 67, 68, .94) 0%, rgba(12, 103, 101, .88) 50%, rgba(25, 167, 163, .80) 100%),
        var(--login-bg-image) center / cover no-repeat;
}
.showcase-shape,
.showcase-grid {
    position: absolute;
    pointer-events: none;
}
.showcase-shape-one {
    width: 520px;
    height: 520px;
    right: -250px;
    top: -250px;
    background: rgba(255,255,255,.10);
    clip-path: ellipse(50% 50% at 50% 50%);
}
.showcase-shape-two {
    width: 570px;
    height: 320px;
    left: -270px;
    bottom: -190px;
    background: rgba(255,255,255,.07);
    clip-path: ellipse(50% 50% at 50% 50%);
    transform: rotate(8deg);
}
.showcase-grid {
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom right, transparent 12%, #000 58%, transparent 96%);
}
.showcase-brand,
.showcase-copy,
.showcase-footer {
    position: relative;
    z-index: 2;
}
.showcase-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.showcase-brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(255,255,255,.96);
    color: #0f7775;
    font-size: 18px;
    box-shadow: 0 13px 28px rgba(4, 48, 49, .20);
}
.showcase-brand strong,
.showcase-brand small { display: block; }
.showcase-brand strong { font-size: 15px; letter-spacing: .025em; }
.showcase-brand small { margin-top: 2px; color: rgba(255,255,255,.68); font-size: 10px; }
.showcase-copy { width: min(100%, 650px); padding: 42px 0; }
.showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,.09);
    color: rgba(255,255,255,.90);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .10em;
}
.showcase-copy h1 {
    max-width: 620px;
    margin: 21px 0 13px;
    font-size: clamp(40px, 5.2vw, 68px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.05em;
}
.showcase-copy > p {
    max-width: 560px;
    margin: 0;
    color: rgba(233, 255, 253, .78);
    font-size: 14px;
    line-height: 1.75;
}
.showcase-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}
.showcase-feature {
    min-height: 100px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}
.showcase-feature > i {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(255,255,255,.14);
    color: #fff;
}
.showcase-feature strong,
.showcase-feature small { display: block; }
.showcase-feature strong { font-size: 11.5px; }
.showcase-feature small { margin-top: 4px; color: rgba(255,255,255,.66); font-size: 9.5px; line-height: 1.5; }
.showcase-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255,255,255,.66);
    font-size: 10.5px;
}
.showcase-footer span { display: inline-flex; align-items: center; gap: 7px; }

.premium-login-access {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 64px);
    background:
        radial-gradient(circle at 90% 12%, rgba(25,167,163,.09), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f9fdfc 100%);
}
.premium-login-card {
    width: min(100%, 440px);
    padding: 30px;
    border: 1px solid rgba(213, 230, 228, .92);
    border-radius: var(--radius);
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 58px rgba(22, 77, 78, .11);
}
.login-logo-wrap {
    display: flex;
    justify-content: center;
    min-height: 58px;
    margin-bottom: 22px;
}
.premium-login-logo {
    display: block;
    width: min(100%, 235px);
    max-height: 70px;
    object-fit: contain;
}
.premium-login-heading { margin-bottom: 24px; text-align: center; }
.premium-login-heading > span {
    display: inline-block;
    color: var(--primary-dark);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .18em;
}
.premium-login-heading h2 {
    margin: 7px 0 6px;
    color: #153a3d;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.035em;
}
.premium-login-heading p {
    max-width: 350px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}
.premium-login-form .form-label {
    margin-bottom: 7px;
    color: #31565a;
    font-size: 11.5px;
}
.premium-field {
    min-height: 46px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d7e7e5;
    border-radius: var(--radius);
    background: #fbfefe;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.premium-field:focus-within {
    border-color: #45c3bd;
    background: #fff;
    box-shadow: 0 0 0 .22rem rgba(25,167,163,.12);
}
.premium-field > span {
    height: 100%;
    display: grid;
    place-items: center;
    color: #4e7779;
    background: #f1f9f8;
    border-right: 1px solid #e1eceb;
}
.premium-field input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 13px;
}
.premium-field input::placeholder { color: #9aadaf; }
.premium-field button {
    width: 44px;
    height: 44px;
    border: 0;
    border-left: 1px solid #e1eceb;
    background: transparent;
    color: #5e7d80;
}
.premium-field button:hover { color: var(--primary-dark); background: #f1f9f8; }
.premium-login-button {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #118a87, #20b6b1);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(17, 138, 135, .20);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.premium-login-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0d7371, #18a39f);
    box-shadow: 0 15px 28px rgba(17, 138, 135, .25);
}
.premium-login-button i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(255,255,255,.14);
}
.premium-security-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 16px;
    padding: 10px 11px;
    border: 1px solid #e0eceb;
    border-radius: var(--radius);
    background: #f8fcfb;
    color: #728689;
    font-size: 10px;
    line-height: 1.55;
}
.premium-security-note i { margin-top: 2px; color: var(--primary-dark); }

@media (max-width: 1050px) {
    .premium-login-page { grid-template-columns: minmax(380px, .9fr) minmax(410px, 1.1fr); }
    .showcase-features { grid-template-columns: 1fr; }
    .showcase-feature { min-height: 72px; }
    .showcase-copy h1 { font-size: clamp(36px, 5vw, 52px); }
}
@media (max-width: 820px) {
    .premium-login-page { grid-template-columns: 1fr; }
    .premium-login-showcase { min-height: auto; padding: 30px 24px; }
    .showcase-copy { padding: 34px 0 28px; }
    .showcase-copy h1 { max-width: 600px; font-size: 37px; }
    .showcase-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .premium-login-access { min-height: auto; padding: 38px 20px; }
}
@media (max-width: 575.98px) {
    .premium-login-showcase { padding: 24px 18px; }
    .showcase-copy { padding: 28px 0 20px; }
    .showcase-copy h1 { margin-top: 15px; font-size: 30px; }
    .showcase-copy > p { font-size: 12px; }
    .showcase-features { display: none; }
    .showcase-footer { font-size: 9.5px; }
    .premium-login-access { padding: 24px 14px; }
    .premium-login-card { padding: 24px 18px; }
    .premium-login-heading h2 { font-size: 24px; }
    .recipe-action-column { width: 152px; min-width: 152px; }
    .recipe-actions .btn { padding-left: 8px; padding-right: 8px; }
}


/* Brand image patch */
.brand-mark {
    background: #ffffff;
    padding: 5px;
    overflow: hidden;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.showcase-brand-mark {
    padding: 5px;
    overflow: hidden;
}
.showcase-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.login-logo-wrap {
    min-height: 104px;
    margin-bottom: 18px;
}
.premium-login-logo {
    width: 118px;
    height: 100px;
    max-height: none;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(17, 138, 135, .15));
}

/* Centralized image assets */
.topbar-brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: contain;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}


/* Account photo preview: portrait 3:4 */
.account-avatar-editor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.account-avatar-preview {
    width: 150px;
    height: 200px;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    display: block;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
    box-shadow: var(--shadow-soft);
}
.account-avatar-copy strong,
.account-avatar-copy span {
    display: block;
}
.account-avatar-copy strong {
    color: var(--text);
    font-size: 13px;
}
.account-avatar-copy span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}
