/* Shared visual language for hotel operations. Page layouts live in pages/. */
:root {
    --primary: #23483e;
    --primary-hover: #18392f;
    --primary-blue: #23483e;
    --primary-dark: #18392f;
    --primary-green: #34745b;
    --blue: #23483e;
    --accent-gold: #b18a46;
    --light-bg: #f5f5f0;
    --text-dark: #243b34;
    --text-muted: #68766f;
    --muted: #68766f;
    --border: #dfe4dc;
    --border-light: #dfe4dc;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgb(30 55 43 / 4%);
    --bs-primary: #23483e;
    --bs-primary-rgb: 35, 72, 62;
    --bs-body-color: #243b34;
    --bs-border-color: #dfe4dc;
}
body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}
body .main-content, body .main { background-color: var(--light-bg); min-width: 0; }
body .sidebar { background: #fff; border-right: 1px solid var(--border); box-shadow: none; }
body .sidebar .brand { border-bottom: 1px solid var(--border); }
body .sidebar .brand .name, body .sidebar .user-card .info .name { color: var(--text-dark); }
body .sidebar .brand-name, body .sidebar .brand-text h3 { color: var(--text-dark); }
body .sidebar .brand-logo { background: var(--primary); color: white; }
body .sidebar .logout-btn { color: #66776b; }
body .sidebar .brand .logo, body .sidebar .avatar { background: var(--primary); color: #fff; }
body .sidebar .brand .name .gold { color: #987236; }
body .sidebar .user-card { background: #f3f5ef; border: 1px solid var(--border); }
body .sidebar .nav-section, body .sidebar .user-card .info .role,
body .sidebar .brand small { color: var(--text-muted); }
body .sidebar .nav-link { color: #52665c; font-size: .875rem; margin-bottom: 4px; }
body .sidebar .nav-link:hover { background: #f3f5ef; color: var(--primary); }
body .sidebar .nav-link.active { background: #e9f0e9; color: var(--primary); border-left-color: var(--primary); }
body .topbar { background: #fff; border-bottom: 1px solid var(--border); box-shadow: none; }
body .topbar .page-title { font-size: 1.05rem; letter-spacing: -.02em; }
body .main-header { background: #203f35; border-bottom: 1px solid #476052; box-shadow: 0 3px 15px rgb(25 50 37 / 8%); }
body .main-header .nav-link.active { background: #ffffff14; border-color: #9baf98; }
body .main-header .brand .sub { color: #c3cfc7; }
body .page-header { gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
body .page-header h1, body .greeting-section h1 {
    color: var(--text-dark); font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 650; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.045em;
}
body .page-header .subtitle, body .greeting-section .subtitle { color: var(--text-muted); line-height: 1.65; }
body .stat-card, body .card, body .chart-card, body .table-card,
body .section-card, body .panel, body .order-panel {
    border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius);
}
body .stat-card:hover { transform: none; box-shadow: 0 6px 24px rgb(30 55 43 / 7%); }
body .stat-number, body .stat-value { letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
body .btn { border-radius: 8px; font-weight: 600; font-size: .85rem; padding: .6rem 1rem; }
body .btn-primary {
    --bs-btn-bg: #23483e; --bs-btn-border-color: #23483e;
    --bs-btn-hover-bg: #18392f; --bs-btn-hover-border-color: #18392f;
    --bs-btn-active-bg: #18392f; --bs-btn-active-border-color: #18392f;
    --bs-btn-disabled-bg: #697e74; --bs-btn-disabled-border-color: #697e74;
}
body .btn-warning { --bs-btn-bg: #eee3cc; --bs-btn-border-color: #e1cfac; --bs-btn-color: #59451f; }
body .form-control, body .form-select { border-color: #d9e0d7; border-radius: 8px; min-height: 40px; font-size: .875rem; }
body .form-control:focus, body .form-select:focus { border-color: #6b8b79; box-shadow: 0 0 0 3px #23483e16; }
body .form-label { color: #526459; font-size: .78rem; font-weight: 600; }
body .table { --bs-table-bg: transparent; --bs-table-border-color: #e5e9e1; font-size: .875rem; }
body .table > thead > tr > th { background: #f4f6f0; color: #5b6d60; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding-block: 1rem; }
body .table > tbody > tr > td { padding-block: .95rem; }
body .modal-content { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 80px #193d3426; }
body .footer { background: transparent; color: var(--text-muted); border-top: 1px solid var(--border); }
:focus-visible { outline: 3px solid #a98542; outline-offset: 3px; }
.eyebrow { color: #8a713e; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: .5rem; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 2000; background: white; color: #23483e; padding: .75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.staff-menu-toggle { display: none; border: 1px solid var(--border); border-radius: 6px; background: white; color: var(--primary); font-size: 1.4rem; }
@media (max-width: 992px) {
    .staff-menu-toggle { display: block; }
    body:has(.staff-menu-toggle) .sidebar { z-index: 110; }
    body:has(.staff-menu-toggle) .sidebar.open { transform: translateX(0); box-shadow: 20px 0 80px #193d3433; }
}
/* Keep the existing sign-in illustration in the same hotel palette. */
body:has(.login-container) { background: #e9eee5; }
body .login-container { background: #fff; border: 1px solid #d8e1d3; box-shadow: 0 24px 80px #193d3414; border-radius: 20px; }
body .login-left { background: #203f35; }
body .login-right { background: #fff; }
body .btn-login { background: #23483e; box-shadow: none; text-transform: none; letter-spacing: 0; }
body .btn-login:hover { background: #18392f; }
.overview-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.overview-stat { padding: 1.4rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.overview-stat span { display: block; font-size: .75rem; color: var(--text-muted); }
.overview-stat strong { display: block; font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 650; letter-spacing: -.04em; margin-top: .7rem; }
.overview-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.overview-link { padding: 1.5rem; background: white; border: 1px solid var(--border); border-radius: 12px; color: var(--text-dark); text-decoration: none; }
.overview-link:hover { border-color: #8b9f7d; background: #fafff5; color: var(--primary); }
.overview-link > i { font-size: 1.5rem; color: #89936a; }
.overview-link h2 { font-size: 1rem; font-weight: 650; margin: 1rem 0 .5rem; }
.overview-link p { color: var(--text-muted); font-size: .8rem; margin: 0; line-height: 1.7; }
@media (max-width: 900px) { .overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .overview-links { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    body .content { padding: 1.25rem 1rem; }
    body .topbar, body .main-header { padding: .85rem 1rem; }
    body .page-header { align-items: flex-start; }
    body .main-container { padding: 1.25rem 1rem; }
    body .table-responsive { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
