﻿/* ============================================
   Hotel Management System — Luxury Dark Theme
   Inspired by Arbany Hotel Design Concept
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --bg-elevated: #1a1a1a;
    --bg-input: #1e1e1e;
    --border: #2a2a2a;
    --border-light: #333;
    --cream: #f5f0e8;
    --cream-dark: #d4cfc7;
    --gold: #c8a97e;
    --gold-light: #dbc4a0;
    --gold-dark: #a88b5e;
    --green-deep: #2d4a3e;
    --green-accent: #4a7c6a;
    --white: #ffffff;
    --text-primary: #f5f0e8;
    --text-secondary: #999;
    --text-muted: #666;
    --text-dark: #0a0a0a;
    --success: #4a7c6a;
    --success-light: #5a9c80;
    --danger: #c75050;
    --danger-light: #e06060;
    --warning: #c8a040;
    --info: #5a8ab5;
    --purple: #8a6aaa;
    --sidebar-width: 270px;
    --header-height: 70px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --radius: 4px;
    --radius-lg: 8px;
    --letter-wide: 0.12em;
    --letter-normal: 0.03em;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    font-weight: 300;
    letter-spacing: var(--letter-normal);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, select, textarea { font-family: var(--font-sans); outline: none; }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.label-caps {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    color: var(--gold);
}

/* ============================================
   LOGIN PAGE — Full Background Image
   ============================================ */

.login-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;


    background-image: url('../images/Login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    position: relative;
}

/* Dark overlay on top of the background image */
.login-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: 0;
}

/* Login card floats above the overlay */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 44px 40px;
    border-radius: var(--radius-lg);

    /* Frosted glass card */
    background: rgba(16, 16, 16, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(200, 169, 126, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.login-logo {
    margin-bottom: 36px;
    text-align: center;
}

.login-logo i {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.login-logo h1 {
    font-size: 26px;
    color: var(--cream);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 6px;
}

.login-logo p {
    font-size: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    font-family: var(--font-sans);
}

/* ============================================
   FORM
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 300;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.1);
}

.form-group input::placeholder { color: var(--text-muted); }
.form-group input.error, .form-group select.error { border-color: var(--danger); }
.form-group .error-msg { color: var(--danger); font-size: 12px; margin-top: 4px; display: none; }
.form-group .error-msg.show { display: block; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); }

/* Role Selector */
.role-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.role-btn {
    flex: 1;
    padding: 16px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.role-btn:hover {
    border-color: var(--gold-dark);
    color: var(--cream);
}

.role-btn.active {
    border-color: var(--gold);
    background: rgba(200, 169, 126, 0.08);
    color: var(--gold);
}

.role-btn i {
    font-size: 20px;
    display: block;
    margin-bottom: 6px;
}

.role-btn span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
}

.sub-role-group { display: none; margin-bottom: 20px; }
.sub-role-group.show { display: block; }

/* Demo credentials box */
.login-container .demo-box {
    margin-top: 25px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--gold);
    color: var(--text-dark);
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(200,169,126,0.3);
}

.btn-dark {
    background: var(--bg-card);
    color: var(--cream);
    border: 1px solid var(--border);
}
.btn-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--text-dark); }

