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


:root {
    /* ---- Admin/Staff (Vercel Dark) ---- */
    --admin-bg: #0a0a0a;
    --admin-surface: #111111;
    --admin-surface-2: #1a1a1a;
    --admin-border: #2a2a2a;
    --admin-border-hover: #3a3a3a;
    --admin-text: #ededed;
    --admin-text-muted: #888888;
    --admin-text-subtle: #555555;
    --admin-accent: #ffffff;
    --admin-accent-dim: rgba(255, 255, 255, 0.06);
    --admin-sidebar-width: 240px;
    --admin-nav-hover: rgba(255, 255, 255, 0.05);
    --admin-nav-active: rgba(255, 255, 255, 0.08);

    /* ---- Customer/Public (Hotel Warm) ---- */
    --hotel-bg: #fafaf8;
    --hotel-surface: #ffffff;
    --hotel-border: #e8e4dc;
    --hotel-text: #1a1a1a;
    --hotel-text-muted: #6b6b6b;
    --hotel-accent: #E8875C;
    /* coral accent matching public page */
    --hotel-accent-light: #D9744A;
    --hotel-accent-dim: rgba(232, 135, 92, 0.12);
    --hotel-gold: #c49a3c;
    --hotel-gold-light: #e4b84e;
    --hotel-sidebar-width: 280px;

    /* ---- Shared Semantic Colors ---- */
    --color-success: #16a34a;
    --color-success-bg: #f0fdf4;
    --color-warning: #d97706;
    --color-warning-bg: #fffbeb;
    --color-danger: #dc2626;
    --color-danger-bg: #fef2f2;
    --color-info: #2563eb;
    --color-info-bg: #eff6ff;

    /* ---- Typography ---- */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ---- Spacing & Radii (Boxy Aesthetics) ---- */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 8px;

    /* ---- Shadows ---- */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16);

    /* ---- Transitions ---- */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100%;
}

