@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-glow: rgba(29, 78, 216, 0.3);
    --secondary: #1e293b;
    --accent: #d97706;
    --accent-light: #f59e0b;
    --success: #22c55e;
    --success-light: #4ade80;
    --danger: #ef4444;
    --danger-light: #f87171;
    --warning: #f59e0b;
    --info: #3b82f6;
    --light: #ffffff;
    --light-50: #f8faff;
    --dark: #0f172a;
    --dark-50: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-dark: #475569;
    --border: #dbeafe;
    --border-dark: #bfdbfe;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 4px 14px 0 rgba(29, 78, 216, 0.39);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] {
    --light: #0f172a;
    --light-50: #1e293b;
    --secondary: #f8fafc;
    --dark: #f8fafc;
    --dark-50: #e2e8f0;
    --border: #334155;
    --border-dark: #475569;
    --gray: #94a3b8;
    --gray-light: #64748b;
    --gray-dark: #cbd5e1;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ========================
   ANIMATIONS
======================== */

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide Up */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Shimmer (for loading) */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Rotate */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

.animate-bounce {
    animation: bounce 1s ease infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Staggered Animations - for lists and grids */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

/* Initially hidden for animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.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.5s ease;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

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

/* Card Animations */
.card, .property-card, .team-card, .stat-item, .contact-card, .booking-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover, .property-card:hover, .team-card:hover, .stat-item:hover, .contact-card:hover, .booking-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Link Animations */
a {
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

/* Input Animations */
input, textarea, select {
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}

/* Image Animations */
img {
    transition: all 0.5s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Navbar Animation */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Modal Animation */
.modal-overlay {
    animation: fadeIn 0.3s ease;
}

.modal-card {
    animation: scaleIn 0.3s ease;
}

/* Page Load Animation */
.page-loader {
    animation: fadeIn 0.5s ease;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--light-50) 25%, #e2e8f0 50%, var(--light-50) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

/* Hero Section Animation */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* Property Cards Staggered */
.property-grid .property-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.property-grid .property-card:nth-child(1) { animation-delay: 0.1s; }
.property-grid .property-card:nth-child(2) { animation-delay: 0.2s; }
.property-grid .property-card:nth-child(3) { animation-delay: 0.3s; }
.property-grid .property-card:nth-child(4) { animation-delay: 0.4s; }
.property-grid .property-card:nth-child(5) { animation-delay: 0.5s; }
.property-grid .property-card:nth-child(6) { animation-delay: 0.6s; }
.property-grid .property-card:nth-child(7) { animation-delay: 0.7s; }
.property-grid .property-card:nth-child(8) { animation-delay: 0.8s; }

/* Stats Animation */
.stat-item {
    opacity: 0;
    animation: scaleIn 0.5s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Team Cards Animation */
.team-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }

/* Footer Animation */
.footer {
    animation: fadeIn 0.8s ease;
}

/* Dashboard Animations */
.dashboard-section {
    animation: fadeIn 0.4s ease;
}

/* Sidebar Animation */
.dashboard-sidebar {
    transition: transform 0.3s ease;
}

/* Heart/Favorite Animation */
.property-favorite-btn {
    transition: all 0.3s ease;
}

.property-favorite-btn:hover {
    transform: scale(1.2);
}

.property-favorite-btn.active {
    animation: pulse 0.3s ease;
}

/* Form Submit Animation */
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-submit:hover::after {
    transform: translateX(0);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

/* Notification Badge Animation */
.nav-badge {
    animation: pulse 2s ease infinite;
}

/* Empty State Animation */
.empty-state {
    animation: fadeIn 0.5s ease;
}

/* Filter Tabs Animation */
.filter-tab {
    transition: all 0.3s ease;
}

.filter-tab:hover {
    transform: translateY(-2px);
}

.filter-tab.active {
    animation: scaleIn 0.2s ease;
}

/* Checkbox/Radio Animation */
input[type="checkbox"],
input[type="radio"] {
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    transform: scale(1.1);
}

/* Tab Animation */
.tab {
    transition: all 0.3s ease;
}

.tab:hover {
    color: var(--primary);
}

/* User Dropdown Animation */
.user-dropdown {
    animation: fadeInDown 0.2s ease;
}

/* Booking Status Animation */
.booking-status {
    transition: all 0.3s ease;
}

.booking-status:hover {
    transform: scale(1.05);
}

/* Back Button Animation */
.back-btn {
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-5px);
}

/* Logo Animation */
.logo:hover {
    animation: float 1s ease;
}

/* Social Icons Animation */
.footer-social a {
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    color: var(--primary);
}

/* Theme Toggle Animation */
.theme-toggle {
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg);
}

/* Search Input Animation */
.search-box input {
    transition: all 0.3s ease;
}

.search-box input:focus {
    transform: scale(1.02);
}

/* Mobile Menu Animation */
.mobile-menu-btn {
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Counter Animation for Stats */
.counter {
    display: inline-block;
}

/* Page Hero Animation */
.page-hero {
    animation: fadeIn 0.6s ease;
}

.page-hero h1 {
    animation: fadeInUp 0.8s ease;
}

.page-hero p {
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

/* Contact Form Animation */
.contact-form-card {
    animation: fadeInRight 0.6s ease;
}

.contact-info .contact-card {
    opacity: 0;
    animation: fadeInLeft 0.5s ease forwards;
}

.contact-info .contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info .contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info .contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-info .contact-card:nth-child(4) { animation-delay: 0.4s; }

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--light);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #334155;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--success-light) 0%, var(--success) 100%);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--danger-light) 0%, var(--danger) 100%);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-ghost:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ========================
   NAVBAR - ENHANCED
======================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    height: 72px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    height: 64px;
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-dark);
    padding: 10px 18px;
    border-radius: var(--radius);
    position: relative;
    font-size: 15px;
}

[data-theme="dark"] .nav-links a {
    color: var(--gray-light);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(13, 148, 136, 0.08);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 20px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--light-50);
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .user-btn {
    background: var(--light-50);
    border-color: var(--border);
}

.user-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 240px;
    display: none;
    z-index: 100;
    overflow: hidden;
    animation: slideDown 0.2s ease;
}