.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: var(--success-light); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: var(--danger-light); }
.btn-sm { padding: 8px 16px; font-size: 10px; }
.btn-lg { padding: 16px 36px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ---------- Dashboard Layout ---------- */
.dashboard { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
}

.sidebar-header {
    padding: 28px 24px;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h2 {
    font-size: 20px;
    color: var(--cream);
    font-weight: 400;
    font-style: italic;
}

.sidebar-header p {
    font-size: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    margin-top: 4px;
}

.sidebar-nav { padding: 16px 0; }

.sidebar-nav .nav-item {
    padding: 13px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
    border-left: 2px solid transparent;
    letter-spacing: 0.02em;
}

.sidebar-nav .nav-item:hover {
    color: var(--cream);
    background: rgba(200,169,126,0.04);
    border-left-color: var(--gold-dark);
}

.sidebar-nav .nav-item.active {
    color: var(--gold);
    background: rgba(200,169,126,0.06);
    border-left-color: var(--gold);
}

.sidebar-nav .nav-item i { width: 18px; text-align: center; font-size: 14px; }

.sidebar-nav .nav-item .badge {
    margin-left: auto;
    background: var(--gold);
    color: var(--text-dark);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.sidebar-footer .nav-item {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}
.sidebar-footer .nav-item:hover { color: var(--gold); }
.sidebar-footer .nav-item i { width: 18px; text-align: center; }

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* Top Header */
.top-header {
    background: var(--bg-secondary);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 500;
}

.top-header .hamburger { display: none; background: none; font-size: 20px; color: var(--cream); cursor: pointer; }
.top-header h2 { font-size: 18px; color: var(--cream); font-weight: 400; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.header-actions .notification-bell {
    position: relative;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.header-actions .notification-bell:hover { color: var(--gold); }
.header-actions .notification-bell .count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--gold);
    color: var(--text-dark);
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.user-avatar .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 12px;
}
.user-avatar span { font-size: 13px; color: var(--text-secondary); }

/* Content */
.content { padding: 32px; }
.content-section { display: none; }
.content-section.active { display: block; animation: fadeIn 0.4s ease; }

.section-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--cream);
    margin-bottom: 24px;
    font-weight: 400;
}

.section-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 600;
}

/* ---------- Stats Cards ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-light); transform: translateY(-2px); }

.stat-card .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.stat-card .stat-value {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--cream);
    font-weight: 400;
}

.stat-card .stat-icon {
    float: right;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(200,169,126,0.08);
    color: var(--gold);
}

/* ---------- Cards ---------- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover { border-color: var(--border-light); }

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h3 { font-size: 16px; color: var(--cream); font-weight: 400; }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); }

/* ---------- Tables ---------- */
.table-container {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.data-table { width: 100%; border-collapse: collapse; }
.data-table thead { background: var(--bg-elevated); }
.data-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-wide);
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 14px 20px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
.data-table tbody tr { transition: var(--transition); }
.data-table tbody tr:hover { background: rgba(200,169,126,0.03); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-success { background: rgba(74,124,106,0.15); color: var(--success-light); }
.badge-danger { background: rgba(199,80,80,0.15); color: var(--danger-light); }
.badge-warning { background: rgba(200,160,64,0.15); color: var(--warning); }
.badge-info { background: rgba(90,138,181,0.15); color: var(--info); }
.badge-purple { background: rgba(138,106,170,0.15); color: var(--purple); }
.badge-gold { background: rgba(200,169,126,0.12); color: var(--gold); }
.badge-veg { background: rgba(74,124,106,0.15); color: var(--success-light); }
.badge-nonveg { background: rgba(199,80,80,0.15); color: var(--danger-light); }

/* ---------- Modal ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.show { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}
.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h3 { font-size: 20px; color: var(--cream); }
.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Toast ---------- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 420px;
    animation: slideInRight 0.4s ease;
    border-left: 3px solid var(--gold);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info { border-left-color: var(--info); }
.toast i { font-size: 18px; }
.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.warning i { color: var(--warning); }
.toast.info i { color: var(--info); }
.toast .toast-msg { flex: 1; font-size: 13px; color: var(--text-secondary); }
.toast .toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; }
.toast.removing { animation: slideOutRight 0.3s ease forwards; }

/* ---------- Room Cards ---------- */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.room-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.room-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow); }

.room-card .room-img {
    height: 220px;
    background: linear-gradient(135deg, #1a1510, #2d4a3e, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 44px;
    position: relative;
    overflow: hidden;
}
.room-card .room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease; /* ← smooth zoom on hover */
}

