/* Restoran Panel — Bootstrap 5 tema */
:root {
    --rs-dark: #1a1d29;
    --rs-dark-2: #252836;
    --rs-gold: #c9a227;
    --rs-gold-hover: #b08d1e;
    --rs-bg: #f4f5f7;
    --rs-card: #ffffff;
    --sidebar-width: 250px;
    --status-free: #198754;
    --status-busy: #dc3545;
    --status-hold: #0d6efd;
    --status-wait: #6c757d;
}

body {
    background: var(--rs-bg);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ── Layout ── */
.app-wrapper { min-height: 100vh; }
.app-sidebar {
    width: var(--sidebar-width);
    background: var(--rs-dark);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.app-sidebar-offcanvas { background: var(--rs-dark) !important; width: 260px !important; }
.app-main { min-width: 0; }
.app-topbar {
    min-height: 64px;
    background: var(--rs-card);
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1020;
}
.app-page-title { font-size: 1.25rem; font-weight: 700; }
.app-content { padding-top: 1.25rem; }

.app-sidebar .nav-link,
.app-sidebar-offcanvas .nav-link {
    color: rgba(255,255,255,.7);
    border-radius: .5rem;
    padding: .65rem 1rem;
    font-weight: 500;
    font-size: .9rem;
}
.app-sidebar .nav-link:hover,
.app-sidebar-offcanvas .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}
.app-sidebar .nav-link.active,
.app-sidebar-offcanvas .nav-link.active {
    color: #fff;
    background: var(--rs-gold);
}

.user-avatar-sm {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--rs-dark);
    color: var(--rs-gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem;
}

/* ── Buttons ── */
.btn-gold, .btn-primary {
    --bs-btn-bg: var(--rs-gold);
    --bs-btn-border-color: var(--rs-gold);
    --bs-btn-hover-bg: var(--rs-gold-hover);
    --bs-btn-hover-border-color: var(--rs-gold-hover);
    --bs-btn-active-bg: var(--rs-gold-hover);
    --bs-btn-active-border-color: var(--rs-gold-hover);
    color: #1a1d29;
    font-weight: 600;
}
.btn-dark-rs {
    background: var(--rs-dark);
    border-color: var(--rs-dark);
    color: #fff;
}
.btn-dark-rs:hover { background: var(--rs-dark-2); border-color: var(--rs-dark-2); color: #fff; }

/* legacy btn aliases */
.btn-primary { background: var(--rs-gold) !important; border-color: var(--rs-gold) !important; color: #1a1d29 !important; }
a.btn-outline, .btn-outline {
    border: 1px solid #dee2e6;
    background: #fff;
    color: #333;
    padding: .375rem .75rem;
    border-radius: .375rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.btn-ghost { background: transparent; border: none; color: #666; }
.btn-block { width: 100%; }
.btn-icon { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }

/* ── Cards ── */
.card {
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    border-radius: .75rem;
}
.card-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

/* ── Stats ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.stat-card {
    background: var(--rs-card);
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    padding: 1.25rem;
}
.stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #6c757d; font-weight: 600; }
.stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin-top: .25rem; }
.stat-card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.stat-icon {
    width: 42px; height: 42px; border-radius: .5rem;
    background: #f8f9fa; display: flex; align-items: center; justify-content: center;
    color: var(--rs-gold); font-size: 1.1rem;
}

/* ── Tables data ── */
table.data-table { width: 100%; }
table.data-table th { font-size: .75rem; text-transform: uppercase; color: #6c757d; background: #f8f9fa; }
table.data-table td, table.data-table th { padding: .75rem 1rem; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.table-responsive { border-radius: .5rem; }

/* ── Forms (legacy class compat) ── */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .875rem; }
.form-control {
    display: block; width: 100%; padding: .5rem .75rem;
    border: 1px solid #ced4da; border-radius: .375rem; font-size: 1rem;
}
.form-control:focus { border-color: var(--rs-gold); outline: 0; box-shadow: 0 0 0 .2rem rgba(201,162,39,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-icon-wrap { position: relative; }
.input-icon-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #adb5bd; }
.input-icon-wrap .form-control { padding-left: 2.5rem; }

/* ── Badges legacy ── */
.badge { font-weight: 600; }
.badge-success { background: #d1e7dd; color: #0f5132; }
.badge-danger { background: #f8d7da; color: #842029; }
.badge-warning { background: #fff3cd; color: #664d03; }
.badge-info { background: #cff4fc; color: #055160; }
.badge-secondary { background: #e2e3e5; color: #41464b; }
.badge-gold { background: #fff3cd; color: #856404; }
.badge-reserved { background: #cfe2ff; color: #084298; }

/* ── Grid legacy ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 768px) { .grid-2, .grid-3, .form-row { grid-template-columns: 1fr; } }

/* ── Page toolbar ── */
.page-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.page-toolbar-actions { display: flex; gap: .5rem; }

/* ── Masa ekranı ── */
.hall-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.hall-tab {
    padding: .5rem 1.25rem; border-radius: 2rem;
    border: 1px solid #dee2e6; background: #fff;
    color: #495057; font-weight: 600; font-size: .875rem;
    text-decoration: none;
}
.hall-tab:hover { border-color: var(--rs-gold); color: var(--rs-dark); }
.hall-tab.active { background: var(--rs-dark); border-color: var(--rs-dark); color: #fff; }

.tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
.table-card {
    display: block;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: .75rem;
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform .15s, box-shadow .15s;
    position: relative;
    overflow: hidden;
}
.table-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: #dee2e6;
}
.table-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); color: inherit; }
.table-card .table-name { font-size: 1.1rem; font-weight: 700; margin-top: .25rem; }
.table-card .table-hall { font-size: .75rem; color: #6c757d; }
.table-card .table-meta { display: flex; justify-content: center; gap: .75rem; margin-top: .75rem; font-size: .8rem; color: #6c757d; }
.table-card .table-total { margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed #dee2e6; font-weight: 700; color: var(--rs-gold-hover); }
.table-card .table-badge { margin-top: .5rem; }

.status-empty::before { background: var(--status-free); }
.status-empty { background: #f0fdf4; border-color: #bbf7d0; }
.status-occupied::before { background: var(--status-busy); }
.status-occupied { background: #fef2f2; border-color: #fecaca; }
.status-reserved::before { background: var(--status-hold); }
.status-reserved { background: #eff6ff; border-color: #bfdbfe; }
.status-cleaning::before { background: var(--status-wait); }
.status-cleaning { background: #f9fafb; border-color: #e5e7eb; }

/* ── POS / Sipariş ── */
.pos-screen, .fullscreen-content { min-height: 100vh; background: var(--rs-bg); display: flex; flex-direction: column; }
.pos-topbar {
    background: var(--rs-dark);
    color: #fff;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.pos-topbar .pos-table-info { flex: 1; min-width: 0; }
.pos-topbar .pos-table-info h2 { font-size: 1.1rem; margin: 0; color: var(--rs-gold); }
.pos-topbar .pos-table-info small { color: rgba(255,255,255,.6); }
.pos-topbar .pos-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pos-body { display: flex; flex: 1; min-height: 0; overflow: hidden; }

.pos-categories {
    width: 180px;
    background: var(--rs-dark-2);
    padding: .75rem;
    overflow-y: auto;
    flex-shrink: 0;
}
.pos-cat-btn {
    display: flex; align-items: center; gap: .5rem;
    width: 100%; padding: .65rem .75rem;
    border: none; border-radius: .5rem;
    background: transparent; color: rgba(255,255,255,.7);
    font-size: .85rem; font-weight: 500;
    text-decoration: none; margin-bottom: .25rem;
}
.pos-cat-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.pos-cat-btn.active { background: var(--rs-gold); color: #1a1d29; font-weight: 600; }

.pos-products { flex: 1; overflow-y: auto; padding: 1.25rem; }
.pos-search { display: flex; gap: .5rem; margin-bottom: 1rem; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    padding: 0;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}
.product-card:hover { border-color: var(--rs-gold); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.product-card-visual { display: flex; flex-direction: column; }
.product-card-media { width: 100%; aspect-ratio: 1; background: #f8f9fa; overflow: hidden; }
.product-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-photo-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #ced4da; background: linear-gradient(135deg, #f8f9fa, #eef0f3);
}
.product-card .product-name { font-weight: 600; font-size: .9rem; padding: .65rem .75rem 0; }
.product-card .product-price { color: var(--rs-gold-hover); font-weight: 700; padding: 0 .75rem; }
.product-card .btn-add {
    margin: .65rem .75rem .75rem; width: calc(100% - 1.5rem);
    padding: .5rem; border: 1px solid #dee2e6;
    border-radius: .375rem; background: #f8f9fa;
    font-size: .8rem; font-weight: 600; cursor: pointer;
}
.product-card:hover .btn-add { background: var(--rs-dark); color: #fff; border-color: var(--rs-dark); }

.pos-cat-img {
    width: 36px; height: 36px; border-radius: .5rem; object-fit: cover; flex-shrink: 0;
}
.pos-cat-icon {
    width: 36px; height: 36px; border-radius: .5rem; background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.products-grid-text {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: .65rem;
}
.product-card-text {
    padding: .85rem .75rem !important;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.product-card-text .product-name { padding: 0; font-size: .85rem; }
.product-card-text .product-price { padding: 0; font-size: .9rem; }
.product-card-text .btn-add { margin: .35rem 0 0; width: 100%; }

.menu-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.menu-item-card {
    border: 1px solid #e9ecef; border-radius: .75rem; overflow: hidden; background: #fff;
}
.menu-item-card.inactive { opacity: .65; }
.menu-item-card-media { aspect-ratio: 4/3; background: #f8f9fa; }
.menu-item-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item-card-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #ced4da;
}
.menu-item-card-body { padding: .75rem; }
.menu-item-card-actions { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .5rem; }
.menu-preview { text-align: center; }
.menu-preview-img {
    max-width: 180px; max-height: 140px; object-fit: cover; border-radius: .75rem;
    border: 1px solid #e9ecef; display: block; margin: 0 auto .35rem;
}

.pos-cart, .order-cart {
    width: 340px;
    background: #fff;
    border-left: 1px solid #e9ecef;
    display: flex; flex-direction: column;
    flex-shrink: 0;
}
.cart-header { padding: 1rem; background: var(--rs-dark); color: #fff; }
.cart-header h3 { font-size: 1rem; margin: 0; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { padding: .75rem 1rem; border-bottom: 1px solid #f0f0f0; display: flex; gap: .5rem; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .875rem; }
.cart-item-note { font-size: .75rem; color: #856404; font-style: italic; }
.cart-item-price { font-size: .8rem; color: #6c757d; }
.cart-item-actions { display: flex; align-items: center; gap: .25rem; }
.qty-btn {
    width: 28px; height: 28px; border: 1px solid #dee2e6;
    background: #fff; border-radius: .25rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.cart-footer { padding: 1rem; background: #f8f9fa; border-top: 1px solid #e9ecef; }
.cart-total-row { display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: .25rem; }
.cart-total-row.grand { font-size: 1.25rem; font-weight: 700; border-top: 2px solid #dee2e6; padding-top: .5rem; margin-top: .5rem; }
.cart-actions { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.cart-actions .btn-full { width: 100%; }

.order-layout { display: flex; min-height: calc(100vh - 60px); }
.order-products { flex: 1; overflow-y: auto; padding: 1.25rem; }

/* ── Mutfak ── */
.kitchen-page { background: #111; color: #eee; min-height: 100vh; }
.kitchen-header {
    background: #1a1a1a;
    padding: 1rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #333;
    position: sticky; top: 0; z-index: 100;
}
.kitchen-header h1 { font-size: 1.25rem; margin: 0; color: #fff; }
.kitchen-header h1 i { color: var(--rs-gold); }
.kitchen-header-tools { display: flex; gap: .75rem; align-items: center; }
.kitchen-select { background: #333; border: 1px solid #444; color: #fff; padding: .4rem .75rem; border-radius: .375rem; }
.kitchen-clock { font-size: 1.1rem; font-weight: 700; color: var(--rs-gold); font-variant-numeric: tabular-nums; }

.kitchen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1.25rem;
}
.kitchen-ticket {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: .75rem;
    padding: 1.25rem;
    border-left: 4px solid #666;
}
.kitchen-ticket.new { border-left-color: #dc3545; }
.kitchen-ticket.preparing { border-left-color: var(--rs-gold); }
.kitchen-ticket.ready { border-left-color: #198754; }
.kitchen-ticket-header { display: flex; justify-content: space-between; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid #333; }
.kitchen-ticket-table { font-size: 1.35rem; font-weight: 700; color: #fff; }
.kitchen-ticket-meta { font-size: .8rem; color: #888; }
.kitchen-ticket-time { color: var(--rs-gold); font-weight: 600; }
.kitchen-item { padding: .75rem 0; border-bottom: 1px solid #2a2a2a; }
.kitchen-item-name { font-weight: 600; }
.kitchen-item-qty { font-size: 1.2rem; font-weight: 700; color: var(--rs-gold); }
.kitchen-item-note { color: #aaa; font-size: .85rem; }
.kitchen-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.kbadge { padding: .2rem .5rem; border-radius: .25rem; font-size: .75rem; font-weight: 600; }
.kbadge-new { background: #3d1f1f; color: #f88; }
.kbadge-preparing { background: #3d3520; color: var(--rs-gold); }
.kbadge-ready { background: #1f3d2a; color: #8f8; }
.kbadge-delivered { background: #1f2a3d; color: #8af; }

/* ── Kasa ── */
.cashier-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.25rem; }
.pay-total-display {
    text-align: center;
    background: var(--rs-dark);
    color: #fff;
    border-radius: .75rem;
    padding: 2rem 1.5rem;
    margin-bottom: 1.25rem;
}
.pay-total-display .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rs-gold); }
.pay-total-display .amount { font-size: 2.5rem; font-weight: 700; margin-top: .25rem; }
.pay-methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1rem; }
.pay-method-card {
    border: 2px solid #e9ecef;
    border-radius: .5rem;
    padding: 1rem .5rem;
    text-align: center;
    cursor: pointer;
    background: #fff;
}
.pay-method-card:hover { border-color: #adb5bd; }
.pay-method-card.selected { border-color: var(--rs-gold); background: #fffbeb; }
.pay-method-card i { font-size: 1.5rem; display: block; margin-bottom: .35rem; color: #495057; }
.pay-method-card.selected i { color: var(--rs-gold-hover); }
.pay-method-card span { font-size: .75rem; font-weight: 600; }
.open-orders-list { display: flex; flex-direction: column; gap: .5rem; }
.open-order-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: .75rem 1rem;
    border: 1px solid #e9ecef; border-radius: .5rem;
    background: #fff; text-decoration: none; color: inherit;
}
.open-order-item:hover, .open-order-item.active { border-color: var(--rs-gold); background: #fffdf5; color: inherit; }
.open-order-item .order-amount { font-weight: 700; }

/* ── Paket kanban ── */
.package-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.25rem; }
.kanban-board { display: grid; grid-template-columns: repeat(5, minmax(180px, 1fr)); gap: .75rem; overflow-x: auto; }
.kanban-col { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: .75rem; min-height: 300px; }
.kanban-col-header { padding: .75rem 1rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid #e9ecef; display: flex; justify-content: space-between; }
.kanban-col-header .count { background: var(--rs-dark); color: #fff; padding: 0 .5rem; border-radius: 1rem; font-size: .7rem; }
.kanban-cards { padding: .5rem; display: flex; flex-direction: column; gap: .5rem; }
.kanban-card { background: #fff; border: 1px solid #e9ecef; border-radius: .5rem; padding: .75rem; }
.kanban-card .kc-name { font-weight: 600; font-size: .9rem; }
.kanban-card .kc-phone, .kanban-card .kc-address { font-size: .8rem; color: #6c757d; margin-top: .25rem; }
.kanban-card .kc-footer { display: flex; justify-content: space-between; margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed #eee; }
.kanban-card .kc-amount { font-weight: 700; color: var(--rs-gold-hover); }
.kanban-card .kc-actions { display: flex; gap: .35rem; margin-top: .5rem; align-items: center; }

/* ── Dashboard extras ── */
.dashboard-chart { background: #fff; border: 1px solid #e9ecef; border-radius: .75rem; padding: 1.25rem; margin-bottom: 1.25rem; }
.chart-bars { display: flex; align-items: flex-end; gap: .5rem; height: 120px; }
.chart-bar-wrap { flex: 1; text-align: center; }
.chart-bar { background: var(--rs-dark); border-radius: 4px 4px 0 0; margin: 0 auto; max-width: 32px; min-height: 4px; }
.chart-bar-label { font-size: .65rem; color: #6c757d; margin-top: .25rem; }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; }
.quick-action-btn {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    padding: 1.5rem 1rem; border: 1px solid #e9ecef; border-radius: .75rem;
    background: #fff; text-decoration: none; color: #333; font-weight: 600; font-size: .85rem;
}
.quick-action-btn:hover { border-color: var(--rs-gold); color: var(--rs-dark); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.quick-action-btn i { font-size: 1.5rem; color: var(--rs-gold); }
.top-product-item { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid #f0f0f0; }
.top-product-rank { width: 28px; height: 28px; border-radius: 50%; background: #f8f9fa; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; }
.top-product-revenue { font-weight: 700; margin-left: auto; }
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-item { display: flex; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid #f0f0f0; font-size: .875rem; }
.activity-time { margin-left: auto; color: #adb5bd; font-size: .8rem; white-space: nowrap; }

/* ── Modal legacy ── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    display: none; align-items: center; justify-content: center;
    z-index: 2000; padding: 1rem;
}
.modal-overlay.active { display: flex; }
.app-modal { background: #fff; border-radius: .75rem; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; display: block; }
.app-modal-header { padding: 1rem 1.25rem; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.app-modal-body { padding: 1.25rem; }
.app-modal-footer { padding: 1rem 1.25rem; border-top: 1px solid #eee; display: flex; gap: .5rem; justify-content: flex-end; }
.app-modal-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 3rem 1.5rem; color: #6c757d; }
.empty-state i { font-size: 2.5rem; color: #dee2e6; display: block; margin-bottom: 1rem; }

/* ── Brand footer ── */
.app-brand-footer {
    padding: .75rem 1.25rem;
    text-align: center;
    font-size: .72rem;
    color: #94a3b8;
    border-top: 1px solid #e9ecef;
    background: #fff;
    letter-spacing: .02em;
}
.app-brand-footer--fullscreen {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .92);
}

/* ── Login ── */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rs-dark) 50%, #2d3148 100%);
    padding: 2rem 1rem;
}
.login-brand-footer {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, .45);
    font-size: .72rem;
    text-align: center;
    letter-spacing: .02em;
}
.login-container { width: 100%; max-width: 420px; }
.login-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo .logo-icon {
    width: 56px; height: 56px; margin: 0 auto 1rem;
    background: var(--rs-gold); border-radius: .75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #1a1d29;
}
.login-logo h1 { font-size: 1.5rem; font-weight: 700; }
.login-showcase { display: none; }

/* ── Alerts legacy ── */
.alert { padding: .75rem 1rem; border-radius: .375rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.alert-success { background: #d1e7dd; color: #0f5132; }
.alert-error { background: #f8d7da; color: #842029; }

/* ── Print ── */
.receipt-print { max-width: 80mm; margin: 0 auto; font-family: monospace; font-size: 12px; }
@media print { .app-sidebar, .app-topbar, .no-print { display: none !important; } }

/* ── Responsive ── */
@media (max-width: 992px) {
    .cashier-layout, .package-layout { grid-template-columns: 1fr; }
    .kanban-board { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}
@media (max-width: 768px) {
    .pos-body { flex-direction: column; }
    .pos-categories { width: 100%; display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid #333; }
    .pos-cat-btn { width: auto; white-space: nowrap; }
    .pos-cart, .order-cart { width: 100%; max-height: 45vh; border-left: none; }
    .pay-methods-grid { grid-template-columns: repeat(2, 1fr); }
}