html {
    font-size: 16px;
    /* Lenis handles smooth scrolling — native smooth disabled */
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   ADMIN / STAFF LAYOUT (Vercel-inspired dark)
   ============================================================ */

/* --- Admin body --- */
body.admin-body,
body.staff-body {
    background-color: var(--admin-bg);
    color: var(--admin-text);
    font-family: var(--font-sans);
}

body.light-theme {
    --admin-bg: #F6F6F4;
    --admin-surface: #FFFFFF;
    --admin-surface-2: #F0EFEB;
    --admin-border: #E4E3DF;
    /* public --border */
    --admin-border-hover: #D4D3CE;
    --admin-text: #1E1F24;
    /* public --text */
    --admin-text-muted: #8B8D93;
    /* public --text-muted */
    --admin-text-subtle: #B0B2B8;
    --admin-accent: #E8875C;
    /* public --accent (coral) */
    --admin-accent-dim: rgba(232, 135, 92, 0.12);
    /* public --accent-dim */
    --admin-nav-hover: rgba(232, 135, 92, 0.06);
    --admin-nav-active: rgba(232, 135, 92, 0.10);
}

/* Light theme — body bg */
body.light-theme.admin-body,
body.light-theme.staff-body {
    background-color: var(--admin-bg);
    color: var(--admin-text);
}

/* Light theme — sidebar gets warm white */
body.light-theme .sf-sidebar {
    background-color: #ffffff;
    border-right-color: #e8e4dc;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06);
}

body.light-theme .sf-sidebar-logo {
    border-bottom-color: #e8e4dc;
}

body.light-theme .sf-sidebar-logo .logo-mark {
    background: #2B2E38;
    /* public --dark: charcoal */
    color: #ffffff;
}

body.light-theme .sf-sidebar-logo .logo-text {
    color: #1a1a1a;
}

body.light-theme .sf-sidebar-logo .logo-tag {
    background: rgba(232, 135, 92, 0.10);
    color: #E8875C;
    border-color: rgba(232, 135, 92, 0.25);
}

/* Light theme — staff green logo stays (staff brand identity) */
body.light-theme.staff-body .sf-sidebar-logo .logo-mark {
    background: #2B2E38;
    color: #ffffff;
}

body.light-theme.staff-body .sf-sidebar-logo .logo-tag {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    border-color: rgba(22, 163, 74, 0.2);
}

/* Light theme — topbar */
body.light-theme .sf-topbar {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: #e8e4dc;
}

body.light-theme .sf-topbar-title {
    color: #1a1a1a;
}

/* Light theme — nav links */
body.light-theme .sf-nav-label {
    color: #a0998d;
}

body.light-theme .sf-nav-section {
    border-bottom-color: #e8e4dc;
}

body.light-theme .sf-nav-link {
    color: #6b6b6b;
}

body.light-theme .sf-nav-link:hover {
    background: rgba(232, 135, 92, 0.06);
    color: #E8875C;
}

body.light-theme .sf-nav-link.active {
    background: rgba(232, 135, 92, 0.10);
    color: #E8875C;
    font-weight: 600;
}

/* Light theme — nav link icons */
body.light-theme .sf-nav-link .nav-icon {
    opacity: 0.6;
}

body.light-theme .sf-nav-link:hover .nav-icon,
body.light-theme .sf-nav-link.active .nav-icon {
    opacity: 1;
}

/* Light theme — sidebar footer */
body.light-theme .sf-sidebar-footer {
    border-top-color: #e8e4dc;
}

body.light-theme .sf-user-avatar {
    background: #e8e4dc;
    color: #1a1a1a;
}

body.light-theme .sf-user-name {
    color: #1a1a1a;
}

body.light-theme .sf-user-role {
    color: #6b6b6b;
}

body.light-theme .sf-user-card:hover {
    background: rgba(232, 135, 92, 0.05);
}

/* Light theme — cards */
body.light-theme .sf-card {
    background: #ffffff;
    border-color: #e8e4dc;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

body.light-theme .sf-card:hover {
    border-color: #E8875C;
    box-shadow: 0 4px 16px rgba(43, 46, 56, 0.09);
}

body.light-theme .sf-card-label {
    color: #a0998d;
}

body.light-theme .sf-card-value {
    color: #1a1a1a;
}

body.light-theme .sf-card-change {
    color: #6b6b6b;
}

/* Light theme — quick links */
body.light-theme .sf-quick-link {
    background: #ffffff;
    border-color: #e8e4dc;
    color: #1a1a1a;
}

body.light-theme .sf-quick-link:hover {
    background: #F0EFEB;
    border-color: #E8875C;
    color: #1E1F24;
}

body.light-theme .sf-quick-link-icon {
    background: rgba(232, 135, 92, 0.10);
    border-color: rgba(232, 135, 92, 0.20);
}

/* Light theme — welcome banner */
body.light-theme .sf-welcome-banner {
    background: #ffffff;
    border-color: #e8e4dc;
}

body.light-theme .sf-welcome-title {
    color: #1a1a1a;
}

body.light-theme .sf-welcome-sub {
    color: #6b6b6b;
}

body.light-theme .sf-clock {
    color: #1a1a1a;
}

body.light-theme .sf-date {
    color: #6b6b6b;
}

/* Light theme — PRIMARY BUTTON: coral (matches public page .btn-coral / .btn-hotel-primary) */
body.light-theme .sf-btn-primary,
body.light-theme .btn-hotel-primary {
    background: #E8875C !important;
    color: #ffffff !important;
    border-color: #E8875C !important;
    border-radius: 6px !important;
}

body.light-theme .sf-btn-primary:hover,
body.light-theme .btn-hotel-primary:hover {
    background: #D9744A !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(232, 135, 92, 0.35) !important;
    transform: translateY(-1px);
}

body.light-theme .sf-btn-secondary,
body.light-theme .btn-hotel-outline {
    background: transparent !important;
    color: #1E1F24 !important;
    border-color: #E4E3DF !important;
}

body.light-theme .sf-btn-secondary:hover,
body.light-theme .btn-hotel-outline:hover {
    background: rgba(232, 135, 92, 0.06) !important;
    border-color: #E8875C !important;
    color: #E8875C !important;
}

/* Light theme — table */
body.light-theme .sf-table th {
    background: #f4f2ed;
    color: #4b5563;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-bottom-color: #e8e4dc;
}

body.light-theme .sf-table td {
    color: #1a1a1a;
    border-bottom-color: #e8e4dc;
}

body.light-theme .sf-table tbody tr:hover td {
    background: rgba(232, 135, 92, 0.04);
}

/* Light theme — table card wrapper */
body.light-theme .sf-table-card {
    background: #ffffff;
    border-color: #e8e4dc;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Light theme — forms */
body.light-theme .sf-label {
    color: #6b6b6b;
}

body.light-theme .sf-input {
    background: #ffffff;
    border-color: #e8e4dc;
    color: #1a1a1a;
}

body.light-theme .sf-input::placeholder {
    color: #a0998d;
}

body.light-theme .sf-input:focus {
    border-color: #E8875C;
    box-shadow: 0 0 0 3px rgba(232, 135, 92, 0.12);
}

/* Light theme — badges */
body.light-theme .sf-badge-admin {
    background: rgba(232, 135, 92, 0.10);
    color: #E8875C;
    border-color: rgba(232, 135, 92, 0.25);
}

body.light-theme .sf-badge-staff {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    border-color: rgba(22, 163, 74, 0.2);
}

/* Light theme — alerts */
body.light-theme .sf-alert-error {
    color: #dc2626;
}

body.light-theme .sf-alert-success {
    color: #16a34a;
}

body.light-theme .sf-alert-info {
    color: #2563eb;
}

/* Light theme — theme toggle button */
body.light-theme .sf-theme-toggle {
    background: rgba(232, 135, 92, 0.08);
    border-color: rgba(232, 135, 92, 0.25);
    color: #E8875C;
}

body.light-theme .sf-theme-toggle:hover {
    background: rgba(232, 135, 92, 0.15);
}

/* Light theme — dropdown menus */
body.light-theme .dropdown-menu {
    background: #ffffff !important;
    border-color: #e8e4dc !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

body.light-theme .dropdown-item {
    color: #1a1a1a !important;
}

body.light-theme .dropdown-item:hover {
    background: rgba(232, 135, 92, 0.06) !important;
    color: #E8875C !important;
}

body.light-theme .dropdown-divider {
    border-color: #e8e4dc !important;
}

/* ============================================================
   CUSTOM CHECKBOXES — Admin / Staff portal
   Replaces raw browser default with styled design-system checkboxes.
   Works for: form-check-input, amenity-checklist, bare input[type=checkbox]
   ============================================================ */

/* Base reset for ALL checkboxes in admin/staff */
body.admin-body input[type="checkbox"],
body.staff-body input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1.5px solid var(--admin-border-hover);
    border-radius: 4px;
    background: var(--admin-surface);
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    vertical-align: middle;
    flex-shrink: 0;
}

body.admin-body input[type="checkbox"]:hover,
body.staff-body input[type="checkbox"]:hover {
    border-color: var(--admin-accent);
    box-shadow: 0 0 0 3px var(--admin-accent-dim);
}

body.admin-body input[type="checkbox"]:focus,
body.staff-body input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--admin-accent);
    box-shadow: 0 0 0 3px var(--admin-accent-dim);
}

/* Checked state — filled with accent color */
body.admin-body input[type="checkbox"]:checked,
body.staff-body input[type="checkbox"]:checked {
    background: var(--admin-accent);
    border-color: var(--admin-accent);
}

/* Checkmark tick via ::after pseudo-element */
body.admin-body input[type="checkbox"]:checked::after,
body.staff-body input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    position: absolute;
}