.room-card:hover .room-img img {
    transform: scale(1.05); /* ← subtle zoom effect on hover */
}
.room-card .room-img .room-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.room-card .room-img .room-badge .badge {
    padding: 6px 12px;
    border-radius: 20px; /* pill shape */
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

/* Override each status color with frosted glass look */
.room-card .room-img .badge-success {
    background: rgba(74, 124, 106, 0.75);
    color: #fff;
}

.room-card .room-img .badge-danger {
    background: rgba(199, 80, 80, 0.75);
    color: #fff;
}

.room-card .room-img .badge-info {
    background: rgba(90, 138, 181, 0.75);
    color: #fff;
}

.room-card .room-img .badge-warning {
    background: rgba(200, 160, 64, 0.75);
    color: #fff;
}
.room-card .room-img .room-badge { position: absolute; top: 12px; right: 12px; }

.room-card .room-info { padding: 20px; }
.room-card .room-info h3 { font-size: 20px; color: var(--cream); margin-bottom: 4px; }
.room-card .room-info .room-type { color: var(--gold); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--letter-wide); margin-bottom: 12px; }
.room-card .room-info .room-amenities { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.room-card .room-info .room-amenities span { background: var(--bg-elevated); border: 1px solid var(--border); padding: 3px 10px; border-radius: 2px; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.room-card .room-info .room-price { font-family: var(--font-serif); font-size: 24px; color: var(--cream); }
.room-card .room-info .room-price small { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); }
.room-card .room-actions { padding: 0 20px 20px; display: flex; gap: 8px; }

/* ---------- Filters ---------- */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--text-muted); }
.filter-group select, .filter-group input {
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 12px;
    min-width: 150px;
    transition: var(--transition);
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--gold); }
.filter-group select option { background: var(--bg-card); }

/* ---------- Menu Cards ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.menu-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.menu-card .menu-img { height: 160px; background: linear-gradient(135deg, #2d4a3e, #1a1510); display: flex; align-items: center; justify-content: center; font-size: 42px; position: relative; }
.menu-card .menu-img .veg-badge { position: absolute; top: 10px; left: 10px; }
.menu-card .menu-info { padding: 16px; }
.menu-card .menu-info h4 { font-size: 16px; color: var(--cream); margin-bottom: 4px; font-family: var(--font-serif); }
.menu-card .menu-info .menu-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-card .menu-info .menu-price { font-family: var(--font-serif); font-size: 18px; color: var(--gold); }
.menu-card .menu-actions { padding: 0 16px 16px; }

/* ---------- Cart Sidebar ---------- */
.cart-sidebar {
    position: fixed; top: 0; right: -400px; width: 380px; height: 100vh;
    background: var(--bg-secondary); border-left: 1px solid var(--border);
    z-index: 1500; transition: var(--transition); display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-header h3 { font-size: 18px; color: var(--cream); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item .item-info { flex: 1; }
.cart-item .item-info h4 { font-size: 13px; color: var(--cream); }
.cart-item .item-info .item-price { font-size: 12px; color: var(--gold); font-weight: 500; }
.cart-item .qty-control { display: flex; align-items: center; gap: 8px; }
.cart-item .qty-control button {
    width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-secondary); font-size: 13px;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.cart-item .qty-control button:hover { background: var(--gold); color: var(--text-dark); border-color: var(--gold); }
.cart-item .qty-control span { color: var(--cream); font-size: 13px; }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-footer .cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 18px; font-family: var(--font-serif); color: var(--cream); }

/* ---------- Room Status Grid ---------- */
.room-status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.room-status-tile {
    padding: 18px; border-radius: var(--radius-lg); text-align: center;
    cursor: pointer; transition: var(--transition); border: 1px solid var(--border);
    background: var(--bg-card);
}
.room-status-tile:hover { transform: translateY(-2px); border-color: var(--gold-dark); }
.room-status-tile .room-num { font-family: var(--font-serif); font-size: 20px; margin-bottom: 4px; color: var(--cream); }
.room-status-tile .status-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--letter-wide); }
.room-status-tile.clean { border-color: rgba(74,124,106,0.4); }
.room-status-tile.clean .status-label { color: var(--success); }
.room-status-tile.dirty { border-color: rgba(199,80,80,0.4); }
.room-status-tile.dirty .status-label { color: var(--danger); }
.room-status-tile.maintenance { border-color: rgba(200,160,64,0.4); }
.room-status-tile.maintenance .status-label { color: var(--warning); }
.room-status-tile.dnd { border-color: rgba(138,106,170,0.4); }
.room-status-tile.dnd .status-label { color: var(--purple); }
.room-status-tile.occupied { border-color: rgba(90,138,181,0.4); }
.room-status-tile.occupied .status-label { color: var(--info); }

