/* ============================================
   GRAND VIENTIANE HOTEL - Public Site
   Premium hotel booking design
   ============================================ */

:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --primary-rgb: 5, 150, 105;
    --accent: #d97706;
    --gold: #eab308;

    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-warm: #fef7ed;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);

    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --info: #06b6d4;

    --radius: 14px;
    --radius-lg: 20px;
    --transition: all 0.25s ease;

    --font: 'Noto Sans Lao Looped', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

input, textarea, select {
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    width: 100%;
    transition: var(--transition);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

label { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--bg-card);
    z-index: 100;
    padding: 14px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-emoji {
    font-size: 2rem;
    line-height: 1;
}

.nav-brand > div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-link {
    padding: 10px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    border-radius: 10px;
    transition: var(--transition);
}

.nav-link:hover { background: var(--bg-alt); color: var(--primary); }
.nav-link.active { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--bg-alt);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.user-btn:hover { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }

.user-avatar-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-alt);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 12px;
        gap: 2px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-menu li { width: 100%; }
    .nav-link { width: 100%; }
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--border); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-gold {
    background: var(--accent);
    color: white;
}
.btn-gold:hover:not(:disabled) {
    background: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 10px 12px; border-radius: 10px; }

.btn .btn-loading { display: none; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: inline; }

/* ============ APP LOADER ============ */
.app-loader {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
}

