/* ==========================================================================
   Enterprise Egyptian SaaS Design System v3.0 — Golden Empire Edition
   Inspired by: Golden sands of Egypt, Nile deep blue, Papyrus gold,
   Terracotta warmth, and Pyramids grandeur — كل شيء ماشي يا باشا!
   ========================================================================== */

:root {
    /* Refined Professional 3-Color Scheme System:
       1. Dark Neutral (Text): #0F172A / #F8FAFC
       2. Soft Background: #0B142B (Dark Theme) / #F8FAFC (Soft Light)
       3. Accent Color: Premium Gold Accent #C9952E / High-Contrast Accent #2563EB
    */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --primary-glow-lg: rgba(37, 99, 235, 0.55);
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
    --accent-gold: #C9952E;
    --accent-gradient: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #60A5FA 100%);
    --success: #10B981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --success-light: rgba(16, 185, 129, 0.15);
    --warning: #F59E0B;
    --warning-light: rgba(245, 158, 11, 0.15);
    --danger: #EF4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --danger-light: rgba(239, 68, 68, 0.15);
    --bg-main: #0F172A;
    --bg-card: #1E293B;
    --bg-card-hover: #334155;
    --bg-elevated: rgba(30, 41, 59, 0.9);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(37, 99, 235, 0.35);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.3);
    --shadow-md: 0 12px 32px -4px rgba(0,0,0,0.4);
    --shadow-lg: 0 24px 64px -8px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 48px rgba(37, 99, 235, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="ltr"] body { direction: ltr; text-align: left; }

body, .frontend-body, .app-container {
    font-family: 'Cairo', 'Ubuntu', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #DFE9F3 0%, #FFFFFF 100%) !important;
    background-attachment: fixed !important;
    color: #0f172a;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Heading Typography — El Messiri Font */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .cta-title, .card-header h2,
.auth-brand-title, .auth-form-header h1, .rooms-hero-title {
    font-family: 'El Messiri', 'Cairo', sans-serif !important;
}

/* ===================== ENTERPRISE NAVBAR ===================== */
.navbar-enterprise {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 14px 0; transition: var(--transition);
}
.navbar-scrolled {
    background: rgba(7, 9, 19, 0.88);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
}
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; flex-shrink: 0; }
.nav-brand-icon {
    width: 32px; height: 32px; background: var(--primary-gradient);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 4px 15px var(--primary-glow);
}
.nav-brand-icon svg { width: 18px; height: 18px; }
.nav-brand-text {
    font-size: 1rem; font-weight: 800; letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-light) 50%, var(--text-main) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: shimmer 4s linear infinite;
}
.text-accent { color: var(--primary-light); }

.nav-links { display: flex; gap: 3px; list-style: none; align-items: center; }
.nav-link {
    color: rgba(255, 255, 255, 0.7); text-decoration: none;
    font-weight: 500; font-size: 0.8rem; transition: var(--transition);
    padding: 5px 13px; border-radius: 100px; background: transparent;
    letter-spacing: 0.01em; white-space: nowrap;
}
.nav-link:hover { color: var(--primary-light); background: rgba(201, 149, 46, 0.1); }
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #C9952E 0%, #E2B84D 50%, #C9952E 100%);
    box-shadow: 0 2px 20px rgba(201, 149, 46, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.nav-actions { display: flex; gap: 6px; align-items: center; }
.nav-actions .btn { padding: 7px 14px; font-size: 0.82rem; border-radius: 100px; font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* ===================== BUTTONS — High-Contrast CTA & 8pt Grid ===================== */
.btn {
    padding: 16px 32px; border-radius: var(--radius-md); border: none;
    font-weight: 800; font-size: 1rem; cursor: pointer; transition: var(--transition);
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
    gap: 12px; font-family: inherit; line-height: 1.25; letter-spacing: 0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF !important;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45), 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.6), 0 4px 16px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}
.btn-outline { background: transparent; border: 2px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-muted); border: none; }
.btn-ghost:hover { color: #FFFFFF; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 20px 40px; font-size: 1.125rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 24px 48px; font-size: 1.25rem; border-radius: var(--radius-xl); font-weight: 900; }
.btn-success { background: linear-gradient(135deg, #10B981 0%, #059669 100%); color: #fff !important; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
.btn-danger { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); color: #fff !important; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); }
.btn-warning { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); color: #fff !important; }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main) !important; border: 1px solid var(--border-color); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }

/* Vibrant High-Contrast Action Buttons & Badges (iOS Glass Edition) */
.btn-action-edit, a.btn-action-edit {
    background: #eff6ff !important;
    color: #2563eb !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border: 1px solid #bfdbfe !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}
.btn-action-edit:hover, a.btn-action-edit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.btn-action-delete, button.btn-action-delete {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border: 1px solid #fecaca !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}
.btn-action-delete:hover, button.btn-action-delete:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2) !important;
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.btn-action-view, a.btn-action-view {
    background: #ecfdf5 !important;
    color: #059669 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border: 1px solid #a7f3d0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}
.btn-action-view:hover, a.btn-action-view:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
    background: #d1fae5 !important;
    color: #047857 !important;
}

/* ===================== HERO SECTION — 8pt Grid & Typography Polish ===================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 132px 32px 84px; overflow: hidden;
}
.hero-bg-glow {
    position: absolute; top: -30%; left: -20%; right: -20%; height: 80%;
    background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.16) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-container { max-width: 1240px; width: 100%; text-align: center; position: relative; z-index: 2; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 48px; }
.hero-copy { flex: 1 1 54%; min-width: 0; text-align: start; }
.hero-copy .hero-subtitle { margin: 0 0 44px; max-width: 620px; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-copy .hero-badge { margin-bottom: 28px; }
.hero .quick-widget { flex: 1 1 46%; min-width: 0; margin: 0; max-width: none; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(37, 99, 235, 0.1); border: 1px solid var(--border-glow);
    color: var(--primary-light); padding: 9px 20px; border-radius: 64px;
    font-weight: 800; font-size: 0.85rem; margin-bottom: 28px; backdrop-filter: blur(8px);
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--success, #10b981);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: dot-pulse 1.8s ease-in-out infinite;
}
@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); transform: scale(1); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); transform: scale(1.12); }
}
.hero-title {
    font-size: 4.25rem; font-weight: 900; line-height: 1.18;
    margin-bottom: 28px; letter-spacing: -0.02em; color: var(--text-main);
}
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #93C5FD 100%);
    background-size: 200% 200%;
    animation: gradient-shift 6s ease-in-out infinite;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem; color: var(--text-muted); max-width: 800px;
    margin: 0 auto 44px; line-height: 1.8; font-weight: 400;
}
.hero-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Animated mini feature icons under hero actions */
.hero-mini-icons {
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    margin-top: 40px; padding-top: 28px;
    border-top: 1px solid var(--border-color);
}
.hero-mini-item {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text-muted); font-size: 0.86rem; font-weight: 700;
}
.hero-mini-icon {
    width: 40px; height: 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(37, 99, 235, 0.1); border: 1px solid var(--border-glow);
    color: var(--primary-light); flex-shrink: 0;
}
.hero-mini-item:nth-child(1) .hero-mini-icon { animation: icon-bob 2.4s ease-in-out infinite; }
.hero-mini-item:nth-child(2) .hero-mini-icon { animation: icon-bob 2.8s ease-in-out .2s infinite; }
.hero-mini-item:nth-child(3) .hero-mini-icon { animation: icon-bob 2.6s ease-in-out .4s infinite; }
.hero-mini-icon svg { width: 20px; height: 20px; stroke: var(--primary-light); fill: none; }
@keyframes icon-bob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.06); }
}