/* ---------- Order Cards ---------- */
.orders-queue { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.order-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; border-top: 3px solid var(--gold);
}
.order-card.received { border-top-color: var(--info); }
.order-card.preparing { border-top-color: var(--warning); }
.order-card.ready { border-top-color: var(--success); }
.order-card.delivered { border-top-color: var(--text-muted); }
.order-card-header { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.order-card-header h4 { font-size: 14px; color: var(--cream); font-family: var(--font-serif); }
.order-card-header .order-time { font-size: 11px; color: var(--text-muted); }
.order-card-body { padding: 16px 18px; }
.order-card-body .order-items { margin-bottom: 10px; }
.order-card-body .order-items li { padding: 3px 0; font-size: 12px; display: flex; justify-content: space-between; color: var(--text-secondary); }
.order-card-body .special-instructions { background: var(--bg-elevated); border: 1px solid var(--border); padding: 8px 12px; border-radius: var(--radius); font-size: 11px; color: var(--text-muted); font-style: italic; }
.order-card-footer { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

/* ---------- Charts ---------- */
.chart-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.chart-card h3 { font-size: 16px; color: var(--cream); margin-bottom: 16px; font-family: var(--font-serif); }
.charts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 16px; margin-bottom: 24px; }

/* ---------- Payment Methods ---------- */
.payment-methods { display: flex; gap: 12px; margin-bottom: 20px; }
.payment-method {
    flex: 1; padding: 20px; border: 1px solid var(--border);
    border-radius: var(--radius-lg); text-align: center;
    cursor: pointer; transition: var(--transition); background: transparent;
}
.payment-method:hover { border-color: var(--gold-dark); }
.payment-method.active { border-color: var(--gold); background: rgba(200,169,126,0.06); }
.payment-method i { font-size: 28px; color: var(--gold); display: block; margin-bottom: 8px; }
.payment-method span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--text-secondary); }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Task List ---------- */
.task-list { display: flex; flex-direction: column; gap: 8px; }
.task-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 18px;
    display: flex; align-items: center; gap: 14px;
    transition: var(--transition);
}
.task-item:hover { border-color: var(--border-light); }
.task-item .task-check {
    width: 20px; height: 20px; border: 1px solid var(--border-light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.task-item .task-check.done { background: var(--success); border-color: var(--success); color: var(--white); }
.task-item .task-info { flex: 1; }
.task-item .task-info h4 { font-size: 13px; color: var(--cream); font-weight: 400; }
.task-item .task-info p { font-size: 11px; color: var(--text-muted); }
.task-item.completed .task-info h4 { text-decoration: line-through; color: var(--text-muted); }

/* Inventory Alert */
.alert-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-radius: var(--radius);
    background: rgba(200,160,64,0.06); border: 1px solid rgba(200,160,64,0.15);
    margin-bottom: 10px;
}
.alert-item i { color: var(--warning); font-size: 16px; }
.alert-item .alert-info h4 { font-size: 13px; color: var(--cream); }
.alert-item .alert-info p { font-size: 11px; color: var(--text-muted); }

/* Star Rating */
.star-rating { display: flex; gap: 4px; }
.star-rating i { font-size: 20px; color: var(--border-light); cursor: pointer; transition: var(--transition); }
.star-rating i.active, .star-rating i:hover { color: var(--gold); }

/* Tab Nav */
.tab-nav { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab-nav .tab-btn {
    padding: 12px 20px; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: var(--letter-wide);
    color: var(--text-muted); background: none; border: none;
    cursor: pointer; border-bottom: 2px solid transparent;
    margin-bottom: -1px; transition: var(--transition); white-space: nowrap;
}
.tab-nav .tab-btn:hover { color: var(--cream); }
.tab-nav .tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Profile */
.profile-card {
    display: flex; gap: 30px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px;
}
.profile-avatar {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: var(--text-dark); font-weight: 600;
    font-family: var(--font-serif); flex-shrink: 0;
}
.profile-info { flex: 1; }
.profile-info h2 { font-size: 24px; color: var(--cream); margin-bottom: 4px; }
.profile-info .email { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }

/* Search Bar */
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.search-bar input {
    flex: 1; padding: 12px 18px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-primary); font-size: 13px;
    transition: var(--transition);
}
.search-bar input:focus { border-color: var(--gold); }

/* Availability Grid */
.availability-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.avail-cell {
    padding: 12px; border-radius: var(--radius); text-align: center;
    font-size: 12px; font-weight: 600; cursor: pointer;
    transition: var(--transition); background: var(--bg-card); border: 1px solid var(--border);
}
.avail-cell.available { border-color: rgba(74,124,106,0.4); color: var(--success); }
.avail-cell.occupied { border-color: rgba(199,80,80,0.4); color: var(--danger); }
.avail-cell.reserved { border-color: rgba(90,138,181,0.4); color: var(--info); }

/* Notification List */
.notification-list { display: flex; flex-direction: column; gap: 8px; }
.notif-item {
    display: flex; gap: 14px; padding: 16px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: var(--transition); cursor: pointer;
}
.notif-item:hover { border-color: var(--border-light); }
.notif-item.unread { border-left: 3px solid var(--gold); }
.notif-item .notif-icon {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    background: rgba(200,169,126,0.08); color: var(--gold);
}
.notif-item .notif-text h4 { font-size: 13px; color: var(--cream); margin-bottom: 2px; font-weight: 400; }
.notif-item .notif-text p { font-size: 11px; color: var(--text-muted); }
.notif-item .notif-time { font-size: 10px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }

/* Settings Form */
.settings-form { max-width: 600px; }
.settings-form .form-row { display: flex; gap: 16px; margin-bottom: 20px; }
.settings-form .form-row .form-group { flex: 1; margin-bottom: 0; }

/* Empty State */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 48px; margin-bottom: 16px; color: var(--border-light); }
.empty-state h3 { font-size: 18px; margin-bottom: 4px; font-family: var(--font-serif); color: var(--text-secondary); }
.empty-state p { font-size: 13px; }

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(60px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .charts-grid { grid-template-columns: 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .top-header .hamburger { display: block; }
    .content { padding: 16px; }
    .rooms-grid, .menu-grid { grid-template-columns: 1fr; }
    .filters-bar { flex-direction: column; }
    .filter-group select, .filter-group input { min-width: 100%; }
    .role-selector { flex-wrap: wrap; }
    .role-btn { min-width: calc(50% - 4px); }
    .payment-methods { flex-direction: column; }
    .profile-card { flex-direction: column; align-items: center; text-align: center; }
    .cart-sidebar { width: 100%; right: -100%; }
    .orders-queue { grid-template-columns: 1fr; }
    .login-page { padding: 20px; }
    .login-container { padding: 28px 20px; }
    .toast { min-width: unset; max-width: calc(100vw - 40px); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .room-status-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 11px; }
.fw-600 { font-weight: 600; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.flex-1 { flex: 1; }
.hidden { display: none !important; }


