/* main.css - HOTELGO Futuristic & Premium Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    /* Brand Palette - Vibrant & Modern */
    --primary-red: #E53935;
    --primary-red-hover: #C62828;
    --primary-red-light: rgba(229, 57, 53, 0.08);
    --primary-red-glow: rgba(229, 57, 53, 0.35);
    --primary-gradient: linear-gradient(135deg, #E53935 0%, #FF6B6B 100%);
    --primary-gradient-intense: linear-gradient(135deg, #C62828 0%, #E53935 50%, #FF6B6B 100%);

    /* Dark Theme Palette */
    --dark-bg: #0B0F1A;
    --dark-surface: #141929;
    --dark-sidebar: #0B0F1A;
    --dark-card: #1A2035;
    --dark-elevated: #1E2540;

    /* Text Colors */
    --text-primary: #1A1A2E;
    --text-secondary: #5A6478;
    --text-muted: #8A94A6;
    --text-light: #F8FAFC;

    /* Surface Colors */
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --border-glass: rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);

    /* Status Colors */
    --status-disponible: #10B981;
    --status-reservada: #3B82F6;
    --status-ocupada: #E53935;
    --status-limpieza: #F59E0B;
    --status-mantenimiento: #64748B;
    --status-bloqueada: #8B5CF6;

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Layered for Depth */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.14), 0 8px 20px rgba(0,0,0,0.06);
    --shadow-glow-red: 0 0 20px rgba(229, 57, 53, 0.15), 0 0 60px rgba(229, 57, 53, 0.08);
    --shadow-float: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #FAFBFD;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #CBD5E1, #94A3B8);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.5);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gradient);
}

/* Selection */
::selection {
    background: rgba(229, 57, 53, 0.15);
    color: var(--primary-red-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

img {
    max-width: 100%;
}

/* ========== HEADER - Translucent Dark Glassmorphism ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 26, 0.65);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon-box {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.35);
    transition: var(--transition-spring);
}

.logo:hover .logo-icon-box {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.3px;
}

.logo-brand .highlight {
    color: var(--primary-red);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-item {
    font-weight: 500;
    font-size: 0.9rem;
    color: #8A94A6;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
}

.nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-item.active {
    color: #FFFFFF;
    font-weight: 600;
}

.nav-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

.auth-buttons {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.btn-nav-login {
    background: none !important;
    border: none !important;
    color: #8A94A6 !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: var(--transition) !important;
}

.btn-nav-login:hover {
    color: #FFFFFF !important;
}

/* User Profile Pill */
.user-menu-dropdown {
    position: relative;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.88rem;
    color: #FFFFFF;
    transition: var(--transition);
}

.user-pill:hover {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 250px;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1100;
    padding: 0.5rem 0;
    transform-origin: top right;
}

.dropdown-content.show {
    display: block;
    animation: dropdownReveal 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.dropdown-header {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.dropdown-header #dropdown-user-name {
    color: #FFFFFF;
}

.dropdown-header small {
    color: #8A94A6;
    font-size: 0.78rem;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: #CBD5E1;
    transition: var(--transition-fast);
    border-radius: var(--radius-xs);
    margin: 0.15rem 0.4rem;
}

.dropdown-content a:hover {
    background: rgba(229, 57, 53, 0.15);
    color: #FFFFFF;
    transform: translateX(3px);
}

.dropdown-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0.3rem 0.8rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-header small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    border-radius: var(--radius-xs);
    margin: 0.15rem 0.4rem;
}

.dropdown-content a:hover {
    background: var(--primary-red-light);
    color: var(--primary-red);
    transform: translateX(3px);
}

.dropdown-content hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 0.3rem 0.8rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
}

/* ========== BUTTONS - Premium with Depth ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Shimmer effect on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.35), 0 2px 8px rgba(229, 57, 53, 0.2);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.2);
}

.btn-pill {
    border-radius: var(--radius-full);
    padding: 0.55rem 1.5rem;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: var(--primary-red-light);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.06);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.35);
    color: #FFFFFF;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 20px rgba(255,255,255,0.06);
}

.btn-dark {
    background: var(--dark-bg);
    color: #FFFFFF;
    border-color: var(--dark-bg);
}

.btn-dark:hover {
    background: var(--dark-surface);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #F87171);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* ========== BADGES - Soft & Glowing ========== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.badge-disponible { background: rgba(16,185,129,0.1); color: #059669; border: 1px solid rgba(16,185,129,0.15); }
.badge-disponible::before { background: #10B981; }

.badge-reservada { background: rgba(59,130,246,0.1); color: #2563EB; border: 1px solid rgba(59,130,246,0.15); }
.badge-reservada::before { background: #3B82F6; }

.badge-ocupada { background: rgba(229,57,53,0.08); color: var(--primary-red); border: 1px solid rgba(229,57,53,0.12); }
.badge-ocupada::before { background: var(--primary-red); }

.badge-limpieza { background: rgba(245,158,11,0.1); color: #D97706; border: 1px solid rgba(245,158,11,0.15); }
.badge-limpieza::before { background: #F59E0B; }

.badge-mantenimiento { background: rgba(100,116,139,0.1); color: #475569; border: 1px solid rgba(100,116,139,0.15); }
.badge-mantenimiento::before { background: #64748B; }

.badge-bloqueada { background: rgba(139,92,246,0.1); color: #7C3AED; border: 1px solid rgba(139,92,246,0.15); }
.badge-bloqueada::before { background: #8B5CF6; }

/* ========== MODALS - Glassmorphism Premium ========== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 15, 26, 0.6);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    animation: modalOverlayIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes modalOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 540px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    opacity: 0;
    animation: modalCardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
    border: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
}

@keyframes modalCardIn {
    from {
        transform: scale(0.92) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Top accent line on modals */
.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient-intense);
    z-index: 1;
}