/* Enhanced floating icons */
.hero-float { position: absolute; pointer-events: none; opacity: 0.12; animation: float-slow 7s ease-in-out infinite; display: flex; align-items: center; justify-content: center; }
.hero-float svg { width: 48px; height: 48px; stroke: var(--primary-light); fill: none; }
.hero-float:nth-child(2) svg { width: 56px; height: 56px; }
.hero-float:nth-child(3) svg { width: 40px; height: 40px; }
.float-1 { top: 15%; right: 8%; animation-delay: 0s; opacity: 0.1; }
.float-2 { top: 55%; left: 5%; animation-delay: 2.5s; opacity: 0.08; }
.float-3 { bottom: 20%; right: 25%; animation-delay: 5s; opacity: 0.12; }
.float-4 { top: 30%; left: 15%; animation-delay: 1.5s; opacity: 0.06; }
.float-5 { bottom: 35%; right: 5%; animation-delay: 3.5s; opacity: 0.09; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float-slow { 0%, 100% { transform: translateY(0px) rotate(0deg); } 33% { transform: translateY(-15px) rotate(2deg); } 66% { transform: translateY(-8px) rotate(-1deg); } }
@keyframes bounce-gentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 20px rgba(201, 149, 46, 0.1); } 50% { box-shadow: 0 0 40px rgba(201, 149, 46, 0.25); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.section-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.section-reveal.revealed { opacity: 1; transform: translateY(0); }

/* ===================== TRUST BAR ===================== */
.trust-bar { padding: 40px 24px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.trust-container { max-width: 1100px; margin: 0 auto; text-align: center; }
.trust-label { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.trust-label strong { color: var(--text-main); }
.trust-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-logo-item { color: var(--text-dim); font-size: 1rem; font-weight: 700; opacity: 0.6; transition: var(--transition); letter-spacing: 0.5px; }
.trust-logo-item:hover { opacity: 1; color: var(--text-main); }

/* ===================== METRICS ===================== */
.metrics-section { padding: 60px 24px; }
.metrics-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: var(--transition); }
.metric-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.metric-icon { margin-bottom: 16px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.metric-card:hover .metric-icon { transform: scale(1.15); animation: bounce-gentle 1s ease-in-out infinite; }
.metric-card:hover .metric-icon svg { stroke: var(--primary); }
.metric-value { font-size: 2.5rem; font-weight: 900; color: var(--primary-light); line-height: 1.2; margin-bottom: 8px; }
.metric-unit { font-size: 1rem; font-weight: 700; color: var(--text-muted); margin-right: 4px; }
.metric-label { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }

/* ===================== SECTION HEADER ===================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; background: rgba(201, 149, 46, 0.1);
    border: 1px solid var(--border-glow); color: var(--primary-light);
    padding: 6px 16px; border-radius: 50px; font-weight: 700;
    font-size: 0.8rem; margin-bottom: 20px; text-transform: uppercase;
    letter-spacing: 1px; backdrop-filter: blur(4px);
}
.section-title { font-size: 2.8rem; font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===================== FEATURES GRID ===================== */
.features { padding: 100px 24px; max-width: 1280px; margin: 0 auto; position: relative; }
.features::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 149, 46, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 1; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 40px 32px;
    transition: var(--transition-slow); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--primary-gradient); background-size: 200% 200%;
    animation: gradient-shift 4s ease-in-out infinite;
    transform: scaleX(0); transform-origin: right; transition: var(--transition-slow);
}
.feature-card:hover { transform: translateY(-10px); border-color: rgba(201, 149, 46, 0.3); box-shadow: 0 20px 60px -15px rgba(201, 149, 46, 0.15); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: rgba(201, 149, 46, 0.1); color: var(--icon-color, var(--primary-light));
    display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: var(--transition); position: relative;
}
.feature-card-icon svg { width: 26px; height: 26px; transition: var(--transition); }
.feature-card:hover .feature-card-icon { background: rgba(201, 149, 46, 0.2); transform: scale(1.1); animation: glow-pulse 2s ease-in-out infinite; }
.feature-card:hover .feature-card-icon svg { animation: bounce-gentle 1s ease-in-out infinite; }
.feature-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.feature-link { color: var(--primary-light); text-decoration: none; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.feature-link:hover { gap: 12px; }

/* ===================== HOW IT WORKS — SMART FLOW ===================== */
.how-it-works {
    padding: 110px 24px;
    background: linear-gradient(180deg, #0B142B 0%, #0E1A3A 45%, #0B142B 100%);
    border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative; overflow: hidden;
}
.how-it-works::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
}
.how-it-works::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(37,99,235,.28), transparent 55%),
        radial-gradient(ellipse at 88% 82%, rgba(201,149,46,.2), transparent 55%),
        radial-gradient(ellipse at 60% 40%, rgba(139,92,246,.14), transparent 50%);
}
.steps-grid { position: relative; z-index: 2; max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 0; }
.step-card {
    flex: 1; position: relative; text-align: center;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px; padding: 46px 28px 38px;
    backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
    transition: all .45s cubic-bezier(.16,1,.3,1);
}
.step-card::before {
    content:''; position:absolute; inset:0; opacity:0; transition: opacity .45s ease; pointer-events:none;
    border-radius: 26px;
    background: radial-gradient(circle at 50% 0%, rgba(37,99,235,.18), transparent 65%);
}
.step-card::after {
    content:''; position:absolute; top:0; left:0; right:0; height:3px; pointer-events:none;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,.85), rgba(201,149,46,.7), transparent);
    opacity:0; transition: opacity .45s ease;
}
.step-card:hover { transform: translateY(-10px); border-color: rgba(59,130,246,.5); box-shadow: 0 30px 70px rgba(37,99,235,.28); }
.step-card:hover::before, .step-card:hover::after { opacity:1; }
.step-number {
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #fff; padding: 5px 16px; border-radius: 999px; font-size: .82rem; font-weight: 800;
    box-shadow: 0 6px 18px rgba(37,99,235,.45), inset 0 1px 0 rgba(255,255,255,.25);
    letter-spacing: .08em; z-index: 2;
}
.step-icon {
    width: 86px; height: 86px; margin: 0 auto 24px; border-radius: 26px;
    background: linear-gradient(160deg, rgba(37,99,235,.22), rgba(201,149,46,.14));
    border: 1px solid rgba(59,130,246,.3);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 32px rgba(37,99,235,.3), inset 0 1px 0 rgba(255,255,255,.15);
    transition: all .45s cubic-bezier(.16,1,.3,1);
}
.step-icon svg { width: 40px; height: 40px; transition: all .3s ease; }
.step-card:hover .step-icon { transform: translateY(-6px) scale(1.06); box-shadow: 0 18px 44px rgba(37,99,235,.45), inset 0 1px 0 rgba(255,255,255,.2); }
.step-card:hover .step-icon svg { stroke: #60A5FA; filter: drop-shadow(0 0 14px rgba(96,165,250,.7)); }
.step-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; color: #F8FAFC; }
.step-card p { color: #94A3B8; font-size: .95rem; line-height: 1.75; }

/* Connector: animated flow line + arrow badge */
.step-connector { flex-shrink: 0; width: 76px; height: 56px; position: relative; display: flex; align-items: center; justify-content: center; }
.connector-line { position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px; overflow: hidden;
    background: rgba(59,130,246,.18); }
.connector-line::after { content: ''; position: absolute; top: 0; left: -35%; width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, #60A5FA, #C9952E, transparent);
    animation: connectorFlow 2.2s linear infinite; }
.connector-arrow {
    position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(37,99,235,.5), inset 0 1px 0 rgba(255,255,255,.25);
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.connector-arrow svg { width: 18px; height: 18px; }
.step-card:hover + .step-connector .connector-arrow, .step-connector:hover .connector-arrow { transform: scale(1.15); }
@keyframes connectorFlow { 0% { left: -35%; } 100% { left: 110%; } }

/* RTL: flow direction is reversed */
html[dir="rtl"] .connector-arrow svg { transform: scaleX(-1); }
html[dir="rtl"] .connector-line::after { animation-direction: reverse; }
html[dir="rtl"] .step-card::after { background: linear-gradient(270deg, transparent, rgba(59,130,246,.85), rgba(201,149,46,.7), transparent); }

/* ===================== LIVE DESK ===================== */
.live-desk { padding: 100px 24px; max-width: 1280px; margin: 0 auto; }
.live-desk-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.live-desk-content .section-tag { margin-bottom: 16px; }
.live-desk-content .section-title { margin-bottom: 16px; }
.live-desk-content .section-desc { margin-bottom: 32px; }
.live-desk-list { list-style: none; margin-bottom: 36px; }
.live-desk-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 600; font-size: 1rem; }
.live-desk-list li svg { flex-shrink: 0; }
.desk-mockup { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.mockup-header { background: rgba(255,255,255,0.03); padding: 14px 20px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border-color); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-label { margin-right: auto; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px; }
.mockup-room { padding: 20px 14px; border-radius: var(--radius-md); text-align: center; transition: var(--transition); }
.mockup-room.available { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); }
.mockup-room.busy { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); }
.mockup-room.reserved { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); }
.room-status { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 6px; }
.mockup-room.available .room-status { color: var(--success); }
.mockup-room.busy .room-status { color: var(--danger); }
.mockup-room.reserved .room-status { color: var(--warning); }
.room-name { display: block; font-size: 0.85rem; font-weight: 700; }

/* ===================== TESTIMONIALS ===================== */
.testimonials {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(19, 31, 63, 0.4) 50%, var(--bg-main) 100%);
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); position: relative;
}
.testimonials::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(201, 149, 46, 0.04) 0%, transparent 60%); pointer-events: none; }
.testimonials-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 36px 28px; transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255,255,255,0.12); }
.testimonial-stars { color: #F59E0B; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-gradient); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { display: block; color: var(--text-muted); font-size: 0.8rem; }

/* ===================== PRICING ===================== */
.pricing { padding: 100px 24px; max-width: 1280px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 40px 28px; transition: var(--transition); position: relative; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-featured { border-color: var(--primary); box-shadow: 0 0 30px rgba(201, 149, 46, 0.15); background: linear-gradient(180deg, rgba(201, 149, 46, 0.08) 0%, var(--bg-card) 100%); transform: scale(1.05); z-index: 2; animation: glow-pulse 3s ease-in-out infinite; }
.pricing-featured:hover { transform: scale(1.05) translateY(-6px); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary-gradient); color: #fff; padding: 6px 20px; border-radius: 50px; font-weight: 800; font-size: 0.8rem; white-space: nowrap; }
.pricing-recommend { display: none; }
.pricing-featured .pricing-recommend { display: block; }
.pricing-header { margin-bottom: 24px; text-align: center; }
.pricing-header h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 6px; }
.pricing-header p { color: var(--text-muted); font-size: 0.9rem; }
.pricing-amount { text-align: center; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border-color); }
.price { font-size: 3rem; font-weight: 900; color: var(--primary-light); line-height: 1; }
.currency { display: block; color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; font-weight: 600; }
.pricing-features { list-style: none; margin-bottom: 32px; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 0.92rem; font-weight: 600; }
.pricing-features li svg { flex-shrink: 0; }
.pricing-btn { width: 100%; justify-content: center; text-align: center; }

/* ===================== FAQ ===================== */
.faq { padding: 100px 24px; max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(255,255,255,0.12); }
.faq-question { width: 100%; background: none; border: none; color: var(--text-main); font-family: inherit; font-size: 1rem; font-weight: 700; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: var(--transition); }
.faq-question:hover { color: var(--primary-light); }
.faq-arrow { transition: var(--transition); flex-shrink: 0; color: var(--text-muted); }
.faq-open .faq-arrow { transform: rotate(180deg); color: var(--primary-light); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); padding: 0 24px; }
.faq-open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

/* ===================== CTA SECTION ===================== */
.cta-section { padding: 100px 24px; position: relative; }
.cta-container { max-width: 800px; margin: 0 auto; text-align: center; position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 64px 40px; overflow: hidden; }
.cta-glow { position: absolute; top: -50%; left: -50%; right: -50%; height: 100%; background: radial-gradient(ellipse at center, rgba(201, 149, 46, 0.15) 0%, transparent 70%); background-size: 200% 200%; animation: gradient-shift 6s ease-in-out infinite; pointer-events: none; }
.cta-title { font-size: 2.6rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; position: relative; }
.cta-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; position: relative; }
.cta-note { color: var(--text-dim); font-size: 0.85rem; position: relative; }

/* ===================== FOOTER ENTERPRISE — CREATIVE REDESIGN ===================== */
.footer-enterprise.footer-v2 {
    background: #060A18;
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
    border-top: none;
}

/* Ambient glow blob */
.footer-v2-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 280px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.12) 0%, rgba(59,130,246,0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Top section: brand + links */
.footer-v2-top {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 40px 0;
    display: grid;
    grid-template-columns: 1.2fr 2.8fr;
    gap: 56px;
}

/* Brand block */
.footer-v2-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}
.footer-v2-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.2) 0%, rgba(59,130,246,0.08) 100%);
    border: 1px solid rgba(37,99,235,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: transform 0.3s, box-shadow 0.3s;
}
.footer-v2-logo:hover .footer-v2-logo-icon {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 0 24px rgba(37,99,235,0.3);
}
.footer-v2-logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    color: #F1F5F9;
    letter-spacing: -0.02em;
}
.footer-v2-logo-accent {
    background: linear-gradient(135deg, var(--primary-light), #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-v2-tagline {
    color: #64748B;
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 28px;
    max-width: 320px;
}

/* Social icons — pill style with glow on hover */
.footer-v2-socials {
    display: flex;
    gap: 10px;
}
.footer-v2-social {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.footer-v2-social:hover {
    color: #fff;
    background: rgba(37,99,235,0.2);
    border-color: rgba(37,99,235,0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}

/* Links grid — asymmetric 4-column */
.footer-v2-links {
    display: grid;
    grid-template-columns: 1fr 1fr 0.9fr 1.1fr;
    gap: 32px;
}

/* Column headings */
.footer-v2-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-v2-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
    transition: width 0.3s;
}
.footer-v2-col:hover .footer-v2-heading::after {
    width: 48px;
}

/* Link lists */
.footer-v2-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-v2-list li {
    margin-bottom: 8px;
}
.footer-v2-list li a {
    color: #64748B;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    position: relative;
    transition: color 0.25s, transform 0.25s;
}
.footer-v2-list li a::before {
    content: '';
    width: 0;
    height: 1.5px;
    background: var(--primary-light);
    border-radius: 1px;
    transition: width 0.3s;
    flex-shrink: 0;
}
.footer-v2-list li a:hover {
    color: #E2E8F0;
    transform: translateX(4px);
}
.footer-v2-list li a:hover::before {
    width: 12px;
}

/* Contact list */
.footer-v2-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-v2-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #94A3B8;
    font-size: 0.875rem;
    line-height: 1.5;
}
.footer-v2-contact-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-top: 1px;
}