/* Dark mode: white checkmark on dark accent background */
body.admin-body:not(.light-theme) input[type="checkbox"]:checked::after,
body.staff-body:not(.light-theme) input[type="checkbox"]:checked::after {
    border-color: #0a0a0a;
}

/* Light mode: coral accent checked */
body.light-theme input[type="checkbox"]:checked::after {
    border-color: #ffffff;
}

/* Disabled state */
body.admin-body input[type="checkbox"]:disabled,
body.staff-body input[type="checkbox"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Fix Bootstrap form-check-input & ASP.NET CheckBox vertical centering */
body.admin-body .form-check-input,
body.staff-body .form-check-input,
span.form-check-input {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
}

span.form-check-input input[type="checkbox"],
input[type="checkbox"].form-check-input {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    align-self: center !important;
    cursor: pointer;
}

.sf-checkbox-flex {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    cursor: pointer;
}

.sf-checkbox-flex label,
.sf-checkbox-flex .sf-label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    cursor: pointer;
}

/* Amenity checklist checkboxes (CheckBoxList) */
body.admin-body .amenity-checklist input[type="checkbox"],
body.staff-body .amenity-checklist input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
}


.sf-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--admin-sidebar-width);
    height: 100vh;
    background-color: var(--admin-surface);
    border-right: 1px solid var(--admin-border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: transform var(--transition-base);
}

.sf-sidebar-logo {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sf-sidebar-logo .logo-mark {
    width: 28px;
    height: 28px;
    background: var(--admin-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--admin-bg);
    flex-shrink: 0;
}

.sf-sidebar-logo .logo-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--admin-text);
    letter-spacing: -0.3px;
}

.sf-sidebar-logo .logo-tag {
    font-size: 10px;
    font-weight: 500;
    color: var(--admin-text-subtle);
    background: var(--admin-surface-2);
    border: 1px solid var(--admin-border);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: auto;
}

/* --- Sidebar nav sections --- */
.sf-nav-section {
    padding: 12px 0;
    border-bottom: 1px solid var(--admin-border);
}

.sf-nav-section:last-child {
    border-bottom: none;
}

.sf-nav-label {
    padding: 4px 16px 8px;
    font-size: 10px;
    font-weight: 600;
    color: var(--admin-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sf-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 1px 8px;
    border-radius: var(--radius-sm);
    color: var(--admin-text-muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.sf-nav-link:hover {
    background: var(--admin-nav-hover);
    color: var(--admin-text);
}

.sf-nav-link.active {
    background: var(--admin-nav-active);
    color: var(--admin-text);
}

.sf-nav-link .nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.sf-nav-link:hover .nav-icon,
.sf-nav-link.active .nav-icon {
    opacity: 1;
}

/* --- Sidebar footer (user info) --- */
.sf-sidebar-footer {
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid var(--admin-border);
    flex-shrink: 0;
}

.sf-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.sf-user-card:hover {
    background: var(--admin-nav-hover);
}

.sf-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--admin-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-text);
    flex-shrink: 0;
}

.sf-user-info {
    min-width: 0;
    flex: 1;
}

.sf-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--admin-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-user-role {
    font-size: 11px;
    color: var(--admin-text-subtle);
}

/* --- Main content area (offset by sidebar) --- */
.sf-main {
    margin-left: var(--admin-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Top navbar --- */
.sf-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 52px;
    background: var(--admin-bg);
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
}

.sf-topbar-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text);
}

.sf-topbar-spacer {
    flex: 1;
}

.sf-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Page content wrapper --- */
.sf-content {
    flex: 1;
    padding: 28px 28px 48px;
    max-width: 1280px;
}

/* --- Page header --- */
.sf-page-header {
    margin-bottom: 28px;
}

.sf-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--admin-text);
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.sf-page-subtitle {
    font-size: 13.5px;
    color: var(--admin-text-muted);
    margin-top: 4px;
}

/* --- Admin stat cards --- */
.sf-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sf-card:hover {
    border-color: var(--admin-border-hover);
    box-shadow: var(--shadow-sm);
}

.sf-card-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--admin-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.sf-card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--admin-text);
    letter-spacing: -0.8px;
    margin: 8px 0 4px;
    line-height: 1;
}

.sf-card-change {
    font-size: 12px;
    color: var(--admin-text-muted);
}

/* --- Quick link cards (dashboard) --- */
.sf-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--admin-text);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.sf-quick-link:hover {
    background: var(--admin-surface-2);
    border-color: var(--admin-border-hover);
    color: var(--admin-text);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.sf-quick-link-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--admin-accent-dim);
    border: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.sf-quick-link-text {
    font-size: 13.5px;
    font-weight: 500;
}

.sf-quick-link-desc {
    font-size: 12px;
    color: var(--admin-text-muted);
}

/* --- Welcome banner --- */
.sf-welcome-banner {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.sf-welcome-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--admin-text);
    letter-spacing: -0.4px;
}