.loader-emoji {
    font-size: 5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.page { animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ HERO ============ */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    background:
        linear-gradient(135deg, rgba(5,150,105,0.05), rgba(217,119,6,0.05)),
        radial-gradient(ellipse at top right, rgba(5,150,105,0.15), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(217,119,6,0.1), transparent 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(5,150,105,0.08) 0%, transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(217,119,6,0.08) 0%, transparent 30%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero { min-height: auto; padding: 100px 0 40px; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 .accent {
    color: var(--primary);
    font-style: italic;
    position: relative;
}

.hero h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 8px;
    background: rgba(217, 119, 6, 0.3);
    z-index: -1;
    border-radius: 10px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

@media (max-width: 900px) {
    .hero-description { margin: 0 auto 30px; }
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .hero-actions { justify-content: center; }
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .hero-stats { justify-content: center; gap: 20px; }
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation: morph 8s ease-in-out infinite;
    filter: blur(1px);
    opacity: 0.15;
}

@keyframes morph {
    0%, 100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
    50% { border-radius: 37% 63% 46% 54% / 48% 55% 45% 52%; transform: rotate(180deg); }
}

.hero-emoji-main {
    font-size: 14rem;
    z-index: 2;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-badge {
    position: absolute;
    background: var(--bg-card);
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.floating-badge.b1 { top: 15%; left: 5%; animation-delay: 0s; }
.floating-badge.b2 { bottom: 25%; right: 0%; animation-delay: 1s; }
.floating-badge.b3 { bottom: 5%; left: 15%; animation-delay: 2s; }

.floating-icon-b {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.floating-badge div p {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.floating-badge div span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero-visual { height: 350px; }
    .hero-emoji-main { font-size: 10rem; }
    .hero-blob { width: 300px; height: 300px; }
    .floating-badge { padding: 10px 14px; }
    .floating-badge.b1 { left: 0; }
}

/* ============ SEARCH WIDGET ============ */
.search-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    margin: -50px auto 60px;
    max-width: 1100px;
    position: relative;
    z-index: 10;
}

.search-widget-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

@media (max-width: 900px) {
    .search-widget-grid { grid-template-columns: 1fr 1fr; }
    .search-widget-grid > *:last-child { grid-column: 1 / -1; }
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-field input {
    padding: 10px 14px;
    background: var(--bg-alt);
    border-color: transparent;
    font-weight: 600;
}

.search-field input:focus {
    background: var(--bg-card);
    border-color: var(--primary);
}

/* ============ SECTIONS ============ */
.section {
    padding: 80px 0;
}

.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title .accent { color: var(--primary); font-style: italic; }

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ============ ROOM CARDS ============ */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.room-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.room-banner {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.room-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%);
}

.room-featured {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.room-price-tag {
    position: absolute;
    bottom: 16px; right: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.room-price-tag .amount {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary);
}

.room-price-tag .unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.room-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-type-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.room-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.room-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-features {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.room-feature {
    display: flex;
    align-items: center;
    gap: 4px;
}

.room-feature i { color: var(--primary); }

.room-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.room-availability {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.room-availability.full { color: var(--danger); }

/* ============ ROOM DETAIL ============ */
.room-detail-hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12rem;
    color: white;
    position: relative;
    margin-top: 70px;
}

.room-detail-back {
    position: absolute;
    top: 24px; left: 24px;
    background: rgba(255,255,255,0.95);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.room-detail-back:hover { transform: translateX(-4px); }

.room-detail-body {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .room-detail-body { grid-template-columns: 1fr; }
    .room-detail-hero { height: 250px; font-size: 7rem; }
}

.room-detail-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.room-detail-type {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.room-detail-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.room-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.room-spec {
    text-align: center;
}

.room-spec i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.room-spec .value {
    font-weight: 700;
    font-size: 1rem;
}

.room-spec .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-alt);
    border-radius: 10px;
    font-size: 0.9rem;
}

.amenity-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Booking widget (sticky) */
.booking-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.booking-widget-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.booking-price-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.booking-price-unit {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
}

.booking-summary-row.total {
    border-top: 1px dashed var(--border);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

/* ============ AVAILABILITY INDICATOR ============ */
.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(34,197,94,0.15);
    color: #16a34a;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.availability-pill.full {
    background: rgba(239,68,68,0.15);
    color: #dc2626;
}

/* ============ BOOKING LIST ============ */
.booking-tabs {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: var(--bg-alt);
    border-radius: 30px;
    margin-bottom: 30px;
    width: fit-content;
}

.booking-tab {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.booking-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    transition: var(--transition);
    display: grid;
    grid-template-columns: 140px 1fr auto;
}

@media (max-width: 700px) {
    .booking-card { grid-template-columns: 1fr; }
}

.booking-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.booking-card-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    min-height: 140px;
}

.booking-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
}

.booking-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.booking-card-number {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.booking-card-dates {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.booking-card-dates strong { color: var(--text); }

.booking-card-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    justify-content: center;
    border-left: 1px solid var(--border);
    min-width: 140px;
}

@media (max-width: 700px) {
    .booking-card-actions { border-left: none; border-top: 1px solid var(--border); align-items: stretch; }
}

.booking-card-total {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Status pills */
.status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.status-pill.pending { background: rgba(234,179,8,0.15); color: #ca8a04; }
.status-pill.confirmed { background: rgba(6,182,212,0.15); color: #0891b2; }
.status-pill.checked_in { background: rgba(34,197,94,0.15); color: #16a34a; }
.status-pill.checked_out { background: rgba(148,163,184,0.2); color: #64748b; }
.status-pill.cancelled { background: rgba(239,68,68,0.15); color: #dc2626; }

/* ============ WHY US ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============ FILTERS PANEL (rooms page) ============ */
.rooms-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .rooms-layout { grid-template-columns: 1fr; }
    .filters-panel { position: static; }
}

.filters-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow);
}

.filter-group {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }

.filter-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-option:hover { background: var(--bg-alt); }
.filter-option input { width: auto; }

.rooms-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.rooms-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============ FORMS ============ */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}

.form-group {
    margin-bottom: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.payment-opt {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.payment-opt.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.payment-opt i {
    font-size: 1.5rem;
    color: var(--primary);
}

.payment-opt .name {
    font-weight: 600;
    font-size: 0.85rem;
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.modal.active .modal-dialog { transform: scale(1); }

.modal-dialog.large { max-width: 700px; }

.modal-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border);
}

.modal-footer:empty { display: none; }

/* ============ TOAST ============ */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}

.toast {
    background: var(--text);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
}

.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }
.toast.warning { background: #ca8a04; }

@keyframes toastIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============ FOOTER ============ */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand h3 {
    font-family: var(--font-display);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer ul li a:hover { color: var(--primary-light); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* ============ EMPTY STATE ============ */
.empty {
    padding: 80px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-emoji {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty h3 {
    color: var(--text);
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.5rem;
}

/* ============ AUTH PAGE ============ */
.auth-body {
    background: linear-gradient(135deg, #059669, #d97706);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.auth-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.auth-shape.shape-1 {
    width: 500px; height: 500px;
    background: #059669;
    top: -100px; left: -100px;
}

.auth-shape.shape-2 {
    width: 400px; height: 400px;
    background: #d97706;
    bottom: -100px; right: -100px;
    animation: morph 10s ease-in-out infinite;
}

.auth-shape.shape-3 {
    width: 300px; height: 300px;
    background: #eab308;
    top: 40%; left: 50%;
    animation: morph 12s ease-in-out infinite reverse;
}

.auth-container {
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.auth-back:hover { background: rgba(255,255,255,0.3); }

.auth-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    font-size: 4rem;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
    display: inline-block;
}

.auth-header h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-tabs {
    display: flex;
    background: var(--bg-alt);
    padding: 4px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    color: var(--text-muted);
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-auth:hover:not(:disabled) {
    background: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-auth .btn-loading { display: none; }
.btn-auth.loading .btn-text { display: none; }
.btn-auth.loading .btn-loading { display: inline; }

.alert {
    margin-top: 14px;
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.alert.active { display: block; }
.alert.success { background: rgba(34,197,94,0.15); color: #16a34a; }
.alert.error { background: rgba(239,68,68,0.15); color: #dc2626; }

.auth-demo {
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: 0.85rem;
}

/* Confirmation success screen */
.confirmation-page {
    padding: 100px 0 60px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), #16a34a);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(34,197,94,0.3);
    animation: checkmark 0.6s ease;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.confirmation-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 12px;
}

.confirmation-number {
    display: inline-block;
    padding: 6px 20px;
    background: var(--bg-alt);
    border-radius: 30px;
    font-family: monospace;
    font-weight: 700;
    color: var(--primary);
    margin: 12px 0;
    letter-spacing: 1px;
}

.confirmation-details {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 30px 0;
    text-align: left;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* User dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 200px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--transition);
    z-index: 200;
}

.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu { position: relative; }

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}

.user-dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

.user-dropdown a.danger:hover { background: rgba(239,68,68,0.1); color: var(--danger); }

.user-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}