/* Back-to-top ribbon */
.footer-v2-ribbon {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 0 40px;
    display: flex;
    justify-content: center;
}
.footer-v2-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.25);
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.footer-v2-top-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}
.footer-v2-top-btn:hover {
    background: rgba(37,99,235,0.25);
    border-color: rgba(37,99,235,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.footer-v2-top-btn:hover::before {
    opacity: 1;
}

/* Bottom bar */
.footer-v2-bottom {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px;
    margin-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-v2-bottom-left {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 0.82rem;
}
.footer-v2-rights {
    color: #475569;
}
.footer-v2-bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.82rem;
}
.footer-v2-bottom-right a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-v2-bottom-right a:hover {
    color: var(--primary-light);
}
.footer-v2-made {
    color: #475569;
}
.footer-v2-heart {
    color: #EF4444;
    font-size: 0.75rem;
    animation: heartbeat 2s ease-in-out infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.2); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    56% { transform: scale(1); }
}
.footer-v2-sep {
    opacity: 0.3;
    color: #475569;
}

/* ==========================================================================
   AUTH PAGES — Premium Egyptian Edition
   ========================================================================== */
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-main); overflow: auto; scroll-behavior: smooth; }
.auth-wrapper { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 100vh; width: 100%; }
.auth-brand { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px; overflow: hidden; }
.auth-brand-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 149, 46, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(201, 149, 46, 0.1) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease-in-out infinite;
    pointer-events: none;
}
.auth-brand::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}
.auth-brand-content { position: relative; z-index: 2; text-align: center; max-width: 340px; }
.auth-logo { width: 104px; height: 104px; background: var(--primary-gradient); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: #fff; margin: 0 auto 24px; box-shadow: 0 10px 34px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.auth-logo svg { width: 52px; height: 52px; }
.auth-brand-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.auth-brand-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 28px; }
.auth-brand-features { display: flex; flex-direction: column; gap: 10px; }
.auth-brand-feature { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); padding: 10px 14px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.auth-brand-feature svg { width: 16px; height: 16px; }
.auth-card-wrap { display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(ellipse at 30% 20%, rgba(201, 149, 46, 0.05) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(201, 149, 46, 0.03) 0%, transparent 50%); position: relative; }
.auth-card { width: 100%; max-width: 420px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-lg); }
.auth-form-container { width: 100%; }
.auth-form-header { text-align: center; margin-bottom: 24px; }
.auth-form-header h1 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.auth-form-header p { color: var(--text-muted); font-size: 0.88rem; }
.auth-alert { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.auth-alert svg { width: 18px; height: 18px; }
.auth-alert-error { background: var(--danger-bg); border: 1px solid rgba(239, 68, 68, 0.3); color: var(--danger); }
.auth-alert-success { background: var(--success-bg); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--success); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field-anim { animation: authFieldUp .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i,0) * 90ms); }
@keyframes authFieldUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.auth-field label { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: var(--text-main); }
.auth-field label svg { color: var(--primary-light); flex-shrink: 0; width: 16px; height: 16px; }
.auth-input { width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: #fff; font-family: inherit; font-size: 0.95rem; font-weight: 600; transition: var(--transition); outline: none; }
.auth-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15); background: rgba(255,255,255,0.05); }
.auth-input::placeholder { color: var(--text-dim); font-weight: 400; }
.auth-input-wrap { position: relative; }
.auth-pw-toggle { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; transition: var(--transition); }
.auth-pw-toggle:hover { color: #fff; }
.auth-form-row { display: flex; justify-content: space-between; align-items: center; }
.auth-checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; cursor: pointer; position: relative; padding-right: 28px; user-select: none; }
.auth-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.auth-checkbox-mark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border: 2px solid var(--border-color); border-radius: 4px; transition: var(--transition); }
.auth-checkbox input:checked ~ .auth-checkbox-mark { background: var(--primary); border-color: var(--primary); }
.auth-checkbox-mark::after { content: ''; position: absolute; display: none; left: 5px; top: 1px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.auth-checkbox input:checked ~ .auth-checkbox-mark::after { display: block; }
.auth-link { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.9rem; transition: var(--transition); }
.auth-link:hover { color: #E2B84D; text-decoration: underline; }
.auth-submit { width: 100%; justify-content: center; padding: 13px; font-size: 0.95rem; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%); box-shadow: 0 10px 28px var(--primary-glow); border: 1px solid rgba(255,255,255,.18); }
.auth-submit:hover { box-shadow: 0 14px 36px var(--primary-glow-lg); }
.auth-divider { text-align: center; margin: 18px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border-color); }
.auth-divider span { position: relative; z-index: 2; background: var(--bg-card); padding: 0 16px; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; }
.auth-social { display: flex; gap: 10px; margin-bottom: 18px; }
.auth-social-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-muted); font-family: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: var(--transition); }
.auth-social-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: #fff; }
.auth-footer-text { text-align: center; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-terms { font-size: 0.85rem !important; line-height: 1.6; }
.auth-forgot-icon { display: flex; justify-content: center; margin-bottom: 20px; color: var(--warning); }
.auth-forgot-icon svg { background: rgba(245, 158, 11, 0.1); padding: 16px; border-radius: 50%; border: 1px solid rgba(245, 158, 11, 0.2); }
@media (max-width: 1024px) { .auth-wrapper { grid-template-columns: 1fr 1fr; } .auth-brand { padding: 40px 24px; } .auth-brand-content { max-width: 280px; } }
@media (max-width: 820px) { .auth-wrapper { grid-template-columns: 1fr; } .auth-brand { display: none; } .auth-card-wrap { padding: 20px; } .auth-card { padding: 28px 24px; max-width: 440px; } }
@media (max-width: 480px) { .auth-row { grid-template-columns: 1fr; } .auth-card { padding: 20px 16px; max-width: 100%; } .auth-form-row { flex-direction: column; gap: 10px; align-items: flex-start; } }

/* ==========================================================================
   DASHBOARD — Control Panel Suite
   ========================================================================== */
.app-container { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px; background: var(--bg-card); border-left: 1px solid var(--border-color);
    padding: 16px 10px; flex-shrink: 0; position: fixed !important; top: 0 !important; bottom: 0 !important; height: 100vh !important; overflow-y: auto !important; z-index: 1000 !important;
    display: flex; flex-direction: column;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

html[dir="rtl"] .sidebar {
    right: 0 !important; left: auto !important; border-left: 1px solid var(--border-color) !important; border-right: none !important;
}

html[dir="ltr"] .sidebar {
    left: 0 !important; right: auto !important; border-right: 1px solid var(--border-color) !important; border-left: none !important;
}

.main-wrapper { flex: 1; display: flex; flex-direction: column; min-width: 0; transition: var(--transition); }

html[dir="rtl"] .main-wrapper {
    margin-right: 260px !important; margin-left: 0 !important;
}

html[dir="ltr"] .main-wrapper {
    margin-left: 260px !important; margin-right: 0 !important;
}

@media (max-width: 991px) {
    html[dir="rtl"] .sidebar { transform: translateX(100%); transition: transform 0.3s ease; }
    html[dir="ltr"] .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
    .sidebar.show { transform: translateX(0) !important; }
    html[dir="rtl"] .main-wrapper, html[dir="ltr"] .main-wrapper { margin-right: 0 !important; margin-left: 0 !important; }
}

.navbar { background: var(--bg-card); border-bottom: 1px solid var(--border-color); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.role-badge { background: rgba(201, 149, 46, 0.1); color: var(--primary-light); padding: 4px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.content {
    flex: 1;
    padding: 24px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin: 0;
}

.content .card-header h2,
.content h1, .content h2, .content h3, .content h4 {
    color: #0f172a !important;
    text-shadow: none !important;
    font-weight: 900 !important;
}

.content label, .content .form-label {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.footer { background: var(--bg-card); border-top: 1px solid var(--border-color); padding: 16px 24px; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.85rem; }
.footer-link { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-link:hover { color: var(--primary-light); }
.footer-sep { color: var(--text-dim); margin: 0 8px; opacity: 0.4; }

/* ===================== DASHBOARD UI COMPONENTS ===================== */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 18px !important;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
    transition: var(--transition);
    border-right: 4px solid var(--primary) !important;
    backdrop-filter: blur(25px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(190%) !important;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25); border-color: rgba(255, 255, 255, 0.65) !important; }
.stat-card.card-blue { border-right-color: var(--primary) !important; }
.stat-card.card-green { border-right-color: var(--success) !important; }
.stat-card.card-purple { border-right-color: #8B5CF6 !important; }
.stat-card.card-amber { border-right-color: var(--warning) !important; }
.stat-card.card-danger { border-right-color: var(--danger) !important; }
.stat-info h3 { font-size: 1.75rem; font-weight: 900; line-height: 1.2; margin-bottom: 4px; color: #ffffff !important; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.stat-info p { color: #f8fafc !important; font-size: 0.88rem; font-weight: 700; }
.stat-icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }

.card {
    background: rgba(255, 255, 255, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 20px !important;
    padding: 28px;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2), inset 0 1px 2px 0 rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 28px;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
}
.card:hover { border-color: rgba(255, 255, 255, 0.7) !important; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 15px; }
.card-header h2 { font-size: 1.4rem; font-weight: 900; color: #ffffff !important; text-shadow: 0 2px 8px rgba(0,0,0,0.4); display: flex; align-items: center; gap: 10px; }
.card-body { margin-top: 15px; }

.form-control, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], select, textarea {
    padding: 11px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.85) !important; color: #0f172a !important; font-size: 0.92rem;
    font-weight: 700 !important; font-family: inherit; outline: none; transition: all 0.25s ease; width: 100%;
    backdrop-filter: blur(16px) !important; -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}
.form-control::placeholder, input::placeholder, textarea::placeholder {
    color: #64748b !important; font-weight: 600 !important;
}
.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 4px 12px rgba(37, 99, 235, 0.15) !important;
    background: #ffffff !important;
    color: #0f172a !important;
}
.form-group { margin-bottom: 18px; }
.form-label, label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.92rem; color: #f8fafc; }

/* ===================== TABLES — Clean Professional Edition ===================== */
.table-responsive, div[style*="overflow-x: auto"] {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
    margin-top: 16px !important;
}

.table, .data-table, table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    text-align: right !important;
    background: transparent !important;
}

.table th, .data-table th, table th {
    background: #f8fafc !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
}

.table th a, .data-table th a, table th a, th .sort-link {
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}
.table th a:hover, .data-table th a:hover, table th a:hover, th .sort-link:hover {
    color: #2563eb !important;
}

.table td, .data-table td, table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.875rem !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
    background: transparent !important;
    line-height: 1.5 !important;
}

.table tbody tr:nth-child(even), .data-table tbody tr:nth-child(even), table tbody tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.table tbody tr:hover, .data-table tbody tr:hover, table tbody tr:hover {
    background-color: #eff6ff !important;
    backdrop-filter: none !important;
    transition: background-color 0.15s ease !important;
}

.table tbody tr:last-child td, table tbody tr:last-child td {
    border-bottom: none !important;
}

.table tbody tr, table tbody tr {
    transition: background-color 0.15s ease !important;
}

.status-tag, .badge { padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.status-approved, .badge-success, .status-active { background: rgba(16, 185, 129, 0.15) !important; color: #047857 !important; border: 1px solid rgba(16, 185, 129, 0.3) !important; }
.status-pending, .status-auto_hold, .badge-warning { background: rgba(245, 158, 11, 0.15) !important; color: #b45309 !important; border: 1px solid rgba(245, 158, 11, 0.3) !important; }
.status-rejected, .status-cancelled, .badge-danger, .status-suspended { background: rgba(239, 68, 68, 0.15) !important; color: #b91c1c !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; }

/* ===================== ROOMS ===================== */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 18px; }

/* ===================== ADMIN TABLE ===================== */
.admin-table-wrap { overflow-x: auto; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; margin-top: 16px; }
.admin-table { width: 100%; border-collapse: collapse; table-layout: auto; text-align: right; background: transparent; }
.admin-table th { background: #f1f5f9 !important; color: #475569 !important; font-weight: 700 !important; font-size: 0.75rem !important; padding: 10px 14px !important; border-bottom: 2px solid #e2e8f0 !important; letter-spacing: 0.04em !important; text-transform: uppercase !important; white-space: nowrap !important; text-align: right !important; }
.admin-table td { padding: 10px 14px !important; border-bottom: 1px solid #f1f5f9 !important; font-size: 0.84rem !important; color: #1e293b !important; font-weight: 500 !important; vertical-align: middle !important; background: transparent !important; line-height: 1.4 !important; }
.admin-table tbody tr { transition: background-color 0.15s ease !important; }
.admin-table tbody tr:nth-child(even) { background-color: #fafbfc !important; }
.admin-table tbody tr:hover { background-color: #f0f7ff !important; }
.admin-table tbody tr:last-child td { border-bottom: none !important; }
.admin-empty { padding: 3rem 1rem !important; text-align: center !important; color: #94a3b8 !important; font-weight: 500 !important; }
.admin-table .col-name { font-weight: 600; color: #0f172a; min-width: 140px; }
.admin-table .col-type { min-width: 100px; }
.admin-table .col-capacity { text-align: center; min-width: 60px; }
.admin-table .col-prices { min-width: 200px; }
.admin-table .col-date { min-width: 100px; }
.admin-table .col-status { text-align: center; min-width: 80px; }
.admin-table .col-actions { text-align: center; min-width: 140px; }
.admin-table .col-code { min-width: 110px; }
.admin-table .col-user { min-width: 120px; }
.admin-table .col-datetime { min-width: 150px; }
.admin-table .col-price { min-width: 90px; }
.admin-table .col-payment { min-width: 100px; }
.date-main { font-weight: 500; color: #334155; font-size: 0.83rem; }
.date-sub { font-size: 0.73rem; color: #94a3b8; margin-top: 1px; }
.status-badge { padding: 4px 10px; border-radius: 6px; font-size: 0.76rem; font-weight: 600; display: inline-block; white-space: nowrap; }
.status-available { background: #ecfdf5; color: #059669; }
.status-occupied { background: #fef2f2; color: #dc2626; }
.status-maintenance { background: #fefce8; color: #ca8a04; }
.actions-cell { display: flex; gap: 5px; align-items: center; justify-content: center; flex-wrap: nowrap; }
.admin-table .btn-action-view, .admin-table .btn-action-edit, .admin-table .btn-action-delete { padding: 3px 8px !important; font-size: 0.72rem !important; gap: 3px !important; border-radius: 5px !important; }
.admin-table .btn-sm { padding: 5px 10px !important; font-size: 0.76rem !important; border-radius: 6px !important; font-weight: 600 !important; text-decoration: none !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; cursor: pointer !important; white-space: nowrap !important; border: 1px solid transparent !important; transition: all 0.15s ease !important; }
.admin-table .btn-sm:hover { transform: translateY(-1px) !important; }
.admin-table .btn-sm-approve { background: #ecfdf5 !important; color: #059669 !important; border-color: #a7f3d0 !important; }
.admin-table .btn-sm-approve:hover { background: #d1fae5 !important; box-shadow: 0 2px 8px rgba(16,185,129,0.2) !important; }
.admin-table .btn-sm-pay { background: #eff6ff !important; color: #2563eb !important; border-color: #bfdbfe !important; }
.admin-table .btn-sm-pay:hover { background: #dbeafe !important; box-shadow: 0 2px 8px rgba(37,99,235,0.2) !important; }
.admin-table .btn-sm-cancel { background: #fef2f2 !important; color: #dc2626 !important; border-color: #fecaca !important; }
.admin-table .btn-sm-cancel:hover { background: #fee2e2 !important; box-shadow: 0 2px 8px rgba(239,68,68,0.2) !important; }
.code-badge { font-family: monospace; font-size: 0.88rem; font-weight: 700; color: #C9952E; background: rgba(201,149,46,0.08); padding: 2px 8px; border-radius: 4px; display: inline-block; }
.price-value { font-weight: 700; color: #059669; font-size: 0.95rem; }
.price-label { font-size: 0.68rem; color: #94a3b8; display: block; margin-top: 1px; }
.datetime-start { display: flex; align-items: center; gap: 5px; font-size: 0.83rem; }
.datetime-start .dot { font-size: 0.6rem; }
.datetime-end { display: flex; align-items: center; gap: 5px; font-size: 0.83rem; color: #64748b; }
.datetime-end .dot { font-size: 0.6rem; }
.receipt-link { font-size: 0.76rem; color: #C9952E; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; text-decoration: none; }
.receipt-link:hover { text-decoration: underline; }
.room-type-badge { padding: 3px 10px; border-radius: 6px; font-size: 0.76rem; font-weight: 600; display: inline-block; white-space: nowrap; }
.price-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.price-tag { padding: 2px 8px; border-radius: 4px; font-size: 0.73rem; font-weight: 600; white-space: nowrap; }
.price-hourly { background: #eff6ff; color: #2563eb; }
.price-daily { background: #ecfdf5; color: #059669; }
.price-monthly { background: #f5f3ff; color: #7c3aed; }
.price-yearly { background: #fefce8; color: #ca8a04; }
@media (max-width: 900px) { .admin-table .col-prices, .admin-table .col-date, .admin-table .col-payment, .admin-table .col-datetime { display: none; } .admin-table th, .admin-table td { padding: 8px 10px; } }
.room-card { border: 2px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg-card); }
.room-card.available { border-color: var(--success); background: rgba(16, 185, 129, 0.04); }
.room-card.occupied { border-color: var(--danger); background: rgba(239, 68, 68, 0.04); opacity: 0.85; }
.room-card.reserved { border-color: var(--warning); background: rgba(245, 158, 11, 0.04); }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---- Hero Section (Navy & Gold — shared across rooms pages) ---- */
.rooms-page { padding: 34px 0 70px; background: linear-gradient(135deg, #DFE9F3 0%, #FFFFFF 100%) !important; background-attachment: fixed !important; color: #0f172a !important; min-height: 85vh; }
.rooms-hero { position: relative; overflow: hidden; max-width: 1320px; margin: 0 auto 34px; padding: 52px 34px 40px; border-radius: 28px; background: linear-gradient(135deg, #0a1128 0%, #0f1d3d 50%, #172a54 100%) !important; border: 1px solid rgba(201, 149, 46, 0.4) !important; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25) !important; color: #ffffff !important; }
.rooms-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.rooms-hero-glow { position: absolute; top: -120px; inset-inline-end: -60px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 149, 46, 0.4), transparent 65%); filter: blur(10px); pointer-events: none; }
.rooms-breadcrumb { position: relative; top: 20px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 800; color: rgba(255, 255, 255, 0.7); margin-bottom: 22px; }
.rooms-breadcrumb a { color: #f5c563 !important; text-decoration: none; transition: color .2s; }
.rooms-breadcrumb a:hover { color: #ffffff !important; }
.bc-sep { opacity: .7; color: #cbd5e1; }
.bc-current { color: #ffffff !important; }
.rooms-hero-head { position: relative; z-index: 2; text-align: center; }
.rooms-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 20px; border-radius: 999px; background: linear-gradient(135deg, rgba(201, 149, 46, 0.25), rgba(179, 128, 32, 0.25)) !important; border: 1px solid #f5c563 !important; color: #f5c563 !important; font-weight: 900; font-size: .85rem; letter-spacing: .03em; margin-bottom: 16px; box-shadow: 0 4px 14px rgba(201, 149, 46, 0.3); }
.rooms-hero-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.25; margin-bottom: 12px; color: #ffffff !important; }
.gradient-text { background: linear-gradient(135deg, #f5c563 0%, #d4a843 100%) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.rooms-hero-desc { max-width: 640px; margin: 0 auto; color: #e2e8f0 !important; font-size: 1.02rem; line-height: 1.8; font-weight: 600; }
.rooms-hero-stats { position: relative; z-index: 2; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-stat { display: flex; align-items: center; gap: 12px; background: #0f1d3d !important; border: 1.5px solid #2d4373 !important; color: #ffffff !important; padding: 14px 22px; border-radius: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); min-width: 160px; justify-content: center; }
.hero-stat-icon { font-size: 1.5rem; }
.hero-stat b { display: block; font-size: 1.4rem; font-weight: 900; line-height: 1; color: #f5c563 !important; }
.hero-stat small { display: block; color: #cbd5e1 !important; font-size: .75rem; font-weight: 700; margin-top: 4px; }
.hero-stat--glass { background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; backdrop-filter: blur(10px); padding: 10px 18px; border-radius: 14px; }
.hero-stat--glass .hero-stat-icon { font-size: 1.3rem; }
.hero-stat--glass b { font-size: 1.1rem; color: #ffffff !important; }
.hero-stat--glass small { font-size: 0.8rem; font-weight: 600; }

.rooms-alert { max-width: 1200px; margin: 24px auto -24px; padding: 14px 20px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; position: relative; z-index: 2; animation: alertSlide 0.35s ease; }
@keyframes alertSlide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.rooms-alert-success { background: rgba(16, 185, 129, 0.12); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.25); }
.rooms-alert-error { background: rgba(239, 68, 68, 0.12); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.25); }
.rooms-section { padding: 60px 24px 80px; background: var(--bg-main); }
.rooms-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.rooms-filter { margin-bottom: 40px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px 24px; }
.filter-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-group label { color: var(--text-muted); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.filter-select { padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: var(--bg-main); color: var(--text-main); font-size: 0.92rem; font-family: inherit; min-width: 220px; outline: none; cursor: pointer; transition: var(--transition); -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; padding-left: 36px; }
.filter-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 149, 46, 0.2); }
.rooms-empty { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.rooms-empty svg { opacity: 0.2; margin-bottom: 20px; }
.rooms-empty h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; color: var(--text-main); }
.rooms-empty p { font-size: 0.95rem; }
.rooms-container .rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.rooms-container .room-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; position: relative; }
.rooms-container .room-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary-gradient); opacity: 0; transition: var(--transition); }
.rooms-container .room-card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.rooms-container .room-card:hover::before { opacity: 1; }
.rooms-container .room-card-header { padding: 24px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.rooms-container .room-type-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(201, 149, 46, 0.08); border-radius: var(--radius-md); font-size: 1.4rem; }
.rooms-container .room-type-badge { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3px; }
.rooms-container .room-type-badge[data-type="meeting"] { background: rgba(201, 149, 46, 0.12); color: var(--primary-light); }
.rooms-container .room-type-badge[data-type="private_office"] { background: rgba(139, 92, 246, 0.12); color: #A78BFA; }
.rooms-container .room-type-badge[data-type="coworking_desk"] { background: rgba(16, 185, 129, 0.12); color: #34D399; }
.rooms-container .room-type-badge[data-type="event_hall"] { background: rgba(245, 158, 11, 0.12); color: #FBBF24; }
.rooms-container .room-card-body { padding: 20px 24px; flex: 1; }
.rooms-container .room-name { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; color: var(--text-main); }
.rooms-container .room-office { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.rooms-container .room-meta { display: flex; flex-direction: column; gap: 10px; }
.rooms-container .room-meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.rooms-container .room-meta-item svg { flex-shrink: 0; opacity: 0.5; width: 16px; height: 16px; }
.rooms-container .status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rooms-container .status-available { background: var(--success); box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
.rooms-container .status-occupied { background: var(--danger); }
.rooms-container .status-maintenance { background: var(--warning); }
.rooms-container .room-card-footer { padding: 16px 24px; border-top: 1px solid var(--border-color); background: rgba(0,0,0,0.15); }
.rooms-container .room-book-btn { width: 100%; justify-content: center; gap: 8px; padding: 12px 24px; font-size: 0.92rem; }

/* Booking Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-container { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; animation: modalIn 0.25s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 0; }
.modal-header h2 { font-size: 1.35rem; font-weight: 800; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; padding: 0 4px; line-height: 1; transition: var(--transition); }
.modal-close:hover { color: var(--text-main); }
.modal-body { padding: 24px 28px 28px; }
.modal-room-info { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.modal-room-info h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.modal-room-info p { color: var(--text-muted); font-size: 0.9rem; }
.modal-price { margin-top: 8px; font-weight: 700; color: var(--primary) !important; font-size: 1.05rem !important; }
.modal-form-row { margin-bottom: 16px; }
.modal-time-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-field { margin-bottom: 16px; }
.modal-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.88rem; color: var(--text-muted); }
.modal-input { width: 100%; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: var(--bg-main); color: var(--text-main); font-size: 0.92rem; font-family: inherit; outline: none; transition: var(--transition); }
.modal-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 149, 46, 0.2); }
.modal-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--border-color); margin-bottom: 16px; }
.modal-total span:last-child { color: var(--primary); }
.modal-submit { width: 100%; justify-content: center; }
@media (max-width: 768px) { .rooms-hero { padding: 36px 20px 28px; } .rooms-hero-title { font-size: 1.6rem; } .rooms-hero-badge { font-size: .78rem; padding: 6px 16px; } .rooms-hero-stats { gap: 10px; } .hero-stat, .hero-stat--glass { min-width: 130px; padding: 10px 16px; } .rooms-container .rooms-grid { grid-template-columns: 1fr; } .modal-time-row { grid-template-columns: 1fr; } .filter-group { flex-direction: column; align-items: stretch; } .filter-select { min-width: unset; } }

/* ==========================================================================
   FRONTEND LIGHT THEME — Egyptian Sand & Gold Edition
   ========================================================================== */
.frontend-body {
    --bg-main: #F5F0E8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8F6F0;
    --bg-elevated: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(201, 149, 46, 0.25);
    --text-main: #1A202C;
    --text-muted: #5A4A3A;
    --text-dim: #8B7355;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 30px -5px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px -10px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(201, 149, 46, 0.15);
    background: linear-gradient(180deg, #F5F0E8 0%, #E8DEC9 100%);
}
.frontend-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #F5F0E8 0%, #E8DEC9 100%);
    pointer-events: none;
}
.frontend-body .text-accent { color: var(--primary); }
.frontend-body .navbar-enterprise {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(255, 255, 255, 0.25), 0 4px 24px rgba(0, 0, 0, 0.05);
}
.frontend-body .navbar-enterprise.navbar-scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.28) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.3), 0 12px 40px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.75);
}
.frontend-body .nav-link { color: rgba(0, 0, 0, 0.55); font-weight: 600; }
.frontend-body .nav-link:hover { color: var(--primary-dark); background: rgba(201, 149, 46, 0.08); }
.frontend-body .nav-link.active { color: #fff; background: linear-gradient(135deg, #C9952E 0%, #E2B84D 50%, #C9952E 100%); box-shadow: 0 2px 20px rgba(201, 149, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.frontend-body .nav-toggle span { background: #1A202C; }
.frontend-body .btn-ghost { color: var(--text-main); background: transparent; border: 1px solid transparent; }
.frontend-body .btn-ghost:hover { background: rgba(201, 149, 46, 0.08); border-color: rgba(201, 149, 46, 0.2); color: var(--primary); }
.frontend-body .btn-outline { color: var(--text-main); border-color: rgba(0, 0, 0, 0.15); background: transparent; }
.frontend-body .btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(201, 149, 46, 0.06); }

/* Frontend Hero */
.frontend-body .hero { background: transparent; min-height: 88vh; padding: 132px 32px 80px; }
.frontend-body .hero-bg-glow { background: radial-gradient(ellipse at 30% 50%, rgba(201, 149, 46, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(201, 149, 46, 0.05) 0%, transparent 60%); top: -10%; }
.frontend-body .hero::after { display: none; }
.frontend-body .hero-grid-bg { background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px); opacity: 0.4; }
.frontend-body .hero-badge { background: rgba(201, 149, 46, 0.08); border-color: rgba(201, 149, 46, 0.2); color: var(--primary-dark); }
.frontend-body .hero-title { color: var(--text-main); }
.frontend-body .hero-title .gradient-text { background-image: linear-gradient(135deg, #C9952E 0%, #B8860B 50%, #8B6914 100%); background-size: 200% 200%; }
.frontend-body .hero-subtitle { color: var(--text-muted); }
.frontend-body .hero-float svg { stroke: #C9952E; opacity: 0.5; }

/* Frontend Trust Bar */
.frontend-body .trust-bar { background: rgba(255, 255, 255, 0.4); border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .trust-label { color: var(--text-muted); }
.frontend-body .trust-label strong { color: var(--text-main); }

/* Frontend Metrics */
.frontend-body .metrics-section { background: transparent; }
.frontend-body .metric-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-sm); }
.frontend-body .metric-card:hover { background: rgba(255, 255, 255, 0.9); }
.frontend-body .metric-value { color: var(--primary); }

/* Frontend Sections */
.frontend-body .section-tag { background: rgba(201, 149, 46, 0.08); border-color: rgba(201, 149, 46, 0.2); color: var(--primary-dark); }
.frontend-body .section-title { color: var(--text-main); }
.frontend-body .section-desc { color: var(--text-muted); }

/* ============================================================
   PREMIUM SECTION BACKGROUND SYSTEM — alternate light/dark bands
   ============================================================ */
.frontend-body .trust-bar { background: linear-gradient(180deg, rgba(224, 234, 249, 0.35) 0%, rgba(255, 255, 255, 0) 100%); border-color: rgba(37, 99, 235, 0.08); }
.frontend-body .metrics-section {
    background:
        radial-gradient(ellipse at 15% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(201, 149, 46, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F3F7FF 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.frontend-body .public-rooms {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #FFFFFF, #F3F7FF);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 100%;
}
.frontend-body .modules-section {
    padding: 110px 24px;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(37, 99, 235, 0.24) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 85%, rgba(201, 149, 46, 0.16) 0%, transparent 55%),
        linear-gradient(160deg, #0B142B 0%, #101C3E 55%, #0B142B 100%);
    max-width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}
.frontend-body .modules-section::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 15%, transparent 75%);
    pointer-events: none;
}
.frontend-body .modules-section.dockable { overflow: hidden; }
.frontend-body .modules-section .section-tag {
    background: linear-gradient(135deg, rgba(201, 149, 46, 0.18), rgba(37, 99, 235, 0.2));
    border-color: rgba(201, 149, 46, 0.35); color: #FCD34D;
}
.frontend-body .modules-section .section-title { color: #F8FAFC; }
.frontend-body .modules-section .section-desc { color: #B6C2D9; }
.frontend-body .module-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.frontend-body .module-card:hover { border-color: rgba(201, 149, 46, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.frontend-body .module-card h3 { color: #F8FAFC; }
.frontend-body .module-card p { color: #94A3B8; }
.frontend-body .amenities-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #EFF4FF 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 100%;
}
.frontend-body .trust-strip-wrap { max-width: 100%; }
.frontend-body .cta-section {
    padding: 110px 24px;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(201, 149, 46, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(37, 99, 235, 0.24) 0%, transparent 55%),
        linear-gradient(160deg, #0B142B 0%, #101C3E 55%, #0B142B 100%);
    max-width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.frontend-body .cta-section .cta-title, .frontend-body .cta-section .cta-title .gradient-text { color: #F8FAFC; -webkit-text-fill-color: #F8FAFC; }
.frontend-body .cta-section .cta-desc { color: #B6C2D9; }
.frontend-body .cta-section .cta-note { color: #94A3B8; }
.frontend-body .cta-section .cta-container { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.frontend-body .newsletter-section {
    background: linear-gradient(180deg, #F3F7FF 0%, #FFFFFF 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 100%;
}

/* Section dividers / affordances */
.frontend-body .features,
.frontend-body .live-desk,
.frontend-body .pricing,
.frontend-body .testimonials { position: relative; max-width: 100%; }
.frontend-body .features {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F6F8FF 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.frontend-body .features::before { display: none; }
.features-divider { border-top: 2px solid transparent; }

/* ============================================================
   EFFECTS & MICRO-ANIMATION POLISH
   ============================================================ */
.frontend-body .section-title {
    letter-spacing: -0.01em;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.frontend-body .section-header { margin-bottom: 56px; }

/* Card lift + sheen sweep */
.frontend-body .feature-card, .frontend-body .pricing-card, .frontend-body .testimonial-card, .frontend-body .module-card, .frontend-body .public-room, .frontend-body .metric-card {
    position: relative; overflow: hidden;
}
.frontend-body .feature-card::after, .frontend-body .pricing-card::after, .frontend-body .module-card::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg); transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none;
}
.frontend-body .feature-card:hover::after, .frontend-body .pricing-card:hover::after, .frontend-body .module-card:hover::after { left: 150%; }
.frontend-body .feature-card:hover, .frontend-body .pricing-card:hover, .frontend-body .testimonial-card:hover, .frontend-body .module-card:hover, .frontend-body .public-room:hover, .frontend-body .metric-card:hover {
    transform: translateY(-8px);
}
.frontend-body .metric-card .metric-icon svg { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.frontend-body .metric-card:hover .metric-icon { transform: translateY(0); }

/* Button shine */
.frontend-body .btn-primary { position: relative; overflow: hidden; }
.frontend-body .btn-primary::after {
    content: ''; position: absolute; top: 0; left: -130%; width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg); animation: btn-shine 3.2s ease-in-out infinite; pointer-events: none;
}
@keyframes btn-shine { 0%, 60% { left: -130%; } 100% { left: 130%; } }
.frontend-body .amenity-chip, .frontend-body .category-chip { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease; }
.frontend-body .amenity-chip:hover, .frontend-body .category-chip:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.9); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12); }

/* Live status pulse */
.frontend-body .live-desk {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F3F7FF 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 100%;
}
.frontend-body .pricing {
    background:
        radial-gradient(ellipse at 80% 15%, rgba(201, 149, 46, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F3F7FF 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 100%;
}

/* ============================================================
   TYPOGRAPHY POLISH
   ============================================================ */
.frontend-body .section-title { text-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.frontend-body .section-tag { letter-spacing: 0.06em; text-transform: uppercase; }
.frontend-body .feature-card h3, .frontend-body .pricing-header h3, .frontend-body .module-card h3 { letter-spacing: -0.01em; }
.frontend-body .section-desc { font-size: 1.08rem; line-height: 1.8; }
html[dir="ltr"] .frontend-body .section-title { letter-spacing: -0.02em; }
html[dir="ltr"] .frontend-body .section-tag { letter-spacing: 0.1em; }
.frontend-body .feature-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-sm); }
.frontend-body .feature-card:hover { background: rgba(255, 255, 255, 0.9); border-color: rgba(201, 149, 46, 0.3); }
.frontend-body .feature-card h3 { color: var(--text-main); }
.frontend-body .feature-card p { color: var(--text-muted); }
.frontend-body .feature-card-icon { background: rgba(201, 149, 46, 0.08); color: var(--primary); }
.frontend-body .feature-card:hover .feature-card-icon { background: rgba(201, 149, 46, 0.15); }
.frontend-body .how-it-works { background: linear-gradient(180deg, #0B142B 0%, #0E1A3A 45%, #0B142B 100%); border-color: rgba(255,255,255,.06); }
.frontend-body .how-it-works::before { display: block; }
.frontend-body .how-it-works .section-tag {
    background: linear-gradient(135deg, rgba(201,149,46,.18), rgba(37,99,235,.18));
    border-color: rgba(201,149,46,.35);
    color: #FCD34D;
}
.frontend-body .how-it-works .section-title { color: #F8FAFC; }
.frontend-body .how-it-works .section-desc { color: #B6C2D9; }
.frontend-body .step-card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.frontend-body .step-card:hover { border-color: rgba(59,130,246,.5); }
.frontend-body .step-card h3 { color: #F8FAFC; }
.frontend-body .step-card p { color: #94A3B8; }
.frontend-body .step-icon svg { stroke: #93C5FD; }
.frontend-body .live-desk { background: transparent; }
.frontend-body .testimonials { background: rgba(255, 255, 255, 0.3); border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .testimonials::before { display: none; }
.frontend-body .testimonial-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-sm); }
.frontend-body .testimonial-card:hover { border-color: rgba(0, 0, 0, 0.12); }
.frontend-body .testimonial-text { color: var(--text-muted); }
.frontend-body .testimonial-author strong { color: var(--text-main); }
.frontend-body .testimonial-author span { color: var(--text-dim); }
.frontend-body .pricing { background: transparent; }
.frontend-body .pricing-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-sm); }
.frontend-body .pricing-card:hover { box-shadow: var(--shadow-md); }
.frontend-body .pricing-card .price { color: var(--primary); }
.frontend-body .pricing-featured { background: linear-gradient(180deg, rgba(201, 149, 46, 0.06) 0%, rgba(255, 255, 255, 0.6) 100%); border-color: var(--primary); box-shadow: 0 0 30px rgba(201, 149, 46, 0.12); }
.frontend-body .pricing-header h3 { color: var(--text-main); }
.frontend-body .pricing-header p { color: var(--text-muted); }
.frontend-body .pricing-features li { color: var(--text-muted); }
.frontend-body .pricing-features li svg { color: var(--success); }
.frontend-body .faq {
    background:
        radial-gradient(ellipse at 12% 0%, rgba(201, 149, 46, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 88% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
        rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    max-width: none;
    margin: 0;
    padding: 100px 24px;
}
.frontend-body .faq .faq-list { max-width: 800px; margin-inline: auto; }
.frontend-body .faq-item { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-sm); }
.frontend-body .faq-item:hover { border-color: rgba(201, 149, 46, 0.4); box-shadow: var(--shadow-md); }
.frontend-body .faq-question { color: var(--text-main); }
.frontend-body .faq-answer p { color: var(--text-muted); }
.frontend-body .cta-section { background: transparent; }
.frontend-body .cta-container { background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%); backdrop-filter: blur(12px); border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .cta-glow { background: radial-gradient(ellipse at center, rgba(201, 149, 46, 0.1) 0%, transparent 70%); }
.frontend-body .cta-title { color: var(--text-main); }
.frontend-body .cta-desc { color: var(--text-muted); }
.frontend-body .cta-note { color: var(--text-dim); }

.frontend-body .rooms-section { background: transparent; }
.frontend-body .rooms-filter { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .rooms-container .room-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-sm); }
.frontend-body .rooms-container .room-card:hover { background: rgba(255, 255, 255, 0.9); border-color: var(--primary); }
.frontend-body .rooms-container .room-card-footer { background: rgba(0, 0, 0, 0.02); border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .rooms-container .status-available { background: var(--success); box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); }
.frontend-body .modal-container { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-lg); }
.frontend-body .modal-room-info { border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .modal-total { border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .modal-input { background: #F7F8FA; border-color: rgba(0, 0, 0, 0.1); color: var(--text-main); }
.frontend-body .modal-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 149, 46, 0.15); }
.frontend-body .filter-select { background-color: #F7F8FA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); color: var(--text-main); border-color: rgba(0, 0, 0, 0.1); }

/* Footer: Creative Redesign — Frontend Overrides */
.frontend-body .footer-enterprise.footer-v2 {
    background: #060A18;
}
.frontend-body .footer-enterprise.footer-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-light) 20%, #60A5FA 50%, var(--primary-light) 80%, transparent 100%);
    background-size: 200% 100%;
    animation: footer-gradient-slide 6s ease-in-out infinite;
}
@keyframes footer-gradient-slide {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}
.frontend-body .footer-v2-heading { color: #CBD5E1; }
.frontend-body .footer-v2-heading::after { background: var(--primary-light); }

/* LTR Overrides */
html[dir="ltr"] .sidebar-group-header, html[dir="ltr"] .table, html[dir="ltr"] .data-table,
html[dir="ltr"] .table th, html[dir="ltr"] .table td, html[dir="ltr"] .data-table th, html[dir="ltr"] .data-table td,
html[dir="ltr"] .form-group, html[dir="ltr"] .modal-body, html[dir="ltr"] .card, html[dir="ltr"] .stat-card,
html[dir="ltr"] .section-title, html[dir="ltr"] .section-desc { text-align: left !important; }
html[dir="ltr"] .user-dropdown-menu, html[dir="ltr"] .notification-dropdown-menu { right: auto !important; left: 0 !important; text-align: left !important; }

/* Dashboard Frontend Overrides */
.frontend-body .app-container { background: linear-gradient(180deg, #F5F0E8 0%, #E8DEC9 100%); background-attachment: fixed; }
.frontend-body .sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
}
.frontend-body .sidebar-brand { color: #F8FAFC; }
.frontend-body .sidebar-brand span:last-child { background: linear-gradient(135deg, #C9952E 0%, #E2B84D 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800; }
.frontend-body .sidebar-menu .sidebar-link { color: #cbd5e1; }
.frontend-body .sidebar-menu .sidebar-link:hover { background: rgba(255, 255, 255, 0.06) !important; color: #f1f5f9 !important; }
.frontend-body .sidebar-menu .sidebar-link.active { background: rgba(37, 99, 235, 0.12) !important; color: #60a5fa !important; }
.frontend-body .sidebar-group-header { color: #94a3b8; }
.frontend-body .sidebar-group-header:hover { background: rgba(255, 255, 255, 0.05); color: #e2e8f0; }
.frontend-body .sidebar-group.open .sidebar-group-header { color: #f1f5f9; }
.frontend-body .sidebar-group.open .sidebar-group-header .chevron { color: #60a5fa; }
.frontend-body .sidebar-submenu { border-right-color: rgba(37, 99, 235, 0.2); }
.frontend-body .sidebar-submenu .sidebar-link { color: #94a3b8; font-size: 0.82rem !important; }
.frontend-body .sidebar-submenu .sidebar-link:hover { color: #e2e8f0 !important; background: rgba(255, 255, 255, 0.04) !important; }
.frontend-body .sidebar-submenu .sidebar-link.active { color: #60a5fa !important; background: rgba(37, 99, 235, 0.1) !important; }
.frontend-body .sidebar .icon-container { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.frontend-body .sidebar-group.open .sidebar-group-header .icon-container { background: rgba(37, 99, 235, 0.15); box-shadow: none; }
.frontend-body .sidebar .sidebar-group-header { font-size: 0.85rem !important; }
.frontend-body .navbar { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.frontend-body .navbar .role-badge { background: rgba(201, 149, 46, 0.1); color: #C9952E; }
.frontend-body .content { background: transparent; }
.frontend-body .footer { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(8px); border-top: 1px solid rgba(0, 0, 0, 0.06); color: var(--text-muted); }
.frontend-body .room-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06) !important; }
.frontend-body .room-card.available { border-color: var(--success) !important; }
.frontend-body .room-card.occupied { border-color: var(--danger) !important; }
.frontend-body .room-card.reserved { border-color: var(--warning) !important; }
.frontend-body .data-table { background: rgba(255, 255, 255, 0.6); }
.frontend-body .data-table th { background: rgba(0, 0, 0, 0.02); color: var(--text-main); border-bottom-color: rgba(0, 0, 0, 0.08); }
.frontend-body .data-table td { border-bottom-color: rgba(0, 0, 0, 0.04); color: var(--text-muted); }
.frontend-body input, .frontend-body textarea, .frontend-body select { background: #F7F8FA; border-color: rgba(0, 0, 0, 0.1); color: var(--text-main); }
.frontend-body input:focus, .frontend-body textarea:focus, .frontend-body select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 149, 46, 0.15); }
.frontend-body .stat-card, .frontend-body .info-card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .card { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); border-color: rgba(0, 0, 0, 0.06); }
.frontend-body .card-header h2 { color: #0f172a !important; text-shadow: none !important; }
.frontend-body .form-label, .frontend-body label { color: #1e293b !important; }
.frontend-body .stat-card h3, .frontend-body .stat-info h3 { color: #0f172a !important; text-shadow: none !important; }
.frontend-body .stat-info p { color: #64748b !important; }

/* ==========================================================================
   PAGINATION & SMART FILTER
   ========================================================================== */
.pagination-container .btn-page { transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.pagination-container a.btn-page:hover { background: var(--primary-gradient) !important; color: #ffffff !important; border-color: transparent !important; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(201, 149, 46, 0.35); }
.smart-filter-bar, .search-filter-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg-card); padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border-color); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.smart-filter-input-wrap, .search-input-wrap { position: relative; flex: 1; min-width: 220px; }
.smart-filter-input-wrap input, .search-input-wrap input { width: 100%; padding: 10px 42px 10px 16px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-main); color: var(--text-main); font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
html[dir="ltr"] .smart-filter-input-wrap input, html[dir="ltr"] .search-input-wrap input { padding: 10px 16px 10px 42px; }
.smart-filter-icon, .search-icon { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); font-size: 1rem; color: var(--text-muted); pointer-events: none; }
html[dir="ltr"] .smart-filter-icon, html[dir="ltr"] .search-icon { right: auto; left: 14px; }
.smart-filter-input-wrap input:focus, .search-input-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201, 149, 46, 0.2); }
.btn-clear { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 10px; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-decoration: none; transition: var(--transition); background: transparent; border: 1px solid transparent; }
.btn-clear:hover { color: var(--danger); background: var(--danger-bg); border-color: rgba(239, 68, 68, 0.2); }

/* ==========================================================================
   MODERN SEARCH & FILTER COMPONENTS (Unified Design System)
   ========================================================================== */
.modern-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}
.modern-filter-bar .mfb-search-wrap { position: relative; flex: 1; min-width: 200px; }
.modern-filter-bar .mfb-search-wrap input {
    width: 100%;
    padding: 12px 48px 12px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-filter-bar .mfb-search-wrap input::placeholder { color: #64748b; font-weight: 600; letter-spacing: 0.2px; }
.modern-filter-bar .mfb-search-wrap input:hover { border-color: rgba(37, 99, 235, 0.45); }
.modern-filter-bar .mfb-search-wrap input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 4px 16px rgba(37, 99, 235, 0.15);
}
.modern-filter-bar .mfb-search-wrap .mfb-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    pointer-events: none;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}
.modern-filter-bar .mfb-search-wrap .mfb-clear {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.modern-filter-bar .mfb-search-wrap .mfb-clear:hover {
    background: rgba(239, 68, 68, 0.16);
    color: #ef4444;
    transform: translateY(-50%) scale(1.1);
}
html[dir="ltr"] .modern-filter-bar .mfb-search-wrap input { padding: 12px 18px 12px 48px; }
html[dir="ltr"] .modern-filter-bar .mfb-search-wrap .mfb-icon { right: auto; left: 6px; }
html[dir="ltr"] .modern-filter-bar .mfb-search-wrap .mfb-clear { left: auto; right: 8px; }

.modern-filter-bar .mfb-select-wrap { position: relative; }
.modern-filter-bar .mfb-select-wrap select {
    -webkit-appearance: none;
    appearance: none;
    padding: 12px 40px 12px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-filter-bar .mfb-select-wrap select:hover {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
}
.modern-filter-bar .mfb-select-wrap select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 4px 14px rgba(37, 99, 235, 0.12);
}
.modern-filter-bar .mfb-select-wrap .mfb-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    right: 15px;
    pointer-events: none;
    color: #64748b;
    font-size: 0.72rem;
    transition: color 0.2s ease;
}
.modern-filter-bar .mfb-select-wrap select:focus ~ .mfb-chevron { color: #2563eb; }
html[dir="ltr"] .modern-filter-bar .mfb-select-wrap .mfb-chevron { right: auto; left: 15px; }
.modern-filter-bar .mfb-date {
    -webkit-appearance: none;
    appearance: none;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-filter-bar .mfb-date:hover { border-color: rgba(37, 99, 235, 0.5); }
.modern-filter-bar .mfb-date:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.modern-filter-bar .mfb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    padding: 11px 20px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.modern-filter-bar .mfb-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5); color: #ffffff; }
.modern-filter-bar .mfb-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.modern-filter-bar .mfb-btn-ghost:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2); color: #1d4ed8; }
.modern-filter-bar .mfb-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(220, 38, 38, 0.98) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.modern-filter-bar .mfb-btn-danger:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5); color: #ffffff; }
.modern-filter-bar .mfb-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.modern-filter-bar .mfb-guide-link:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5); color: #ffffff; }
.modern-filter-bar .mfb-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 9px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Modern Inline Compact Select (used inside table rows / inline filters) */
.modern-inline-select {
    -webkit-appearance: none;
    appearance: none;
    padding: 7px 32px 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(100, 116, 139, 0.35);
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}
.modern-inline-select:hover { border-color: rgba(37, 99, 235, 0.55); }
.modern-inline-select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
html[dir="ltr"] .modern-inline-select {
    padding: 7px 12px 7px 32px;
    background-position: left 14px center;
}

/* ==========================================================================
   MODERN HEADER DROPDOWNS & LIVE SEARCH
   ========================================================================== */
.modern-dropdown-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-dropdown-btn:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}
.modern-dropdown-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }

.user-dropdown-btn, .lang-dropdown-btn { padding: 6px 12px; }
.notification-bell-btn { font-size: 1.05rem; padding: 7px 10px; }

.modern-dropdown-badge {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
html[dir="ltr"] .modern-dropdown-badge { right: auto; left: -4px; }

.modern-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    min-width: 220px;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25), 0 4px 14px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    overflow: hidden;
    animation: mfb-dropdown-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mfb-dropdown-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modern-dropdown-menu .dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.15);
    background: rgba(37, 99, 235, 0.06);
}
.modern-dropdown-menu .dropdown-head strong { color: #0f172a; font-size: 0.9rem; }
.modern-dropdown-menu .dropdown-head small { color: #64748b; }
.modern-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(100, 116, 139, 0.08);
    transition: all 0.18s ease;
}
.modern-dropdown-menu .dropdown-item:last-child { border-bottom: none; }
.modern-dropdown-menu .dropdown-item:hover { background: rgba(37, 99, 235, 0.08); color: #1d4ed8; }
.modern-dropdown-menu .dropdown-scroll { overflow-y: auto; }
.modern-dropdown-menu .dropdown-foot {
    padding: 10px 16px;
    border-top: 1px solid rgba(100, 116, 139, 0.15);
    background: rgba(0, 0, 0, 0.02);
}
.modern-dropdown-menu .dropdown-foot a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}
.modern-dropdown-menu .dropdown-foot a:hover { color: #1d4ed8; }
.modern-dropdown-menu .dropdown-empty {
    padding: 22px 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* Modern Live Search (header quick search) */
.modern-live-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    padding: 4px 6px 4px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-live-search:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 4px 16px rgba(37, 99, 235, 0.12);
}
.modern-live-search input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    width: 200px;
}
.modern-live-search input::placeholder { color: #64748b; font-weight: 600; }
.modern-live-search .modern-live-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.82rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.modern-live-search .modern-live-search-btn:hover { transform: scale(1.08); box-shadow: 0 5px 14px rgba(37, 99, 235, 0.45); }
.modern-live-search #header-live-search-results { width: 360px; }

/* Global Modern Selects — every <select> in the dashboard gets a unified pill look */
.content select:not(.modern-inline-select):not(.floormap-select):not(.mfb-select-wrap select):not(.status-select-wrap select):not(.malls-select-wrap select),
.content select.form-control,
.content select.form-select,
.content .modal-body select,
.content .card-body select {
    -webkit-appearance: none;
    appearance: none;
    padding: 10px 38px 10px 16px;
    padding-right: 38px !important;
    border-radius: 12px;
    border: 1px solid rgba(100, 116, 139, 0.35);
    background-color: var(--bg-main, #ffffff);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    color: var(--text-main, #0f172a);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease;
}
html[dir="ltr"] .content select:not(.modern-inline-select):not(.floormap-select),
html[dir="ltr"] .content select.form-control,
html[dir="ltr"] .content select.form-select {
    background-position: left 14px center;
    padding-left: 38px !important;
    padding-right: 16px !important;
}
.content select:not(.modern-inline-select):hover,
.content select.form-control:hover,
.content select.form-select:hover { border-color: rgba(37, 99, 235, 0.55); }
.content select:not(.modern-inline-select):focus,
.content select.form-control:focus,
.content select.form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.content select option { background-color: #ffffff; color: #0f172a; font-weight: 600; }
.frontend-body select:not(.modern-inline-select):not(.floormap-select):not(.mfb-select-wrap select):not(.status-select-wrap select):not(.malls-select-wrap select) {
    -webkit-appearance: none;
    appearance: none;
    padding: 10px 38px 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(100, 116, 139, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* Enhanced Table */
.data-table { table-layout: auto; }
.data-table th, .data-table td { white-space: nowrap; }
.data-table th:last-child, .data-table td:last-child { white-space: normal; min-width: 140px; }
.data-table td { vertical-align: middle; }
.sort-link { transition: all 0.2s ease; position: relative; }
.sort-link:hover { opacity: 0.8; }
.sort-arrow { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; transition: transform 0.2s ease; }
.sort-arrow svg { width: 14px; height: 14px; }
.sort-link.sort-active .sort-arrow { color: var(--primary); }

/* Loading States */
.btn-loading { position: relative; pointer-events: none; opacity: 0.7; }
.btn-loading .btn-text { visibility: hidden; }
.btn-loading .btn-spinner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.btn-spinner::after { content: ''; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: btn-spin 0.6s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) {
    .hero-container { flex-direction: column; gap: 40px; }
    .hero-copy { text-align: center; }
    .hero-copy .hero-actions { justify-content: center; }
    .hero-copy .hero-subtitle { margin: 0 auto 40px; }
    .hero-mini-icons { justify-content: center; }
    .hero .quick-widget { width: 100%; max-width: 560px; }
    .hero-title { font-size: 3rem; } .section-title { font-size: 2.2rem; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); } .live-desk-container { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 450px; } .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-6px); }
    .footer-v2-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-v2-links { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-links.nav-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7, 9, 19, 0.98); backdrop-filter: blur(20px); padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border-color); }
    .nav-toggle { display: flex; }
    .hero-title { font-size: 2.2rem; } .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; } .hero-actions .btn { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; } .steps-grid { flex-direction: column; }
    .step-connector { transform: rotate(90deg); padding: 16px 0; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-v2-links { grid-template-columns: 1fr; }
    .footer-v2-top { padding: 48px 24px 0; }
    .footer-v2-bottom { flex-direction: column; text-align: center; gap: 8px; padding: 20px 24px; }
    .footer-v2-bottom-right { justify-content: center; flex-wrap: wrap; }
    .footer-v2-bottom-left { justify-content: center; }
    .footer-v2-brand { text-align: center; }
    .footer-v2-socials { justify-content: center; }
    .footer-v2-tagline { margin-left: auto; margin-right: auto; }
    .cta-title { font-size: 2rem; }
    .cta-container { padding: 40px 24px; } .sidebar { display: none; }
}
@media (max-width: 480px) { .hero-title { font-size: 1.8rem; } .section-title { font-size: 1.6rem; } .metric-value { font-size: 2rem; } .metrics-grid { gap: 12px; } .metric-card { padding: 20px 16px; } }

/* AI Typing Animation */
.dot-typing {
  animation: typing 1.5s infinite steps(4, end);
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  width: 0px;
}
@keyframes typing {
  0%, 100% { width: 0px; }
  50% { width: 15px; }
}

/* Print CSS */
@media print {
  .sidebar, .navbar-enterprise, .footer, .btn, .nav-actions, #ai-chat-widget { display: none !important; }
  .main-wrapper { margin: 0 !important; padding: 0 !important; width: 100% !important; background: white !important; color: black !important; }
  body { background: white !important; color: black !important; }
  .card, .container-fluid { box-shadow: none !important; border: 1px solid #ddd !important; background: white !important; color: black !important; }
  h1, h2, h3, h4, h5, p, span, td, th { color: black !important; text-shadow: none !important; }
}

/* ==========================================================================
   ENHANCED ADMIN HEADER / NAVBAR & USER DROPDOWN (added polish layer)
   ========================================================================== */
.modern-navbar {
    min-height: 64px;
    gap: 14px;
    padding: 0 20px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.navbar-start {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 1;
}
.navbar-end {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    min-width: 0;
}
.navbar-end > .modern-dropdown-btn,
.navbar-end > .modern-live-search { flex-shrink: 0; }

.sidebar-toggle-btn {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    flex-shrink: 0;
}
.sidebar-toggle-btn .hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 16px;
}
.sidebar-toggle-btn .hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: currentColor;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.2;
}
.navbar-title .navbar-title-label {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #64748b);
    margin-bottom: 1px;
}
.navbar-title .navbar-title-text {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 380px;
}

/* Dropdown containers need relative positioning */
.user-dropdown-container,
.lang-dropdown-container,
.notification-dropdown-container {
    position: relative;
    display: inline-block;
}
.user-dropdown-container > .modern-dropdown-menu,
.lang-dropdown-container > .modern-dropdown-menu,
.notification-dropdown-container > .modern-dropdown-menu { inset-inline-end: 0; }
.live-search-container > .modern-dropdown-menu { inset-inline-start: 0; }

/* --- User dropdown trigger: pill with avatar --- */
.user-dropdown-btn {
    padding: 4px !important;
    padding-inline-start: 4px !important;
    padding-inline-end: 14px !important;
    border: 1.5px solid rgba(37, 99, 235, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.user-dropdown-btn:hover {
    border-color: rgba(37, 99, 235, 0.5) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}
.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    min-width: 0;
}
.user-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-role {
    font-size: 0.64rem;
    font-weight: 800;
    color: var(--primary, #2563eb);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.dropdown-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.user-dropdown-btn[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--primary, #2563eb);
}

/* --- User dropdown menu polish --- */
.user-dropdown-menu.modern-dropdown-menu {
    top: calc(100% + 10px);
    min-width: 264px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28), 0 4px 16px rgba(0, 0, 0, 0.1);
    animation: mfb-dropdown-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.user-dropdown-menu .dropdown-head {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(139, 92, 246, 0.06));
    border: none;
    border-radius: 12px;
    margin-bottom: 6px;
}
.dropdown-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dropdown-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.dropdown-avatar .user-avatar-fallback { font-size: 1.2rem; }
.dropdown-user-info { min-width: 0; }
.dropdown-user-info strong {
    display: block;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    font-size: 0.66rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
}
.dropdown-role-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

/* --- Generic dropdown item polish --- */
.modern-dropdown-menu .dropdown-item {
    border-radius: 10px;
    margin: 2px 0;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: none;
}
.modern-dropdown-menu .dropdown-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.18s ease;
}
.modern-dropdown-menu .dropdown-item:hover .dropdown-item-icon {
    background: #2563eb;
    color: #ffffff;
}
.modern-dropdown-menu .dropdown-item-danger { color: #ef4444 !important; }
.modern-dropdown-menu .dropdown-item-danger .dropdown-item-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.modern-dropdown-menu .dropdown-item-danger:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}
.modern-dropdown-menu .dropdown-item-danger:hover .dropdown-item-icon {
    background: #ef4444;
    color: #ffffff;
}
.dropdown-sep {
    border-top: 1px solid rgba(100, 116, 139, 0.14);
    margin: 6px 2px;
}

/* --- Language switcher --- */
.lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-dropdown-menu .dropdown-item.active { background: rgba(37, 99, 235, 0.1); color: #1d4ed8; }
.lang-dropdown-menu .dropdown-item.active .dropdown-item-icon { background: #2563eb; color: #fff; }

/* --- Notifications --- */
.notification-bell-btn { font-size: 1.05rem; padding: 8px 11px; }
.notification-dropdown-menu .dropdown-head strong {
    display: flex;
    align-items: center;
    gap: 8px;
}
.head-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.mark-all-read-btn {
    background: rgba(37, 99, 235, 0.1);
    border: none;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.mark-all-read-btn:hover { background: #2563eb; color: #fff; }

.notification-item {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    transition: background 0.2s ease;
}
.notification-item:hover { background: rgba(37, 99, 235, 0.06); }
.notification-item:last-child { border-bottom: none; }
.notification-item .notif-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(37, 99, 235, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.notification-item .notif-title {
    font-weight: 700;
    color: var(--text-main, #0f172a);
    font-size: 0.88rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notification-item .notif-msg {
    color: var(--text-muted, #64748b);
    font-size: 0.8rem;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notification-item .notif-time { color: var(--primary, #2563eb); font-size: 0.72rem; font-weight: 600; }

/* --- Live search results polish --- */
.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    transition: background 0.2s ease;
}
.live-search-item:hover { background: rgba(37, 99, 235, 0.06); }
.live-search-item:last-child { border-bottom: none !important; }
.live-search-item .search-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.live-search-item .search-item-badge {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary, #2563eb);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-inline-start: 5px;
}

.search-icon-link { display: none; padding: 9px 12px; }

/* --- Sidebar drawer overlay --- */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sidebar-overlay.show { opacity: 1; visibility: visible; }
@media (max-width: 767px) {
    .sidebar.show {
        display: flex !important;
        transform: translateX(0) !important;
        z-index: 10001 !important;
        box-shadow: 0 0 60px rgba(15, 23, 42, 0.4);
    }
}

/* Override older LTR dropdown alignment so menus stay on-screen */
html[dir="ltr"] .user-dropdown-menu,
html[dir="ltr"] .notification-dropdown-menu { right: 0 !important; left: auto !important; text-align: start !important; }

/* --- Responsive header --- */
@media (max-width: 1200px) {
    .modern-live-search input { width: 150px; }
}
@media (max-width: 991px) {
    .sidebar-toggle-btn { display: inline-flex; }
}
@media (max-width: 767px) {
    .navbar-title-label { display: none; }
    .navbar-title .navbar-title-text { max-width: 160px; font-size: 0.92rem; }
    .modern-navbar { gap: 8px; }
}
@media (max-width: 640px) {
    .user-meta { display: none; }
    .user-dropdown-btn { padding-inline-end: 4px !important; }
    .modern-live-search { display: none !important; }
    .search-icon-link { display: inline-flex; }
    .modern-navbar { padding: 0 12px !important; gap: 6px; }
    .navbar-end { gap: 6px; }
    .user-name { max-width: 90px; }
}
@media (max-width: 480px) {
    .site-link-btn { display: none !important; }
    .theme-toggle-btn { padding: 8px 11px !important; }
    .notification-bell-btn { padding: 8px 10px; }
}

/* Print: hide chrome */
@media print {
    .modern-navbar, .mobile-bottom-nav, .sidebar-overlay { display: none !important; }
}

/* ==========================================================================
   PUBLIC LANDING PAGE — Production Components
   ========================================================================== */

/* ---- Quick availability widget (hero) ---- */
.quick-widget {
    max-width: 560px;
    margin: 40px auto 0;
    text-align: start;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    box-shadow: 0 24px 60px -18px rgba(15, 23, 42, 0.28), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    animation: widget-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.quick-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 32px 70px -18px rgba(15, 23, 42, 0.32), 0 8px 24px -12px rgba(15, 23, 42, 0.14);
}
@keyframes widget-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.quick-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: linear-gradient(135deg, rgba(201, 149, 46, 0.14), rgba(37, 99, 235, 0.06));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.quick-widget-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text-main); font-size: 1rem; }
.quick-widget-title .title-icon {
    width: 30px; height: 30px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563EB, #6366F1);
    color: #fff; font-size: 0.95rem;
    animation: title-icon-spin 6s linear infinite;
}
@keyframes title-icon-spin {
    0%, 88%, 100% { transform: rotate(0deg) scale(1); }
    92% { transform: rotate(18deg) scale(1.1); }
}
.quick-widget-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--success);
}
.live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--success);
    animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

.quick-widget-body {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 12px;
    padding: 22px;
    align-items: end;
}
.quick-field { display: flex; flex-direction: column; gap: 6px; }
.quick-field label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.quick-field label .field-icon { margin-inline-end: 5px; }
.quick-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quick-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.quick-check-btn { white-space: nowrap; padding: 11px 22px; border-radius: 12px; }

.quick-widget-results { padding: 0 20px 20px; }
.quick-results-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
.quick-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}
.quick-slot {
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.quick-slot small { font-size: 0.72rem; font-weight: 700; }
.quick-slot-free {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #047857;
}
.quick-slot-busy {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #b91c1c;
    opacity: 0.75;
}
.quick-slot-loading { grid-column: 1 / -1; background: rgba(37, 99, 235, 0.06); color: var(--text-muted); }
.quick-slot-empty { grid-column: 1 / -1; padding: 12px; background: rgba(245, 158, 11, 0.12); border: 1px dashed rgba(180, 83, 9, 0.35); border-radius: 12px; color: #92400E; font-weight: 700; font-size: 0.85rem; }
.quick-slot-cta { grid-column: 1 / -1; background: transparent; border: none; padding: 0; }
.quick-slot-cta a {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px var(--primary-glow);
}
.quick-slot-cta a:hover { transform: translateY(-2px); box-shadow: 0 10px 26px var(--primary-glow); }

/* ---- Public rooms section ---- */
.public-rooms {
    padding: 100px 24px;
    position: relative;
    background: transparent;
}
.public-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
}
.public-room-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}
.public-room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 149, 46, 0.35);
}
.public-room-visual {
    position: relative;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5), transparent 55%),
        linear-gradient(135deg, #2b3a67, #1a2744);
    overflow: hidden;
}
.public-room-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
}
.public-room-visual-meeting { background: linear-gradient(135deg, #1e3a8a, #0f2557); }
.public-room-visual-private_office { background: linear-gradient(135deg, #065f46, #022c22); }
.public-room-visual-coworking_desk { background: linear-gradient(135deg, #713f12, #3b2409); }
.public-room-visual-event_hall { background: linear-gradient(135deg, #7c2d12, #431407); }
.public-room-emoji { position: relative; z-index: 2; font-size: 3.2rem; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35)); }
.public-room-type-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 4px 12px;
    border-radius: 32px;
    font-size: 0.75rem;
    font-weight: 800;
    backdrop-filter: blur(6px);
}
.public-room-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.public-room-body h3 { font-size: 1.08rem; font-weight: 800; color: var(--text-main); }
.public-room-office { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.public-room-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 3px 9px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
}
.public-room-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
}
.public-room-price .price-value { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.public-room-price .price-unit { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }
.public-room-daily { font-size: 0.76rem; color: #6B5739; font-weight: 600; }
.public-room-book {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.rooms-view-all { text-align: center; margin-top: 44px; }
.rooms-empty {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
}
.rooms-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.rooms-empty h3 { color: var(--text-main); font-weight: 800; margin-bottom: 8px; }
.rooms-empty p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- Testimonials polish ---- */
.testimonial-rating-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-inline-start: 8px;
    letter-spacing: 0.5px;
}
.author-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 149, 46, 0.35);
}

/* ---- Cookie consent banner ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #e2e8f0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    transform: translateY(110%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}
.cookie-banner-visible { transform: translateY(0); }
.cookie-banner-content {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner-content p { font-size: 0.88rem; line-height: 1.7; flex: 1; min-width: 240px; }
.cookie-banner-actions { display: flex; align-items: center; gap: 14px; }
.cookie-link { color: #93c5fd; font-weight: 700; font-size: 0.88rem; text-decoration: none; white-space: nowrap; }
.cookie-link:hover { text-decoration: underline; }
.btn-sm { padding: 7px 18px !important; font-size: 0.82rem !important; border-radius: 10px !important; }

/* ---- Responsive: widget & rooms ---- */
@media (max-width: 768px) {
    .quick-widget-body { grid-template-columns: 1fr; }
    .quick-check-btn { width: 100%; justify-content: center; }
    .public-rooms { padding: 72px 16px; }
    .public-rooms-grid { grid-template-columns: 1fr; }
    .cookie-banner-content { justify-content: center; text-align: center; }
    .cookie-banner-actions { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .quick-widget { margin-top: 28px; }
    .public-room-visual { height: 110px; }
}

/* ==========================================================================
   LANDING POLISH — Animations, Micro-interactions & Fluid Responsive
   ========================================================================== */

/* ---- Fluid typography (resize-friendly) ---- */
.hero-title { font-size: clamp(2.4rem, 4.6vw + 1rem, 4.25rem); }
.section-title { font-size: clamp(1.7rem, 2.6vw + 0.8rem, 2.6rem); }
.hero-subtitle { font-size: clamp(1rem, 1.2vw + 0.6rem, 1.25rem); }
.cta-title { font-size: clamp(1.8rem, 2.4vw + 0.9rem, 2.6rem); }
.metric-value { font-size: clamp(2rem, 2.4vw + 0.8rem, 3rem); }

/* ---- Anchor offset for fixed navbar ---- */
section[id] { scroll-margin-top: 84px; }

/* ---- Hero entrance (above-the-fold) ---- */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-actions { animation: heroIn .9s cubic-bezier(.16, 1, .3, 1) both; }
.hero-badge { animation-delay: .15s; }
.hero-title { animation-delay: .3s; }
.hero-subtitle { animation-delay: .45s; }
.hero-actions { animation-delay: .6s; }
.frontend-body .quick-widget { animation: heroIn .9s cubic-bezier(.16, 1, .3, 1) .75s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Staggered card reveal (JS toggles .stagger-item / .in-view) ---- */
.stagger-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.stagger-item.in-view { opacity: 1; transform: translateY(0); }

/* ---- Button micro-interactions ---- */
.btn,
.public-room-book {
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease,
        background .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}
.frontend-body .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px var(--primary-glow); }
.frontend-body .btn-outline:hover { transform: translateY(-2px); }
.frontend-body .btn-primary:active,
.frontend-body .btn-outline:active { transform: translateY(0) scale(.98); }
.btn svg { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
html[dir="rtl"] .btn:hover svg { transform: translateX(-4px); }
html[dir="ltr"] .btn:hover svg { transform: translateX(4px); }

/* ---- Mobile nav light-theme fix (frontend) ---- */
@media (max-width: 768px) {
    .frontend-body .nav-links.nav-open {
        background: rgba(245, 240, 232, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }
    .frontend-body .nav-links.nav-open .nav-link { color: #1A202C; }
    .frontend-body .nav-links.nav-open .nav-link:hover { color: var(--primary); }
    .frontend-body .nav-links.nav-open .nav-link.active { color: #fff; }
}

/* ---- Hide hero floats on small screens (prevent overflow) ---- */
@media (max-width: 640px) {
    .hero-float { display: none; }
}

/* ---- Fluid grid safe minimum ---- */
.public-rooms-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

/* ---- Brand truncation on tiny screens ---- */
@media (max-width: 380px) {
    .nav-brand-text { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---- Scroll progress bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #C9952E, #E7B829, #2563EB);
    z-index: 100000;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(201, 149, 46, .6);
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