.sf-welcome-sub {
    font-size: 13px;
    color: var(--admin-text-muted);
    margin-top: 4px;
}

.sf-welcome-meta {
    text-align: right;
}

.sf-clock {
    font-size: 22px;
    font-weight: 700;
    color: var(--admin-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

.sf-date {
    font-size: 12px;
    color: var(--admin-text-muted);
    margin-top: 2px;
}

/* ============================================================
   BADGES
   ============================================================ */
.sf-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.sf-badge-admin {
    background: rgba(255, 255, 255, 0.08);
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
}

.sf-badge-staff {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.sf-badge-customer {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.sf-badge-success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.sf-badge-warning {
    background: var(--color-warning-bg);
    color: var(--color-warning);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.sf-badge-danger {
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ============================================================
   ADMIN & HOTEL BUTTONS (COMPACT SLEEK DESIGNS)
   ============================================================ */
.btn-hotel-primary,
.btn-hotel-outline,
.btn-hotel-secondary,
.btn-coral,
.sf-btn,
.sf-btn-primary,
.sf-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-hotel-primary i,
.btn-hotel-outline i,
.btn-hotel-secondary i,
.btn-coral i,
.sf-btn i {
    font-size: 1.1em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.sf-btn-primary,
.btn-hotel-primary,
.btn-coral {
    height: 38px;
    background: #E8875C !important;
    color: #ffffff !important;
    border: 1px solid #E8875C !important;
}

.sf-btn-primary:hover,
.btn-hotel-primary:hover,
.btn-coral:hover {
    background: #D9744A !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(232, 135, 92, 0.3) !important;
}

.sf-btn-secondary,
.btn-hotel-secondary,
.btn-hotel-outline {
    height: 38px;
    background: transparent !important;
    color: var(--admin-text) !important;
    border: 1px solid var(--admin-border) !important;
}

.sf-btn-secondary:hover,
.btn-hotel-secondary:hover,
.btn-hotel-outline:hover {
    background: var(--admin-nav-hover) !important;
    border-color: var(--admin-accent, #E8875C) !important;
    color: var(--admin-text) !important;
}

/* Compact button height inside tables for sleek rows */
.sf-table td .sf-btn,
.sf-table td .btn,
.sf-table td .dropdown-toggle,
.sf-table td a.sf-btn,
.sf-table td .btn-hotel-primary,
.sf-table td .btn-hotel-outline,
.sf-table td .btn-hotel-secondary,
.sf-table td .btn-coral,
.sf-table td .btn-danger-outline,
.sf-table td .btn-success-outline {
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

/* Danger / Success outline variants for design system */
.btn-danger-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all var(--transition-fast);
    background: transparent !important;
    color: #f87171 !important;
    border: 1px solid rgba(248, 113, 113, 0.45) !important;
}

.btn-danger-outline:hover {
    background: rgba(248, 113, 113, 0.10) !important;
    border-color: #f87171 !important;
    color: #f87171 !important;
}

.btn-success-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all var(--transition-fast);
    background: transparent !important;
    color: #4ade80 !important;
    border: 1px solid rgba(74, 222, 128, 0.45) !important;
}

.btn-success-outline:hover {
    background: rgba(74, 222, 128, 0.10) !important;
    border-color: #4ade80 !important;
    color: #4ade80 !important;
}

.sf-btn-secondary {
    background: transparent;
    color: var(--admin-text);
    border-color: var(--admin-border);
}

.sf-btn-secondary:hover {
    background: var(--admin-nav-hover);
    border-color: var(--admin-border-hover);
}

.sf-btn-danger {
    background: transparent;
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
}

.sf-btn-danger:hover {
    background: rgba(248, 113, 113, 0.06);
}

/* ============================================================
   ALERT MESSAGES
   ============================================================ */
.sf-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.sf-alert-error {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #f87171;
}

.sf-alert-success {
    background: rgba(22, 163, 74, 0.06);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: #4ade80;
}

.sf-alert-info {
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

/* ============================================================
   ADMIN TABLE
   ============================================================ */
.sf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.sf-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--admin-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid var(--admin-border);
    background: var(--admin-surface);
}

.sf-table td {
    padding: 12px 14px;
    color: var(--admin-text);
    border-bottom: 1px solid var(--admin-border);
    vertical-align: middle;
}

.sf-table tr:last-child td {
    border-bottom: none;
}

.sf-table tbody tr:hover td {
    background: var(--admin-nav-hover);
}

/* ============================================================
   FORM STYLES (Admin)
   ============================================================ */
.sf-form-group {
    margin-bottom: 20px;
}

.sf-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.sf-input {
    width: 100%;
    padding: 9px 13px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--radius-sm);
    color: var(--admin-text);
    font-size: 13.5px;
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast);
    outline: none;
}

.sf-input::placeholder {
    color: var(--admin-text-subtle);
}

.sf-input:focus {
    border-color: #555;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.sf-input.is-invalid {
    border-color: rgba(220, 38, 38, 0.5);
}

/* ============================================================
   PUBLIC / CUSTOMER LAYOUT (Hotel Professional)
   ============================================================ */
body.hotel-body,
body.customer-body {
    background-color: var(--hotel-bg);
    color: var(--hotel-text);
    font-family: var(--font-sans);
}

/* --- Public top navbar --- */
.hotel-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hotel-border);
}

.hotel-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hotel-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.hotel-brand-mark {
    width: 36px;
    height: 36px;
    background: var(--hotel-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.hotel-brand-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--hotel-text);
    letter-spacing: -0.3px;
}

.hotel-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.hotel-nav-link {
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hotel-text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.hotel-nav-link:hover {
    color: var(--hotel-text);
    background: var(--hotel-accent-dim);
}

.hotel-nav-link.active {
    color: var(--hotel-accent);
    background: var(--hotel-accent-dim);
}

.hotel-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* --- Hotel buttons --- */
.btn-hotel-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 18px;
    height: 38px;
    box-sizing: border-box;
    background: var(--hotel-accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-hotel-primary.btn-sm,
.btn-sm.btn-hotel-primary {
    height: auto;
    padding: 4px 10px;
    font-size: 11px;
}

.btn-hotel-primary:hover {
    background: var(--hotel-accent-light);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 127, 111, 0.3);
}

.btn-hotel-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: transparent;
    color: var(--hotel-accent);
    border: 1.5px solid var(--hotel-accent);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-hotel-outline:hover {
    background: var(--hotel-accent);
    color: white;
}

/* --- Hotel section container --- */
.hotel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hotel-section {
    padding: 72px 0;
}

.hotel-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--hotel-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hotel-section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--hotel-text);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hotel-section-sub {
    font-size: 16px;
    color: var(--hotel-text-muted);
    line-height: 1.7;
    max-width: 560px;
}

/* --- Hotel card --- */
.hotel-card {
    background: var(--hotel-surface);
    border: 1px solid var(--hotel-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.hotel-card-body {
    padding: 24px;
}

.hotel-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--hotel-text);
    margin-bottom: 8px;
}

.hotel-card-text {
    font-size: 14px;
    color: var(--hotel-text-muted);
    line-height: 1.6;
}

/* --- Hotel footer --- */
.hotel-footer {
    background: #111111;
    color: #888;
    padding: 48px 0 24px;
}

.hotel-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hotel-footer-brand {
    font-family: var(--font-serif);
    font-size: 22px;
    color: white;
    margin-bottom: 8px;
}

.hotel-footer-tagline {
    font-size: 13px;
    color: #555;
    margin-bottom: 32px;
}

.hotel-footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 12px;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Login / Register card (Public) --- */
.auth-page {
    min-height: 100vh;
    background: var(--hotel-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background-image:
        radial-gradient(ellipse at 30% 20%, rgba(42, 127, 111, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(196, 154, 60, 0.04) 0%, transparent 50%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--hotel-surface);
    border: 1px solid var(--hotel-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo-mark {
    width: 48px;
    height: 48px;
    background: var(--hotel-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin: 0 auto 12px;
}

.auth-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--hotel-text);
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 13.5px;
    color: var(--hotel-text-muted);
}

.hotel-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hotel-text);
    margin-bottom: 6px;
}

.hotel-input {
    width: 100%;
    padding: 11px 14px;
    background: var(--hotel-bg);
    border: 1.5px solid var(--hotel-border);
    border-radius: var(--radius-sm);
    color: var(--hotel-text);
    font-size: 14px;
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.hotel-input:focus {
    border-color: var(--hotel-accent);
    box-shadow: 0 0 0 3px rgba(42, 127, 111, 0.08);
    background: white;
}

.hotel-input.is-invalid {
    border-color: var(--color-danger);
}

/* --- Hotel alert --- */
.hotel-alert-error {
    background: var(--color-danger-bg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    margin-bottom: 20px;
}

.hotel-alert-success {
    background: var(--color-success-bg);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: #15803d;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    margin-bottom: 20px;
}

/* --- Customer sidebar --- */
.customer-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--hotel-sidebar-width);
    height: 100vh;
    background: #0f1c1a;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1000;
    transition: transform var(--transition-base);
}

.customer-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    margin: 3px 14px;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.customer-nav-link:hover {
    background: rgba(196, 154, 60, 0.15);
    color: var(--hotel-gold-light);
    transform: translateX(3px);
}

.customer-nav-link.active {
    background: linear-gradient(135deg, rgba(42, 127, 111, 0.4), rgba(196, 154, 60, 0.25));
    color: #ffffff;
    font-weight: 600;
    border-left: 3px solid var(--hotel-gold);
}

.customer-main {
    margin-left: var(--hotel-sidebar-width);
    min-height: 100vh;
    background: var(--hotel-bg);
}

/* --- Customer Glass Cards & Wizard --- */
.customer-hero-card {
    background: linear-gradient(135deg, #0f1c1a 0%, #1a3530 60%, #142a26 100%);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 28, 26, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.customer-hero-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(196, 154, 60, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.wizard-steps {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hotel-border);
    box-shadow: var(--shadow-sm);
}

.wizard-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hotel-text-muted);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    background: var(--hotel-bg);
}

.wizard-step.active {
    background: var(--hotel-accent-dim);
    color: var(--hotel-accent);
    box-shadow: inset 0 0 0 1px var(--hotel-accent);
}

.wizard-step.done {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.wizard-step .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 700;
}

.wizard-step.active .step-num {
    background: var(--hotel-accent);
    color: white;
}

.wizard-step.done .step-num {
    background: var(--color-success);
    color: white;
}

.pay-method-btn {
    border: 2px solid var(--hotel-border);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    background: white;
}

.pay-method-btn:hover {
    border-color: var(--hotel-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pay-method-btn.selected {
    border-color: var(--hotel-accent);
    background: var(--hotel-accent-dim);
    box-shadow: 0 0 0 1px var(--hotel-accent);
}

/* ============================================================
   FAST ANIMATIONS & ULTRA-MODERN LUXURY UI
   ============================================================ */
:root {
    --ease-out-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 28, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s var(--ease-out-spring), box-shadow 0.25s var(--ease-out-spring), border-color 0.25s var(--ease-out-spring);
}

.hotel-navbar.scrolled {
    background: rgba(15, 28, 26, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(196, 154, 60, 0.25);
}

.hotel-nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    text-decoration: none;
    position: relative;
    transition: color 0.2s var(--ease-out-spring);
}

.hotel-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--hotel-gold), var(--hotel-gold-light));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease-out-spring);
}

.hotel-nav-link:hover {
    color: #ffffff;
}

.hotel-nav-link:hover::after,
.hotel-nav-link.active::after {
    transform: scaleX(1);
}

/* --- Fast Keyframes & Entrance Utilities --- */
@keyframes fadeInUpFast {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlowGold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(196, 154, 60, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(196, 154, 60, 0);
    }
}

@keyframes shimmerEffect {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-fade-up {
    animation: fadeInUpFast 0.45s var(--ease-out-spring) forwards;
}

.animate-pulse-gold {
    animation: pulseGlowGold 2s infinite;
}

/* --- Hero & Floating Search Bar --- */
.hero-search-bar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-top: 36px;
    animation: fadeInUpFast 0.5s var(--ease-out-spring) 0.15s both;
}

/* --- Ultra-Modern Public Room Cards --- */
.public-room-card {
    background: #ffffff;
    border: 1px solid var(--hotel-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s var(--ease-out-spring), box-shadow 0.25s var(--ease-out-spring), border-color 0.25s var(--ease-out-spring);
}

.public-room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 25px rgba(196, 154, 60, 0.12);
    border-color: var(--hotel-gold);
}

.public-room-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #0f1c1a;
}