/* Split login modal */
.modal-card.modal-split {
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.modal-split-image {
    position: relative;
    background: url('https://images.unsplash.com/photo-1631049307264-da0ec9d70304?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.modal-split-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,15,26,0.3) 0%, rgba(11,15,26,0.78) 100%);
}

.modal-split-image .logo {
    position: relative;
    z-index: 2;
}

.modal-split-image .logo .logo-icon-box {
    background: var(--primary-gradient);
}

.modal-split-image .logo .logo-brand {
    color: #FFFFFF;
}

.modal-split-tagline {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

.modal-split-tagline h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.modal-split-tagline p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.modal-split-form {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-header {
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-body {
    padding: 1.6rem;
    max-height: 78vh;
    overflow-y: auto;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.modal-close:hover {
    color: var(--primary-red);
    background: var(--primary-red-light);
    transform: rotate(90deg);
}

/* ========== FORM CONTROLS - Elevated ========== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 0.72rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    background: #FFFFFF;
}

.form-control:hover:not(:focus) {
    border-color: #CBD5E1;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A94A6' d='M6 8.825L0.575 3.4L1.4 2.575L6 7.175L10.6 2.575L11.425 3.4L6 8.825Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.2rem;
}

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

/* Demo Account Cards */
.demo-accounts {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.demo-accounts-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.demo-account-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.demo-account-btn:hover {
    border-color: var(--primary-red);
    background: var(--primary-red-light);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.08);
}

.demo-role {
    font-weight: 700;
    color: var(--text-primary);
}

/* ========== TOASTS - Modern Floating ========== */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    font-size: 0.88rem;
    font-weight: 500;
    min-width: 300px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    animation: toastSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.toast.toast-success::before { background: var(--status-disponible); }
.toast.toast-error::before { background: var(--primary-red); }
.toast.toast-warning::before { background: var(--status-limpieza); }

/* Toast progress bar animation */
.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary-red);
    animation: toastProgress 3s linear forwards;
}

.toast.toast-success::after { background: var(--status-disponible); }

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes toastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
}

/* Utility animation classes */
.animate-fadeIn { animation: fadeIn 0.4s ease forwards; }
.animate-slideUp { animation: slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ========== FOOTER - Modern Dark ========== */
.site-footer {
    background: var(--dark-bg);
    color: #8A94A6;
    padding: 4rem 2rem 0;
    margin-top: 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 57, 53, 0.3), transparent);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.3px;
}

.footer-logo .highlight {
    color: var(--primary-red);
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: #8A94A6;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 0.82rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .header-container {
        position: relative;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 15, 26, 0.85);
        backdrop-filter: blur(24px) saturate(190%);
        -webkit-backdrop-filter: blur(24px) saturate(190%);
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        gap: 0.5rem;
        z-index: 999;
    }
    .nav-links.show, .nav-links[style*="display: flex"] {
        display: flex !important;
        animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .modal-card.modal-split { grid-template-columns: 1fr; max-width: 480px; }
    .modal-split-image { display: none; }
}

@media (max-width: 640px) {
    .header-container { padding: 0 0.8rem; height: 60px; }
    .footer-container { grid-template-columns: 1fr; }
    .auth-buttons .btn-nav-login { display: none; }
    .modal-card { border-radius: var(--radius-lg); margin: 0.5rem; width: 95vw; max-height: 90vh; }
    .modal-body { padding: 1.2rem; }
    .toast { min-width: auto; width: calc(100vw - 2rem); right: 1rem; left: 1rem; }
    .toast-container { right: 0; left: 0; bottom: 1rem; padding: 0 1rem; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
