/* ==========================================================================
   Mangroovy Stays - Clean & Optimized CSS
   ========================================================================== */

/* ==========================================================================
   1. ROOT VARIABLES & IMPORTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* Language Loading - Prevent Flash of Untranslated Content */
body:not(.lang-ready) [data-translate] {
    visibility: hidden;
}
body.lang-ready [data-translate] {
    visibility: visible;
}

/* Force inputs and buttons to always be visible */
input, button, select, textarea {
    visibility: visible !important;
}

:root {
    --primary-color: #394C38;
    --primary-dark: #2d3e2c;
    --primary-light: #4a6349;
    --secondary-color: #000000;
    --background-color: #ffffff;
    --accent-color: #ffffff;
    --secondary-accent: #f4f4f4;
    --button-hover: #4a6349;
    
    /* Luxury Gold Accent */
    --gold-color: #d4af37;
    --gold-light: #f0d78c;
    --gold-dark: #b8960c;
    
    /* Additional useful colors */
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;
    
    /* Text colors */
    --text-light: #6c757d;
    --text-muted: #999999;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 5px 20px rgba(212, 175, 55, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-full: 50px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #ffffff;
    background-color: #1a2e19;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    line-height: 1.6;
    padding-top: 76px; /* Space for fixed header */
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 5px;
    transition: background-color var(--transition-normal);
}

button:hover {
    background-color: var(--button-hover);
}

/* ==========================================================================
   3. NAVBAR - Luxury Dark Theme
   ========================================================================== */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    background: linear-gradient(135deg, #0f1a0e 0%, #1a2e19 50%, #162615 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #d4af37 20%,
        #d4af37 80%,
        transparent 100%);
    opacity: 0.6;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.navbar.scrolled {
    padding: 8px 5%;
    background: rgba(15, 26, 14, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.logo-icon img {
    height: 26px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.brand-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 20px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    background: transparent;
}

.nav-links li a i {
    font-size: 0.85rem;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.nav-links li a:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
}

.nav-links li a:hover i {
    transform: scale(1.2);
}

.nav-links li a.active,
.nav-links li.active a {
    color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Login & Register Buttons */
.login-btn, .register-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn {
    color: #d4af37;
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.login-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    transform: translateY(-2px);
}

.register-btn {
    color: #1a2e19;
    background: linear-gradient(135deg, #d4af37, #c9a030);
    border: 2px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.register-btn:hover {
    background: linear-gradient(135deg, #e5c048, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    border-color: #d4af37;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #d4af37, #c9a030);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2e19;
    font-size: 0.9rem;
}

.user-name {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    color: #d4af37;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: linear-gradient(145deg, #162615, #1e3a1c);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a i {
    color: #d4af37;
    width: 18px;
    text-align: center;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
}

.dropdown-menu .logout-link:hover {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.dropdown-menu .logout-link:hover i {
    color: #e74c3c;
}

.dropdown-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 8px 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile User Section - Hidden on Desktop */
.mobile-user-section {
    display: none;
}

@media (max-width: 768px) {
    .mobile-user-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 20px;
        margin-top: 15px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .mobile-user-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 15px 20px;
        background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.25);
    }
    
    .mobile-user-avatar {
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, #d4af37, #c9a030);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1a2e19;
        font-size: 1rem;
    }
    
    .mobile-user-name {
        color: #fff;
        font-weight: 600;
        font-size: 1rem;
    }
    
    .mobile-nav-action {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        background: linear-gradient(145deg, rgba(26, 46, 25, 0.8), rgba(34, 61, 33, 0.8));
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-action i {
        color: #d4af37;
        font-size: 1rem;
    }
    
    .mobile-nav-action:hover {
        background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
        border-color: rgba(212, 175, 55, 0.4);
        color: #fff;
    }
    
    .mobile-nav-action.logout:hover {
        background: rgba(231, 76, 60, 0.15);
        border-color: rgba(231, 76, 60, 0.4);
        color: #e74c3c;
    }
    
    .mobile-nav-action.logout:hover i {
        color: #e74c3c;
    }
    
    .mobile-nav-action.login,
    .mobile-nav-action.register {
        background: linear-gradient(145deg, #d4af37, #c9a030);
        color: #1a2e19;
        border: none;
    }
    
    .mobile-nav-action.login i,
    .mobile-nav-action.register i {
        color: #1a2e19;
    }
    
    .mobile-nav-action.register {
        background: transparent;
        border: 2px solid #d4af37;
        color: #d4af37;
    }
    
    .mobile-nav-action.register i {
        color: #d4af37;
    }
}

/* OLD Login Button - Keep for compatibility */
.login-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-button button {
    background: linear-gradient(135deg, #d4af37, #c9a030);
    color: #1a2e19;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.login-button button:hover {
    background: linear-gradient(135deg, #e5c048, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Welcome Message in Header */
.login-button span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    padding: 10px 18px 10px 14px;
    border-radius: 50px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    letter-spacing: 0.2px;
}

.login-button span::before {
    content: "\f007";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #1a2e19;
    background: linear-gradient(135deg, #d4af37, #c9a030);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.login-button span:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-color: #d4af37;
}

.login-button span:hover::after {
    left: 100%;
    opacity: 1;
}

.login-button span strong {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all var(--transition-normal);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: -1;
    transform: scale(1.02);
    background-color: var(--primary-dark);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(57, 76, 56, 0.7) 0%,
                rgba(0, 0, 0, 0.5) 50%,
                rgba(57, 76, 56, 0.7) 100%);
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero-background.active {
    opacity: 1;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    text-align: center;
    background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.6) 0%,
                rgba(57, 76, 56, 0.4) 100%);
    padding: 60px 80px;
    border-radius: var(--radius-lg);
    max-width: 900px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: heroContentIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    z-index: 10;
    transform: translateY(30px);
    opacity: 0;
}

@keyframes heroContentIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
                var(--gold-color) 0%, 
                transparent 30%,
                transparent 70%,
                var(--gold-color) 100%);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.5;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    background: inherit;
    z-index: -1;
}

/* Decorative elements */
.hero-content .hero-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold-color);
    opacity: 0.3;
}

.hero-content .hero-decoration.top-left {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
}

.hero-content .hero-decoration.bottom-right {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    animation: titleReveal 1s ease forwards 0.3s;
    opacity: 0;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 10px;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 2px;
    }
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
                transparent, 
                var(--gold-color), 
                transparent);
    border-radius: 2px;
}

.hero-content .hero-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-weight: 600;
    animation: subtitleIn 1s ease forwards 0.5s;
    opacity: 0;
}

@keyframes subtitleIn {
    from {
        opacity: 0;
        letter-spacing: 15px;
    }
    to {
        opacity: 1;
        letter-spacing: 5px;
    }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease forwards 0.7s;
    opacity: 0;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeUp 1s ease forwards 0.9s;
    opacity: 0;
}

.hero-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 18px 45px;
    font-size: 1.1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 0 var(--gold-color);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 0 3px var(--gold-color);
    border-color: var(--gold-color);
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-color);
    color: var(--gold-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-color);
    animation: fadeIn 1s ease forwards 1.5s, bounce 2s ease-in-out infinite 2s;
    opacity: 0;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator span {
    font-size: 0.85rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-color);
    font-weight: 600;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--gold-color);
    border-radius: 20px;
    position: relative;
    opacity: 0.8;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--gold-color);
    border-radius: 3px;
    animation: scrollMouse 2s ease infinite;
}

@keyframes scrollMouse {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ==========================================================================
   5. BOOKING SECTION
   ========================================================================== */
.booking-section {
    padding: 100px 5% 80px;
    background: linear-gradient(180deg, #1a2e19 0%, #223d21 50%, #1a2e19 100%);
    position: relative;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.booking-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
}

.booking-section .section-header h2 {
    color: #ffffff;
}

.booking-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.booking-section .section-header {
    position: relative;
    z-index: 2;
}

.booking-section .section-subtitle {
    color: var(--gold-color);
}

.booking-section .section-header h2,
.booking-section h2 {
    color: #ffffff !important;
}

.booking-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
}

.booking-section h2,
.section-header h2 {
    font-size: 2.8rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.booking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 80px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(165deg, #0a120a 0%, #0f1a0e 20%, #162615 40%, #1a2e19 60%, #162615 80%, #0f1a0e 100%);
    padding: 40px 50px;
    border-radius: 24px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.booking-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.3) 20%, 
        var(--gold-color) 50%, 
        rgba(212, 175, 55, 0.3) 80%, 
        transparent 100%);
    border-radius: 24px 24px 0 0;
    z-index: 10;
}

.booking-form:hover {
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 175, 55, 0.1),
        0 0 0 2px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.booking-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gold-color);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.booking-form .form-group label i {
    color: var(--gold-color);
    font-size: 1rem;
    background: rgba(212, 175, 55, 0.15);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.booking-form input {
    padding: 16px 20px;
    width: 100%;
    min-width: 180px;
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s ease;
    background: linear-gradient(145deg, rgba(15, 26, 14, 0.9), rgba(26, 46, 25, 0.9));
    color: #ffffff;
}

.booking-form input:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(145deg, rgba(22, 38, 21, 0.95), rgba(30, 58, 28, 0.95));
}

.booking-form input:focus {
    border-color: var(--gold-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
    background: linear-gradient(145deg, rgba(26, 46, 25, 1), rgba(36, 61, 34, 1));
}

.booking-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Date input styling for dark theme */
.booking-form input[type="date"] {
    color-scheme: dark;
}

.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(10deg);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.booking-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.booking-form input[type="number"] {
    -moz-appearance: textfield;
}

.booking-form input[type="number"]::-webkit-outer-spin-button,
.booking-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#searchBtn {
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #0f1a0e;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
}

#searchBtn i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

#searchBtn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.3);
    background: linear-gradient(145deg, #e5c346, var(--gold-color));
}

#searchBtn:hover i {
    transform: rotate(90deg);
}

#searchBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.6s ease;
}

#searchBtn:hover::before {
    left: 100%;
}

/* ==========================================================================
   6. CARDS & APARTMENTS
   ========================================================================== */
.featured-apartments {
    text-align: center;
    padding: 80px 5% 100px;
    position: relative;
    background: linear-gradient(180deg, #162814 0%, #1a2e19 50%, #162814 100%);
    z-index: 5;
}

.featured-apartments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.featured-apartments::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 10%, var(--gold-color) 50%, transparent 90%);
}

.featured-apartments h4 {
    color: #ffffff;
}

.featured-apartments h3,
.featured-apartments h4 {
    margin-bottom: 40px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.featured-apartments .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.featured-apartments .section-subtitle {
    margin-bottom: 5px;
    color: var(--gold-color);
}

.featured-apartments h4 {
    font-size: 2.4rem;
    color: #ffffff;
    font-weight: 800;
    margin: 0;
}

.featured-apartments h4::after {
    display: none;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   LUXURY PROPERTY CARDS - PREMIUM DESIGN
   ========================================================================== */
.card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, #0a120a 0%, #0f1a0e 20%, #162615 40%, #1a2e19 60%, #162615 80%, #0f1a0e 100%);
    border-radius: 24px;
    width: 340px;
    min-height: 480px;
    overflow: hidden;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.3) 20%, 
        var(--gold-color) 50%, 
        rgba(212, 175, 55, 0.3) 80%, 
        transparent 100%);
    z-index: 10;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    z-index: 10;
}

.card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(212, 175, 55, 0.15),
        0 0 0 2px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--gold-color);
}

.card:hover::before {
    height: 5px;
    opacity: 1;
    background: linear-gradient(90deg, 
        var(--gold-color) 0%, 
        #fff5cc 50%, 
        var(--gold-color) 100%);
}

/* Card Image Container */
.card-image-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.card-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(15, 26, 14, 0.6) 80%,
        rgba(15, 26, 14, 0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
    transition: all 0.5s ease;
}

.card:hover .card-image-container::before {
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 60%,
        rgba(15, 26, 14, 0.5) 85%,
        rgba(15, 26, 14, 0.9) 100%
    );
}

.card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
    filter: brightness(0.95) saturate(1.1);
}

.card:hover img {
    transform: scale(1.12);
    filter: brightness(1) saturate(1.2);
}

/* Premium Price Tag */
.price-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(145deg, rgba(10, 18, 10, 0.95), rgba(26, 46, 25, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 16px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.card:hover .price-tag {
    transform: scale(1.05);
    border-color: var(--gold-color);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.price-tag .old-price {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    font-weight: 500;
}

.price-tag .new-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Luxury Badge (optional) */
.card .luxury-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #0f1a0e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Card Content */
.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 20px 0;
    position: relative;
    z-index: 3;
}

/* Apartment Name */
.apartment-name {
    text-align: center;
    font-size: 1.3rem;
    margin: 0 0 16px;
    color: #ffffff;
    font-weight: 700;
    padding: 0 10px;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.apartment-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    border-radius: 3px;
}

/* Location Style */
.apartment-location {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 16px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    padding: 10px 18px;
    border-radius: 25px;
    max-width: fit-content;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    gap: 8px;
}

.apartment-location:hover {
    transform: translateY(-2px);
    color: var(--gold-color);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.apartment-location i {
    color: var(--gold-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.apartment-location:hover i {
    transform: scale(1.2);
}

/* Card Info - Features Grid */
.card-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px 0;
    margin: 8px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
    border-radius: 12px;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.card-info span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.card-info span:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #ffffff;
}

.card-info span i {
    color: var(--gold-color);
    font-size: 1.1rem;
    background: rgba(212, 175, 55, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-info span:hover i {
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* View Details Button */
.card button,
.card .details-btn {
    width: calc(100% + 40px);
    margin: auto -20px 0;
    padding: 16px 0;
    background: linear-gradient(145deg, #1a2e19, #243d22);
    color: var(--gold-color);
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    margin-top: auto;
    text-align: center;
}

.card button::before,
.card .details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    transition: left 0.6s ease;
}

.card button:hover,
.card .details-btn:hover {
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #0f1a0e;
    letter-spacing: 2px;
    border-top-color: var(--gold-color);
}

.card button:hover::before,
.card .details-btn:hover::before {
    left: 100%;
}

.show-more {
    display: inline-block;
    margin: 40px auto 20px;
    padding: 16px 38px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(57, 76, 56, 0.15);
}

.show-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all var(--transition-normal);
    z-index: -1;
}

.show-more:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(57, 76, 56, 0.25);
}

.show-more:hover::before {
    width: 100%;
}

/* ==========================================================================
   7. CAROUSEL
   ========================================================================== */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 20px auto;
    padding: 0 30px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    padding: 40px 0;
}

.carousel-track .card {
    flex: 0 0 100%;
}

/* Premium Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, rgba(15, 26, 14, 0.95), rgba(26, 46, 25, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--gold-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 0 rgba(212, 175, 55, 0);
    line-height: 1;
    padding: 0;
}

.carousel-arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 56px;
    transition: transform 0.3s ease;
}

.carousel-arrow.prev { 
    left: 10px; 
}

.carousel-arrow.next { 
    right: 10px; 
}

.carousel-arrow:hover { 
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #0f1a0e;
    border-color: var(--gold-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 175, 55, 0.3),
        0 0 0 4px rgba(212, 175, 55, 0.15);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev:hover i {
    transform: translateX(-3px);
}

.carousel-arrow.next:hover i {
    transform: translateX(3px);
}

/* Image Carousel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    background-color: #000;
}

.carousel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.carousel-inner {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
    max-height: 600px;
}

.carousel-item {
    min-width: 100%;
    display: none;
    position: relative;
    background-color: #000;
}

.carousel-item.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.carousel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(145deg, #1a2e19, #2d4a2c);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold-color);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    color: var(--gold-color);
    font-size: 1.2rem;
}

.carousel-control::before {
    display: none;
}

.carousel-control i {
    color: var(--gold-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--gold-color);
    border-color: var(--gold-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
}

.carousel-control:hover i {
    color: #1a2e19;
}

.carousel-control.prev { left: 20px; }
.carousel-control.next { right: 20px; }

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 11;
}

.carousel-indicators .indicator,
.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicators .indicator:hover,
.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.carousel-indicators .indicator.active,
.carousel-indicator.active {
    background-color: var(--gold-color);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicator.active {
    background-color: #ffffff;
    transform: scale(1.3);
}

/* ==========================================================================
   8. APARTMENT DETAILS
   ========================================================================== */
.apartment-details-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #1a2e19 0%, #223d21 50%, #1a2e19 100%);
    position: relative;
    overflow: visible;
    min-height: 100vh;
}

.apartment-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.apartment-details-section .section-header {
    margin-bottom: 50px;
}

.apartment-details-section .section-header h2 {
    color: var(--gold-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.apartment-details-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.apartment-details-section .section-description i {
    color: var(--gold-color);
    margin-right: 8px;
}

.apartment-details {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.apartment-details .carousel {
    max-width: 100%;
    height: auto;
    min-height: 500px;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.apartment-details .carousel img {
    min-height: 500px;
    object-fit: cover;
}

/* Carousel Counter */
.carousel-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 11;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.carousel-counter span:first-child {
    color: var(--gold-color);
}

@media (max-width: 992px) {
    .apartment-details {
        grid-template-columns: 1fr;
    }
    
    .apartment-details .carousel {
        min-height: 400px;
    }
    
    .apartment-details .carousel img {
        min-height: 400px;
    }
}

.apartment-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.apartment-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.details-text {
    width: 100%;
    padding: 40px;
    background: linear-gradient(145deg, rgba(26, 46, 25, 0.95), rgba(34, 61, 33, 0.95));
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.details-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--gold-color);
}

.details-text::before {
    display: none;
}

.details-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.details-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--gold-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.details-text h3 i {
    color: var(--gold-color);
    font-size: 1.5rem;
}

.details-text h3::after {
    display: none;
}

.price-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.price-badge .price-label {
    font-size: 0.85rem;
    color: rgba(26, 46, 25, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-badge .price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a2e19;
}

.apartment-specs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

.spec-item i {
    font-size: 1.5rem;
    color: var(--gold-color);
}

.spec-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.description-section,
.features-section {
    margin-bottom: 25px;
}

.description-section h4,
.features-section h4 {
    font-size: 1.2rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-section h4 i,
.features-section h4 i {
    color: var(--gold-color);
}

.details-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.features-list li:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.features-list li i {
    color: var(--gold-color);
    font-size: 1rem;
}

.features-list li::before {
    display: none;
}

.price-tag2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2e19;
    padding: 15px 25px;
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    border-radius: 12px;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.details-text button {
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--button-hover) 100%);
    color: var(--accent-color);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: 0 5px 15px rgba(57, 76, 56, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.details-text button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(57, 76, 56, 0.3);
    background: linear-gradient(145deg, var(--button-hover) 0%, var(--primary-color) 100%);
}

/* ==========================================================================
   9. BOOKING FORM DETAILS
   ========================================================================== */
.booking-form-details {
    margin-top: 50px;
    background: linear-gradient(145deg, rgba(26, 46, 25, 0.95), rgba(34, 61, 33, 0.95));
    padding: 40px 45px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.booking-form-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--gold-color);
}

.booking-form-details::before {
    display: none;
}

.booking-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.booking-header h3 {
    font-size: 1.8rem;
    color: var(--gold-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.booking-header h3 i {
    color: var(--gold-color);
}

.booking-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.booking-form-details h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: var(--gold-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.booking-form-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
    border-radius: 2px;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
}

.booking-form-details form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-form-details form .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.booking-form-details form label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gold-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-form-details form label i {
    color: var(--gold-color);
}

.booking-form-details form input {
    padding: 16px 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-form-details form input:focus {
    border-color: var(--gold-color);
    outline: none;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
    background-color: rgba(0, 0, 0, 0.3);
}

.booking-form-details form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.book-btn {
    background: linear-gradient(145deg, var(--gold-color), #c9a030) !important;
    color: #1a2e19 !important;
    padding: 16px 30px !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.book-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4) !important;
    background: linear-gradient(145deg, #c9a030, var(--gold-color)) !important;
}

.book-btn i {
    font-size: 1rem;
}

.booking-form-details form button {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #1a2e19;
    padding: 16px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 5px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.booking-form-details form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    background: linear-gradient(145deg, #c9a030, var(--gold-color));
}

@media (max-width: 600px) {
    .booking-form-details form {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   10. FEEDBACK SECTION - Guest Reviews
   ========================================================================== */
.feedback-section {
    padding: 80px 5%;
    background: linear-gradient(180deg, #1a2e19 0%, #1f3520 50%, #1a2e19 100%);
    position: relative;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 85% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.feedback-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
}

.reviews-section {
    background: linear-gradient(180deg, #1a2e19 0%, #1f3520 50%, #1a2e19 100%);
}

.feedback-section .section-header {
    position: relative;
    z-index: 2;
}

.feedback-section .section-subtitle {
    color: var(--gold-color);
}

.feedback-section .section-header h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 800;
}

.feedback-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.no-reviews {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    text-align: center;
    padding: 40px;
}

.feedback-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback {
    background: linear-gradient(145deg, #162615 0%, #1e3a1c 50%, #243d22 100%);
    border-radius: 20px;
    flex: 1 1 300px;
    max-width: 380px;
    min-width: 280px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.feedback:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.4);
}

.feedback-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #d4af37;
    font-size: 2rem;
    opacity: 0.25;
}

.feedback::after {
    display: none;
}

.feedback:hover::after {
    display: none;
}

.feedback-avatar {
    position: relative;
    margin-bottom: 20px;
}

.feedback-avatar img,
.feedback img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(212, 175, 55, 0.5);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 4px rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.feedback:hover img {
    transform: scale(1.08);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 0 5px rgba(212, 175, 55, 0.4);
    border-color: #d4af37;
}

.feedback-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: #d4af37;
    font-size: 1.1rem;
}

.feedback-text,
.feedback p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    flex: 1;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.feedback-author,
.feedback span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #d4af37;
    font-size: 1.15rem;
    position: relative;
    margin-bottom: 5px;
}

.feedback-author .verified-badge {
    color: #3b82f6;
    font-size: 1rem;
}

.feedback-role {
    display: none;
}

.feedback .location {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.no-reviews {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 40px;
}

/* Feedback Slider */
.feedback-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto 40px;
    padding: 20px 50px;
    max-width: 1400px;
    direction: ltr !important; /* Always LTR for slider */
}

.feedback-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    direction: ltr !important; /* Always LTR for slider */
}

.feedback-track .feedback {
    flex: 0 0 100%;
}

.feedback-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #162615, #1e3a1c);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    font-size: 1.1rem;
    color: #d4af37;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-arrow:hover { 
    background: linear-gradient(135deg, #d4af37, #c9a030);
    color: #1a2e19;
    border-color: #d4af37;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.feedback-arrow.prev { left: 0; }
.feedback-arrow.next { right: 0; }

/* ==========================================================================
   11. FEEDBACK FORM - Leave a Review Section
   ========================================================================== */
.feedback-form-section {
    padding: 80px 5%;
    background: linear-gradient(180deg, #1f3520 0%, #243523 50%, #1f3520 100%);
    position: relative;
}

.feedback-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.feedback-form-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.feedback-form-section .section-header {
    margin-bottom: 40px;
}

.feedback-form-section .section-subtitle {
    color: var(--gold-color);
}

.feedback-form-section .section-header h2 {
    color: #ffffff;
}

.review-form,
#feedback-form form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, #162615 0%, #1e3a1c 50%, #243d22 100%);
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.review-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.review-form:hover,
#feedback-form form:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.4);
}

.review-form label,
#feedback-form form label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 15px;
}

.review-form label i {
    color: #d4af37;
    font-size: 1.2rem;
}

.review-form textarea,
#feedback-form form textarea {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.review-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.review-form textarea:focus,
#feedback-form form textarea:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background: rgba(0, 0, 0, 0.3);
}

.review-form button,
#feedback-form form button {
    background: linear-gradient(135deg, #d4af37, #c9a030);
    color: #1a2e19;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.review-form button:hover,
#feedback-form form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #e5c048, #d4af37);
}

.review-form button i {
    transition: transform var(--transition-normal);
}

.review-form button:hover i {
    transform: translateX(5px);
}

/* Message Box */
.message-box {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(145deg, #162615 0%, #1e3a1c 50%, #243d22 100%);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 2;
}

.message-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    border-radius: 0 0 3px 3px;
}

.message-box i {
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 25px;
    display: block;
}

.message-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.message-box button {
    background: linear-gradient(135deg, #d4af37, #c9a030);
    color: #1a2e19;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    border: none;
}

.message-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #e5c048, #d4af37);
}

.message-box button i {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Override for #feedback-form - Dark Theme */
#feedback-form form label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #d4af37;
}

#feedback-form form label i {
    color: #d4af37;
    font-size: 1.2rem;
}

#feedback-form form textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    min-height: 160px;
    resize: vertical;
    font-family: inherit;
    font-size: 1.05rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

#feedback-form form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#feedback-form form textarea:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), inset 0 2px 10px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.35);
}

#feedback-form form button {
    background: linear-gradient(135deg, #d4af37, #c9a030);
    color: #1a2e19;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    min-width: 200px;
}

#feedback-form form button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

#feedback-form form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e5c048, #d4af37);
}

#feedback-form form button:hover i {
    transform: translateX(5px);
}

#feedback-form .message-box {
    max-width: 550px;
    margin: 0 auto;
    background: linear-gradient(145deg, #162615 0%, #1e3a1c 50%, #243d22 100%);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

#feedback-form .message-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

#feedback-form .message-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.4);
}

#feedback-form .message-box i {
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 25px;
    display: block;
}

#feedback-form .message-box p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
}

#feedback-form .message-box button {
    background: linear-gradient(135deg, #d4af37, #c9a030);
    color: #1a2e19;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#feedback-form .message-box button i {
    font-size: 1rem;
    margin-bottom: 0;
}

#feedback-form .message-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e5c048, #d4af37);
}

/* ==========================================================================
   12. WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-chat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(145deg, #25d366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 0;
    border-radius: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: translateY(0);
}

.whatsapp-chat:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #128C7E 0%, #25d366 100%);
}

.whatsapp-chat a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    width: 100%;
    height: 100%;
}

.whatsapp-chat .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.whatsapp-chat .icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.whatsapp-chat i {
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.whatsapp-chat span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 20px 0 15px;
    white-space: nowrap;
    opacity: 1;
    transition: all var(--transition-normal);
    transform: translateX(0);
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.luxury-footer,
footer {
    background: linear-gradient(180deg, #0a120a 0%, #0f1a0e 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.footer-top-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.footer-main {
    padding: 80px 5% 60px;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 100%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 50px;
    margin-right: 15px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform var(--transition-normal);
}

.footer-logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.footer-tagline {
    color: var(--gold-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.85;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--gold-color);
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    color: var(--accent-color);
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-color);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--accent-color);
    opacity: 0.8;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--gold-color);
    transition: transform var(--transition-normal);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold-color);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    opacity: 0.85;
    transition: all var(--transition-normal);
}

.footer-contact .contact-item:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-contact .contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--gold-color);
    font-size: 0.95rem;
}

.footer-contact .contact-item span {
    font-size: 0.95rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 5%;
    text-align: center;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.footer-bottom .footer-credits {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom .footer-credits i {
    color: #e74c3c;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-bottom a {
    color: var(--gold-color);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact .contact-item {
        justify-content: center;
    }
}

/* ==========================================================================
   14. MODALS - Luxury Redesign
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(135deg, rgba(57, 76, 56, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
    animation: fadeIn 0.4s ease forwards;
}

.modal-content {
    background: linear-gradient(145deg, #1a2e19 0%, #0f1a0e 100%);
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(212, 175, 55, 0.2);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    animation: modalSlideIn 0.5s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: hidden;
}

@keyframes modalSlideIn {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Modal Header Decoration */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color), var(--primary-color));
}