.public-room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out-spring), filter 0.45s var(--ease-out-spring);
}

.public-room-card:hover .public-room-img-wrapper img {
    transform: scale(1.07);
    filter: brightness(1.03);
}

/* Button micro-interaction */
.btn-hotel-primary {
    background: var(--hotel-accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s var(--ease-out-spring), background-color 0.2s var(--ease-out-spring), box-shadow 0.2s var(--ease-out-spring);
    cursor: pointer;
}

.btn-hotel-primary:hover {
    background: var(--hotel-accent-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(42, 127, 111, 0.3);
}

.btn-hotel-primary:active {
    transform: translateY(0);
}

.btn-hotel-outline {
    background: transparent;
    color: var(--hotel-text);
    border: 1.5px solid var(--hotel-border);
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s var(--ease-out-spring), border-color 0.2s var(--ease-out-spring), background-color 0.2s var(--ease-out-spring), color 0.2s var(--ease-out-spring);
    cursor: pointer;
}

.btn-hotel-outline:hover {
    border-color: var(--hotel-accent);
    color: var(--hotel-accent);
    background: var(--hotel-accent-dim);
    transform: translateY(-2px);
}

/* --- Gallery Grid Overlay --- */
.gallery-grid-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out-spring), box-shadow 0.3s var(--ease-out-spring);
}