[data-theme="dark"] .user-dropdown {
    background: var(--light-50);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown.active {
    display: block;
}

.user-dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--light);
}

[data-theme="dark"] .user-dropdown-header {
    background: var(--dark-50);
}

.user-dropdown-header h4 {
    font-size: 14px;
    font-weight: 600;
}

.user-dropdown-header p {
    font-size: 12px;
    color: var(--gray);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--secondary);
    transition: var(--transition);
}

.user-dropdown a:hover {
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
    padding-left: 24px;
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
    color: var(--gray);
}

.user-dropdown a:hover i {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    border: none;
    background: var(--light-50);
    cursor: pointer;
    font-size: 20px;
    color: var(--secondary);
}

/* ========================
   HERO - ENHANCED
======================== */
.hero {
    background: 
        linear-gradient(135deg, 
            rgba(15, 23, 42, 0.85) 0%, 
            rgba(30, 58, 95, 0.75) 50%, 
            rgba(13, 148, 136, 0.65) 100%
        ),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=85&auto=format&fit=crop') 
        center/cover no-repeat;
    padding: 140px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 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;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    margin-bottom: 36px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-search {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-search form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.hero-search .form-group {
    margin-bottom: 0;
}

.hero-search label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero .form-control {
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.hero .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

/* ========================
   SEARCH SECTION
======================== */
.search-section {
    background: white;
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

[data-theme="dark"] .search-section {
    background: transparent;
}

/* Button Dark Mode */
[data-theme="dark"] .btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-theme="dark"] .btn-secondary {
    background: var(--primary);
    color: white;
    border: none;
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

[data-theme="dark"] .cta-section h2 {
    color: white;
}

[data-theme="dark"] .cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--primary);
    color: white;
}

/* About Page Dark Mode */
[data-theme="dark"] .about-section {
    background: var(--dark);
}

[data-theme="dark"] .about-content h2,
[data-theme="dark"] .about-content h3 {
    color: white;
}

[data-theme="dark"] .about-content p {
    color: var(--gray-light);
}

[data-theme="dark"] .values-list li {
    color: var(--gray-light);
}

[data-theme="dark"] .stats-section {
    background: var(--dark-50);
}

[data-theme="dark"] .stat-item {
    background: var(--dark);
}

[data-theme="dark"] .stat-item h3 {
    color: white;
}

[data-theme="dark"] .stat-item p {
    color: var(--gray-light);
}

[data-theme="dark"] .team-section {
    background: var(--dark);
}

[data-theme="dark"] .team-section h2 {
    color: white;
}

[data-theme="dark"] .section-subtitle {
    color: var(--gray-light);
}

[data-theme="dark"] .team-card {
    background: var(--dark-50);
}

[data-theme="dark"] .team-card h4 {
    color: white;
}

[data-theme="dark"] .team-card p {
    color: var(--gray-light);
}

/* Contact Page Dark Mode */
[data-theme="dark"] .contact-section {
    background: var(--dark);
}

[data-theme="dark"] .contact-form-card {
    background: var(--dark-50);
}

[data-theme="dark"] .contact-form-card h2 {
    color: white;
}

[data-theme="dark"] .contact-card {
    background: var(--dark-50);
}

[data-theme="dark"] .contact-card h4 {
    color: white;
}

[data-theme="dark"] .contact-card p {
    color: var(--gray-light);
}

[data-theme="dark"] .map-container iframe {
    filter: grayscale(100%) invert(90%) contrast(80%);
}

/* Page Hero Dark Mode */
[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

[data-theme="dark"] .page-hero h1 {
    color: white;
}

[data-theme="dark"] .page-hero p {
    color: var(--gray-light);
}

.search-filters-bar {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

[data-theme="dark"] .search-filters-bar {
    background: var(--light-50);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--light-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .filter-chip {
    background: var(--dark-50);
    border-color: var(--border);
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-chip i {
    font-size: 12px;
}

/* ========================
   FORMS - ENHANCED
======================== */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
} 

.floating-label {
    position: relative;
}

.floating-label .form-control {
    padding: 18px 16px 8px;
}

.floating-label label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: var(--transition);
}

.floating-label .form-control:focus + label,
.floating-label .form-control:not(:placeholder-shown) + label {
    top: 10px;
    font-size: 11px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    color: var(--secondary);
}

[data-theme="dark"] .form-control {
    background: var(--light-50);
    border-color: var(--border);
    color: var(--secondary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-control::placeholder {
    color: var(--gray-light);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.input-icon .form-control {
    padding-left: 46px;
}

.input-group {
    display: flex;
    gap: 8px;
}

.input-group .form-control {
    flex: 1;
}

/* ========================
   SECTIONS
======================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .section-header h2 {
    color: white;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ========================
   PROPERTY CARDS - ENHANCED
======================== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.property-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

/* Favorite Button */
.property-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: var(--transition);
    z-index: 10;
}

.property-favorite-btn:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.property-favorite-btn.active {
    color: var(--danger);
}

.property-favorite-btn.active i {
    font-weight: 900;
}

[data-theme="dark"] .property-card {
    background: var(--light-50);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.property-badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    color: white;
}

.badge-rent {
    background: linear-gradient(135deg, var(--info) 0%, #2563eb 100%);
    color: white;
}

/* Ensure badges are visible in dark mode */
[data-theme="dark"] .property-badge {
    color: white;
}

.badge-featured {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.property-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.property-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.property-action:hover,
.property-action.active {
    background: var(--primary);
    color: white;
}

.property-content {
    padding: 24px;
}

.property-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.property-price span {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.property-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
    line-height: 1.4;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.property-location i {
    color: var(--primary);
}

.property-features {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

[data-theme="dark"] .property-features {
    border-color: var(--border);
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-dark);
    font-weight: 500;
}

[data-theme="dark"] .property-feature {
    color: var(--gray-light);
}

.property-feature i {
    color: var(--primary);
    font-size: 16px;
}

.property-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.property-footer .btn {
    flex: 1;
}

/* ========================
   PAGE HERO (About, Contact, etc.)
======================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ========================
   ABOUT SECTION
======================== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin: 24px 0 12px;
}

.about-content p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 8px 0;
    color: var(--gray-dark);
}

.values-list li i {
    color: var(--success);
    margin-right: 8px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

/* ========================
   STATS SECTION
======================== */
.stats-section {
    background: var(--light-50);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.stat-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--gray);
    font-size: 14px;
}

/* ========================
   TEAM SECTION
======================== */
.team-section {
    padding: 80px 0;
}

.team-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 48px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.team-avatar i {
    font-size: 32px;
    color: var(--primary);
}

.team-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.team-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ========================
   CONTACT SECTION
======================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-form-card .form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-form-card .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(29, 78, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary);
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--gray-dark);
    font-size: 14px;
    line-height: 1.6;
}

.map-section {
    padding-bottom: 80px;
}

.map-section .map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ========================
   CTA SECTION
======================== */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   FOOTER - ENHANCED
======================== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand .logo i {
    color: var(--primary-light);
}

.footer-brand p {
    color: var(--gray-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: #1877f2;
    transform: translateY(-3px);
}

.footer-social a:hover i {
    color: white;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 6px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ========================
   PAGE HEADER
======================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 120px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 15px;
    opacity: 0.9;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================
   LISTINGS PAGE
======================== */
.listing-section {
    padding: 60px 0;
}

.listing-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
}

.filter-sidebar {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

[data-theme="dark"] .filter-sidebar {
    background: var(--light-50);
}

.filter-sidebar h3 {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-sidebar h3 i {
    color: var(--primary);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--secondary);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-dark);
}

[data-theme="dark"] .checkbox-label {
    color: var(--gray-light);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.price-range {
    display: flex;
    gap: 12px;
    align-items: center;
}

.price-range input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.filter-actions .btn {
    flex: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.results-count {
    font-size: 16px;
    color: var(--gray);
}

.results-count strong {
    color: var(--secondary);
    font-weight: 700;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.results-sort label {
    font-size: 14px;
    color: var(--gray);
}

.results-sort select {
    padding: 10px 36px 10px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: white;
}

[data-theme="dark"] .results-sort select {
    background: var(--light-50);
    border-color: var(--border);
}

.property-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ========================
   DETAIL PAGE
======================== */
.detail-section {
    padding: 60px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 380px;
    gap: 32px;
}

.detail-gallery {
    margin-bottom: 32px;
}

.main-image {
    position: relative;
    height: 480px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 16px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-badge {
    position: absolute;
    top: 24px;
    left: 24px;
}

.gallery-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.gallery-nav span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-nav span.active {
    background: white;
    width: 24px;
    border-radius: 6px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.gallery-thumb {
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-header {
    margin-bottom: 32px;
}

.detail-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--secondary);
}

[data-theme="dark"] .detail-header h1 {
    color: white;
}

.detail-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    flex-wrap: wrap;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-meta i {
    color: var(--primary);
}

.detail-price {
    font-size: 40px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.detail-price span {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

.detail-description {
    margin-bottom: 40px;
}

.detail-description h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

[data-theme="dark"] .detail-description h3 {
    color: white;
}

.detail-description p {
    color: var(--gray-dark);
    line-height: 1.8;
    font-size: 16px;
}

[data-theme="dark"] .detail-description p {
    color: var(--gray-light);
}

.detail-features {
    margin-bottom: 40px;
}

.detail-features h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--light-50);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

[data-theme="dark"] .feature-item {
    background: var(--dark-50);
}

.feature-item i {
    width: 36px;
    height: 36px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.detail-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

[data-theme="dark"] .booking-card {
    background: var(--light-50);
}

.booking-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.booking-card .price {
    font-size: 32px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.booking-card .price span {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.booking-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.booking-type {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.booking-type:hover,
.booking-type.selected {
    border-color: var(--primary);
    background: rgba(13, 148, 136, 0.05);
}

.booking-type i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.booking-type span {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

.agent-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

[data-theme="dark"] .agent-card {
    background: var(--light-50);
}

.agent-avatar {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.agent-card h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.agent-card .company {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.agent-card .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.agent-card .contact-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-dark);
}

.agent-card .contact-info i {
    color: var(--primary);
    width: 18px;
}

.map-container {
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================
   AUTH PAGE
======================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d9488 100%);
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
}

.auth-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

.auth-container {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease;
}

[data-theme="dark"] .auth-container {
    background: var(--light-50);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo {
    justify-content: center;
    font-size: 32px;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--gray);
    font-size: 15px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 28px;
    background: var(--light-50);
    padding: 4px;
    border-radius: var(--radius);
}

[data-theme="dark"] .auth-tabs {
    background: var(--dark-50);
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 14px;
}

.auth-tab:hover,
.auth-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .auth-tab.active {
    background: var(--primary);
    color: white;
}

.auth-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.role-selector {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.role-option {
    flex: 1;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.role-option:hover,
.role-option.selected {
    border-color: var(--primary);
    background: rgba(13, 148, 136, 0.05);
}

.role-option i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.role-option h4 {
    font-size: 15px;
    font-weight: 600;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--gray);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.social-login {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
}

[data-theme="dark"] .social-btn {
    background: var(--dark-50);
    border-color: var(--border);
}

.social-btn:hover {
    border-color: var(--primary);
    background: rgba(13, 148, 136, 0.05);
}

.demo-accounts {
    margin-top: 24px;
    padding: 16px;
    background: var(--light-50);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--gray);
    text-align: center;
}

[data-theme="dark"] .demo-accounts {
    background: var(--dark-50);
}

/* ========================
   DASHBOARD
======================== */
.dashboard-page {
    padding: 100px 0 60px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.dashboard-sidebar {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

[data-theme="dark"] .dashboard-sidebar {
    background: var(--light-50);
}

.dashboard-user {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.dashboard-user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.dashboard-user h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.dashboard-user .role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius);
    color: var(--gray-dark);
    transition: var(--transition);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

[data-theme="dark"] .dashboard-nav-item {
    color: var(--gray-light);
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    padding-left: 22px;
}

.dashboard-nav-item i {
    width: 20px;
    text-align: center;
}

.dashboard-content {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 32px;
}

[data-theme="dark"] .dashboard-content {
    background: var(--light-50);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.dashboard-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 14px;
    opacity: 0.9;
}

.stat-card .icon {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 40px;
    opacity: 0.3;
}

.income-summary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
}

.income-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.income-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.income-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.income-item h4 {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.income-item p {
    font-size: 28px;
    font-weight: 800;
}

/* ========================
   CHECKOUT
======================== */
.checkout-page {
    padding: 100px 0 60px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.checkout-form {
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .checkout-form {
    background: var(--light-50);
}

.checkout-form h2 {
    font-size: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-form h2 i {
    color: var(--primary);
}

.payment-methods {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.payment-method {
    flex: 1;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover,
.payment-method.selected {
    border-color: var(--primary);
    background: rgba(13, 148, 136, 0.05);
}

.payment-method i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.payment-method h4 {
    font-size: 14px;
    font-weight: 600;
}

.card-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.order-summary {
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

[data-theme="dark"] .order-summary {
    background: var(--light-50);
}

.order-summary h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.summary-property {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.summary-property img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.summary-property h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.summary-property p {
    font-size: 13px;
    color: var(--gray);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.summary-item span:first-child {
    color: var(--gray);
}

.summary-item.total {
    border-bottom: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    padding-top: 20px;
}

/* ========================
   RECEIPT
======================== */
.receipt-page {
    padding: 100px 0 60px;
}

.receipt-container {
    background: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

[data-theme="dark"] .receipt-container {
    background: var(--light-50);
}

.receipt-header {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px dashed var(--border);
}

.receipt-logo {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 16px;
}

.receipt-header h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.receipt-header p {
    color: var(--gray);
    font-size: 16px;
}

.receipt-details {
    text-align: left;
    margin-bottom: 32px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.receipt-row span:first-child {
    color: var(--gray);
}

.receipt-row span:last-child {
    font-weight: 600;
}

.receipt-row.total {
    border-bottom: none;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    padding-top: 20px;
}

.receipt-footer {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px dashed var(--border);
}

.receipt-footer p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.receipt-footer .success-icon {
    font-size: 48px;
    color: var(--success);
    margin-bottom: 16px;
}

.receipt-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

/* ========================
   TOAST NOTIFICATIONS
======================== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
    max-width: 420px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.toast-info .toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--gray);
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--danger);
}

/* ========================
   LIGHTBOX
======================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img,
.lightbox-content video,
.lightbox-content iframe {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--danger);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

/* ========================
   FLOATING ELEMENTS
======================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ========================
   EMPTY STATES
======================== */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: var(--gray);
}

.empty-state i {
    font-size: 72px;
    margin-bottom: 20px;
    color: var(--border);
}

.empty-state h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--secondary);
}

[data-theme="dark"] .empty-state h3 {
    color: white;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 24px;
}

/* ========================
   TABLES
======================== */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

table th {
    background: var(--light-50);
    font-weight: 600;
    color: var(--secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] table th {
    background: var(--dark-50);
    color: var(--gray-light);
}

table tr:hover {
    background: rgba(13, 148, 136, 0.03);
}

table td {
    font-size: 14px;
}

/* ========================
   STATUS BADGES
======================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-approved,
.status-accepted {
    background: #dcfce7;
    color: #16a34a;
}

.status-declined {
    background: #fee2e2;
    color: #dc2626;
}

.status-rented {
    background: #dbeafe;
    color: #2563eb;
}

.status-sold {
    background: #dcfce7;
    color: #16a34a;
}

.status-available {
    background: #f1f5f9;
    color: #64748b;
}

[data-theme="dark"] .status-available {
    background: #334155;
    color: #94a3b8;
}

/* ========================
   MODALS
======================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

[data-theme="dark"] .modal {
    background: var(--light-50);
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light-50);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ========================
   CALCULATOR
======================== */
.calculator-section {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

[data-theme="dark"] .calculator-section {
    background: var(--light-50);
}

.calculator-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-section h3 i {
    color: var(--primary);
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.calculator-result {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.calculator-result p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.calculator-result h4 {
    font-size: 36px;
    font-weight: 800;
}

/* ========================
   PAGINATION
======================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination button {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--gray-dark);
}

[data-theme="dark"] .pagination button {
    background: var(--light-50);
    border-color: var(--border);
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================
   FOCUS STYLES
======================== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========================
   SPINNER LOADER
======================== */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

[data-theme="dark"] .loading-overlay {
    background: rgba(15, 23, 42, 0.9);
}

.loading-overlay .spinner {
    width: 48px;
    height: 48px;
    border-width: 5px;
}

/* End of Phase 3 Responsive Styles */

/* ============================================
   PHASE 4: REVIEWS & RATINGS STYLES
   ============================================ */

.reviews-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviews-title h2 {
    font-size: 28px;
    font-weight: 700;
}

.rating-summary {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-xl);
    min-width: 160px;
}

.rating-big {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.rating-stars {
    font-size: 18px;
    margin: 8px 0;
}

.rating-stars i {
    color: var(--accent);
}

.rating-summary p {
    font-size: 14px;
    opacity: 0.9;
}

.rating-breakdown {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.breakdown-item span:first-child {
    width: 100px;
}

.breakdown-item span:last-child {
    width: 30px;
    text-align: right;
}

.breakdown-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.breakdown-bar div {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.review-form {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

[data-theme="dark"] .review-form {
    background: var(--light-50);
}

.review-form h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.rating-overall {
    margin-bottom: 24px;
}

.rating-overall label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 28px;
    color: var(--border);
    transition: var(--transition);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: var(--accent);
}

.rating-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.rating-category label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.review-login-prompt,
.review-already-posted {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

[data-theme="dark"] .review-login-prompt,
[data-theme="dark"] .review-already-posted {
    background: var(--light-50);
}

.review-login-prompt i,
.review-already-posted i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.review-login-prompt a,
.review-already-posted a {
    color: var(--primary);
    font-weight: 600;
}

.no-reviews {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .no-reviews {
    background: var(--light-50);
}

.no-reviews i {
    font-size: 64px;
    color: var(--border);
    margin-bottom: 16px;
}

.review-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

[data-theme="dark"] .review-card {
    background: var(--light-50);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.reviewer-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.review-date {
    font-size: 13px;
    color: var(--gray);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--success);
    margin-top: 4px;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating i {
    color: var(--accent);
    font-size: 14px;
}

.review-categories {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--light-50);
    border-radius: var(--radius);
    font-size: 12px;
}

[data-theme="dark"] .review-categories {
    background: var(--dark-50);
}

.review-categories span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gray);
}

.review-categories i {
    color: var(--primary);
}

.review-comment {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 16px;
}

[data-theme="dark"] .review-comment {
    color: var(--gray-light);
}

.landlord-response {
    background: var(--light-50);
    padding: 16px;
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    margin-top: 16px;
}

[data-theme="dark"] .landlord-response {
    background: var(--dark-50);
}

.landlord-response strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
}

.landlord-response p {
    font-size: 14px;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

[data-theme="dark"] .landlord-response p {
    color: var(--gray-light);
}

.landlord-response span {
    font-size: 12px;
    color: var(--gray);
}

.review-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.btn-helpful,
.btn-respond {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-helpful {
    background: var(--light-50);
    border: 1px solid var(--border);
    color: var(--gray-dark);
}

.btn-helpful:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-respond {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-respond:hover {
    background: var(--primary);
    color: white;
}

.btn-delete {
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.btn-delete:hover {
    color: var(--danger);
}

.respond-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.respond-form textarea {
    margin-bottom: 12px;
}

/* ============================================
   PHASE 4: MESSAGING STYLES
   ============================================ */

.messaging-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 500px;
}

[data-theme="dark"] .messaging-container {
    background: var(--light-50);
}

.conversations-list {
    border-right: 1px solid var(--border);
    overflow-y: auto;
    max-height: 500px;
}

.conversations-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversations-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.conversation-item:hover {
    background: var(--light-50);
}

.conversation-item.active {
    background: rgba(13, 148, 136, 0.1);
    border-left: 3px solid var(--primary);
}

.conversation-item.unread {
    background: rgba(13, 148, 136, 0.05);
}

.conversation-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-header h4 {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-time {
    font-size: 11px;
    color: var(--gray);
    flex-shrink: 0;
}

.conversation-preview {
    font-size: 13px;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.landlord-name {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.unread-badge {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-conversations {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.no-conversations i {
    font-size: 48px;
    margin-bottom: 12px;
    color: var(--border);
}

.no-conversations p {
    font-weight: 500;
    margin-bottom: 4px;
}

.no-conversations small {
    font-size: 13px;
}

.chat-area {
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light-50);
}

[data-theme="dark"] .chat-header {
    background: var(--dark-50);
}

.chat-header-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.chat-header-info p {
    font-size: 13px;
    color: var(--gray);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--light);
}

[data-theme="dark"] .chat-messages {
    background: var(--dark);
}

.empty-chat {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-chat i {
    font-size: 48px;
    margin-bottom: 12px;
    color: var(--border);
}

.chat-message {
    display: flex;
    margin-bottom: 16px;
}

.chat-message.sent {
    justify-content: flex-end;
}

.chat-message.received {
    justify-content: flex-start;
}

.chat-message.system {
    justify-content: center;
}

.message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    position: relative;
}

.chat-message.sent .message-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.received .message-bubble {
    background: white;
    color: var(--secondary);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .chat-message.received .message-bubble {
    background: var(--light-50);
}

.chat-message.system .message-bubble {
    background: var(--light-50);
    color: var(--gray);
    font-size: 13px;
    padding: 8px 16px;
    max-width: 100%;
    text-align: center;
}

[data-theme="dark"] .chat-message.system .message-bubble {
    background: var(--dark-50);
}

.message-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.message-type-badge.viewing {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.message-type-badge.purchase {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.message-type-badge.inquiry {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.message-bubble p {
    line-height: 1.5;
    margin-bottom: 8px;
}

.message-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    opacity: 0.7;
}

.message-status {
    color: var(--accent);
}

.auto-response {
    display: block;
    font-size: 10px;
    font-style: italic;
    opacity: 0.6;
    margin-top: 4px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: fit-content;
    margin-bottom: 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

.chat-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: white;
}

[data-theme="dark"] .chat-input-area {
    background: var(--light-50);
}

.chat-type-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.chat-type-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: transparent;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-type-btn:hover,
.chat-type-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.chat-input-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chat-input-form textarea {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    resize: none;
    min-height: 44px;
    max-height: 120px;
    font-family: inherit;
}

.chat-input-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.message-actions .btn {
    flex: 1;
}

/* Notifications */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 100;
    display: none;
}

.notifications-dropdown.active {
    display: block;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.notification-item:hover {
    background: var(--light-50);
}

.notification-item.unread {
    background: rgba(13, 148, 136, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.message {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.notification-icon.booking {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.notification-icon.purchase {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.notification-message {
    font-size: 13px;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    font-size: 11px;
    color: var(--gray);
    margin-top: 4px;
}

.notification-delete {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: var(--transition);
}

.notification-item:hover .notification-delete {
    opacity: 1;
}

.notification-delete:hover {
    color: var(--danger);
}

.empty-notifications {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.empty-notifications i {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--border);
}

/* End of Phase 4 Styles */