/* Modal Icon Header */
.modal-header {
    padding: 40px 40px 25px;
    text-align: center;
    position: relative;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 
        0 10px 30px rgba(57, 76, 56, 0.3),
        0 0 0 5px rgba(57, 76, 56, 0.1);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(57, 76, 56, 0.3), 0 0 0 5px rgba(57, 76, 56, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(57, 76, 56, 0.4), 0 0 0 8px rgba(212, 175, 55, 0.15); }
}

.modal-icon i {
    font-size: 2rem;
    color: white;
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 5;
}

.close:hover {
    color: #1a2e19;
    background: linear-gradient(145deg, #d4af37, #c9a030);
    transform: rotate(90deg);
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Modal Title */
.modal-content h2 {
    text-align: center;
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

.modal-content h2 span {
    color: var(--gold-color);
}

.modal-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Modal Body */
.modal-body {
    padding: 10px 40px 40px;
}

/* Form Styling */
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-form-group {
    position: relative;
}

.modal-form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.modal-form-group label i {
    color: var(--gold-color);
    font-size: 0.9rem;
}

.modal-form-group input,
.modal-form-group select,
.modal-content select {
    width: 100%;
    padding: 15px 18px;
    padding-left: 45px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.modal-form-group .input-icon {
    position: absolute;
    left: 16px;
    bottom: 16px;
    color: rgba(212, 175, 55, 0.6);
    font-size: 1rem;
    transition: all var(--transition-normal);
    pointer-events: none;
}

.modal-form-group input:focus,
.modal-form-group select:focus {
    border-color: var(--gold-color);
    outline: none;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.modal-form-group:focus-within .input-icon {
    color: var(--gold-color);
}

.modal-form-group:focus-within label {
    color: var(--gold-color);
}

.modal-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: none;
    border: none;
    color: rgba(212, 175, 55, 0.5);
    cursor: pointer;
    padding: 5px;
    transition: all var(--transition-normal);
}

.password-toggle:hover {
    color: var(--gold-color);
}

/* Submit Button */
.modal-content form button[type="submit"],
.modal-submit-btn {
    background: linear-gradient(145deg, #d4af37 0%, #c9a030 100%);
    color: #1a2e19;
    padding: 16px 30px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-content form button[type="submit"]::before,
.modal-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s ease;
}

.modal-content form button[type="submit"]:hover::before,
.modal-submit-btn:hover::before {
    left: 100%;
}

.modal-content form button[type="submit"]:hover,
.modal-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(212, 175, 55, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.2);
}

.modal-content form button[type="submit"] i,
.modal-submit-btn i {
    transition: transform var(--transition-normal);
}

.modal-content form button[type="submit"]:hover i,
.modal-submit-btn:hover i {
    transform: translateX(5px);
}

/* Modal Divider */
.modal-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    gap: 15px;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.modal-divider span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Links */
.modal-content p {
    text-align: center;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.modal-content p a {
    color: #d4af37;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

.modal-content p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.modal-content p a:hover {
    color: #fff;
}

.modal-content p a:hover::after {
    width: 100%;
}

/* Forgot Password Link */
.forgot-password {
    text-align: right;
    margin-top: -10px;
}

.forgot-password a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.forgot-password a:hover {
    color: var(--gold-color);
}

/* Gender Selection */
.gender-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.gender-option {
    flex: 1;
    position: relative;
}

.gender-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gender-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    background: #fafafa;
}

.gender-option label i {
    font-size: 1.3rem;
    color: #999;
    transition: all var(--transition-normal);
}

.gender-option label span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.gender-option input:checked + label {
    border-color: var(--primary-color);
    background: rgba(57, 76, 56, 0.05);
}

.gender-option input:checked + label i {
    color: var(--gold-color);
}

.gender-option input:checked + label span {
    color: var(--primary-color);
}

.gender-option label:hover {
    border-color: var(--primary-light);
}

/* Form Error & Success Messages */
.form-error {
    background: linear-gradient(145deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    color: #e74c3c;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
    border-left: 3px solid #e74c3c;
}

.form-success {
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.05));
    color: #2ecc71;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
    border-left: 3px solid #2ecc71;
}

/* Select Dropdown Styling */
.modal-content select,
.modal-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-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='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-position: calc(100% - 15px) center;
    background-size: 12px;
    background-repeat: no-repeat;
    cursor: pointer;
    padding-left: 18px;
    color: #fff;
}

.modal-content select:focus,
.modal-form-group select:focus {
    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='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.modal-content select option {
    background-color: #1a2e19;
    color: #fff;
}

/* Modal Responsive */
@media (max-width: 600px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-header {
        padding: 30px 25px 20px;
    }
    
    .modal-body {
        padding: 10px 25px 30px;
    }
    
    .modal-icon {
        width: 70px;
        height: 70px;
    }
    
    .modal-icon i {
        font-size: 1.7rem;
    }
    
    .gender-options {
        flex-direction: column;
    }
}

/* ==========================================================================
   15. NOTIFICATION & POPUP
   ========================================================================== */
.notification-popup,
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    display: none;
}

.notification-popup.show,
.popup.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.notification-content,
.popup-content {
    background: linear-gradient(165deg, #0a120a 0%, #0f1a0e 20%, #162615 50%, #0f1a0e 80%, #0a120a 100%);
    padding: 40px 45px;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.4s 0.1s ease forwards;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.notification-content::before,
.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.3) 20%, 
        var(--gold-color) 50%, 
        rgba(212, 175, 55, 0.3) 80%, 
        transparent 100%);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.notification-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.notification-icon.success { background: linear-gradient(145deg, #2ecc71, #27ae60); border-color: rgba(46, 204, 113, 0.4); }
.notification-icon.error { background: linear-gradient(145deg, #e74c3c, #c0392b); border-color: rgba(231, 76, 60, 0.4); }
.notification-icon.warning { background: linear-gradient(145deg, #f39c12, #e67e22); border-color: rgba(243, 156, 18, 0.4); }
.notification-icon.info { background: linear-gradient(145deg, #3498db, #2980b9); border-color: rgba(52, 152, 219, 0.4); }

.notification-icon i {
    font-size: 2rem;
    color: white;
}

.notification-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.notification-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.5;
}

.notification-btn {
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #0f1a0e;
    padding: 14px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.notification-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.notification-btn.success { 
    background: linear-gradient(145deg, #2ecc71, #27ae60); 
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}
.notification-btn.error { 
    background: linear-gradient(145deg, #e74c3c, #c0392b); 
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}
.notification-btn.warning { 
    background: linear-gradient(145deg, #f39c12, #e67e22); 
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}
.notification-btn.info { 
    background: linear-gradient(145deg, #3498db, #2980b9); 
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Popup Content - Dark Theme */
.popup-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.popup-content h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    border-radius: 3px;
}

.popup-content p {
    margin: 12px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.popup-content p strong {
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    font-weight: 500;
}

.popup-content p span {
    color: var(--gold-color);
    font-weight: 600;
    flex: 1;
    text-align: right;
}

.popup-content #popup-total-amount {
    color: var(--gold-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn.approve {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn.approve:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.btn.reject {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn.reject:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* ==========================================================================
   16. DATEPICKER - Luxury Dark Theme
   ========================================================================== */
.ui-datepicker {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(165deg, #0a120a 0%, #0f1a0e 20%, #162615 50%, #0f1a0e 80%, #0a120a 100%);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 100001 !important;
}

.ui-datepicker-header {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    color: var(--gold-color);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 12px;
    margin-bottom: 15px;
}

.ui-datepicker-title {
    color: var(--gold-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: var(--gold-color) !important;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    filter: brightness(0) saturate(100%) invert(79%) sepia(45%) saturate(497%) hue-rotate(6deg) brightness(92%) contrast(89%);
}

.ui-datepicker-prev:hover span,
.ui-datepicker-next:hover span {
    filter: brightness(0) saturate(100%);
}

.ui-datepicker-calendar {
    border-collapse: separate;
    border-spacing: 4px;
}

.ui-datepicker-calendar th {
    color: var(--gold-color);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ui-datepicker-calendar td {
    padding: 2px;
}

.ui-datepicker-calendar .ui-state-default {
    background: linear-gradient(145deg, rgba(26, 46, 25, 0.6), rgba(22, 38, 21, 0.6));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ui-datepicker-calendar .ui-state-default:hover {
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #0f1a0e;
    border-color: var(--gold-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.ui-datepicker-calendar .ui-state-active {
    background: linear-gradient(145deg, var(--gold-color), #c9a030) !important;
    color: #0f1a0e !important;
    border: 1px solid var(--gold-color) !important;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.ui-datepicker-calendar .ui-state-highlight {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold-color);
}

.ui-datepicker-unselectable .ui-state-disabled {
    background: rgba(231, 76, 60, 0.15) !important;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
    opacity: 1;
    pointer-events: none;
    color: rgba(231, 76, 60, 0.7) !important;
}

.ui-datepicker-unselectable .ui-state-disabled span {
    text-decoration: line-through;
}

/* ==========================================================================
   17. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    5% { opacity: 1; }
    45% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes scaleAnimation {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.12); }
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollMouse {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes moveDots {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   18. RESPONSIVE - TABLET
   ========================================================================== */
@media (min-width: 600px) {
    .carousel-track .card { flex: 0 0 calc(50% - 10px); }
    .feedback-track .feedback { flex: 0 0 calc(50% - 15px); }
}

@media (min-width: 900px) {
    .carousel-track .card { flex: 0 0 calc(33.333% - 13.33px); }
    .feedback-track .feedback { flex: 0 0 calc(33.333% - 20px); }
}

@media (min-width: 1200px) {
    .carousel-track .card { flex: 0 0 calc(25% - 15px); }
}

@media (max-width: 992px) {
    .nav-links { gap: 20px; }
    
    .hero-content {
        padding: 35px 50px;
        max-width: 85%;
    }
    
    .hero-content h1 { font-size: 2.6rem; }
    
    .hero-btn-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .booking-section { padding: 60px 5%; }
    .booking-form { padding: 25px; }
    
    .booking-form input,
    #searchBtn {
        width: 100%;
        max-width: 300px;
    }
    
    .apartment-details { flex-direction: column; align-items: center; }
    .apartment-image, .details-text { max-width: 100%; }
    .details-text { padding: 30px; }
    
    .feedback-section { padding: 70px 7%; }
    .feedback-container { gap: 25px; }
    .feedback { max-width: 45%; min-width: 250px; padding: 30px 25px; }
    .feedback img { width: 90px; height: 90px; }
    
    #feedback-form { padding: 70px 7%; }
    #feedback-form form, #feedback-form .message-box { padding: 35px; }
}

/* ==========================================================================
   19. RESPONSIVE - MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .mobile-menu-btn {
        display: flex;
    }
    
    .hamburger {
        display: flex;
        position: static;
        margin-right: 10px;
        transform: none;
    }
    
    .navbar {
        padding: 12px 5%;
        justify-content: space-between;
    }
    
    .logo { margin: 0; }
    
    .logo-text .brand-name { font-size: 1.2rem; }
    .logo-text .brand-tagline { font-size: 0.65rem; }
    .logo-icon { width: 42px; height: 42px; }
    .logo-icon img { height: 28px; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(180deg, #0f1a0e 0%, #162615 100%);
        padding: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        gap: 5px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none; /* Prevent clicks when hidden */
        transition: all 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto; /* Enable clicks when visible */
        transform: translateY(0);
    }
    
    .nav-links li { width: 100%; }
    .nav-links li a { 
        display: flex; 
        justify-content: center;
        padding: 15px 20px; 
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-actions.mobile-show {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #0f1a0e 0%, #162615 100%);
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        z-index: 998;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .login-button {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }
    
    .login-button span {
        font-size: 0.85rem;
        padding: 8px 14px 8px 10px;
        margin-right: 0;
        order: 2;
        width: 100%;
        text-align: center;
    }
    
    .login-button span::before { width: 22px; height: 22px; font-size: 0.75rem; }
    
    .login-button a, .login-button button { order: 1; }
    
    /* User Dropdown Mobile */
    .user-dropdown { 
        width: 100%; 
    }
    
    .user-btn { 
        width: 100%; 
        justify-content: center;
        padding: 12px 20px;
        background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    }
    
    .user-name {
        max-width: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 12px;
        background: linear-gradient(145deg, #1a2e19, #243d22);
        border: 1px solid rgba(212, 175, 55, 0.25);
    }
    
    .dropdown-menu a {
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* Login/Register Buttons Mobile */
    .login-btn,
    .register-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* Hero */
    .hero-content { padding: 30px 40px; max-width: 90%; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-btn { padding: 14px 30px; font-size: 1rem; }
    .scroll-indicator { bottom: 20px; }
    .scroll-indicator .mouse { width: 25px; height: 40px; }
    
    /* Booking */
    .booking-section h2 { font-size: 2rem; }
    .card { 
        width: 100%; 
        max-width: 360px; 
        min-height: auto;
    }
    .card-image-container { height: 200px; }
    .card img { height: 200px; }
    .card-info { 
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    .card-info span { 
        font-size: 0.72rem;
        padding: 6px 2px;
    }
    .card-info span i {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }
    
    /* Feedback */
    .feedback-section { padding: 60px 5%; }
    .feedback-section h2 { font-size: 2.2rem; }
    .feedback-container { flex-direction: column; gap: 30px; align-items: center; }
    .feedback { width: 100%; max-width: 450px; min-width: 0; }
    .feedback:hover { transform: translateY(-5px); }
    
    /* Feedback Form */
    #feedback-form { padding: 60px 5%; }
    #feedback-form h2 { font-size: 2.2rem; }
    #feedback-form form, #feedback-form .message-box { padding: 30px; }
    #feedback-form form textarea { min-height: 120px; }
    
    /* Apartment Details */
    .apartment-details-section { padding: 60px 5%; }
    .apartment-details-section h2 { font-size: 2.2rem; }
    .apartment-details { padding: 20px; gap: 20px; }
    .details-text h3 { font-size: 1.5rem; }
    .price-tag2 { font-size: 1.3rem; }
    
    /* Carousel */
    .carousel { max-width: 100%; }
    .carousel-inner { height: 300px; }
    
    /* Booking Form Details */
    .booking-form-details { padding: 30px 35px; }
    .booking-form-details h3 { font-size: 1.7rem; }
    .apartment-image { height: 350px; }
    
    /* Modal */
    .modal-content { width: 95%; padding: 30px 25px; }
    .modal-content h2 { font-size: 1.8rem; }
    .modal-content form input { padding: 14px 16px; }
    .modal-content form button { padding: 14px 20px; font-size: 1rem; }
    .social-btn { width: 45px; height: 45px; font-size: 1.1rem; }
    
    /* Notifications & Popups */
    .notification-content, .popup-content { padding: 30px; }
    .notification-icon { width: 60px; height: 60px; }
    .notification-icon i { font-size: 1.7rem; }
    .notification-title { font-size: 1.6rem; }
    .notification-message { font-size: 1rem; }
    .popup-content h3 { font-size: 1.5rem; }
    .popup-content p { font-size: 1rem; }
    .btn { padding: 10px 20px; font-size: 1rem; }
    
    /* WhatsApp */
    .whatsapp-chat { width: 55px; height: 55px; }
    .whatsapp-chat span { opacity: 0; transform: translateX(10px); width: 0; padding: 0; }
    .whatsapp-chat:hover { width: auto; }
    .whatsapp-chat:hover span { opacity: 1; transform: translateX(0); padding: 0 20px 0 15px; width: auto; }
    
    /* Footer */
    footer { padding: 35px 5% 20px; }
    .footer-content { flex-direction: column; gap: 30px; }
    .footer-logo-section, .footer-nav, .footer-contact { flex: 1 1 100%; width: 100%; max-width: 100%; }
    .footer-description { max-width: 100%; }
    .footer-logo span { font-size: 1.6rem; }
    .footer-nav, .footer-contact { text-align: center; }
    .footer-nav h3, .footer-contact h3 { display: block; text-align: center; }
    .footer-nav h3::after, .footer-contact h3::after { left: 50%; transform: translateX(-50%); width: 50px; }
    .footer-nav a { padding-left: 0; }
    .footer-nav a::before { display: none; }
    .contact-info p { justify-content: center; }
    .social-links { justify-content: center; }
}

/* ==========================================================================
   20. RESPONSIVE - SMALL MOBILE
   ========================================================================== */
@media (max-width: 480px) {
    .login-button span { font-size: 0.7rem; padding: 3px 5px 3px 5px; }
    
    .hero-content { padding: 25px 30px; max-width: 95%; }
    .hero-content h1 { font-size: 1.4rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 25px; }
    .hero-btn { padding: 12px 25px; font-size: 0.9rem; }
    
    .booking-section { padding: 40px 5%; }
    .booking-section h2 { font-size: 1.8rem; }
    .booking-form { padding: 20px 15px; }
    .featured-apartments h3 { font-size: 1.6rem; }
    .show-more { padding: 12px 25px; font-size: 1rem; }
    
    .apartment-details-section { padding: 50px 4%; }
    .apartment-details-section h2 { font-size: 2rem; }
    .apartment-image { height: 300px; }
    .details-text { padding: 25px; }
    .details-text h3 { font-size: 1.3rem; }
    .details-text p { font-size: 1rem; }
    .details-text button { padding: 12px 25px; font-size: 1rem; }
    .price-tag2 { font-size: 1.2rem; padding: 10px 15px; }
    
    .booking-form-details { padding: 25px 30px; }
    .booking-form-details form input { padding: 14px 16px; }
    .booking-form-details form button { padding: 14px 20px; font-size: 1rem; }
    
    .carousel-inner { height: 250px; }
    .carousel-control { width: 35px; height: 35px; }
    
    .feedback-section { padding: 50px 4%; }
    .feedback-section h2 { font-size: 2rem; }
    .feedback { padding: 25px 20px; }
    .feedback p { font-size: 1rem; }
    .feedback button { padding: 10px 20px; font-size: 0.95rem; }
    .view-all-feedback { padding: 14px 30px; font-size: 1rem; }
    
    #feedback-form { padding: 50px 4%; }
    #feedback-form h2 { font-size: 2rem; }
    #feedback-form form, #feedback-form .message-box { padding: 25px 20px; }
    #feedback-form form label { font-size: 1.1rem; }
    #feedback-form form button, #feedback-form .message-box button { padding: 12px 25px; font-size: 1rem; }
    
    .notification-content, .popup-content { padding: 25px 20px; }
    .notification-icon { width: 50px; height: 50px; }
    .notification-icon i { font-size: 1.5rem; }
    .notification-title { font-size: 1.4rem; }
    .popup-content h3 { font-size: 1.3rem; }
    .popup-buttons { flex-direction: column; }
    .btn { width: 100%; margin-bottom: 10px; }
    
    .modal-content { padding: 25px 20px; }
    .modal-content h2 { font-size: 1.6rem; margin-bottom: 25px; }
    .form-group { margin-bottom: 15px; }
    .modal-content form label { font-size: 0.95rem; }
    .modal-content form input { padding: 12px 15px; font-size: 1rem; }
    .social-login { gap: 10px; }
    .social-btn { width: 40px; height: 40px; font-size: 1rem; }
    
    footer { padding: 30px 4% 15px; }
    .footer-logo img { height: 40px; }
    .footer-logo span { font-size: 1.4rem; }
    .footer-nav h3, .footer-contact h3 { font-size: 1.2rem; }
}

/* ==========================================================================
   21. GENDER FORM GROUP
   ========================================================================== */
.form-group.gender-group {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.form-group.gender-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.form-group.gender-group input[type="radio"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.form-group.gender-group span {
    font-weight: 500;
    user-select: none;
}

@media (max-width: 480px) {
    .form-group.gender-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .form-group.gender-group label { font-size: 0.97rem; }
}

/* ==========================================================================
   22. UPLOAD OVERLAY
   ========================================================================== */
#uploadOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

#uploadOverlay div {
    text-align: center;
}
/* ==========================================================================
   ADMIN PANEL STYLES - Mangroovy Stays
   ========================================================================== */

/* ==========================================================================
   1. ADMIN LOGIN PAGE
   ========================================================================== */
.admin-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-hover) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.admin-login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.admin-login-page .language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.admin-login-page .back-to-site {
    position: fixed;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-login-page .back-to-site:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.rtl .admin-login-page .language-switcher {
    right: auto;
    left: 20px;
}

body.rtl .admin-login-page .back-to-site {
    left: auto;
    right: 20px;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 1s; }
.particle:nth-child(3) { left: 50%; animation-delay: 2s; }
.particle:nth-child(4) { left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { left: 85%; animation-delay: 4s; }
.particle:nth-child(6) { left: 45%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh); opacity: 0; }
    25%, 75% { opacity: 0.6; }
    50% { transform: translateY(0); opacity: 1; }
}

.admin-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-hover) 100%);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.admin-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.admin-login-container {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.admin-login-welcome {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-login-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.admin-login-welcome .admin-logo {
    width: 120px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.admin-login-welcome h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.admin-login-welcome > p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.admin-features {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.admin-features:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.admin-features h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.admin-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.admin-features li:hover {
    transform: translateX(5px);
}

body.rtl .admin-features li:hover {
    transform: translateX(-5px);
}

.admin-features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.admin-login-form {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(57, 76, 56, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(57, 76, 56, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(57, 76, 56, 0.4);
    }
}

.header-icon i {
    font-size: 2.5rem;
    color: white;
}

.admin-login-form h1 {
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
}

.admin-login-form .welcome-message {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-message i {
    font-size: 1.3rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-login-form .input-group {
    position: relative;
}

.admin-login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-left {
    position: absolute;
    left: 16px;
    color: var(--primary-color);
    opacity: 0.6;
    pointer-events: none;
    z-index: 2;
}

body.rtl .input-icon-left {
    left: auto;
    right: 16px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    color: var(--primary-color);
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

body.rtl .toggle-password {
    right: auto;
    left: 16px;
}

.toggle-password:hover {
    opacity: 1;
    transform: scale(1.1);
}

.admin-login-form input {
    width: 100%;
    padding: 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #333;
    box-sizing: border-box;
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(57, 76, 56, 0.1);
    background-color: #ffffff;
    transform: translateY(-2px);
}

.admin-login-form input::placeholder {
    color: #aaa;
    opacity: 1;
}

.login-btn {
    padding: 16px 30px;
    background: linear-gradient(145deg, var(--primary-color), var(--button-hover));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(57, 76, 56, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.admin-login-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    z-index: -1;
    pointer-events: none;
}

.admin-login-container h1 {
    margin-bottom: 35px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.admin-login-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.admin-login-container form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.admin-login-container .form-group {
    position: relative;
    text-align: left;
}

.admin-login-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--secondary-color);
}

.admin-login-container input[type="text"],
.admin-login-container input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all var(--transition-normal);
    background-color: #fafafa;
    box-shadow: var(--shadow-sm);
}

.admin-login-container input[type="text"]:focus,
.admin-login-container input[type="password"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(57, 76, 56, 0.15);
    background-color: #ffffff;
}

.admin-login-container input::placeholder {
    color: #aaa;
}

.admin-login-container button {
    padding: 16px 30px;
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--button-hover) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: 0 5px 15px rgba(57, 76, 56, 0.3);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.admin-login-container button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.admin-login-container button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(57, 76, 56, 0.4);
    background: linear-gradient(145deg, var(--button-hover) 0%, var(--primary-color) 100%);
}

.admin-login-container button:hover::before {
    left: 100%;
}

/* ==========================================================================
   2. ADMIN HEADER
   ========================================================================== */
.admin-header {
    background: linear-gradient(135deg, var(--background-color) 60%, rgba(57, 76, 56, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.admin-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    gap: 20px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-brand img {
    height: 45px;
    width: auto;
}

.admin-brand h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.admin-brand h1 span {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9em;
}

.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--button-hover);
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to right, rgba(57, 76, 56, 0.05), rgba(57, 76, 56, 0.1));
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.admin-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.admin-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.admin-role {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.admin-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(57, 76, 56, 0.3);
}

.admin-header-bottom {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 5%;
}

.admin-header-bottom ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.admin-header-bottom li {
    margin: 0;
}

.admin-header-bottom a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

.admin-header-bottom a:hover {
    background: rgba(57, 76, 56, 0.05);
    color: var(--primary-color);
}

.admin-header-bottom a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(57, 76, 56, 0.05);
}

.admin-header-bottom a i {
    font-size: 1.1em;
}

.logout-btn {
    color: #dc3545 !important;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.1) !important;
}

/* RTL Support for Admin Header */
body.rtl .admin-brand {
    flex-direction: row-reverse;
}

body.rtl .admin-brand img {
    margin-right: 0;
    margin-left: 15px;
}

body.rtl .admin-info {
    align-items: flex-start;
}

body.rtl .admin-actions {
    flex-direction: row-reverse;
}

body.rtl .admin-welcome {
    flex-direction: row-reverse;
}

body.rtl .admin-header-bottom a {
    flex-direction: row-reverse;
}

/* Language Switcher in Admin */
.admin-header .language-switcher {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(57, 76, 56, 0.25);
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 76, 56, 0.35);
}

.language-toggle i {
    font-size: 1.1em;
}

body.rtl .language-toggle {
    flex-direction: row-reverse;
}

/* Dashboard Header Styles */
.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.dashboard-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Welcome Message Styles */
.welcome-message {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(57, 76, 56, 0.2);
    position: relative;
    z-index: 1;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-message > p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 20px;
}

.quick-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Stats Container Styles */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--button-hover));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(57, 76, 56, 0.1), rgba(57, 76, 56, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.stat-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.stat-title {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-description {
    font-size: 0.85rem;
    color: #888;
}

/* Charts Container */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.chart-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.chart-container {
    height: 300px;
    position: relative;
}

/* ==========================================================================
   3. ADMIN DASHBOARD
   ========================================================================== */
.admin-dashboard {
    padding: 50px 5%;
    background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 100%);
    min-height: calc(100vh - 85px);
    position: relative;
    overflow: hidden;
}

.admin-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(57, 76, 56, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(57, 76, 56, 0.08) 0%, transparent 30%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.admin-dashboard h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.admin-dashboard h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--button-hover));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.admin-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.admin-card:hover::before {
    opacity: 1;
}

.admin-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0.9;
    transition: transform var(--transition-normal);
}

.admin-card:hover .icon {
    transform: scale(1.1);
}

.admin-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.admin-card p {
    font-size: 1rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
}

.admin-card a {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--button-hover) 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(57, 76, 56, 0.2);
    position: relative;
    overflow: hidden;
}

.admin-card a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.admin-card a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(57, 76, 56, 0.3);
    background: linear-gradient(145deg, var(--button-hover) 0%, var(--primary-color) 100%);
}

.admin-card a:hover::before {
    left: 100%;
}

/* ==========================================================================
   4. ADMIN SECTIONS COMMON STYLES
   ========================================================================== */
.admin-section,
.admin-feedback-section,
.admin-apartments,
.admin-users,
.admin-admins,
.admin-reviews,
.admin-reservations {
    padding: 50px 5%;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    min-height: calc(100vh - 85px);
    position: relative;
    overflow: hidden;
}

.admin-section::before,
.admin-feedback-section::before,
.admin-apartments::before,
.admin-users::before,
.admin-admins::before,
.admin-reviews::before,
.admin-reservations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(57, 76, 56, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(57, 76, 56, 0.08) 0%, transparent 30%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.admin-section h2,
.admin-feedback-section h2,
.admin-apartments h2,
.admin-users h2,
.admin-admins h2,
.admin-reviews h2,
.admin-reservations h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.admin-section h2::after,
.admin-feedback-section h2::after,
.admin-apartments h2::after,
.admin-users h2::after,
.admin-admins h2::after,
.admin-reviews h2::after,
.admin-reservations h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Admin Apartments Specific Styles */
.AdminApartmentsContainer {
    position: relative;
    z-index: 1;
}

.AdminSectionTitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.AdminSectionTitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--button-hover));
    border-radius: 2px;
}

.AdminApartmentsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.AdminApartmentCard {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.AdminApartmentCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.AdminApartmentCard img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.AdminCardContent {
    padding: 20px;
}

.AdminCardTitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.AdminCardDetails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.AdminDetail {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.AdminDetail i {
    color: var(--primary-color);
}

.AdminCardPrice {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.AdminCardPrice span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.AdminCardActions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.AdminBtn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.AdminEditBtn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.AdminEditBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.AdminDeleteBtn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.AdminDeleteBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.AdminViewBtn {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
}

.AdminViewBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 76, 56, 0.3);
}

/* ==========================================================================
   5. ADMIN TABLES
   ========================================================================== */
.admin-table-container {
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.admin-table-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(57, 76, 56, 0.08);
    border-radius: 25px;
    z-index: -1;
    pointer-events: none;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table th {
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--button-hover) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table th:first-child {
    border-radius: 12px 0 0 0;
}

.admin-table th:last-child {
    border-radius: 0 12px 0 0;
}

.admin-table tbody tr {
    transition: all var(--transition-normal);
}

.admin-table tbody tr:hover {
    background-color: rgba(57, 76, 56, 0.04);
}

.admin-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.admin-table tbody tr:nth-child(even):hover {
    background-color: rgba(57, 76, 56, 0.07);
}

.admin-table td {
    font-size: 0.95rem;
    color: #444;
    vertical-align: middle;
}

.admin-table td img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   6. ADMIN BUTTONS
   ========================================================================== */
.admin-btn,
.AdminBtn,
.edit-btn,
.delete-btn,
.approve-btn,
.reject-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-btn::before,
.AdminBtn::before,
.edit-btn::before,
.delete-btn::before,
.approve-btn::before,
.reject-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.admin-btn:hover::before,
.AdminBtn:hover::before,
.edit-btn:hover::before,
.delete-btn:hover::before,
.approve-btn:hover::before,
.reject-btn:hover::before {
    left: 100%;
}

.admin-btn,
.AdminBtn {
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--button-hover) 100%);
    color: #fff;
}

.admin-btn:hover,
.AdminBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(57, 76, 56, 0.25);
}

.edit-btn {
    background: linear-gradient(145deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.edit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

.delete-btn {
    background: linear-gradient(145deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.delete-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
}

.approve-btn {
    background: linear-gradient(145deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
}

.approve-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.3);
}

.reject-btn {
    background: linear-gradient(145deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.reject-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
}

/* Button Groups */
.admin-btn-group,
.action-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   7. ADMIN FORMS
   ========================================================================== */
.admin-form-container {
    background-color: #fff;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.admin-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.admin-form-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(57, 76, 56, 0.08);
    border-radius: 25px;
    z-index: -1;
    pointer-events: none;
}

.admin-form-container h2 {
    text-align: center;
    margin-bottom: 35px;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.admin-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.admin-form-container form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.admin-form-group,
.AdminFormGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.admin-form-group label,
.AdminFormGroup label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--secondary-color);
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select,
.AdminFormGroup input,
.AdminFormGroup textarea,
.AdminFormGroup select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    background-color: #fafafa;
    box-shadow: var(--shadow-sm);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus,
.AdminFormGroup input:focus,
.AdminFormGroup textarea:focus,
.AdminFormGroup select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 12px rgba(57, 76, 56, 0.1);
    background-color: #fff;
}

.admin-form-group input::placeholder,
.admin-form-group textarea::placeholder {
    color: #aaa;
}

.admin-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.admin-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: 
        linear-gradient(45deg, transparent 50%, #888 50%),
        linear-gradient(135deg, #888 50%, transparent 50%);
    background-position: 
        calc(100% - 25px) center,
        calc(100% - 20px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.admin-form-container button[type="submit"],
.admin-form-container .submit-btn {
    padding: 16px 30px;
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--button-hover) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 5px 15px rgba(57, 76, 56, 0.25);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.admin-form-container button[type="submit"]:hover,
.admin-form-container .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(57, 76, 56, 0.35);
    background: linear-gradient(145deg, var(--button-hover) 0%, var(--primary-color) 100%);
}

/* ==========================================================================
   8. ADMIN POPUPS & MODALS
   ========================================================================== */
.admin-popup,
.AdminPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    visibility: hidden;
}

.admin-popup.show,
.AdminPopup.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.3s forwards;
}

.admin-popup-content,
.AdminPopupContent {
    background: #ffffff;
    padding: 40px 45px;
    border-radius: 20px;
    width: 95%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.4s 0.1s ease forwards;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-popup-content::before,
.AdminPopupContent::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(57, 76, 56, 0.1);
    border-radius: 25px;
    z-index: -1;
    pointer-events: none;
}

.admin-popup-content h3,
.AdminPopupContent h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.admin-popup-content h3::after,
.AdminPopupContent h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--button-hover));
    border-radius: 3px;
}

.admin-popup-content p,
.AdminPopupContent p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.admin-popup-buttons,
.AdminPopupButtons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* ==========================================================================
   9. ADMIN FEEDBACK SECTION
   ========================================================================== */
.admin-feedback-section .feedback-item,
.feedback-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.admin-feedback-section .feedback-item:hover,
.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.admin-feedback-section .feedback-item::before,
.feedback-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: rgba(57, 76, 56, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.admin-feedback-section .feedback-header,
.feedback-card .feedback-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.admin-feedback-section .feedback-header img,
.feedback-card .feedback-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid rgba(57, 76, 56, 0.1);
}

.admin-feedback-section .feedback-header h4,
.feedback-card .feedback-header h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.admin-feedback-section .feedback-header .date,
.feedback-card .feedback-header .date {
    font-size: 0.9rem;
    color: #888;
}

.admin-feedback-section .feedback-content,
.feedback-card .feedback-content {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.admin-feedback-section .feedback-stars,
.feedback-card .feedback-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    color: #FFD700;
}

/* ==========================================================================
   10. ADMIN STATUS BADGES
   ========================================================================== */
.status-badge {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: linear-gradient(145deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

.status-badge.approved {
    background: linear-gradient(145deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
}

.status-badge.rejected {
    background: linear-gradient(145deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.status-badge.confirmed {
    background: linear-gradient(145deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.status-badge.cancelled {
    background: linear-gradient(145deg, #7f8c8d 0%, #6c7a7a 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(127, 140, 141, 0.3);
}

/* ==========================================================================
   11. IMAGE UPLOAD STYLES
   ========================================================================== */
.image-upload-container {
    border: 2px dashed #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
    background-color: #fafafa;
    cursor: pointer;
    position: relative;
}

.image-upload-container:hover,
.image-upload-container.dragover {
    border-color: var(--primary-color);
    background-color: rgba(57, 76, 56, 0.03);
}

.image-upload-container i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.image-upload-container p {
    color: #777;
    font-size: 1rem;
}

.image-upload-container input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.image-preview {
    position: relative;
    width: 120px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.image-preview .remove-image:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

/* ==========================================================================
   12. ADMIN RESPONSIVE - TABLET
   ========================================================================== */
@media (max-width: 992px) {
    .admin-header {
        padding: 12px 4%;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .admin-header .welcome-message {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
    
    .admin-dashboard, .admin-section,
    .admin-feedback-section, .admin-apartments,
    .admin-users, .admin-admins,
    .admin-reviews, .admin-reservations {
        padding: 40px 4%;
    }
    
    .admin-dashboard h2, .admin-section h2,
    .admin-feedback-section h2, .admin-apartments h2,
    .admin-users h2, .admin-admins h2,
    .admin-reviews h2, .admin-reservations h2 {
        font-size: 2.2rem;
    }
    
    .admin-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .admin-table-container { padding: 20px; }
    
    .admin-table th, .admin-table td { padding: 12px 15px; font-size: 0.9rem; }
    
    .admin-form-container { padding: 35px 40px; }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   13. ADMIN RESPONSIVE - MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .admin-login-page .language-switcher {
        top: 15px;
        right: 15px;
    }
    
    .admin-login-page .back-to-site {
        top: 15px;
        left: 15px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .admin-login-container {
        grid-template-columns: 1fr;
        max-width: 95%;
    }
    
    .admin-login-welcome {
        padding: 35px 25px;
    }
    
    .admin-login-welcome .admin-logo {
        width: 100px;
    }
    
    .admin-login-welcome h2 {
        font-size: 1.6rem;
    }
    
    .admin-login-form {
        padding: 35px 25px;
    }
    
    .admin-login-form h1 {
        font-size: 1.8rem;
    }
    
    .admin-header-top {
        flex-wrap: wrap;
        padding: 15px 3%;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
    }
    
    .admin-brand {
        order: 1;
        flex: 1;
    }
    
    .admin-brand h1 {
        font-size: 1.2rem;
    }
    
    .admin-actions {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    .admin-welcome {
        padding: 8px 15px;
    }
    
    .admin-name {
        font-size: 0.9rem;
    }
    
    .admin-role {
        font-size: 0.75rem;
    }
    
    .admin-avatar {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .admin-header-bottom {
        display: none;
        padding: 0;
    }
    
    .admin-header-bottom.active {
        display: block;
    }
    
    .admin-header-bottom ul {
        flex-direction: column;
        gap: 0;
    }
    
    .admin-header-bottom li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .admin-header-bottom a {
        padding: 15px 5%;
        justify-content: flex-start;
    }
    
    .admin-dashboard, .admin-section,
    .admin-feedback-section, .admin-apartments,
    .admin-users, .admin-admins,
    .admin-reviews, .admin-reservations {
        padding: 30px 3%;
    }
    
    .admin-dashboard h2, .admin-section h2,
    .admin-feedback-section h2, .admin-apartments h2,
    .admin-users h2, .admin-admins h2,
    .admin-reviews h2, .admin-reservations h2 {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .admin-cards { grid-template-columns: 1fr; }
    .admin-card { padding: 30px 25px; }
    .admin-card .icon { font-size: 2.5rem; }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .welcome-message {
        padding: 25px 20px;
    }
    
    .welcome-title {
        font-size: 1.6rem;
    }
    
    .quick-links {
        flex-direction: column;
    }
    
    .quick-link {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .AdminApartmentsList {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .admin-table-container { padding: 15px; border-radius: 15px; }
    .admin-table { font-size: 0.85rem; }
    .admin-table th, .admin-table td { padding: 10px 12px; }
    .admin-table td img { width: 60px; height: 45px; }
    
    .admin-btn, .edit-btn, .delete-btn,
    .approve-btn, .reject-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .admin-btn-group, .action-btns {
        flex-direction: column;
        gap: 8px;
    }
    
    .admin-form-container { padding: 30px 25px; }
    .admin-form-container h2 { font-size: 1.6rem; }
    
    .admin-form-group input,
    .admin-form-group textarea,
    .admin-form-group select {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .admin-popup-content { padding: 30px 25px; }
    .admin-popup-content h3 { font-size: 1.5rem; }
    .admin-popup-buttons { flex-direction: column; }
    .admin-popup-buttons button { width: 100%; }
    
    /* Admin Login Responsive */
    .admin-login-container { padding: 35px 25px; max-width: 95%; }
    .admin-login-container h1 { font-size: 1.8rem; }
    .admin-login-container input { padding: 14px 16px; }
    .admin-login-container button { padding: 14px 25px; font-size: 1rem; }
    
    /* Admin Login Page Mobile */
    .admin-login-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .admin-login-welcome {
        padding: 40px 30px;
        display: none; /* Hide welcome section on mobile for simplicity */
    }
    
    .admin-login-form {
        padding: 40px 30px;
    }
}

/* ==========================================================================
   14. ADMIN RESPONSIVE - SMALL MOBILE
   ========================================================================== */
@media (max-width: 480px) {
    .admin-header .logo { font-size: 1.2rem; }
    .admin-header .logo img { height: 35px; }
    .admin-header .welcome-message { font-size: 0.85rem; }
    
    .admin-dashboard h2, .admin-section h2 { font-size: 1.5rem; }
    
    .admin-card { padding: 25px 20px; }
    .admin-card h3 { font-size: 1.15rem; }
    .admin-card p { font-size: 0.9rem; }
    .admin-card a { padding: 10px 20px; font-size: 0.85rem; }
    
    .admin-table th, .admin-table td { padding: 8px 10px; font-size: 0.8rem; }
    .admin-table td img { width: 50px; height: 40px; }
    
    .admin-form-container { padding: 25px 20px; }
    .admin-form-container h2 { font-size: 1.4rem; }
    .admin-form-group label { font-size: 0.95rem; }
    .admin-form-group input, .admin-form-group select { padding: 12px 14px; font-size: 0.95rem; }
    .admin-form-container button[type="submit"] { padding: 14px 25px; font-size: 1rem; }
    
    /* Admin Login Mobile */
    .admin-login-page .language-switcher,
    .admin-login-page .back-to-site {
        top: 10px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .admin-login-container {
        max-width: 95%;
    }
    
    .admin-login-form {
        padding: 30px 20px;
    }
    
    .admin-login-form h1 {
        font-size: 1.8rem;
    }
    
    .admin-popup-content { padding: 25px 20px; }
    .admin-popup-content h3 { font-size: 1.3rem; }
    .admin-popup-content p { font-size: 1rem; }
    
    .status-badge { padding: 6px 12px; font-size: 0.75rem; }
    
    .admin-login { padding: 20px; }
    .admin-login-container { padding: 30px 20px; }
    .admin-login-container h1 { font-size: 1.5rem; }
}

/* ==========================================================================
   15. USER RESERVATIONS PAGE
   ========================================================================== */
.user-reservations-section {
    padding: 50px 5%;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    min-height: calc(100vh - 85px);
    position: relative;
}

.user-reservations-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
}

.user-reservations-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.reservations-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reservation-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.reservation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.reservation-card .apartment-image {
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
}

.reservation-card .apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reservation-card .reservation-details {
    flex: 1;
    min-width: 250px;
}

.reservation-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.reservation-card .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

.reservation-card .detail-row strong {
    color: var(--secondary-color);
}

.reservation-card .actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .user-reservations-section h2 { font-size: 2rem; }
    .reservation-card { flex-direction: column; padding: 25px; }
    .reservation-card .apartment-image { width: 100%; height: 180px; }
}

@media (max-width: 480px) {
    .user-reservations-section { padding: 30px 3%; }
    .user-reservations-section h2 { font-size: 1.6rem; }
    .reservation-card { padding: 20px; }
    .reservation-card h3 { font-size: 1.2rem; }
    .reservation-card .detail-row { flex-direction: column; gap: 5px; }
}

/* ==========================================================================
   16. NO DATA MESSAGE
   ========================================================================== */
.no-data-message {
    text-align: center;
    padding: 60px 30px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.no-data-message i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.no-data-message h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.no-data-message p {
    font-size: 1rem;
    color: #777;
}

/* ==========================================================================
   17. LOADING SPINNER
   ========================================================================== */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(57, 76, 56, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   18. BACK BUTTON
   ========================================================================== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 30px;
}

.back-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(-5px);
}

.back-btn i {
    transition: transform var(--transition-normal);
}

.back-btn:hover i {
    transform: translateX(-3px);
}
/* ==========================================================================
   LANGUAGE TOGGLE BUTTON
   ========================================================================== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-toggle:hover {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.lang-toggle .lang-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: linear-gradient(145deg, var(--gold-color), #c9a030);
    color: #0f1a0e;
}

.lang-toggle .lang-text {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.lang-toggle:hover .lang-text {
    color: var(--gold-color);
}

/* Mobile Language Toggle */
.mobile-lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.mobile-lang-toggle:hover {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.mobile-lang-toggle i {
    color: var(--gold-color);
}

/* ==========================================================================
   RTL (Right-to-Left) SUPPORT FOR ARABIC
   ========================================================================== */
html[dir="rtl"],
body.rtl {
    direction: rtl;
    text-align: right;
}

/* Navbar RTL */
body.rtl .navbar {
    flex-direction: row-reverse;
}

body.rtl .logo {
    flex-direction: row-reverse;
}

body.rtl .nav-links {
    flex-direction: row-reverse;
}

body.rtl .nav-links li a {
    flex-direction: row-reverse;
}

body.rtl .nav-links li a i {
    margin-left: 8px;
    margin-right: 0;
}

body.rtl .nav-actions {
    flex-direction: row-reverse;
}

body.rtl .user-btn {
    flex-direction: row-reverse;
}

body.rtl .dropdown-menu {
    left: 0;
    right: auto;
}

body.rtl .dropdown-menu a {
    flex-direction: row-reverse;
}

body.rtl .dropdown-menu a i {
    margin-left: 12px;
    margin-right: 0;
}

/* Hero Section RTL - Keep like LTR, just change text */
body.rtl .hero-content {
    /* Keep centered like LTR */
}

/* Booking Form RTL */
body.rtl .booking-form {
    /* Don't reverse the form order, just the text */
    direction: ltr;
}

body.rtl .booking-form .form-group {
    direction: rtl;
    text-align: right;
}

body.rtl .booking-form .form-group label {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: right;
    width: 100%;
}

body.rtl .booking-form .form-group label i {
    margin-left: 0;
    margin-right: 0;
}

body.rtl .booking-form input,
body.rtl .booking-form select {
    text-align: right;
    direction: rtl;
}

body.rtl #searchBtn {
    flex-direction: row-reverse;
}

body.rtl #searchBtn i {
    margin-left: 10px;
    margin-right: 0;
}

/* Cards RTL */
body.rtl .card {
    text-align: right;
}

body.rtl .price-tag {
    right: auto;
    left: 16px;
    align-items: flex-end;
}

body.rtl .apartment-location {
    flex-direction: row-reverse;
}

body.rtl .apartment-location i {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .card-info span {
    flex-direction: column;
}

/* Carousel RTL - Keep same direction, don't reverse */
body.rtl .carousel-track {
    direction: ltr;
}

body.rtl .carousel-arrow.prev {
    /* Keep original position */
}

body.rtl .carousel-arrow.next {
    /* Keep original position */
}

/* Cards Carousel - don't reverse direction */
body.rtl .cards-container {
    direction: ltr;
}

/* Feedback Cards RTL - Keep same as LTR, only change text direction inside cards */
body.rtl .feedback-text,
body.rtl .feedback-author {
    /* Text is already centered, no changes needed */
}

/* Feedback Form RTL */
body.rtl #feedback-form form label {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: right;
}

body.rtl #feedback-form form label i {
    margin-left: 8px;
    margin-right: 0;
}

body.rtl #feedback-form form textarea {
    text-align: right;
}

body.rtl .review-form {
    text-align: right;
}

body.rtl #feedback-form form button {
    flex-direction: row-reverse;
}

body.rtl #feedback-form form button i {
    margin-left: 10px;
    margin-right: 0;
}

/* Footer RTL */
body.rtl .footer-content {
    flex-direction: row-reverse;
}

body.rtl .footer-brand {
    /* Keep like LTR - no changes */
}

body.rtl .footer-logo {
    /* Keep like LTR - logo left, text right */
}

body.rtl .footer-social {
    /* Keep like LTR */
}

body.rtl .footer-links {
    text-align: right;
}

body.rtl .footer-links h3,
body.rtl .footer-contact h3 {
    text-align: right;
}

body.rtl .footer-links h3::after,
body.rtl .footer-contact h3::after {
    left: auto;
    right: 0;
}

body.rtl .footer-links ul li a {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

body.rtl .footer-links ul li a i {
    margin-left: 0;
    margin-right: 10px;
    transform: rotate(180deg);
}

body.rtl .footer-contact {
    text-align: right;
}

body.rtl .footer-contact .contact-item {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

body.rtl .footer-contact .contact-item i {
    margin-left: 0;
    margin-right: 12px;
}

/* Modals RTL */
body.rtl .modal-content {
    text-align: right;
}

body.rtl .modal-form-group label {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

body.rtl .modal-form-group .input-icon {
    left: auto;
    right: 16px;
}

body.rtl .modal-form-group input {
    padding-left: 18px;
    padding-right: 50px;
    text-align: right;
}

body.rtl .modal-form-group select {
    padding-left: 18px;
    padding-right: 50px;
    text-align: right;
}

body.rtl .modal-content form button {
    flex-direction: row-reverse;
}

body.rtl .modal-content form button i {
    margin-left: 10px;
    margin-right: 0;
}

/* Apartment Details RTL */
body.rtl .apartment-details {
    flex-direction: row-reverse;
}

body.rtl .details-header {
    flex-direction: row-reverse;
}

body.rtl .apartment-specs {
    flex-direction: row-reverse;
}

body.rtl .spec-item {
    flex-direction: row-reverse;
}

body.rtl .spec-item i {
    margin-left: 10px;
    margin-right: 0;
}

body.rtl .features-list li {
    flex-direction: row-reverse;
}

body.rtl .features-list li i {
    margin-left: 10px;
    margin-right: 0;
}

/* Booking Form Details RTL */
body.rtl .booking-form-details form label {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

body.rtl .booking-form-details form label i {
    margin-left: 8px;
    margin-right: 0;
}

body.rtl .booking-form-details form .form-group {
    text-align: right;
}

body.rtl .booking-form-details form input {
    text-align: right;
}

body.rtl .book-btn {
    flex-direction: row-reverse;
}

body.rtl .book-btn i {
    margin-left: 10px;
    margin-right: 0;
}

/* Popup RTL */
body.rtl .popup-content {
    text-align: right;
}

body.rtl .popup-content p {
    flex-direction: row-reverse;
}

body.rtl .popup-buttons {
    flex-direction: row-reverse;
}

/* WhatsApp Chat RTL - Keep like LTR (on right side) */
body.rtl .whatsapp-chat {
    /* Keep on right side like LTR */
}

/* Back Button RTL */
body.rtl .back-btn {
    flex-direction: row-reverse;
}

body.rtl .back-btn i {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

body.rtl .back-btn:hover {
    transform: translateX(5px);
}

body.rtl .back-btn:hover i {
    transform: translateX(3px) rotate(180deg);
}

/* Section Headers RTL */
body.rtl .section-header {
    text-align: center;
}

body.rtl .section-description {
    text-align: center;
}

/* Mobile RTL Adjustments */
@media (max-width: 768px) {
    body.rtl .mobile-user-section {
        text-align: center;
    }
    
    body.rtl .mobile-user-info {
        flex-direction: row-reverse;
    }
    
    body.rtl .mobile-nav-action {
        flex-direction: row-reverse;
    }
    
    body.rtl .mobile-nav-action i {
        margin-left: 10px;
        margin-right: 0;
    }
    
    /* Override desktop RTL row-reverse for mobile - keep column */
    body.rtl .nav-links {
        flex-direction: column;
    }
    
    body.rtl .nav-links li a {
        justify-content: center;
    }
    
    body.rtl .hamburger,
    body.rtl .mobile-menu-btn {
        left: auto;
        right: 20px;
    }
}

/* User Reservations Page RTL */
body.rtl .res-page {
    text-align: right;
}

body.rtl .res-hero {
    text-align: center;
}

body.rtl .res-hero h1 i {
    margin-right: 0;
    margin-left: 15px;
}

body.rtl .greeting {
    flex-direction: row-reverse;
}

body.rtl .res-stats {
    direction: ltr;
}

body.rtl .res-filters {
    direction: ltr;
}

body.rtl .res-card {
    /* Keep like LTR - text starts from beginning */
}

body.rtl .res-card-title {
    text-align: left;
    direction: ltr;
}

body.rtl .res-card-loc {
    text-align: left;
    direction: ltr;
}

body.rtl .res-card-image {
    border-radius: 0 16px 16px 0;
}

body.rtl .date-badge {
    flex-direction: row-reverse;
}

body.rtl .date-badge i {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .res-badge {
    /* Keep badge on right like LTR */
}

body.rtl .res-dates {
    direction: ltr;
}

body.rtl .res-date {
    text-align: left;
}

body.rtl .res-total {
    direction: ltr;
}

body.rtl .res-actions {
    direction: ltr;
}

/* ==========================================================================
   ADMIN HEADER REDESIGN WITH LANGUAGE SWITCHER
   ========================================================================== */
.admin-header {
    background: linear-gradient(135deg, var(--background-color) 60%, rgba(57, 76, 56, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.admin-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-brand img {
    height: 45px;
    width: auto;
}

.admin-brand h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.admin-brand h1 span {
    font-weight: 400;
    color: var(--secondary-color);
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to right, rgba(57, 76, 56, 0.05), rgba(57, 76, 56, 0.1));
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.admin-info {
    text-align: right;
}

body.rtl .admin-info {
    text-align: left;
}

.admin-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.admin-role {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.admin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(57, 76, 56, 0.2);
}

.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}

.admin-header-bottom {
    background: rgba(57, 76, 56, 0.03);
    border-top: 1px solid rgba(57, 76, 56, 0.1);
}

.admin-header-bottom ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
    padding: 10px 5%;
    flex-wrap: wrap;
}

.admin-header-bottom ul li {
    margin: 0;
}

.admin-header-bottom ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    font-weight: 500;
    font-size: 0.95rem;
}

.admin-header-bottom ul li a:hover {
    background: rgba(57, 76, 56, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.admin-header-bottom ul li a.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(57, 76, 56, 0.2);
}

.admin-header-bottom ul li a.logout-btn {
    background: linear-gradient(145deg, #dc3545, #c82333);
    color: white;
    margin-left: auto;
}

body.rtl .admin-header-bottom ul li a.logout-btn {
    margin-left: 0;
    margin-right: auto;
}

.admin-header-bottom ul li a.logout-btn:hover {
    background: linear-gradient(145deg, #c82333, #bd2130);
}

/* Admin Language Switcher Positioning */
.admin-header .language-switcher {
    position: relative;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .admin-header-bottom {
        display: none;
    }
    
    .admin-header-bottom.active {
        display: block;
    }
    
    .admin-header-bottom ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .admin-header-bottom ul li a {
        width: 100%;
    }
    
    .admin-welcome {
        display: none;
    }
    
    .admin-actions {
        gap: 10px;
    }
}

/* ==========================================================================
   ADMIN PAGES - Users, Admins, Reviews, Reservations
   ========================================================================== */

/* Admin Section Container */
.AdminUsersContainer,
.AdminAdminsContainer,
.AdminReviewsContainer,
.AdminReservationsContainer,
.AdminApartmentsContainer {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Section Header */
.AdminSectionHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 15px;
}

.AdminSectionTitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.AdminSectionActions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Admin Buttons */
.AdminBtn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--primary-color);
    color: white;
}

.AdminBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.AdminBtnPrimary {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
}

.AdminBtnView {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.AdminBtnEdit {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.AdminBtnDelete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.AdminBtnSave {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.AdminBtnReservations {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

/* Users List */
.AdminUsersList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* User Card */
.AdminUserCard {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.AdminUserCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.AdminUserAvatar {
    flex-shrink: 0;
}

.AdminUserAvatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.AdminUserContent {
    flex: 1;
    min-width: 0;
}

.AdminUserName {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.AdminUserDetails {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.AdminUserDetail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.AdminUserDetail i {
    width: 20px;
    color: var(--primary-color);
    opacity: 0.7;
}

.AdminUserActions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Admin Cards (for Admins page) */
.AdminAdminsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.AdminAdminCard {
    background: linear-gradient(135deg, #f9f9f9, #fff);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.AdminAdminCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.AdminAdminAvatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.AdminAdminName {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.AdminAdminUsername {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.AdminAdminEmail {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.AdminAdminActions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Apartments List */
.AdminApartmentsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.AdminApartmentCard {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.AdminApartmentCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.AdminApartmentImage {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.AdminApartmentImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.AdminApartmentCard:hover .AdminApartmentImage img {
    transform: scale(1.05);
}

.AdminApartmentBadge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.AdminApartmentContent {
    padding: 20px;
}

.AdminApartmentTitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.AdminApartmentLocation {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.AdminApartmentPrice {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.AdminApartmentPrice span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
}

.AdminApartmentFeatures {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.AdminApartmentFeature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
}

.AdminApartmentFeature i {
    color: var(--primary-color);
}

.AdminApartmentActions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Reservations */
.AdminReservationsList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.AdminReservationCard {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.AdminReservationCard:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.AdminReservationStatus {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.AdminReservationStatus.pending {
    background: #fff3cd;
    color: #856404;
}

.AdminReservationStatus.confirmed {
    background: #d4edda;
    color: #155724;
}

.AdminReservationStatus.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.AdminReservationInfo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.AdminReservationDetail {
    display: flex;
    flex-direction: column;
}

.AdminReservationLabel {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 3px;
}

.AdminReservationValue {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.AdminReservationActions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Reviews */
.AdminReviewsList {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.AdminReviewCard {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.AdminReviewCard:hover {
    border-color: var(--primary-color);
}

.AdminReviewHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.AdminReviewUser {
    display: flex;
    align-items: center;
    gap: 12px;
}

.AdminReviewUserAvatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.AdminReviewUserInfo h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.AdminReviewUserInfo span {
    font-size: 0.85rem;
    color: #888;
}

.AdminReviewRating {
    display: flex;
    gap: 3px;
}

.AdminReviewRating i {
    color: #f1c40f;
    font-size: 1rem;
}

.AdminReviewContent {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.AdminReviewFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.AdminReviewDate {
    font-size: 0.85rem;
    color: #888;
}

.AdminReviewActions {
    display: flex;
    gap: 10px;
}

/* Popup Modal */
.AdminPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.AdminPopup.show {
    display: flex;
}

.AdminPopupContent {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.AdminPopupHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    border-radius: 20px 20px 0 0;
}

.AdminPopupTitle {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.AdminPopupClose {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.AdminPopupClose:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.AdminPopupBody {
    padding: 30px;
}

/* User Profile in Popup */
.AdminUserProfileCard {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.AdminUserProfileAvatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.AdminUserProfileDetails {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.AdminUserProfileDetail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.AdminUserProfileDetail i {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(57, 76, 56, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.AdminUserProfileLabel {
    font-size: 0.8rem;
    color: #888;
    display: block;
}

.AdminUserProfileValue {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.AdminPopupButtons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Edit Form in Popup */
.AdminEditUserForm {
    display: none;
    padding-top: 25px;
    border-top: 2px solid #eee;
    margin-top: 25px;
}

.AdminEditUserForm.show {
    display: block;
}

.AdminEditFormTitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.AdminFormGroup {
    margin-bottom: 18px;
}

.AdminFormLabel {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.AdminFormInput,
.AdminFormTextarea,
.AdminFormSelect {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.AdminFormInput:focus,
.AdminFormTextarea:focus,
.AdminFormSelect:focus {
    border-color: var(--primary-color);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(57, 76, 56, 0.1);
}

.AdminFormActions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* User Reservations in Popup */
.AdminUserReservations {
    display: none;
    padding-top: 25px;
    border-top: 2px solid #eee;
    margin-top: 25px;
}

.AdminUserReservations.show {
    display: block;
}

.AdminReservationsTitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Empty State */
.AdminEmptyState {
    text-align: center;
    padding: 60px 30px;
    background: #f9f9f9;
    border-radius: 15px;
}

.AdminEmptyState i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.AdminEmptyState p {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 20px;
}

/* Form Container */
.AdminFormContainer {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.AdminFormTitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .AdminUsersList,
    .AdminAdminsList,
    .AdminApartmentsList {
        grid-template-columns: 1fr;
    }
    
    .AdminUserCard {
        flex-direction: column;
        text-align: center;
    }
    
    .AdminUserActions {
        justify-content: center;
    }
    
    .AdminReservationCard {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .AdminReservationActions {
        flex-direction: row;
        justify-content: center;
    }
    
    .AdminUserProfileCard {
        flex-direction: column;
        text-align: center;
    }
    
    .AdminUserProfileAvatar {
        margin: 0 auto;
    }
    
    .AdminPopupButtons {
        justify-content: center;
    }
    
    .AdminSectionHeader {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   ADMIN CARDS (Generic for Admins Page)
   ========================================================================== */
.AdminContainer {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.AdminList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.AdminCard {
    background: linear-gradient(135deg, #f9f9f9, #fff);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.AdminCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.AdminCardHeader {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    padding: 25px;
    text-align: center;
    color: white;
}

.AdminAvatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.AdminAvatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.AdminName {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.AdminRole {
    font-size: 0.9rem;
    opacity: 0.9;
}

.AdminCardBody {
    padding: 20px;
}

.AdminDetail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.AdminDetail:last-child {
    border-bottom: none;
}

.AdminDetail i {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(57, 76, 56, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.AdminDetail span {
    font-size: 0.95rem;
    color: #555;
}

.AdminCardFooter {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.AdminCardFooter .AdminBtn {
    width: 100%;
    justify-content: center;
}

/* Admin Profile in Popup */
.AdminProfileCard {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.AdminProfileAvatar {
    flex-shrink: 0;
}

.AdminProfileAvatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.AdminProfileDetails {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.AdminProfileDetail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.AdminProfileDetail i {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(57, 76, 56, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.AdminProfileLabel {
    font-size: 0.8rem;
    color: #888;
    display: block;
}

.AdminProfileValue {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

/* Edit Admin Form */
.AdminEditForm {
    display: none;
    padding-top: 25px;
    border-top: 2px solid #eee;
    margin-top: 25px;
}

.AdminEditForm.show {
    display: block;
}

@media (max-width: 768px) {
    .AdminList {
        grid-template-columns: 1fr;
    }
    
    .AdminProfileCard {
        flex-direction: column;
        text-align: center;
    }
    
    .AdminProfileAvatar {
        margin: 0 auto;
    }
}

/* ==========================================================================
   RESERVATIONS PAGE
   ========================================================================== */
.AdminSectionFilters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.AdminBtnFilter {
    padding: 8px 18px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #666;
}

.AdminBtnFilter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.AdminBtnFilter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Reservation Cards */
.AdminReservationCard {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.AdminReservationCard:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.AdminReservationHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.AdminReservationTitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.AdminReservationBadge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.AdminReservationPending .AdminReservationBadge,
.AdminReservationBadge.AdminReservationPending {
    background: #fff3cd;
    color: #856404;
}

.AdminReservationConfirmed .AdminReservationBadge,
.AdminReservationBadge.AdminReservationConfirmed {
    background: #d4edda;
    color: #155724;
}

.AdminReservationCanceled .AdminReservationBadge,
.AdminReservationBadge.AdminReservationCanceled {
    background: #f8d7da;
    color: #721c24;
}

.AdminReservationLocked .AdminReservationBadge,
.AdminReservationBadge.AdminReservationLocked {
    background: #e2e3e5;
    color: #383d41;
}

.AdminReservationBody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.AdminReservationInfoGroup {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.AdminReservationInfoLabel {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

.AdminReservationInfoValue {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.AdminReservationFooter {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

/* Reviews Page */
.AdminReviewCard {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.AdminReviewCard:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.AdminReviewHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.AdminReviewUser {
    display: flex;
    align-items: center;
    gap: 15px;
}

.AdminReviewAvatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.AdminReviewUserName {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.AdminReviewDate {
    font-size: 0.85rem;
    color: #888;
}

.AdminReviewStars {
    display: flex;
    gap: 3px;
}

.AdminReviewStars i {
    color: #f1c40f;
}

.AdminReviewContent {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
}

.AdminReviewApartment {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.AdminReviewApartment i {
    color: var(--primary-color);
}

.AdminReviewFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.AdminReviewStatus {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.AdminReviewStatus.pending {
    background: #fff3cd;
    color: #856404;
}

.AdminReviewStatus.approved {
    background: #d4edda;
    color: #155724;
}

.AdminReviewStatus.rejected {
    background: #f8d7da;
    color: #721c24;
}

.AdminReviewActions {
    display: flex;
    gap: 10px;
}

/* Approve/Reject Buttons */
.AdminBtnApprove {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.AdminBtnReject {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

/* ==========================================================================
   FORM PAGES (Add Admin, Edit Apartment, etc.)
   ========================================================================== */
.AdminForm {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.AdminFormSection {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.AdminFormSectionTitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.AdminFormHelp {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

.AdminSubmitBtn {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.AdminSubmitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.AdminFileInput {
    width: 100%;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
}

.AdminFileInput:hover {
    border-color: var(--primary-color);
}

.AdminFormTextarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
}

.AdminFormTextarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ==========================================================================
   FEEDBACK PAGE
   ========================================================================== */
.admin-feedback-section {
    padding: 30px 0;
}

.admin-feedback-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.admin-feedback-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.AdminFeedback {
    background: white;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.AdminFeedback:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.AdminFeedback .status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.AdminFeedback .status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.AdminFeedback img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.AdminFeedback p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.AdminFeedback span {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 20px;
}

.AdminFeedback .actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.AdminFeedback .actions button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.AdminFeedback .actions .approve {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.AdminFeedback .actions .approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.AdminFeedback .actions .reject {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.AdminFeedback .actions .reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.no-reviews i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-reviews p {
    font-size: 1.1rem;
    color: #888;
}

.show-more {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   ICAL SYNC PAGE
   ========================================================================== */
.AdminIcalContainer {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.AdminIcalTitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.AdminIcalTable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.AdminIcalTable th,
.AdminIcalTable td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.AdminIcalTable th {
    background: #f8f9fa;
    font-weight: 700;
    color: var(--primary-color);
}

.AdminIcalTable tr:hover {
    background: #f8f9fa;
}

.AdminIcalForm {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.AdminIcalFormGroup {
    margin-bottom: 20px;
}

.AdminIcalFormGroup label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.AdminIcalFormGroup input,
.AdminIcalFormGroup select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
}

.AdminIcalFormGroup input:focus,
.AdminIcalFormGroup select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ==========================================================================
   VIEW ALL REVIEWS PAGE - Additional Styles
   ========================================================================== */
.AdminReviewCard {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 20px;
    gap: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.AdminReviewCard:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.AdminReviewAvatar {
    flex-shrink: 0;
}

.AdminReviewAvatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.AdminReviewContent {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.AdminReviewHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.AdminReviewName {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.AdminReviewPreview {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.AdminReviewDate {
    font-size: 0.85rem;
    color: #888;
}

.AdminReviewDate i {
    margin-right: 5px;
}

.AdminReviewActions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Status Badges */
.AdminStatusBadge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.AdminStatusPending,
.AdminStatusBadge.AdminStatusPending {
    background: #fff3cd;
    color: #856404;
}

.AdminStatusApproved,
.AdminStatusBadge.AdminStatusApproved {
    background: #d4edda;
    color: #155724;
}

.AdminStatusRejected,
.AdminStatusBadge.AdminStatusRejected {
    background: #f8d7da;
    color: #721c24;
}

/* Review status card classes */
.AdminReviewPending {
    border-left: 4px solid #ffc107;
}

.AdminReviewApproved {
    border-left: 4px solid #28a745;
}

.AdminReviewRejected {
    border-left: 4px solid #dc3545;
}

/* Review Popup Additional Styles */
.AdminReviewDetail {
    padding: 20px 0;
}

.AdminReviewDetailHeader {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.AdminReviewDetailAvatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.AdminReviewDetailInfo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.AdminReviewDetailEmail,
.AdminReviewDetailDate {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.AdminReviewDetailEmail i,
.AdminReviewDetailDate i {
    color: var(--primary-color);
}

.AdminReviewMessage {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.AdminReviewMessageTitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.AdminReviewMessageContent {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

/* Edit Status Form */
.AdminEditStatusForm {
    display: none;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.AdminEditStatusForm.show {
    display: block;
}

.AdminEditStatusTitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.AdminRadioGroup {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.AdminRadioOption {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.AdminRadioOption:hover {
    border-color: var(--primary-color);
}

.AdminRadioOption input[type="radio"] {
    display: none;
}

.AdminRadioButton {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    position: relative;
    transition: all 0.3s ease;
}

.AdminRadioOption input[type="radio"]:checked + .AdminRadioButton {
    border-color: var(--primary-color);
}

.AdminRadioOption input[type="radio"]:checked + .AdminRadioButton::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
}

.AdminRadioLabel {
    font-weight: 600;
    color: #333;
}

/* ==========================================================================
   RESPONSIVE FIXES FOR ALL ADMIN PAGES
   ========================================================================== */
@media (max-width: 768px) {
    .admin-feedback-container {
        grid-template-columns: 1fr;
    }
    
    .AdminFormContainer {
        padding: 20px;
        margin: 0 15px;
    }
    
    .AdminFormSection {
        padding: 15px;
    }
    
    .AdminIcalTable {
        display: block;
        overflow-x: auto;
    }
    
    .AdminReservationBody {
        grid-template-columns: 1fr;
    }
    
    .AdminReservationHeader {
        flex-direction: column;
        text-align: center;
    }
    
    .AdminReservationFooter {
        justify-content: center;
    }
    
    .AdminReviewHeader {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .AdminReviewUser {
        flex-direction: column;
    }
    
    .AdminReviewCard {
        flex-direction: column;
    }
    
    .AdminReviewDetailHeader {
        flex-direction: column;
        text-align: center;
    }
    
    .AdminRadioGroup {
        gap: 10px;
    }
}

/* ==========================================================================
   RESERVATION DETAILS - Additional Styles for Popup
   ========================================================================== */
.AdminReservationDetails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.AdminReservationDetail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.AdminReservationDetail > i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.AdminReservationDetail > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.AdminReservationLabel {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

.AdminReservationValue {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Reservation Popup Summary */
.AdminReservationSummary {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.AdminReservationDate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.AdminReservationCheckIn,
.AdminReservationCheckOut {
    text-align: center;
}

.AdminReservationDateLabel {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.AdminReservationDateValue {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.AdminReservationDuration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #888;
}

.AdminReservationDuration i {
    font-size: 1.2rem;
}

.AdminReservationGuest {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.AdminReservationGuestHeader {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.AdminReservationGuestHeader > i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.AdminReservationGuestLabel {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

.AdminReservationGuestName {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.AdminReservationGuestPhone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #555;
}

.AdminReservationGuestPhone i {
    color: var(--primary-color);
}

.AdminReservationPricing {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 12px;
    border: 2px solid #eee;
}

.AdminReservationPricingHeader {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.AdminReservationPricingDetail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.AdminReservationAmount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.AdminReservationPricingNote {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.AdminReservationStatusBadge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fff3cd;
    color: #856404;
}

.AdminReservationStatusBadge.confirmed {
    background: #d4edda;
    color: #155724;
}

.AdminReservationStatusBadge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* ==========================================================================
   APARTMENT AVAILABILITY BADGES & LOCK BUTTON
   ========================================================================== */
.AdminApartmentAvailability {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.AvailableBadge,
.NotAvailableBadge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.AvailableBadge {
    background: #d4edda;
    color: #155724;
}

.NotAvailableBadge {
    background: #f8d7da;
    color: #721c24;
}

.AdminApartmentImageContainer {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.AdminApartmentImageContainer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.AdminApartmentCard:hover .AdminApartmentImageContainer img {
    transform: scale(1.05);
}

.AdminApartmentInfo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.AdminApartmentInfo span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
}

.AdminApartmentInfo span i {
    color: var(--primary-color);
}

.AdminBtnLock {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.AdminBtnLock:hover {
    background: linear-gradient(135deg, #495057, #343a40);
}

/* Lock Popup Styles */
.lock-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-popup {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lock-popup h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.lock-popup .form-group {
    margin-bottom: 20px;
}

.lock-popup label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.lock-popup input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
}

.lock-popup input[type="text"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.lock-popup-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.lock-popup-buttons button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lock-popup-buttons .btn-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
}

.lock-popup-buttons .btn-cancel {
    background: #f0f0f0;
    color: #666;
}

/* ==========================================================================
   ADMIN ALERTS
   ========================================================================== */
.AdminAlert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.AdminAlert i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.AdminAlert p {
    margin: 0;
}

.AdminAlertSuccess {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.AdminAlertError {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.AdminAlertWarning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.AdminAlertInfo {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
/* ==========================================================================
   NEW ADMIN LAYOUT - SIDEBAR & TOPBAR
   ========================================================================== */

/* Admin Layout Structure */
body.admin-layout {
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    min-height: 100vh;
}

/* Main content area - accounts for sidebar and topbar */
body.admin-layout .admin-dashboard-ultra,
body.admin-layout .admin-dashboard,
body.admin-layout .admin-main-content,
body.admin-layout main {
    margin-left: 280px;
    padding-top: 90px; /* 70px topbar + 20px spacing */
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ==========================================================================
   ADMIN SIDEBAR
   ========================================================================== */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a2332 0%, #2d3e50 100%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

/* Sidebar Header */
.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-brand img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    padding: 5px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Sidebar User */
.sidebar-user {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px;
    border-radius: 12px;
}

.sidebar-user .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.sidebar-user .user-info {
    display: flex;
    flex-direction: column;
}

.sidebar-user .user-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.sidebar-user .user-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-user .user-role i {
    font-size: 8px;
    color: #2ecc71;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.nav-section {
    margin-bottom: 10px;
}

.nav-section-title {
    display: block;
    padding: 10px 25px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 2px 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    font-size: 1.1rem;
    width: 25px;
    text-align: center;
}

.nav-link span {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(57, 76, 56, 0.4);
}

.nav-badge {
    margin-left: auto;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-link.logout:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   ADMIN TOPBAR
   ========================================================================== */
.admin-topbar {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 70px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 998;
    transition: all 0.3s ease;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #333;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: #f0f0f0;
}

.page-title h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Topbar Search */
.topbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-search i {
    position: absolute;
    left: 15px;
    color: #999;
}

.topbar-search input {
    padding: 10px 15px 10px 45px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    width: 250px;
    transition: all 0.3s ease;
}

.topbar-search input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(57, 76, 56, 0.1);
}

/* Topbar Notifications */
.topbar-notifications {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.topbar-notifications:hover {
    background: #f0f0f0;
}

.topbar-notifications > i {
    font-size: 1.3rem;
    color: #666;
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Notifications Dropdown */
.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.notifications-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notifications-dropdown .dropdown-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-dropdown .dropdown-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a2332;
}

.notification-count {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.notifications-dropdown .dropdown-body {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.notification-item:hover {
    background: #f8f9fa;
}

/* Admin Topbar Notification Icon - Different from frontend notification popup */
.notification-item .notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.notification-item .notification-icon.reservations {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.notification-item .notification-icon.reviews {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.notification-item .notification-content p {
    margin: 0 0 3px;
    font-size: 0.95rem;
    color: #333;
}

.notification-item .notification-content span {
    font-size: 0.8rem;
    color: #999;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.notification-empty i {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 15px;
}

.notification-empty p {
    margin: 0;
    font-size: 1rem;
}

/* Topbar User */
.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.topbar-user:hover {
    background: #f0f0f0;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.user-name-small {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.topbar-user > i {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s ease;
}

/* User Dropdown - ADMIN ONLY (use .topbar-user parent to avoid conflict with frontend) */
.topbar-user .user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    overflow: hidden;
}

.topbar-user .user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.topbar-user .user-dropdown .dropdown-header {
    padding: 20px;
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.topbar-user .user-dropdown .dropdown-header h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.topbar-user .user-dropdown .dropdown-header span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.topbar-user .user-dropdown .dropdown-body {
    padding: 10px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    color: #666;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item.logout:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.dropdown-item.logout:hover i {
    color: #e74c3c;
}

/* ==========================================================================
   ADMIN MAIN CONTENT AREA
   ========================================================================== */
.admin-dashboard {
    margin-left: 280px;
    margin-top: 70px;
    padding: 30px;
    min-height: calc(100vh - 70px);
    background: #f5f7fa;
    transition: all 0.3s ease;
}

/* ==========================================================================
   RESPONSIVE - ADMIN LAYOUT
   ========================================================================== */
@media (max-width: 1200px) {
    .topbar-search input {
        width: 180px;
    }
}

@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-close {
        display: block;
    }
    
    .admin-topbar {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .admin-dashboard,
    .admin-dashboard-ultra,
    body.admin-layout main {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .admin-topbar {
        padding: 0 15px;
    }
    
    .topbar-search {
        display: none;
    }
    
    .user-name-small {
        display: none;
    }
    
    .page-title h1 {
        font-size: 1.1rem;
    }
    
    .admin-dashboard {
        padding: 20px 15px;
    }
    
    .notifications-dropdown {
        width: 300px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .admin-topbar {
        height: 60px;
    }
    
    .admin-dashboard {
        margin-top: 60px;
        padding: 15px 10px;
    }
    
    .sidebar-user {
        margin: 10px;
        padding: 15px;
    }
    
    .notifications-dropdown {
        width: 280px;
        right: -80px;
    }
}

/* ==========================================================================
   NEW ADMIN DASHBOARD STYLES
   ========================================================================== */

/* Dashboard Welcome Section */
.dashboard-welcome {
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.welcome-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.welcome-text p {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

.date-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
}

.date-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.date-box > div {
    display: flex;
    flex-direction: column;
}

.date-day {
    font-size: 1rem;
    font-weight: 600;
}

.date-full {
    font-size: 0.85rem;
    opacity: 0.7;
}

.today-stats {
    display: flex;
    gap: 20px;
}

.today-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    flex: 1;
}

.today-stat i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.today-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.today-stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card-new {
    background: white;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stat-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-card-new.gradient-primary::before { background: linear-gradient(90deg, #394c38, #527a50); }
.stat-card-new.gradient-success::before { background: linear-gradient(90deg, #27ae60, #2ecc71); }
.stat-card-new.gradient-info::before { background: linear-gradient(90deg, #2980b9, #3498db); }
.stat-card-new.gradient-warning::before { background: linear-gradient(90deg, #f39c12, #f1c40f); }

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.gradient-primary .stat-card-icon { background: rgba(57, 76, 56, 0.15); color: #394c38; }
.gradient-success .stat-card-icon { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.gradient-info .stat-card-icon { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.gradient-warning .stat-card-icon { background: rgba(241, 196, 15, 0.15); color: #f39c12; }

.stat-card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-card-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a2332;
}

.stat-card-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.stat-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.stat-card-link:hover {
    gap: 12px;
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.action-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.action-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.pending-reservations .action-icon { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.pending-reviews .action-icon { background: rgba(241, 196, 15, 0.15); color: #f39c12; }
.quick-actions .action-icon { background: rgba(155, 89, 182, 0.15); color: #9b59b6; }

.action-info {
    display: flex;
    flex-direction: column;
}

.action-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a2332;
}

.action-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

.action-description {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pending-reservations .action-btn { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.pending-reviews .action-btn { background: rgba(241, 196, 15, 0.15); color: #d68910; }

.action-btn:hover {
    transform: translateX(5px);
}

.quick-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card-new {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-header h3 i {
    color: var(--primary-color);
}

.chart-period {
    font-size: 0.85rem;
    color: #888;
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 20px;
}

.chart-wrapper {
    height: 300px;
}

/* Dashboard Tables */
.dashboard-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.table-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-header h3 i {
    color: var(--primary-color);
}

.view-all-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table thead th {
    text-align: left;
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f0f0f0;
}

.dashboard-table tbody td {
    padding: 15px;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.dashboard-table tbody tr:hover {
    background: #fafafa;
}

.guest-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.guest-name {
    font-weight: 600;
}

.status-badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.confirmed,
.status-badge.approved { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.status-badge.pending { background: rgba(241, 196, 15, 0.15); color: #d68910; }
.status-badge.cancelled { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.star-rating {
    display: flex;
    gap: 3px;
}

.star-rating i {
    font-size: 0.9rem;
    color: #ddd;
}

.star-rating i.filled {
    color: #f1c40f;
}

.no-data {
    text-align: center;
    color: #999;
    padding: 30px !important;
}

/* Top Apartments Card */
.top-apartments-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.top-apartments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-apartment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.rank-badge {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: white;
}

.rank-1 { background: linear-gradient(135deg, #f1c40f, #f39c12); }
.rank-2 { background: linear-gradient(135deg, #bdc3c7, #95a5a6); }
.rank-3 { background: linear-gradient(135deg, #e67e22, #d35400); }
.rank-4, .rank-5 { background: linear-gradient(135deg, #3498db, #2980b9); }

.top-apartment-item .apartment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apartment-name {
    font-weight: 600;
    color: #1a2332;
}

.reservation-count {
    font-size: 0.85rem;
    color: #888;
}

.progress-bar {
    width: 100px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--button-hover));
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Dashboard Responsive */
@media (max-width: 1200px) {
    .charts-grid,
    .dashboard-tables {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-welcome {
        padding: 20px;
    }
    
    .welcome-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .welcome-text h1 {
        font-size: 1.4rem;
    }
    
    .today-stats {
        flex-direction: column;
    }
    
    .today-stat {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
    
    .progress-bar {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .stat-card-new {
        padding: 20px;
    }
    
    .stat-card-value {
        font-size: 1.8rem;
    }
    
    .chart-wrapper {
        height: 250px;
    }
}

/* ==========================================================================
   IMPROVED ADMIN PAGES STYLES
   ========================================================================== */

/* Page Header */
.page-header-new {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-header-content h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header-content h1 i {
    color: var(--primary-color);
}

.page-header-content p {
    color: #888;
    margin: 0;
    font-size: 0.95rem;
}

.btn-primary-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(57, 76, 56, 0.3);
}

.btn-primary-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(57, 76, 56, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e5e5e5;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #e74c3c;
    color: white;
}

/* Mini Stats */
.mini-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.mini-stat {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.mini-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mini-stat-icon.primary { background: rgba(57, 76, 56, 0.15); color: #394c38; }
.mini-stat-icon.success { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.mini-stat-icon.warning { background: rgba(241, 196, 15, 0.15); color: #f39c12; }
.mini-stat-icon.info { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.mini-stat-icon.danger { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.mini-stat-content {
    display: flex;
    flex-direction: column;
}

.mini-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2332;
}

.mini-stat-label {
    font-size: 0.85rem;
    color: #888;
}

/* Filters Bar */
.filters-bar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.filters-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-box-new {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-new i {
    position: absolute;
    left: 15px;
    color: #999;
}

.search-box-new input {
    padding: 12px 15px 12px 45px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    width: 250px;
    transition: all 0.3s ease;
}

.search-box-new input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.filter-select {
    padding: 12px 40px 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E") no-repeat right 15px center;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.filter-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.view-toggle {
    display: flex;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 5px;
}

.view-btn {
    padding: 10px 15px;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Apartments Grid */
.apartments-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.apartments-list-new {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.apartments-list-new .apartment-card-new {
    display: flex;
    flex-direction: row;
}

.apartments-list-new .apartment-card-image {
    width: 250px;
    min-height: 180px;
}

.apartments-list-new .apartment-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Apartment Card */
.apartment-card-new {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.apartment-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.apartment-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.apartment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.apartment-card-new:hover .apartment-card-image img {
    transform: scale(1.1);
}

.apartment-card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-status.available { background: #27ae60; color: white; }
.badge-status.unavailable { background: #e74c3c; color: white; }

.badge-rating {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    color: #f1c40f;
    display: flex;
    align-items: center;
    gap: 5px;
}

.apartment-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apartment-card-new:hover .apartment-card-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 12px 25px;
    background: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.overlay-btn:hover {
    background: var(--primary-color);
    color: white;
}

.apartment-card-content {
    padding: 20px;
}

.apartment-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 8px;
}

.apartment-card-location {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.apartment-card-location i {
    color: var(--primary-color);
}

.apartment-card-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.apartment-card-specs span {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.apartment-card-specs span i {
    color: var(--primary-color);
}

.apartment-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.apartment-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.9rem;
    color: #888;
}

.apartment-stats {
    display: flex;
    gap: 15px;
}

.apartment-stats span {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.apartment-card-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn.edit { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.action-btn.lock { background: rgba(241, 196, 15, 0.15); color: #d68910; }
.action-btn.view { background: rgba(57, 76, 56, 0.15); color: var(--primary-color); }

.action-btn:hover {
    transform: translateY(-2px);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content-new {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content-new {
    transform: translateY(0);
}

.modal-content-new.modal-small {
    max-width: 450px;
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e74c3c;
    color: white;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Popup Content */
.popup-image-section {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.popup-image-section img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.popup-quick-stats {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.quick-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.quick-stat i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.quick-stat span {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a2332;
}

.quick-stat label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.popup-price-tag {
    display: inline-flex;
    align-items: baseline;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.popup-price-tag .price {
    font-size: 1.8rem;
    font-weight: 800;
}

.popup-price-tag .period {
    font-size: 1rem;
    opacity: 0.8;
}

.popup-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.popup-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.popup-info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.popup-info-item label {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.popup-info-item span {
    font-weight: 600;
    color: #1a2332;
}

.popup-description h4,
.popup-features h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-description p {
    color: #666;
    line-height: 1.6;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    padding: 8px 15px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-tag i {
    color: #27ae60;
    font-size: 0.8rem;
}

/* Reservations Panel */
.reservations-panel {
    position: absolute;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.reservations-panel.show {
    right: 0;
}

.panel-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
}

.panel-header h4 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.panel-header h4 i {
    color: var(--gold-color);
}

.panel-header button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.panel-header button:hover {
    background: #ef4444;
}

.reservations-list {
    padding: 15px;
}

/* Reservation Panel - Dark Theme Styles */
.reservations-panel .reservation-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 15px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease;
    display: block !important;
}

.reservations-panel .reservation-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.reservations-panel .reservation-guest {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.reservations-panel .reservation-guest .guest-avatar,
.reservations-panel .guest-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-color), #f0d78c) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e !important;
    font-weight: 700;
    font-size: 1rem;
}

.reservations-panel .reservation-guest .guest-name,
.reservations-panel .guest-name {
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.reservations-panel .reservation-dates {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 10px;
    flex-direction: row !important;
    align-items: center !important;
}

.reservations-panel .reservation-dates i {
    color: var(--gold-color) !important;
    margin-right: 5px;
}

.reservations-panel .reservation-dates span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.reservation-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.reservation-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.reservation-guest {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.reservation-guest .guest-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-color), #f0d78c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1rem;
}

.reservation-guest .guest-name {
    color: #fff;
    font-weight: 600;
}

.reservation-dates {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 10px;
}

.reservation-dates i {
    color: var(--gold-color) !important;
    margin-right: 5px;
}

.reservation-dates span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.guest-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-color), #f0d78c) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e !important;
    font-weight: 700;
    font-size: 1rem;
}

.guest-name {
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.reservation-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.reservation-status.confirmed { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.reservation-status.pending { background: rgba(241, 196, 15, 0.15); color: #d68910; }
.reservation-status.cancelled { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.empty-reservations {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.empty-reservations i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--gold-color);
    opacity: 0.5;
}

.empty-reservations p {
    color: rgba(255, 255, 255, 0.5);
}

/* Form Group */
.form-group-new {
    margin-bottom: 20px;
}

.form-group-new label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-group-new input,
.form-group-new select,
.form-group-new textarea {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group-new input:focus,
.form-group-new select:focus,
.form-group-new textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Empty State */
.empty-state-new {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    background: rgba(57, 76, 56, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.empty-state-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.empty-state-new h3 {
    font-size: 1.4rem;
    color: #1a2332;
    margin: 0 0 10px;
}

.empty-state-new p {
    color: #888;
    margin: 0 0 25px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    border-left: 4px solid #27ae60;
}

.toast-notification.success i {
    color: #27ae60;
}

.toast-notification.error {
    border-left: 4px solid #e74c3c;
}

.toast-notification.error i {
    color: #e74c3c;
}

/* ==========================================================================
   ADMIN CARDS GRID STYLES
   ========================================================================== */

.admins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 24px;
}

.admin-card-new {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.admin-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.admin-card-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto;
}

.admin-status-badge {
    position: absolute;
    bottom: 5px;
    right: 0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-status-badge.online {
    background: #d4edda;
    color: #155724;
}

.admin-card-info {
    margin-bottom: 20px;
}

.admin-card-info .admin-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 6px;
}

.admin-card-info .admin-role {
    font-size: 13px;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.admin-card-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.admin-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

.admin-detail-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.admin-detail-item i {
    color: #667eea;
    width: 20px;
    text-align: center;
}

.admin-card-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.admin-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.admin-action-btn.view {
    background: #e3f2fd;
    color: #1976d2;
}

.admin-action-btn.view:hover {
    background: #1976d2;
    color: white;
}

.admin-action-btn.edit {
    background: #fff3e0;
    color: #f57c00;
}

.admin-action-btn.edit:hover {
    background: #f57c00;
    color: white;
}

.admin-action-btn.delete {
    background: #ffebee;
    color: #c62828;
}

.admin-action-btn.delete:hover {
    background: #c62828;
    color: white;
}

/* Admin Profile Section in Modal */
.admin-profile-section {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.admin-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.admin-profile-avatar span {
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.admin-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.admin-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
}

.admin-info-item .info-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.admin-info-item .info-content {
    flex: 1;
}

.admin-info-item .info-content label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.admin-info-item .info-content span {
    font-size: 15px;
    font-weight: 600;
    color: #1a2332;
}

/* Mini stat action card hover */
.mini-stat-card.action-card {
    cursor: pointer;
    border: 2px dashed #e0e0e0;
    background: #fafafa;
}

.mini-stat-card.action-card:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.15);
}

/* Fade out animation */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .admins-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .admin-card-new {
        padding: 20px;
    }
    
    .avatar-circle {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-header-new {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .filters-bar {
        flex-direction: column;
    }
    
    .filters-left {
        width: 100%;
        flex-direction: column;
    }
    
    .search-box-new,
    .search-box-new input {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .apartments-grid-new {
        grid-template-columns: 1fr;
    }
    
    .popup-info-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-quick-stats {
        flex-direction: column;
    }
    
    .modal-content-new {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .reservations-panel {
        width: 100%;
        right: -100%;
    }
}

/* ==========================================================================
   DATA TABLE STYLES
   ========================================================================== */

.data-table-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: #f8f9fa;
}

.data-table thead th {
    padding: 18px 15px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eee;
}

.data-table tbody td {
    padding: 18px 15px;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.data-table tbody tr {
    transition: all 0.2s ease;
}

.data-table tbody tr:hover {
    background: #fafafa;
}

.data-table .text-center {
    text-align: center;
}

.data-table .text-bold {
    font-weight: 700;
    color: var(--primary-color);
}

/* Table User Cell */
.table-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-mini {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details .user-name {
    font-weight: 600;
    color: #1a2332;
}

.user-phone {
    font-size: 0.8rem;
    color: #888;
}

/* Apartment Tag */
.apartment-tag {
    background: rgba(57, 76, 56, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Status Badge Large */
.status-badge-large {
    display: inline-flex;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.status-badge-large.confirmed { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.status-badge-large.pending { background: rgba(241, 196, 15, 0.15); color: #d68910; }
.status-badge-large.cancelled { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.status-badge-large.locked { background: rgba(52, 152, 219, 0.15); color: #3498db; }

/* Table Actions */
.table-actions {
    display: flex;
    gap: 8px;
}

.table-action-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.table-action-btn.view { background: rgba(57, 76, 56, 0.1); color: var(--primary-color); }
.table-action-btn.approve { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.table-action-btn.reject { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }
.table-action-btn.edit { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.table-action-btn.delete { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }

.table-action-btn:hover {
    transform: scale(1.1);
}

/* Results Count */
.results-count {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

/* Clickable Stats */
.mini-stat.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.mini-stat.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Filter Input */
.filter-input {
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 180px;
}

.filter-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ==========================================================================
   RESERVATION DETAIL MODAL STYLES
   ========================================================================== */

.reservation-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-section {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h4 i {
    color: var(--primary-color);
}

.detail-value.large {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2332;
}

/* Guest Detail Card */
.guest-detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.guest-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--button-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.guest-info-details {
    flex: 1;
}

.guest-name-large {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 8px;
}

.guest-contact {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guest-contact i {
    color: var(--primary-color);
    width: 16px;
}

/* Dates Display */
.dates-display {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.date-box-display {
    text-align: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.date-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.date-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2332;
}

.date-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.nights-display {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
}

/* Payment Breakdown */
.payment-breakdown {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row.total {
    padding-top: 15px;
    margin-top: 5px;
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Status Section */
.status-section {
    text-align: center;
}

/* Responsive Table */
@media (max-width: 1024px) {
    .data-table {
        display: block;
    }
    
    .data-table thead {
        display: none;
    }
    
    .data-table tbody tr {
        display: block;
        padding: 15px;
        margin-bottom: 15px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .data-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .data-table tbody td:last-child {
        border-bottom: none;
    }
    
    .data-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #888;
        font-size: 0.85rem;
    }
    
    .data-table tbody td:first-child {
        display: none;
    }
    
    .table-user {
        flex-direction: row-reverse;
    }
}

@media (max-width: 768px) {
    .dates-display {
        flex-direction: column;
    }
    
    .date-arrow {
        transform: rotate(90deg);
    }
    
    .guest-detail-card {
        flex-direction: column;
        text-align: center;
    }
}
/* ==========================================================================
   MODERN FORM STYLES
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav span {
    color: #888;
}

.breadcrumb-nav span.current {
    color: #333;
    font-weight: 600;
}

.breadcrumb-nav span i {
    font-size: 10px;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
}

/* Alerts */
.alert-success,
.alert-error {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.alert-success > i {
    font-size: 24px;
    color: #155724;
}

.alert-error > i {
    font-size: 24px;
    color: #721c24;
}

.alert-success div,
.alert-error div {
    flex: 1;
}

.alert-success strong {
    color: #155724;
    font-size: 15px;
}

.alert-error strong {
    color: #721c24;
    font-size: 15px;
}

.alert-success p,
.alert-error p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #155724;
}

.alert-error p {
    color: #721c24;
}

.alert-action {
    padding: 8px 16px;
    background: #155724;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.alert-action:hover {
    background: #0d3c18;
}

/* Modern Form */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.form-section-header i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.form-section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2332;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-group label .required {
    color: #e74c3c;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > i {
    position: absolute;
    left: 14px;
    color: #888;
    font-size: 14px;
    z-index: 1;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-with-icon.password-input input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #667eea;
}

.input-hint {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), #0d7d74);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-card {
        padding: 20px;
        margin: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .form-actions button,
    .form-actions a {
        width: 100%;
        justify-content: center;
    }
    
    .breadcrumb-nav {
        flex-wrap: wrap;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon i {
    font-size: 40px;
    color: #bbb;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.empty-state p {
    color: #888;
    margin: 0 0 24px;
}

/* ==========================================================================
   REVIEWS LIST STYLES
   ========================================================================== */

.reviews-list {
    padding: 0;
}

.review-card-new {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.review-card-new:last-child {
    border-bottom: none;
}

.review-card-new:hover {
    background: #fafafa;
}

.review-card-new.pending {
    border-left: 4px solid #f39c12;
}

.review-card-new.approved {
    border-left: 4px solid #27ae60;
}

.review-card-new.rejected {
    border-left: 4px solid #e74c3c;
}

.review-avatar {
    flex-shrink: 0;
}

.avatar-circle-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.review-content {
    flex: 1;
    min-width: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 15px;
}

.review-info {
    min-width: 0;
}

.review-info .review-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a2332;
    margin: 0 0 4px;
}

.review-info .review-email {
    font-size: 13px;
    color: #888;
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.review-date {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.review-status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.review-status-badge.approved {
    background: #d4edda;
    color: #155724;
}

.review-status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.review-message {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.review-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.review-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.review-action-btn.view {
    background: #e3f2fd;
    color: #1976d2;
}

.review-action-btn.view:hover {
    background: #1976d2;
    color: white;
}

.review-action-btn.approve {
    background: #d4edda;
    color: #155724;
}

.review-action-btn.approve:hover {
    background: #27ae60;
    color: white;
}

.review-action-btn.reject {
    background: #f8d7da;
    color: #721c24;
}

.review-action-btn.reject:hover {
    background: #e74c3c;
    color: white;
}

/* Review Detail Modal */
.review-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.review-detail-avatar .avatar-circle {
    width: 70px;
    height: 70px;
    font-size: 28px;
}

.review-detail-info {
    flex: 1;
}

.review-detail-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a2332;
    margin: 0 0 6px;
}

.review-detail-email {
    font-size: 14px;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.review-detail-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.review-message-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.review-message-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.review-message-box .message-content {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

/* Edit Status Section */
.edit-status-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.edit-status-section > label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.status-options {
    display: flex;
    gap: 10px;
}

.status-option {
    flex: 1;
    cursor: pointer;
}

.status-option input {
    display: none;
}

.status-option .status-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.status-option .status-btn.pending {
    background: #fff3cd;
    color: #856404;
}

.status-option .status-btn.approved {
    background: #d4edda;
    color: #155724;
}

.status-option .status-btn.rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-option input:checked + .status-btn {
    border-color: currentColor;
    transform: scale(1.02);
}

/* Success Button */
.btn-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

/* Quick Actions in Modal Footer */
#quick-actions {
    display: flex;
    gap: 10px;
}

/* Clickable Stats Active State */
.mini-stat-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.mini-stat-card.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mini-stat-card.clickable.active {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.2);
}

/* Responsive Reviews */
@media (max-width: 768px) {
    .review-card-new {
        flex-direction: column;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-meta {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    
    .review-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
    }
    
    .status-options {
        flex-direction: column;
    }
    
    #quick-actions {
        width: 100%;
    }
    
    #quick-actions button {
        flex: 1;
    }
}

/* ==========================================================================
   USER MANAGEMENT STYLES
   ========================================================================== */

/* Table User Cell */
.table-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info .user-name {
    font-weight: 600;
    color: #1a2332;
    font-size: 14px;
}

.user-info .user-username {
    font-size: 12px;
    color: #888;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.verified {
    background: #d4edda;
    color: #155724;
}

.status-badge.unverified {
    background: #fff3cd;
    color: #856404;
}

.status-badge.confirmed {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.canceled {
    background: #f8d7da;
    color: #721c24;
}

/* Action Buttons in Table */
.action-buttons {
    display: flex;
    gap: 6px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 13px;
}

.action-btn.view {
    background: #e3f2fd;
    color: #1976d2;
}

.action-btn.view:hover {
    background: #1976d2;
    color: white;
}

.action-btn.edit {
    background: #fff3e0;
    color: #f57c00;
}

.action-btn.edit:hover {
    background: #f57c00;
    color: white;
}

.action-btn.reservations {
    background: #e8f5e9;
    color: #388e3c;
}

.action-btn.reservations:hover {
    background: #388e3c;
    color: white;
}

.action-btn.delete {
    background: #ffebee;
    color: #c62828;
}

.action-btn.delete:hover {
    background: #c62828;
    color: white;
}

/* User Profile Section in Modal */
.user-profile-section {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.user-profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.user-profile-avatar span {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.user-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
}

.user-info-item .info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.user-info-item .info-content {
    flex: 1;
    min-width: 0;
}

.user-info-item .info-content label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.user-info-item .info-content span {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Reservations Section in Modal */
.user-reservations-section {
    margin-top: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.user-reservations-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8fafc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.user-reservations-section .section-header:hover {
    background: #f0f0f0;
}

.user-reservations-section .section-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-reservations-section .toggle-icon {
    transition: transform 0.3s ease;
    color: #888;
}

.user-reservations-section.expanded .toggle-icon {
    transform: rotate(180deg);
}

.user-reservations-section .reservations-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.user-reservations-section.expanded .reservations-content {
    max-height: 300px;
    overflow-y: auto;
}

/* Reservation Mini Card */
.reservation-mini-card {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.reservation-mini-card:last-child {
    border-bottom: none;
}

.reservation-mini-card.confirmed {
    border-left: 3px solid #27ae60;
}

.reservation-mini-card.pending {
    border-left: 3px solid #f39c12;
}

.reservation-mini-card.canceled {
    border-left: 3px solid #e74c3c;
}

.reservation-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reservation-mini-header .property-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reservation-mini-header .property-name i {
    color: #667eea;
}

.reservation-mini-header .reservation-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.reservation-mini-header .reservation-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.reservation-mini-header .reservation-status.pending {
    background: #fff3cd;
    color: #856404;
}

.reservation-mini-header .reservation-status.canceled {
    background: #f8d7da;
    color: #721c24;
}

.reservation-mini-dates {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #666;
}

.reservation-mini-dates span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reservation-mini-dates i {
    color: #888;
}

/* No Reservations Message */
.no-reservations,
.error-message {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.no-reservations i,
.error-message i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.error-message {
    color: #e74c3c;
}

/* Reservations Modal List */
.reservations-list-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reservation-item-modal {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid #667eea;
}

.reservation-item-modal.confirmed {
    border-left-color: #27ae60;
}

.reservation-item-modal.pending {
    border-left-color: #f39c12;
}

.reservation-item-modal.canceled {
    border-left-color: #e74c3c;
}

.reservation-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reservation-item-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reservation-item-header h4 i {
    color: #667eea;
}

.reservation-item-dates {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reservation-item-dates .date-item {
    flex: 1;
    text-align: center;
}

.reservation-item-dates .date-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.reservation-item-dates .date-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.reservation-item-dates .date-arrow {
    color: #ccc;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 30px;
    color: #888;
}

.loading-spinner i {
    font-size: 24px;
    margin-right: 10px;
}

/* Form Group for Modals */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group label i {
    color: #667eea;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Responsive User Management */
@media (max-width: 768px) {
    .user-info-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    .reservation-item-dates {
        flex-direction: column;
        gap: 10px;
    }
    
    .reservation-item-dates .date-arrow {
        transform: rotate(90deg);
    }
}

/* ==========================================================================
   ULTRA MODERN DASHBOARD STYLES
   ========================================================================== */

.admin-dashboard-ultra {
    padding: 25px 40px;
    min-height: calc(100vh - 90px);
}

/* Hero Section - Improved & Centered */
.dashboard-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #394c38 100%);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.4);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: floatShape 25s infinite ease-in-out;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation-delay: -8s;
}

.hero-shape-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    left: 35%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    animation-delay: -15s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 10px) rotate(-5deg); }
    75% { transform: translate(15px, 5px) rotate(3deg); }
}

.dashboard-hero .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.hero-left {
    flex: 0 1 auto;
    min-width: 300px;
    max-width: 600px;
}

.greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: white;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.6s ease;
}

.greeting-icon {
    font-size: 1.4rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin: 0 0 15px;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.admin-name {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 35px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-quick-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 18px 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    min-width: 180px;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.hero-stat-icon.checkin {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #4ade80;
}

.hero-stat-icon.checkout {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #60a5fa;
}

.hero-stat-icon.users {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    color: #c084fc;
}

.hero-stat-info {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Date Widget */
.hero-right {
    flex-shrink: 0;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-date-widget {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 30px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.date-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.25);
    position: relative;
}

.date-ring::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.date-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.date-day-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.date-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-top: 2px;
}

.date-details {
    display: flex;
    flex-direction: column;
    color: white;
    text-align: left;
}

.date-weekday {
    font-size: 1.3rem;
    font-weight: 700;
}

.date-full {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-top: 3px;
}

/* Ultra Stats Grid */
.ultra-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.ultra-stat-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.ultra-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ultra-stat-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: height 0.4s ease;
}

.ultra-stat-card:hover .ultra-stat-bg {
    height: 8px;
}

.stat-apartments .ultra-stat-bg { background: linear-gradient(90deg, #394c38, #527a50); }
.stat-users .ultra-stat-bg { background: linear-gradient(90deg, #2980b9, #6dd5fa); }
.stat-reservations .ultra-stat-bg { background: linear-gradient(90deg, #8e44ad, #c56cf0); }
.stat-reviews .ultra-stat-bg { background: linear-gradient(90deg, #f39c12, #f7dc6f); }

.ultra-stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.ultra-stat-card:hover .ultra-stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-apartments .ultra-stat-icon { background: rgba(57, 76, 56, 0.12); color: #394c38; }
.stat-users .ultra-stat-icon { background: rgba(52, 152, 219, 0.12); color: #3498db; }
.stat-reservations .ultra-stat-icon { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }
.stat-reviews .ultra-stat-icon { background: rgba(241, 196, 15, 0.12); color: #f39c12; }

.ultra-stat-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ultra-stat-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a2332;
    line-height: 1;
}

.ultra-stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.ultra-stat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
}

.stat-apartments .ultra-stat-link:hover { color: #394c38; }
.stat-users .ultra-stat-link:hover { color: #3498db; }
.stat-reservations .ultra-stat-link:hover { color: #9b59b6; }
.stat-reviews .ultra-stat-link:hover { color: #f39c12; }

.ultra-stat-link:hover {
    gap: 14px;
}

.ultra-stat-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    opacity: 0.05;
    pointer-events: none;
}

.ultra-stat-wave svg {
    width: 100%;
    height: 100%;
}

.stat-apartments .ultra-stat-wave path { fill: #394c38; }
.stat-users .ultra-stat-wave path { fill: #3498db; }
.stat-reservations .ultra-stat-wave path { fill: #9b59b6; }
.stat-reviews .ultra-stat-wave path { fill: #f39c12; }

/* Alert Cards Row */
.alert-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.alert-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.alert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.alert-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alert-pending-reservations .alert-card-glow { background: linear-gradient(90deg, #3498db, #2ecc71); }
.alert-pending-reviews .alert-card-glow { background: linear-gradient(90deg, #f39c12, #e74c3c); }

.alert-card.has-pending .alert-card-glow {
    opacity: 1;
}

.alert-icon-wrapper {
    position: relative;
}

.alert-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.alert-pending-reservations .alert-icon { background: rgba(52, 152, 219, 0.12); color: #3498db; }
.alert-pending-reviews .alert-icon { background: rgba(241, 196, 15, 0.12); color: #f39c12; }
.alert-quick-actions .alert-icon { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }

.alert-icon.pulse {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(52, 152, 219, 0); }
}

.alert-pending-reviews .alert-icon.pulse {
    animation-name: iconPulseYellow;
}

@keyframes iconPulseYellow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(241, 196, 15, 0); }
}

.alert-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    animation: badgeBounce 1s ease infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.alert-content {
    flex: 1;
}

.alert-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 5px;
}

.alert-content p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.alert-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.alert-pending-reservations .alert-action-btn {
    background: rgba(52, 152, 219, 0.12);
    color: #3498db;
}

.alert-pending-reviews .alert-action-btn {
    background: rgba(241, 196, 15, 0.12);
    color: #d68910;
}

.alert-action-btn:hover {
    transform: translateX(5px);
}

.quick-actions-grid {
    display: flex;
    gap: 12px;
}

.quick-action-item {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-action-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card-ultra {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chart-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(57, 76, 56, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chart-title-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 3px;
}

.chart-title-info p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.chart-legend {
    display: flex;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.reservations {
    background: #394c38;
}

.chart-body {
    min-height: 280px;
}

.status-legend {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.status-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-legend-item .status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-legend-item.confirmed .status-dot { background: #27ae60; }
.status-legend-item.pending .status-dot { background: #f1c40f; }
.status-legend-item.cancelled .status-dot { background: #e74c3c; }

.status-legend-item .status-name {
    font-size: 0.85rem;
    color: #666;
}

.status-legend-item .status-count {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a2332;
}

/* Dashboard Content Grid */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    border-bottom: 1px solid #f5f5f5;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.reservations-card .header-icon { background: rgba(52, 152, 219, 0.12); color: #3498db; }
.reviews-card .header-icon { background: rgba(241, 196, 15, 0.12); color: #f39c12; }
.header-icon.trophy { background: rgba(241, 196, 15, 0.12); color: #f39c12; }
.header-icon.reviews { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }

.content-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-link:hover {
    gap: 10px;
}

.content-card-body {
    padding: 20px 25px;
}

/* Reservations List */
.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reservation-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.reservation-item:hover {
    background: #f0f2f5;
}

.reservation-guest {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.guest-avatar-ring {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #394c38, #527a50);
    padding: 3px;
}

.guest-avatar-ring .guest-avatar {
    width: 100%;
    height: 100%;
    border-radius: 11px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #394c38;
}

.guest-details {
    display: flex;
    flex-direction: column;
}

.guest-details .guest-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2332;
}

.guest-details .apartment-name {
    font-size: 0.8rem;
    color: #888;
}

.reservation-dates {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reservation-dates .date-label {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservation-dates .date-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a2332;
}

.reservation-status {
    flex-shrink: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pill.confirmed { background: rgba(39, 174, 96, 0.12); color: #27ae60; }
.status-pill.pending { background: rgba(241, 196, 15, 0.12); color: #d68910; }
.status-pill.cancelled { background: rgba(231, 76, 60, 0.12); color: #e74c3c; }

.status-pill i {
    font-size: 0.75rem;
}

/* Top Apartments List */
.top-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.top-item:hover {
    background: #f0f2f5;
}

.rank-medal {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
}

.rank-medal.rank-1 { background: linear-gradient(135deg, #ffd700, #ffb800); }
.rank-medal.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); }
.rank-medal.rank-3 { background: linear-gradient(135deg, #cd7f32, #b87333); }
.rank-medal.rank-4, .rank-medal.rank-5 { background: linear-gradient(135deg, #667eea, #764ba2); }

.rank-medal i {
    font-size: 0.9rem;
}

.top-item-info {
    flex: 1;
    min-width: 0;
}

.top-item-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-item-bar {
    height: 6px;
    background: #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #394c38, #527a50);
    border-radius: 10px;
    transition: width 1s ease;
}

.top-item-count {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.review-item:hover {
    background: #f0f2f5;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2332;
}

.review-date {
    font-size: 0.75rem;
    color: #aaa;
}

.review-status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.review-status-badge.approved { background: rgba(39, 174, 96, 0.12); color: #27ae60; }
.review-status-badge.pending { background: rgba(241, 196, 15, 0.12); color: #d68910; }
.review-status-badge.rejected { background: rgba(231, 76, 60, 0.12); color: #e74c3c; }

.review-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Dashboard */
@media (max-width: 1400px) {
    .ultra-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .weekly-chart {
        grid-column: span 2;
    }
    
    .dashboard-content-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .reviews-card {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .dashboard-hero .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-right {
        width: 100%;
    }
    
    .hero-date-widget {
        justify-content: center;
    }
    
    .alert-cards-row {
        grid-template-columns: 1fr;
    }
    
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .weekly-chart {
        grid-column: span 1;
    }
    
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-card {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .admin-dashboard-ultra {
        padding: 15px;
    }
    
    .dashboard-hero {
        padding: 25px;
        border-radius: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-quick-stats {
        flex-direction: column;
    }
    
    .hero-stat {
        padding: 15px 20px;
    }
    
    .ultra-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ultra-stat-card {
        padding: 22px;
    }
    
    .ultra-stat-value {
        font-size: 2.2rem;
    }
    
    .alert-card {
        flex-wrap: wrap;
    }
    
    .alert-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .reservation-item {
        flex-wrap: wrap;
    }
    
    .reservation-guest {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-date-widget {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .quick-actions-grid {
        flex-wrap: wrap;
    }
}

/* RTL Support for Admin Dashboard */
body.rtl .dashboard-hero .hero-content,
body.rtl .hero-quick-stats,
body.rtl .alert-card,
body.rtl .reservation-item,
body.rtl .top-item {
    direction: rtl;
}

body.rtl .ultra-stat-link i,
body.rtl .header-link i,
body.rtl .alert-action-btn:hover {
    transform: rotate(180deg);
}

body.rtl .alert-action-btn:hover {
    transform: translateX(-5px);
}

/* ==========================================================================
   ULTRA MODERN USER & ADMIN MANAGEMENT STYLES
   ========================================================================== */

/* Page Hero Header */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #312e81 100%);
    border-radius: 24px;
    padding: 40px 50px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.page-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.page-hero-left {
    flex: 1;
    min-width: 300px;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-hero-badge i {
    color: #4ade80;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 12px;
    line-height: 1.2;
}

.page-hero-title .highlight {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 500px;
}

/* Hero Stats */
.page-hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stat-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px 28px;
    text-align: center;
    min-width: 130px;
    transition: all 0.3s ease;
}

.hero-stat-box:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-stat-box .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-stat-box .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-box.primary .stat-number { color: #6366f1; }
.hero-stat-box.success .stat-number { color: #4ade80; }
.hero-stat-box.warning .stat-number { color: #fbbf24; }
.hero-stat-box.info .stat-number { color: #38bdf8; }

/* Search & Filter Section */
.search-filter-section {
    background: white;
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-box-ultra {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box-ultra input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.search-box-ultra input:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.search-box-ultra i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
}

.add-btn-ultra {
    padding: 14px 28px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.add-btn-ultra:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* User Cards Grid */
.users-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
}

.user-card-ultra {
    background: white;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-card-ultra:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.user-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.user-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.user-card-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-avatar-ultra {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.user-header-info {
    flex: 1;
}

.user-header-info h3 {
    margin: 0 0 5px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.user-header-info .username {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.user-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-status-badge.verified {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.user-status-badge.unverified {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.user-card-body {
    padding: 25px;
}

.user-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-info-row:hover {
    background: #f1f5f9;
}

.user-info-row .icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.user-info-row .icon.email { background: #ede9fe; color: #8b5cf6; }
.user-info-row .icon.phone { background: #d1fae5; color: #10b981; }
.user-info-row .icon.location { background: #fee2e2; color: #ef4444; }

.user-info-row .info-text {
    flex: 1;
}

.user-info-row .info-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.user-info-row .info-value {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
}

.user-card-footer {
    padding: 20px 25px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-card-actions {
    display: flex;
    gap: 10px;
}

.user-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-action-btn.view {
    background: #ede9fe;
    color: #8b5cf6;
}

.user-action-btn.view:hover {
    background: #8b5cf6;
    color: white;
    transform: scale(1.1);
}

.user-action-btn.edit {
    background: #dbeafe;
    color: #3b82f6;
}

.user-action-btn.edit:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.user-action-btn.reservations {
    background: #d1fae5;
    color: #10b981;
}

.user-action-btn.reservations:hover {
    background: #10b981;
    color: white;
    transform: scale(1.1);
}

.user-action-btn.delete {
    background: #fee2e2;
    color: #ef4444;
}

.user-action-btn.delete:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.user-reservations-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0fdf4;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #16a34a;
    font-weight: 600;
}

/* Admin Cards Grid */
.admins-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.admin-card-ultra {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.admin-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
}

.admin-card-ultra:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.2);
}

.admin-card-content {
    padding: 30px;
}

.admin-profile-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.admin-avatar-ultra {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    position: relative;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.admin-avatar-ultra::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: #4ade80;
    border-radius: 50%;
    border: 3px solid white;
}

.admin-profile-info h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
}

.admin-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6366f1;
}

.admin-role-badge i {
    font-size: 0.75rem;
}

.admin-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.admin-detail-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.admin-detail-row:hover {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    transform: translateX(5px);
}

.admin-detail-row .detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.admin-detail-row .detail-icon.username {
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
    color: #7c3aed;
}

.admin-detail-row .detail-icon.email {
    background: linear-gradient(135deg, #bfdbfe, #93c5fd);
    color: #2563eb;
}

.admin-detail-row .detail-text {
    flex: 1;
}

.admin-detail-row .detail-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.admin-detail-row .detail-value {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.admin-card-actions-ultra {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.admin-action-btn-ultra {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-action-btn-ultra.view {
    background: #f5f3ff;
    color: #7c3aed;
}

.admin-action-btn-ultra.view:hover {
    background: #7c3aed;
    color: white;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.admin-action-btn-ultra.edit {
    background: #eff6ff;
    color: #2563eb;
}

.admin-action-btn-ultra.edit:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.admin-action-btn-ultra.delete {
    background: #fef2f2;
    color: #dc2626;
}

.admin-action-btn-ultra.delete:hover {
    background: #dc2626;
    color: white;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* Empty State Ultra */
.empty-state-ultra {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 24px;
}

.empty-state-ultra .empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6366f1;
}

.empty-state-ultra h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0 0 12px;
}

.empty-state-ultra p {
    color: #64748b;
    margin: 0 0 30px;
    font-size: 1rem;
}

.empty-state-ultra .empty-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.empty-state-ultra .empty-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

/* Ultra Modal Styles */
.modal-ultra {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-ultra.show {
    display: flex;
    opacity: 1;
}

.modal-content-ultra {
    background: white;
    border-radius: 28px;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.modal-ultra.show .modal-content-ultra {
    transform: scale(1) translateY(0);
}

.modal-header-ultra {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.modal-header-ultra::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.modal-header-ultra h3 {
    margin: 0;
    font-size: 1.4rem;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close-ultra {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-close-ultra:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body-ultra {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-footer-ultra {
    padding: 20px 30px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.modal-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.modal-btn.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.modal-btn.danger:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.modal-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
}

.modal-btn.secondary:hover {
    background: #e2e8f0;
}

/* Form Ultra Styles */
.form-group-ultra {
    margin-bottom: 20px;
}

.form-group-ultra label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.form-group-ultra label i {
    color: #6366f1;
}

.form-group-ultra input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group-ultra input:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* ==========================================================================
   ULTRA FORM STYLES
   ========================================================================== */

.form-container-ultra {
    max-width: 800px;
    margin: 0 auto;
}

.alert-ultra {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-ultra.success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
}

.alert-ultra.error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
}

.alert-ultra .alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.alert-ultra.success .alert-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.alert-ultra.error .alert-icon {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
}

.alert-ultra .alert-content {
    flex: 1;
}

.alert-ultra .alert-content h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.alert-ultra .alert-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.alert-ultra .alert-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.alert-ultra .alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.form-ultra {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-section-ultra {
    padding: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-ultra:last-of-type {
    border-bottom: none;
}

.section-header-ultra {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.section-header-ultra .section-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.section-header-ultra .section-title h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.section-header-ultra .section-title p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.form-group-ultra label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.form-group-ultra label i {
    color: #6366f1;
    font-size: 0.85rem;
}

.form-group-ultra input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.form-group-ultra input::placeholder {
    color: #94a3b8;
}

.form-group-ultra input:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Textarea styling for form-group-ultra */
.form-group-ultra textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
    resize: vertical;
    min-height: 180px;
    line-height: 1.7;
    color: #1e293b;
}

.form-group-ultra textarea::placeholder {
    color: #94a3b8;
}

.form-group-ultra textarea:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.input-hint-ultra {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.password-input-ultra {
    position: relative;
}

.password-input-ultra input {
    padding-right: 50px;
}

.toggle-password-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.toggle-password-btn:hover {
    color: #6366f1;
}

.password-strength-ultra {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.strength-bar-ultra {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.form-actions-ultra {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 25px 30px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.btn-ultra {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-ultra.primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-ultra.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.btn-ultra.secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-ultra.secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.btn-ultra.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-ultra.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.btn-ultra.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-ultra.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 30px;
    }
    
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .page-hero-stats {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stat-box {
        flex: 1;
        min-width: 100px;
    }
    
    .users-grid-ultra,
    .admins-grid-ultra {
        grid-template-columns: 1fr;
    }
    
    .search-filter-section {
        flex-direction: column;
    }
    
    .search-box-ultra {
        width: 100%;
    }
    
    .form-actions-ultra {
        flex-direction: column;
    }
    
    .btn-ultra {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   ULTRA APARTMENTS MANAGEMENT - AMAZING DESIGN
   ========================================================================== */

/* Filter Select Ultra */
.filter-select-ultra {
    padding: 14px 45px 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    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='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    min-width: 150px;
}

.filter-select-ultra:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
}

.filter-select-ultra:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.filter-select-ultra option {
    background: #1e293b;
    color: #fff;
    padding: 10px;
}

/* Add Button Ultra */
.add-btn-ultra {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-color), #f0d78c);
    color: #1a1a2e;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.add-btn-ultra:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.add-btn-ultra i {
    font-size: 1rem;
}

/* Apartments Grid Ultra */
.apartments-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    padding: 10px;
}

/* Apartment Card Ultra */
.apartment-card-ultra {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.apartment-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-color), #f0d78c, var(--gold-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apartment-card-ultra:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.apartment-card-ultra:hover::before {
    opacity: 1;
}

/* Apartment Image Wrapper */
.apartment-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.apartment-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.apartment-card-ultra:hover .apartment-image-wrapper img {
    transform: scale(1.1);
}

/* Apartment Badges */
.apartment-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.apt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.apt-badge.available {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.apt-badge.unavailable {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

/* Price Tag */
.apartment-price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--gold-color), #f0d78c);
    padding: 12px 20px;
    border-radius: 20px;
    z-index: 5;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.apartment-price-tag .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
}

.apartment-price-tag .period {
    font-size: 0.85rem;
    color: rgba(26, 26, 46, 0.7);
    font-weight: 500;
}

/* Apartment Overlay */
.apartment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apartment-card-ultra:hover .apartment-overlay {
    opacity: 1;
}

.quick-view-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-color), #f0d78c);
    color: #1a1a2e;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.apartment-card-ultra:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: linear-gradient(135deg, #f0d78c, var(--gold-color));
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

/* Apartment Card Body */
.apartment-card-body {
    padding: 25px;
}

.apartment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.apartment-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.apartment-location i {
    color: var(--gold-color);
}

/* Apartment Specs */
.apartment-specs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.spec-item i {
    color: var(--gold-color);
    font-size: 0.9rem;
}

/* Apartment Stats Row */
.apartment-stats-row {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.apartment-stats-row .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.apartment-stats-row .stat-item i {
    color: #10b981;
}

/* Apartment Card Footer */
.apartment-card-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.apt-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
}

.apt-action-btn.edit {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.apt-action-btn.edit:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.apt-action-btn.lock {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.apt-action-btn.lock:hover {
    background: #fbbf24;
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.apt-action-btn.view {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.apt-action-btn.view:hover {
    background: #10b981;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.apt-action-btn.delete {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.apt-action-btn.delete:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

/* Empty State Ultra */
.empty-state-ultra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.7));
    border-radius: 30px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.empty-state-ultra .empty-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    margin-bottom: 30px;
}

.empty-state-ultra .empty-icon i {
    font-size: 3rem;
    color: var(--gold-color);
}

.empty-state-ultra h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.empty-state-ultra p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 30px;
}

.empty-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--gold-color), #f0d78c);
    color: #1a1a2e;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.empty-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   APARTMENT POPUP ULTRA
   ========================================================================== */
.apartment-popup-ultra {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 40px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.apartment-popup-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.popup-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, transparent 60%);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.popup-title-section {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
}

.popup-title-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.popup-title-section .location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.popup-title-section .location i {
    color: var(--gold-color);
}

/* Popup Body */
.popup-body {
    padding: 40px;
}

.popup-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.popup-stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.popup-stat:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.popup-stat i {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    display: block;
}

.popup-stat .value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.popup-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Description Section */
.popup-section {
    margin-bottom: 30px;
}

.popup-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-section h3 i {
    color: var(--gold-color);
}

.popup-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
}

.feature-tag i {
    color: var(--gold-color);
}

/* Popup Actions */
.popup-actions {
    display: flex;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.popup-action-btn.primary {
    background: linear-gradient(135deg, var(--gold-color), #f0d78c);
    color: #1a1a2e;
}

.popup-action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.popup-action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.popup-action-btn.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.popup-action-btn.danger:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================================================
   DELETE CONFIRMATION MODAL ULTRA
   ========================================================================== */
.delete-modal-ultra {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.delete-modal-content {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 30px;
    padding: 50px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.delete-modal-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    margin: 0 auto 25px;
}

.delete-modal-icon i {
    font-size: 3rem;
    color: #ef4444;
}

.delete-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.delete-modal-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.delete-modal-content .apt-name {
    display: block;
    font-weight: 700;
    color: #ef4444;
    margin-top: 5px;
}

.delete-modal-actions {
    display: flex;
    gap: 15px;
}

.delete-modal-actions button {
    flex: 1;
    padding: 16px 24px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-modal-actions .cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.delete-modal-actions .cancel-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.delete-modal-actions .confirm-delete-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.delete-modal-actions .confirm-delete-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   LOCK DATES MODAL ULTRA
   ========================================================================== */
.lock-modal-ultra {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    padding: 40px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.lock-modal-content {
    max-width: 600px;
    margin: 40px auto;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.lock-modal-header {
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lock-modal-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.lock-modal-header h3 i {
    color: #fbbf24;
}

.lock-modal-close {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.lock-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.lock-modal-body {
    padding: 40px;
}

.lock-form-group {
    margin-bottom: 25px;
}

.lock-form-group label {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.lock-form-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.lock-form-group input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.locked-dates-list {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.locked-dates-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.locked-date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
}

.locked-date-item span {
    color: rgba(255, 255, 255, 0.8);
}

.locked-date-item button {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border: none;
    border-radius: 10px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.locked-date-item button:hover {
    background: #ef4444;
    color: #fff;
}

.lock-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.lock-form-actions button {
    flex: 1;
    padding: 16px 24px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lock-form-actions .lock-cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lock-form-actions .lock-submit-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a2e;
}

.lock-form-actions .lock-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* ==========================================================================
   RESPONSIVE - APARTMENTS ULTRA
   ========================================================================== */
@media (max-width: 1200px) {
    .apartments-grid-ultra {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .search-filter-section {
        flex-wrap: wrap;
    }
    
    .filter-buttons {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .popup-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .apartments-grid-ultra {
        grid-template-columns: 1fr;
    }
    
    .apartment-image-wrapper {
        height: 200px;
    }
    
    .popup-header {
        height: 250px;
    }
    
    .popup-body {
        padding: 25px;
    }
    
    .popup-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .popup-stat {
        padding: 15px;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .delete-modal-content {
        padding: 30px;
    }
    
    .delete-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .filter-select-ultra {
        width: 100%;
        min-width: unset;
    }
    
    .add-btn-ultra {
        width: 100%;
        justify-content: center;
    }
    
    .apartment-card-footer {
        flex-wrap: wrap;
    }
    
    .apt-action-btn {
        width: 45px;
        height: 45px;
    }
}

/* ==========================================================================
   ADD APARTMENT FORM - ULTRA MODERN STYLES
   ========================================================================== */

/* Form Grid Layout */
.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Form Row Layouts */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Input with Addon */
.input-with-addon {
    position: relative;
    display: flex;
}

.input-with-addon .input-addon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 15px 0 0 15px;
    color: var(--gold-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.input-with-addon input {
    padding-left: 65px !important;
}

/* Label Hint */
.label-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Features Input Container */
.features-input-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.feature-input-row input {
    flex: 1;
    padding: 14px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    color: #1e293b;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.feature-input-row input::placeholder {
    color: #94a3b8;
}

.feature-input-row input:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.remove-feature-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-feature-btn:hover {
    background: #ef4444;
    color: #fff;
}

.add-feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    color: var(--gold-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.add-feature-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-color);
}

/* File Upload Zone */
.file-upload-zone {
    position: relative;
    border: 2px dashed rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.05);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.file-upload-zone.has-files {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.file-upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-zone-content {
    pointer-events: none;
}

.upload-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.upload-icon i {
    font-size: 2rem;
    color: #8b5cf6;
}

.upload-zone-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.upload-zone-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.upload-hint {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Image Preview */
.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-preview-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.image-preview-item .image-name {
    display: block;
    padding: 8px 10px 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-preview-item .image-size {
    display: block;
    padding: 0 10px 8px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Upload Progress Ultra */
.upload-progress-ultra {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.progress-percent {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .form-grid-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row,
    .form-row-three {
        grid-template-columns: 1fr;
    }
    
    .file-upload-zone {
        padding: 25px;
    }
    
    .upload-icon {
        width: 60px;
        height: 60px;
    }
    
    .upload-icon i {
        font-size: 1.5rem;
    }
    
    .image-preview-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* ==========================================================================
   EDIT APARTMENT - ADDITIONAL STYLES
   ========================================================================== */

/* Current Images Grid */
.current-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.current-image-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.current-image-item:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.02);
}

/* Sortable Image Styles */
.current-image-item.is-primary {
    border-color: var(--gold-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.current-image-item .primary-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 5px 10px;
    background: var(--gold-color);
    color: #1a1a2e;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.current-image-item .drag-handle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    color: #fff;
    cursor: grab;
    opacity: 0.6;
    transition: all 0.3s ease;
    z-index: 5;
}

.current-image-item:hover .drag-handle {
    opacity: 1;
}

.current-image-item .drag-handle:active {
    cursor: grabbing;
}

/* Sortable ghost and chosen states */
.sortable-ghost {
    opacity: 0.4;
    background: rgba(212, 175, 55, 0.2) !important;
}

.sortable-chosen {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.current-image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.current-image-item .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.current-image-item:hover .image-overlay {
    opacity: 1;
}

.set-primary-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-color);
    border: none;
    border-radius: 50%;
    color: #1a1a2e;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.set-primary-btn:hover {
    background: #f0d78c;
    transform: scale(1.1);
}

.delete-image-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.no-images-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
}

.no-images-message i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.3);
    display: block;
}

.no-images-message p {
    font-size: 0.95rem;
}

/* Image Hint */
.image-hint {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-hint i {
    color: #6366f1;
}

/* Availability Toggle */
.availability-toggle {
    display: flex;
    gap: 15px;
}

.toggle-option {
    flex: 1;
    cursor: pointer;
}

.toggle-option input {
    display: none;
}

.toggle-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.toggle-content.available {
    background: rgba(16, 185, 129, 0.1);
    color: rgba(16, 185, 129, 0.7);
    border-color: rgba(16, 185, 129, 0.2);
}

.toggle-content.unavailable {
    background: rgba(239, 68, 68, 0.1);
    color: rgba(239, 68, 68, 0.7);
    border-color: rgba(239, 68, 68, 0.2);
}

.toggle-option.active .toggle-content.available {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: #10b981;
}

.toggle-option.active .toggle-content.unavailable {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: #ef4444;
}

.toggle-option:hover .toggle-content {
    transform: translateY(-2px);
}

/* Danger Button */
.btn-ultra.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-ultra.danger:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 500;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    border-left: 4px solid #10b981;
}

.toast-notification.success i {
    color: #10b981;
}

.toast-notification.error {
    border-left: 4px solid #ef4444;
}

.toast-notification.error i {
    color: #ef4444;
}

@media (max-width: 768px) {
    .availability-toggle {
        flex-direction: column;
    }
    
    .current-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .current-image-item img {
        height: 100px;
    }
}

/* ===============================================
   ULTRA MODERN ADMIN STYLES
   =============================================== */

/* Stats Grid Ultra */
.stats-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.stat-card-ultra {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-card-ultra.clickable {
    cursor: pointer;
}

.stat-card-ultra.clickable:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.stat-card-ultra.active {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-card-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* Filters Section Ultra */
.filters-section-ultra {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0 2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.search-box-ultra {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box-ultra i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.search-box-ultra input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box-ultra input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.filter-group-ultra {
    min-width: 150px;
}

.filter-select-ultra {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select-ultra:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
}

.filter-select-ultra option {
    background: #1a1a2e;
    color: #fff;
}

.results-info {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.results-info span {
    color: #d4af37;
    font-weight: 600;
}

/* Table Card Ultra */
.table-card-ultra {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    margin: 0 2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.table-ultra {
    width: 100%;
    border-collapse: collapse;
}

.table-ultra thead {
    background: rgba(0, 0, 0, 0.3);
}

.table-ultra th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-ultra td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.95rem;
}

.table-ultra tbody tr {
    transition: background 0.2s ease;
}

.table-ultra tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.table-ultra .text-center {
    text-align: center;
}

/* Table User Ultra */
.table-user-ultra {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-ultra {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.user-info-ultra {
    display: flex;
    flex-direction: column;
}

.user-name-ultra {
    font-weight: 500;
    color: #fff;
}

.user-meta-ultra {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Apartment Badge Ultra */
.apartment-badge-ultra {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Date Cell Ultra */
.date-cell-ultra {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.date-cell-ultra i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Nights Badge */
.nights-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Amount Ultra */
.amount-ultra {
    font-weight: 600;
    color: #10b981;
}

/* Status Badge Ultra */
.status-badge-ultra {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge-ultra.confirmed {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.status-badge-ultra.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.status-badge-ultra.cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.status-badge-ultra.locked {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-badge-ultra.large {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Table Actions Ultra */
.table-actions-ultra {
    display: flex;
    gap: 0.5rem;
}

.action-btn-ultra {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.action-btn-ultra.view {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.action-btn-ultra.view:hover {
    background: rgba(99, 102, 241, 0.4);
}

.action-btn-ultra.approve {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.action-btn-ultra.approve:hover {
    background: rgba(16, 185, 129, 0.4);
}

.action-btn-ultra.reject {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.action-btn-ultra.reject:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* Empty State Ultra */
.empty-state-ultra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    margin: 0 2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.empty-state-ultra .empty-state-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.6);
    margin-bottom: 1.5rem;
}

.empty-state-ultra.success-state .empty-state-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.empty-state-ultra h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.empty-state-ultra p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.5rem;
}

/* Modal Ultra */
.modal-ultra {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-ultra.show {
    display: flex;
}

.modal-content-ultra {
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-header-ultra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.modal-title-ultra {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.modal-title-ultra i {
    color: #d4af37;
}

.modal-close-ultra {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-ultra:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.modal-body-ultra {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer-ultra {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

/* Detail Card Ultra */
.detail-card-ultra {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-card-header i {
    color: #d4af37;
}

.detail-value-large {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Guest Card Ultra */
.guest-card-ultra {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guest-details-ultra h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #fff;
}

.guest-details-ultra p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-details-ultra p i {
    color: rgba(255, 255, 255, 0.4);
    width: 16px;
}

/* Dates Display Ultra */
.dates-display-ultra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.date-box-ultra {
    flex: 1;
    text-align: center;
}

.date-label-ultra {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.date-value-ultra {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.date-arrow-ultra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.date-arrow-ultra i {
    font-size: 1rem;
    color: #d4af37;
}

/* Payment Summary Ultra */
.payment-summary-ultra {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-row-ultra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.payment-row-ultra span:last-child {
    color: #fff;
    font-weight: 500;
}

.payment-row-ultra.total {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.payment-row-ultra.total span:last-child {
    color: #10b981;
    font-weight: 700;
}

/* Button Ultra */
.btn-ultra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ultra.primary {
    background: linear-gradient(135deg, #d4af37, #c4a030);
    color: #0a0a0a;
}

.btn-ultra.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-ultra.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ultra.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ultra.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.btn-ultra.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-ultra.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.btn-ultra.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Form Group Ultra */
.form-group-ultra {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-ultra label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-ultra label i {
    color: #d4af37;
}

.form-group-ultra input,
.form-group-ultra select,
.form-group-ultra textarea {
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group-ultra input:focus,
.form-group-ultra select:focus,
.form-group-ultra textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

/* Quick Actions Bar */
.quick-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

.quick-actions-left {
    color: rgba(255, 255, 255, 0.6);
}

.quick-actions-left strong {
    color: #d4af37;
}

.quick-actions-right {
    display: flex;
    gap: 1rem;
}

/* Pending Grid */
.pending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.pending-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pending-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.pending-card.urgent {
    border-color: rgba(239, 68, 68, 0.4);
}

.urgent-ribbon {
    position: absolute;
    top: 12px;
    right: -35px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 0.25rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pending-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.apartment-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pending-card-guest {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.guest-avatar-pending {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.guest-info-pending h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #fff;
}

.guest-info-pending p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-info-pending p i {
    color: rgba(255, 255, 255, 0.4);
}

.pending-card-dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.date-item-pending {
    text-align: center;
}

.date-item-pending .date-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.date-item-pending .date-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.date-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.date-arrow i {
    color: #d4af37;
    font-size: 1rem;
}

.pending-card-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.pending-card-amount .amount-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.pending-card-amount .amount-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.pending-card-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn-pending {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn-pending.approve {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.action-btn-pending.approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.action-btn-pending.reject {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.action-btn-pending.reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.action-btn-pending.view {
    flex: 0 0 auto;
    width: 44px;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.action-btn-pending.view:hover {
    background: rgba(99, 102, 241, 0.4);
}

/* Hero Stat Box Variations */
.hero-stat-box.warning {
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
}

.hero-stat-box.warning .stat-number {
    color: #fbbf24;
}

/* ===============================================
   iCal Sync Page Styles
   =============================================== */

.ical-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    margin: 0 2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.ical-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.ical-card-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ical-card-header h2 i {
    color: #d4af37;
}

.ical-card-body {
    padding: 1.5rem;
}

.ical-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.ical-form-grid .full-width {
    grid-column: 1 / -1;
}

.info-box-ultra {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.info-box-ultra h4 {
    margin: 0 0 0.75rem;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.info-box-ultra ul {
    margin: 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.info-box-ultra li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-box-ultra strong {
    color: #d4af37;
}

.inline-form {
    display: inline;
}

/* Platform Badges */
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.platform-badge.booking {
    background: rgba(0, 53, 128, 0.3);
    color: #60a5fa;
}

.platform-badge.airbnb {
    background: rgba(255, 90, 95, 0.2);
    color: #ff8a8e;
}

.platform-badge.vrbo {
    background: rgba(54, 98, 168, 0.2);
    color: #7ba3d9;
}

.platform-badge.other {
    background: rgba(108, 117, 125, 0.2);
    color: #adb5bd;
}

.text-muted {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Export Links */
.export-desc {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.25rem;
}

.export-links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.export-link-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.export-link-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #d4af37;
    font-weight: 500;
}

.export-link-url {
    display: flex;
    gap: 0.5rem;
}

.export-link-url input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-family: monospace;
    font-size: 0.85rem;
}

.copy-btn-ultra {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.copy-btn-ultra:hover {
    background: rgba(212, 175, 55, 0.4);
}

.copy-btn-ultra.copied {
    background: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.booking-summary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid-ultra {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
    
    .filters-section-ultra {
        margin: 0 1rem 1.5rem;
        padding: 1rem;
    }
    
    .filters-row {
        flex-direction: column;
    }
    
    .search-box-ultra,
    .filter-group-ultra {
        min-width: 100%;
    }
    
    .table-card-ultra {
        margin: 0 1rem 1.5rem;
    }
    
    .pending-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 1.5rem;
    }
    
    .quick-actions-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .ical-card {
        margin: 0 1rem 1.5rem;
    }
    
    .ical-form-grid {
        grid-template-columns: 1fr;
    }
    
    .export-link-url {
        flex-direction: column;
    }
    
    .copy-btn-ultra {
        width: 100%;
        height: 40px;
    }
}

/* ================================================
   REVIEWS ULTRA STYLES
   ================================================ */

/* Reviews Grid */
.reviews-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

/* Review Card Ultra */
.review-card-ultra {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card-ultra:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.review-card-ultra:hover::before {
    opacity: 1;
}

/* Review Header */
.review-header-ultra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    flex-shrink: 0;
}

.reviewer-details h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reviewer-details .apartment-name {
    color: #06b6d4;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-date-ultra {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Review Body */
.review-body-ultra {
    margin-bottom: 1rem;
}

.review-rating-ultra {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.review-rating-ultra .stars {
    display: flex;
    gap: 0.25rem;
}

.review-rating-ultra .stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-rating-ultra .stars i.empty {
    color: rgba(255, 255, 255, 0.2);
}

.review-rating-ultra .rating-value {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.review-message-ultra {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-message-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Review Footer */
.review-footer-ultra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-status-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.review-status-badge.approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.review-status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.view-btn-ultra {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-btn-ultra:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.4));
    transform: scale(1.05);
}

/* ================================================
   PENDING REVIEWS STYLES
   ================================================ */

.pending-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.pending-review-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pending-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.pending-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
}

.pending-review-card.removing {
    animation: cardRemove 0.5s ease forwards;
}

@keyframes cardRemove {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
        height: 0;
        padding: 0;
        margin: 0;
    }
}

/* Pending Card Content */
.pending-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.pending-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.85rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.pending-card-body {
    margin-bottom: 1.5rem;
}

/* Large Action Buttons */
.pending-card-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn-large {
    flex: 1;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.action-btn-large.approve {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.action-btn-large.approve:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.action-btn-large.reject {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.action-btn-large.reject:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.action-btn-large.view {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.action-btn-large.view:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.5));
    transform: translateY(-2px);
}

/* ================================================
   STATUS SELECTOR
   ================================================ */

.status-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-options-ultra {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.status-option-ultra {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-option-ultra.pending {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.status-option-ultra.pending:hover,
.status-option-ultra.pending.active {
    background: rgba(245, 158, 11, 0.2);
    border-color: #fbbf24;
}

.status-option-ultra.approved {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.status-option-ultra.approved:hover,
.status-option-ultra.approved.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.status-option-ultra.rejected {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.status-option-ultra.rejected:hover,
.status-option-ultra.rejected.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.status-btn-ultra {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border: none;
    margin-top: 0.5rem;
}

.status-btn-ultra:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.status-btn-ultra:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ================================================
   BUTTON VARIATIONS
   ================================================ */

.btn-ultra.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-ultra.warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* Empty State Ultra */
.empty-state-ultra {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
    border-radius: 24px;
    margin: 0 2rem 2rem;
    border: 1px dashed rgba(139, 92, 246, 0.3);
}

.empty-state-ultra i {
    font-size: 4rem;
    color: rgba(139, 92, 246, 0.5);
    margin-bottom: 1.5rem;
}

.empty-state-ultra h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-state-ultra p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* ================================================
   QUICK ACTIONS BAR
   ================================================ */

.quick-actions-ultra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    margin: 0 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.quick-actions-ultra .info-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-actions-ultra .info-text i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.approve-all-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.approve-all-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* ================================================
   REVIEWS RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .reviews-grid-ultra {
        grid-template-columns: 1fr;
        padding: 0 1rem 1.5rem;
    }
    
    .pending-reviews-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 1.5rem;
    }
    
    .review-header-ultra {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .pending-card-actions {
        flex-direction: column;
    }
    
    .action-btn-large {
        width: 100%;
    }
    
    .quick-actions-ultra {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin: 0 1rem 1.5rem;
    }
    
    .empty-state-ultra {
        margin: 0 1rem 1.5rem;
        padding: 3rem 1.5rem;
    }
    
    .status-options-ultra {
        flex-direction: column;
    }
    
    .status-option-ultra {
        min-width: 100%;
    }
}

/* ================================================
   ADMIN FORM INPUT FIX - Text Field Colors
   ================================================ */

/* Fix for admin layout form inputs - make text visible */
body.admin-layout .form-group-ultra input,
body.admin-layout .form-group-ultra select,
body.admin-layout .form-group-ultra textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #1e293b !important;
    box-sizing: border-box;
}

body.admin-layout .form-group-ultra input::placeholder,
body.admin-layout .form-group-ultra textarea::placeholder {
    color: #94a3b8;
}

body.admin-layout .form-group-ultra input:focus,
body.admin-layout .form-group-ultra select:focus,
body.admin-layout .form-group-ultra textarea:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
    color: #1e293b !important;
}

/* Input with addon fix */
body.admin-layout .input-with-addon {
    display: flex;
    align-items: stretch;
}

body.admin-layout .input-with-addon .input-addon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px 0 0 14px;
    font-weight: 600;
    font-size: 1rem;
    min-width: 45px;
}

body.admin-layout .input-with-addon input {
    border-radius: 0 14px 14px 0 !important;
    border-left: none !important;
}

/* Select dropdown fix */
body.admin-layout .form-group-ultra select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
    cursor: pointer;
}

body.admin-layout .form-group-ultra select option {
    background: white;
    color: #1e293b;
    padding: 10px;
}

/* Textarea specific */
body.admin-layout .form-group-ultra textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
}

/* Form section styling for admin */
body.admin-layout .form-section-ultra {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

body.admin-layout .form-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

body.admin-layout .form-section-header .section-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

body.admin-layout .form-section-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}

body.admin-layout .form-section-header p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* Form row layout */
body.admin-layout .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

body.admin-layout .form-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Labels */
body.admin-layout .form-group-ultra label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

body.admin-layout .form-group-ultra label i {
    color: #6366f1;
    font-size: 0.9rem;
}

body.admin-layout .form-group-ultra .label-hint {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Number input arrows */
body.admin-layout .form-group-ultra input[type="number"] {
    -moz-appearance: textfield;
}

body.admin-layout .form-group-ultra input[type="number"]::-webkit-outer-spin-button,
body.admin-layout .form-group-ultra input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Checkbox/Toggle styles */
body.admin-layout .toggle-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.admin-layout .toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

body.admin-layout .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

body.admin-layout .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}

body.admin-layout .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

body.admin-layout .toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #10b981, #059669);
}

body.admin-layout .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Features checkboxes */
body.admin-layout .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

body.admin-layout .feature-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.admin-layout .feature-checkbox:hover {
    border-color: #6366f1;
    background: #f1f5f9;
}

body.admin-layout .feature-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #6366f1;
    cursor: pointer;
}

body.admin-layout .feature-checkbox.checked {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-color: #6366f1;
}

body.admin-layout .feature-checkbox span {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Form actions/buttons */
body.admin-layout .form-actions-ultra {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    body.admin-layout .form-row,
    body.admin-layout .form-row-three {
        grid-template-columns: 1fr;
    }
    
    body.admin-layout .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    body.admin-layout .form-actions-ultra {
        flex-direction: column;
    }
    
    body.admin-layout .form-actions-ultra .btn-ultra {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   RTL HERO SECTION FIX
   ================================================ */

/* Fix hero subtitle appearing beside title in RTL */
html.rtl .hero-content,
body.rtl .hero-content,
[dir="rtl"] .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

html.rtl .hero-content .hero-subtitle,
body.rtl .hero-content .hero-subtitle,
[dir="rtl"] .hero-content .hero-subtitle {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    order: -1; /* Ensure subtitle comes before title */
}

html.rtl .hero-content h1,
body.rtl .hero-content h1,
[dir="rtl"] .hero-content h1 {
    display: block;
    width: 100%;
    text-align: center;
}

html.rtl .hero-content p,
body.rtl .hero-content p,
[dir="rtl"] .hero-content p {
    display: block;
    width: 100%;
    text-align: center;
}

html.rtl .hero-content .hero-btn-container,
body.rtl .hero-content .hero-btn-container,
[dir="rtl"] .hero-content .hero-btn-container {
    width: 100%;
    justify-content: center;
}