.gallery-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out-spring);
}

.gallery-grid-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 28, 26, 0.9) 0%, rgba(15, 28, 26, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    color: white;
    transition: opacity 0.25s var(--ease-out-spring);
}

.gallery-grid-item:hover .gallery-overlay {
    opacity: 1;
}

.hotel-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--hotel-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hotel-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 600;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    max-width: 640px;
}

.hotel-hero-title em {
    color: var(--hotel-gold);
    font-style: italic;
}

.hotel-hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 36px;
}

.hotel-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.sf-divider {
    height: 1px;
    background: var(--admin-border);
    margin: 20px 0;
}

.hotel-divider {
    height: 1px;
    background: var(--hotel-border);
    margin: 20px 0;
}

/* ============================================================
   DESKTOP - Sidebar collapse toggle
   ============================================================ */
.sf-sidebar-collapsed {
    transform: translateX(-100%);
}

.sf-main-expanded {
    margin-left: 0 !important;
    transition: margin-left var(--transition-base);
}

/* ============================================================
/* Sidebar Close Button (Mobile/Tablet Only) */
.sf-sidebar-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    padding: 4px 8px;
    cursor: pointer;
    margin-left: auto;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}
.sf-sidebar-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* Sidebar Backdrop Overlay on Mobile/Tablet */
.sf-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sf-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================
   GLOBAL ACTION BUTTONS & DROPDOWNS (Admin & Staff)
   ============================================================ */
.sf-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 4px 10px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    height: 30px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    border: 1px solid transparent !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}
.sf-action-primary {
    background: linear-gradient(135deg, #E8875C 0%, #D9744A 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(232, 135, 92, 0.25) !important;
}
.sf-action-primary:hover {
    background: linear-gradient(135deg, #D9744A 0%, #C9663B 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}
.sf-action-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ededed !important;
}
.sf-action-secondary:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px) !important;
}

body.light-theme .sf-action-secondary {
    background: #f0efeb !important;
    border: 1px solid #d8d6d0 !important;
    color: #1e1f24 !important;
}
body.light-theme .sf-action-secondary:hover {
    background: #e4e3df !important;
    border-color: #c8c6be !important;
    color: #000000 !important;
}

.sf-action-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
}
.sf-action-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}
.sf-action-warning {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25) !important;
}
.sf-action-warning:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}
.sf-action-select {
    height: 30px !important;
    padding: 2px 8px !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    background: #1a1a1a !important;
    color: #ededed !important;
    border: 1px solid #2a2a2a !important;
    vertical-align: middle !important;
}
.sf-action-select:focus {
    outline: none !important;
    border-color: #E8875C !important;
}

body.light-theme .sf-action-select {
    background: #ffffff !important;
    color: #1e1f24 !important;
    border: 1px solid #e4e3df !important;
}

.sf-action-save {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ededed !important;
    cursor: pointer !important;
}
.sf-action-save:hover {
    background: #E8875C !important;
    border-color: #E8875C !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

body.light-theme .sf-action-save {
    background: #f0efeb !important;
    border: 1px solid #d8d6d0 !important;
    color: #1e1f24 !important;
}
body.light-theme .sf-action-save:hover {
    background: #E8875C !important;
    border-color: #E8875C !important;
    color: #ffffff !important;
}

/* Sidebar Toggle Visibility: Hidden on Desktop (>768px), Visible on Mobile (<=768px) */
@media (min-width: 769px) {
    #sf-sidebar-toggle,
    .sf-sidebar-close {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #sf-sidebar-toggle {
        display: inline-flex !important;
    }

    .sf-sidebar,
    .customer-sidebar {
        transform: translateX(-100%);
        z-index: 999 !important;
    }

    .sf-sidebar.open,
    .customer-sidebar.open {
        transform: translateX(0);
    }

    .sf-main,
    .customer-main {
        margin-left: 0;
    }

    .sf-content {
        padding: 20px 16px 40px;
    }

    .hotel-navbar-inner {
        height: 60px;
        padding: 0 16px;
        gap: 16px;
    }

    .hotel-nav {
        display: none;
    }

    .hotel-hero-title {
        font-size: 32px;
    }

    .sf-welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sf-welcome-meta {
        text-align: left;
    }

    .auth-card {
        padding: 28px 20px;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-muted-admin {
    color: var(--admin-text-muted);
}

.text-subtle-admin {
    color: var(--admin-text-subtle);
}

.text-hotel-muted {
    color: var(--hotel-text-muted);
}

.text-hotel-accent {
    color: var(--hotel-accent);
}

.text-hotel-gold {
    color: var(--hotel-gold);
}

.font-serif {
    font-family: var(--font-serif);
}

.font-mono {
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.gap-4 {
    gap: 4px;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-1 {
    flex: 1;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.w-full {
    width: 100%;
}

/* Scrollbar styling (webkit) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--admin-border);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--admin-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--admin-border-hover);
}

/* ============================================================
   STAYFUSION GSAP / LENIS PREMIUM ANIMATION SYSTEM
   ============================================================ */

/* --- Lenis smooth scroll wrapper --- */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* --- Page Transition Overlay --- */
.sf-page-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #090d0c, #0f1c1a);
    z-index: 99999;
    transform-origin: bottom;
    transform: scaleY(0);
    pointer-events: none;
}

/* --- Will-change strategy for GPU layers --- */
.pms-mockup-frame,
.bento-card,
.public-room-card,
[data-tilt],
[data-magnetic] {
    will-change: transform;
    transform: translateZ(0);
}

/* --- Gradient text utilities --- */
.gradient-text-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 40%, var(--hotel-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-gold {
    background: linear-gradient(135deg, var(--hotel-gold), #f5d77f 60%, var(--hotel-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section title with animated underline reveal --- */
.sf-section-title {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.sf-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--hotel-gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sf-section-title.sf-title-visible::after {
    transform: scaleX(1);
}

/* --- Pill Badges --- */
.saas-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(196, 154, 60, 0.12);
    border: 1px solid rgba(196, 154, 60, 0.3);
    color: var(--hotel-gold-light);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sf-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sf-live-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* --- PMS Mockup Enhancements --- */
.pms-mockup-frame {
    background: #0f1c1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(196, 154, 60, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.pms-mockup-header {
    background: #0a1211;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    cursor: default;
}

.mac-dot.red {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.mac-dot.yellow {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.mac-dot.green {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.pms-mockup-body {
    padding: 24px;
    color: white;
}

.pms-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pms-stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(196, 154, 60, 0.3);
}

/* --- Bento Grid with Mouse Spotlight --- */
.bento-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    /* spotlight follows mouse via CSS vars --gx --gy */
    background-image: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
            rgba(196, 154, 60, 0.07) 0%,
            transparent 60%);
    transition:
        border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
            rgba(196, 154, 60, 0.06),
            transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    border-color: rgba(196, 154, 60, 0.35);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(196, 154, 60, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-span-8 {
    grid-column: span 8;
}

.bento-span-4 {
    grid-column: span 4;
}

.bento-span-6 {
    grid-column: span 6;
}

.bento-span-12 {
    grid-column: span 12;
}

@media (max-width: 992px) {

    .bento-span-8,
    .bento-span-4,
    .bento-span-6 {
        grid-column: span 12;
    }
}

/* --- Horizontal Marquee --- */
.sf-marquee {
    overflow: hidden;
    position: relative;
}

.sf-marquee::before,
.sf-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.sf-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #050807, transparent);
}

.sf-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, #050807, transparent);
}

.sf-marquee-inner {
    display: flex;
    width: max-content;
    gap: 64px;
    align-items: center;
}

.sf-marquee-item {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Magnetic Button Wrapper --- */
[data-magnetic] {
    display: inline-flex;
    position: relative;
    cursor: pointer;
}

/* --- Interactive Feature Tabs --- */
.saas-tabs-nav {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: fit-content;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}

.saas-tab-btn {
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.saas-tab-btn.active {
    background: linear-gradient(135deg, var(--hotel-gold), #e4b84e);
    color: #0f1c1a;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(196, 154, 60, 0.35);
}

.sf-tab-panel {
    display: none;
}

.sf-tab-panel.active {
    display: block;
}

/* --- Pricing Cards --- */
.pricing-card {
    background: white;
    border: 1px solid var(--hotel-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--hotel-gold);
    background: linear-gradient(180deg, #ffffff 0%, #fdfaf5 100%);
    box-shadow: 0 0 0 4px rgba(196, 154, 60, 0.08), var(--shadow-xl);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hotel-gold), #e4b84e, var(--hotel-gold));
}

/* --- Timeline --- */
.sf-timeline {
    position: relative;
    padding-left: 32px;
}

.sf-timeline-track {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(196, 154, 60, 0.15);
    border-radius: 1px;
}

.sf-timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--hotel-gold), var(--hotel-gold-light));
    border-radius: 1px;
    transform-origin: top;
}

.sf-timeline-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 48px;
}

.sf-timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--hotel-gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 60, 0.2);
}

/* --- Public Room Card improvements --- */
.public-room-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    border: 1px solid var(--hotel-border);
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-room-card:hover {
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(196, 154, 60, 0.2);
    border-color: rgba(196, 154, 60, 0.3);
}

.public-room-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.public-room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* GSAP handles scale via JS; remove CSS transition to avoid conflicts */
}

/* --- Gallery grid hover overlay --- */
.gallery-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 12, 0.85) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-grid-item:hover .gallery-overlay {
    opacity: 1;
}

/* --- Hero section classes --- */
.sf-hero-section {
    position: relative;
    overflow: hidden;
}

.sf-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    pointer-events: none;
}

/* Keyframe definitions */
@keyframes fadeInUpFast {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlowGold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(196, 154, 60, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(196, 154, 60, 0);
    }
}

.animate-pulse-gold {
    animation: pulseGlowGold 2.2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

/* --- GSAP reveal initial states handled by JS, 
       fallback for users with prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {

    .gsap-reveal,
    .gsap-from-left,
    .gsap-from-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================
   Booking and accessibility refinements
   ============================================================ */
body.hotel-body .sf-input,
body.customer-body .sf-input {
    background: #fff;
    border-color: #d9d4ca;
    color: var(--hotel-text);
}

/* Customer pages reuse the shared card and button components, but need the
   light hotel palette rather than the dark operational dashboard palette. */
body.customer-body .sf-card {
    background: var(--hotel-surface);
    border-color: var(--hotel-border);
    color: var(--hotel-text);
    box-shadow: var(--shadow-sm);
}

body.customer-body .sf-card:hover {
    border-color: #d5cec2;
    box-shadow: var(--shadow-md);
}

body.customer-body .sf-label {
    color: var(--hotel-text);
}

body.customer-body .sf-btn-secondary {
    background: #fff;
    border-color: var(--hotel-border);
    color: var(--hotel-text);
}

body.customer-body .sf-btn-secondary:hover {
    background: var(--hotel-accent-dim);
    border-color: var(--hotel-accent);
    color: var(--hotel-accent);
}

body.hotel-body .sf-input::placeholder,
body.customer-body .sf-input::placeholder {
    color: #8a857c;
}

body.hotel-body .sf-input:focus,
body.customer-body .sf-input:focus,
.btn-hotel-primary:focus-visible,
.btn-hotel-outline:focus-visible,
.sf-btn:focus-visible,
.pay-method-btn:focus-visible {
    outline: 3px solid rgba(42, 127, 111, 0.28);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--hotel-accent);
}

.pay-method-btn {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-hotel-primary:disabled,
.sf-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
    box-shadow: none;
}

@media (max-width: 576px) {
    .hotel-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hotel-section {
        padding: 44px 0;
    }

    .hotel-section-title {
        font-size: 29px;
    }

    .wizard-steps {
        gap: 4px;
    }

    .wizard-step {
        font-size: 10px;
        flex: 1;
    }

    .wizard-step .step-num {
        width: 28px;
        height: 28px;
        line-height: 28px;
    }

    .sf-card {
        padding: 18px;
    }

    .d-flex.gap-3 {
        align-items: stretch;
    }

    .d-flex.gap-3>.btn-hotel-primary,
    .d-flex.gap-3>.sf-btn {
        justify-content: center;
    }
}

/* ============================================================
   DARK THEME MODAL & CHECKBOX UI ELEVATION
   ============================================================ */
.form-check-input,
span.form-check-input,
label.form-check-label {
    background-color: transparent !important;
    border: none !important;
    color: var(--admin-text) !important;
    box-shadow: none !important;
}

.sf-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--admin-text);
    cursor: pointer;
    user-select: none;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
}

.sf-checkbox-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.sf-checkbox-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--hotel-accent);
    cursor: pointer;
    margin: 0;
}

/* Amenity Checklist Pill Chips */
.amenity-checklist {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.amenity-checklist span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 16px !important;
    border-radius: 20px !important;
    background: var(--admin-surface) !important;
    border: 1px solid var(--admin-border) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--admin-text) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.amenity-checklist span:hover {
    border-color: var(--hotel-accent) !important;
    background: var(--admin-surface-2) !important;
    color: #ffffff !important;
}

.amenity-checklist input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: var(--hotel-accent) !important;
    cursor: pointer !important;
    margin: 0 !important;
}

/* Custom File Upload Input in Dark Mode */
.sf-file-input {
    background: var(--admin-surface-2) !important;
    border: 1px dashed var(--admin-border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--admin-text) !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

.sf-file-input:hover {
    border-color: var(--hotel-accent) !important;
}