/* ============================================
   IMMO-MALL - Modern Premium Theme
   Primary: #1a275b (Blue) | Secondary: #f0a500 (Orange)
   Fonts: Playfair Display + DM Sans
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Blue */
    --primary: #1a275b;
    --primary-light: #2a3a7b;
    --primary-dark: #0f1a3d;

    /* Secondary/Accent - Orange */
    --accent: #f0a500;
    --accent-light: #ffc107;
    --accent-dark: #d49000;

    /* Status Colors */
    --success: #28a745;
    --success-light: rgba(40, 167, 69, 0.1);
    --warning: #ffc107;
    --danger: #dc3545;
    --danger-light: rgba(220, 53, 69, 0.1);
    --info: #17a2b8;

    /* Text Colors */
    --text: #333333;
    --text-muted: #6c757d;
    --text-light: rgba(255, 255, 255, 0.8);

    /* Background Colors */
    --bg-light: #f8f9fa;
    --bg-dark: #0f1a3d;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(26, 39, 91, 0.15);
    --shadow-accent: 0 10px 40px rgba(240, 165, 0, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg,
.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-xl {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== NAVBAR ===== */
.navbar-immo {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(26, 39, 91, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand-immo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary) !important;
    text-decoration: none;
}

.navbar-brand-immo span {
    color: var(--accent);
}

.nav-link-immo {
    color: var(--text) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.nav-link-immo:hover {
    color: var(--primary) !important;
    background: rgba(26, 39, 91, 0.05);
}

.nav-link-immo.active {
    color: var(--primary) !important;
    background: rgba(26, 39, 91, 0.08);
}

.btn-nav-primary {
    background: var(--accent);
    color: var(--primary) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.btn-nav-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

/* Mobile menu toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e9ecef;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ===== FORM ELEMENTS ===== */
.form-control,
.form-select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 39, 91, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group {
    margin-bottom: 1.25rem;
}

/* Input with icon */
.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .form-control {
    padding-left: 3rem;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-hero);
    padding: 3rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb-immo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.breadcrumb-immo a {
    color: var(--text-light);
}

.breadcrumb-immo a:hover {
    color: var(--white);
}

.breadcrumb-immo .active {
    color: var(--accent);
}

/* ===== CARDS ===== */
.card-immo {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

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

/* ===== PROPERTY CARD ===== */
.property-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.property-card .property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-card .property-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.property-card .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

/* Property Badges */
.property-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 2;
}

.badge-custom {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-type {
    background: var(--success);
    color: var(--white);
}

.badge-type.terrain { background: #28a745; }
.badge-type.lot { background: #17a2b8; }
.badge-type.maison { background: var(--accent); color: var(--primary); }

.badge-featured {
    background: var(--accent);
    color: var(--primary);
}

.badge-verified {
    background: rgba(26, 39, 91, 0.1);
    color: var(--primary);
}

/* Badge Vérifié - Fond Bleu */
.badge-verified-owner {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

/* Verified icon in property owner name */
.property-owner-name .fa-check-circle {
    font-size: 0.85rem;
}

/* Verified badge styles for different contexts */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

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

/* Large verified badge for detail pages */
.verified-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.verified-badge-lg i {
    color: var(--accent);
    font-size: 1rem;
}

/* Property Actions */
.property-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.property-action-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

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

.property-action-btn.active {
    color: var(--danger);
    background: var(--danger-light);
}

/* Property Content */
.property-card .property-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card .property-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.property-card .property-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card .property-title a {
    color: inherit;
}

.property-card .property-title a:hover {
    color: var(--accent);
}

.property-card .property-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.property-card .property-location i {
    color: var(--accent);
}

.property-card .property-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.property-card .property-price span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Property Features */
.property-card .property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.property-card .property-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-card .property-feature i {
    color: var(--accent);
}

/* Property Footer */
.property-card .property-footer {
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
}

.property-card .property-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-card .property-owner-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.property-card .property-owner-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.property-card .property-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.filter-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.btn-reset-filters {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.btn-reset-filters:hover {
    color: var(--accent-dark);
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.filter-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title i {
    color: var(--accent);
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.filter-option label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
}

/* Price Range Slider */
.price-range-display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== RESULTS HEADER & SEARCH BAR ===== */
.results-header {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.results-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.results-count strong {
    font-size: 1.1rem;
}

.results-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.results-search-bar {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.search-form-inline {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.search-input-wrapper .search-input {
    padding-left: 2.75rem;
    padding-right: 2.5rem;
    height: 48px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input-wrapper .search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 39, 91, 0.1);
}

.search-input-wrapper .search-input::placeholder {
    color: #adb5bd;
}

.search-input-wrapper .search-clear {
    position: absolute;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.search-input-wrapper .search-clear:hover {
    background: var(--danger);
    color: var(--white);
}

.search-btn {
    height: 48px;
    padding: 0 1.5rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .results-header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-actions {
        width: 100%;
        justify-content: space-between;
    }

    .results-actions .form-select {
        flex: 1;
    }

    .search-form-inline {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .results-header {
        padding: 1rem;
    }

    .search-input-wrapper .search-input {
        height: 44px;
        font-size: 0.9rem;
    }

    .search-btn {
        height: 44px;
    }
}

/* ===== PAGINATION ===== */
.pagination-immo {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-immo .page-item .page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-immo .page-item .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26, 39, 91, 0.05);
}

.pagination-immo .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-immo .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== PROPERTY DETAIL ===== */
/* Gallery */
.gallery-section {
    padding: 2rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 1rem;
    height: 520px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background: rgba(0,0,0,0.2);
}

.gallery-more {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.gallery-more:hover {
    background: var(--primary);
    color: var(--white);
}

/* Property Header */
.property-header {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.property-main-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.property-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.property-address i {
    color: var(--accent);
}

.property-main-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.property-main-price span {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-per-sqm {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-action {
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid #e9ecef;
    background: var(--white);
    color: var(--text);
    cursor: pointer;
}

.btn-action:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-action.favorite:hover {
    border-color: var(--danger);
    color: var(--danger);
}

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.content-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.content-title i {
    color: var(--accent);
}

/* Quick Info Grid */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.info-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.info-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 1rem;
}

.feature-item.unavailable i {
    color: var(--text-muted);
}

.feature-item span {
    font-weight: 500;
}

/* Property Map */
.property-map {
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-map {
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-map-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-map-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-map-outline {
    background: transparent;
    border: 2px solid #e9ecef;
    color: var(--text);
}

.btn-map-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Sidebar Card */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

/* Seller Card */
.seller-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.seller-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-light);
}

.seller-avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border: 3px solid var(--bg-light);
}

.seller-info h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--success);
}

.seller-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 39, 91, 0.1);
}

.contact-form textarea {
    resize: none;
}

.btn-contact {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-contact:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

/* Payment Info */
.payment-info {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--white);
}

.payment-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.payment-option:last-child {
    margin-bottom: 0;
}

.payment-option i {
    font-size: 1.2rem;
    color: var(--accent);
}

.payment-option span {
    font-size: 0.9rem;
}

/* Similar Properties Section */
.similar-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
}

/* Property Card Mini */
.property-card-mini {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.property-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.property-card-mini .property-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.property-card-mini .property-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.property-card-mini .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-mini:hover .property-image img {
    transform: scale(1.1);
}

.property-card-mini .property-content {
    padding: 1.2rem;
}

.property-card-mini .property-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.property-card-mini .property-title a {
    color: var(--primary);
    text-decoration: none;
}

.property-card-mini .property-title a:hover {
    color: var(--accent);
}

.property-card-mini .property-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.property-card-mini .property-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* ===== AUTH PAGES ===== */
/* Split Layout */
.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-visual {
    flex: 1;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.1) 0%, transparent 60%);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(30px, 10px) rotate(3deg); }
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.auth-visual-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.auth-visual-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: var(--text-light);
}

.auth-features li i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.auth-visual-illustration {
    margin-top: 3rem;
    text-align: center;
}

.auth-visual-illustration svg {
    max-width: 100%;
    height: auto;
}

/* Auth Form Panel */
.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--white);
}

.auth-form-wrapper {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.auth-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-logo span {
    color: var(--accent);
}

.auth-title {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Social Login Buttons */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-social:hover {
    border-color: var(--primary);
    background: rgba(26, 39, 91, 0.02);
}

.btn-social.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.btn-social.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.btn-social img {
    width: 20px;
    height: 20px;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--accent);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-label {
    cursor: pointer;
}

.forgot-password {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.forgot-password:hover {
    color: var(--accent);
}

/* Register - Account Type Selector */
.account-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-option {
    position: relative;
}

.type-option input {
    position: absolute;
    opacity: 0;
}

.type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.type-option label:hover {
    border-color: var(--primary);
    background: rgba(26, 39, 91, 0.02);
}

.type-option input:checked + label {
    border-color: var(--primary);
    background: rgba(26, 39, 91, 0.05);
}

.type-option input:checked + label .type-icon {
    background: var(--primary);
    color: var(--white);
}

.type-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

.type-name {
    font-weight: 600;
    color: var(--text);
}

.type-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Register Full Page */
.register-page {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.register-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.password-strength-bar.weak { width: 33%; background: var(--danger); }
.password-strength-bar.medium { width: 66%; background: var(--warning); }
.password-strength-bar.strong { width: 100%; background: var(--success); }

.password-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== FOOTER ===== */
.footer-immo {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--accent);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.3);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===== DASHBOARD SIDEBAR ===== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--gradient-primary);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 5px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-logo span {
    color: var(--accent);
}

.sidebar-user {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-lg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.user-details h4 {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 0.2rem;
}

.user-details span {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.user-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(40, 167, 69, 0.2);
    color: #5cb85c;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0;
}

.nav-section {
    margin-bottom: 1rem;
}

.nav-section-title {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem;
}

.nav-item-dashboard {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-item-dashboard::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-item-dashboard:hover,
.nav-item-dashboard.active {
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

.nav-item-dashboard.active::before {
    transform: scaleY(1);
}

.nav-item-dashboard i {
    width: 20px;
    text-align: center;
}

.nav-badge {
    margin-left: auto;
    background: var(--accent);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.nav-badge.danger {
    background: var(--danger);
    color: var(--white);
}

/* Dashboard Main Content */
.dashboard-main {
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    background: var(--bg-light);
    transition: margin 0.3s ease, width 0.3s ease;
}

/* Dashboard Top Navbar */
.dashboard-topbar {
    background: var(--white);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text);
    cursor: pointer;
}

.page-title-dashboard {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-icon-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-icon-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-property {
    background: var(--gradient-accent);
    border: none;
    color: var(--primary);
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-add-property:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    color: var(--primary);
}

/* User Dropdown Widget */
.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.user-dropdown-btn:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.user-dropdown-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-dropdown-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-dropdown-info {
    text-align: left;
    line-height: 1.2;
}

.user-dropdown-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.user-dropdown-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-dropdown-menu {
    min-width: 280px;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
}

.user-dropdown-menu .dropdown-header {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.user-dropdown-avatar-lg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-dropdown-avatar-lg-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.user-dropdown-menu .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}

.user-dropdown-menu .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    color: var(--text-muted);
}

.user-dropdown-menu .dropdown-item:hover i {
    color: var(--primary);
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.user-dropdown-menu .dropdown-item.text-danger:hover i {
    color: var(--danger);
}

.user-dropdown-menu .dropdown-divider {
    margin: 0.25rem 0;
    border-color: var(--border-color);
}

/* Dashboard Content Area */
.dashboard-content {
    padding: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-icon.primary {
    background: rgba(26, 39, 91, 0.1);
    color: var(--primary);
}

.stat-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.stat-icon.warning {
    background: rgba(240, 165, 0, 0.1);
    color: var(--accent);
}

.stat-icon.info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info);
}

.stat-content {
    flex: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header-dashboard {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title-dashboard {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title-dashboard i {
    color: var(--accent);
}

.card-body-dashboard {
    padding: 1.5rem;
}

/* Chart Container */
.chart-container {
    height: 300px;
    position: relative;
}

/* View All Link */
.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.view-all-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    text-decoration: none;
    transition: var(--transition);
}

.quick-action:hover {
    background: var(--primary);
}

.quick-action i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.quick-action span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s ease;
}

.quick-action:hover i,
.quick-action:hover span {
    color: var(--white);
}

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

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

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

.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-slideUp { animation: slideUp 0.5s ease forwards; }

/* ===== UTILITIES ===== */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }

.bg-primary { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }
.bg-light { background: var(--bg-light) !important; }
.bg-white { background: var(--white) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    /* Auth Pages */
    .auth-visual {
        display: none;
    }

    .auth-form-panel {
        padding: 2rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 150px 150px;
        height: auto;
    }

    .gallery-item:first-child {
        grid-row: span 1;
    }

    /* Property Detail */
    .property-main-title {
        font-size: 1.5rem;
    }

    .property-main-price {
        font-size: 2rem;
    }

    .sidebar-card {
        position: relative;
        top: 0;
    }

    /* Dashboard */
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.open {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .sidebar-overlay.open {
        display: block;
    }
}

@media (max-width: 768px) {
    /* General */
    .page-header-title {
        font-size: 1.75rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-rows: 250px;
    }

    .gallery-item:not(:first-child) {
        display: none;
    }

    /* Quick Info */
    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Header Actions */
    .header-actions {
        width: 100%;
    }

    .btn-action {
        flex: 1;
        justify-content: center;
    }

    /* Dashboard */
    .dashboard-topbar {
        padding: 1rem;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .btn-add-property span {
        display: none;
    }

    .btn-add-property {
        padding: 0.7rem;
        border-radius: 50%;
    }

    /* Account Type Selector */
    .account-type-selector {
        grid-template-columns: 1fr;
    }

    /* Social Login */
    .social-login {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .auth-form-panel {
        padding: 1.5rem;
    }

    .register-card {
        padding: 2rem;
    }

    .property-card .property-content {
        padding: 1rem;
    }

    .filter-sidebar {
        padding: 1rem;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== WhatsApp Floating Button ===== */
.btn-whatsapp {
    position: fixed !important;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: white !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    z-index: 9999 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    color: white;
}

.btn-whatsapp:active {
    transform: scale(0.95);
}

/* Pulse animation */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 39, 91, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--primary);
}

.btn-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .btn-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 90px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ===== Back to Top Button ===== */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* ===== Flash Messages ===== */
.flash-messages {
    padding: 1rem 0;
}

.flash-messages .alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.flash-messages .alert-success {
    background: var(--success-light);
    color: var(--success);
}

.flash-messages .alert-danger {
    background: var(--danger-light);
    color: var(--danger);
}

/* noUiSlider Custom Styles */
.noUi-target {
    background: #e9ecef;
    border: none;
    box-shadow: none;
    border-radius: 4px;
}

.noUi-connect {
    background: var(--primary);
}

.noUi-handle {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: grab;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none;
}

.noUi-handle:focus {
    outline: none;
}

/* ============================================
   HOMEPAGE SPECIFIC STYLES
   ============================================ */

/* ===== MODERN HEADER (Homepage) ===== */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.modern-header.transparent {
    background: transparent;
}

.modern-header.transparent .navbar-brand {
    color: var(--white);
}

.modern-header.transparent .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.modern-header.transparent .nav-link:hover {
    color: var(--accent);
}

.modern-header.scrolled {
    background: var(--white);
    box-shadow: 0 4px 30px rgba(26, 39, 91, 0.1);
}

.modern-header.scrolled .navbar-brand {
    color: var(--primary);
}

.modern-header.scrolled .nav-link {
    color: var(--text);
}

.modern-header.scrolled .nav-link:hover {
    color: var(--primary);
}

.modern-header .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.modern-header .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.modern-header .navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: var(--white);
}

.modern-header.scrolled .navbar-toggler {
    color: var(--primary);
}

.modern-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.modern-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 39, 91, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-header {
    background: var(--accent);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-header:hover {
    background: var(--accent-dark);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(240, 165, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 20s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -100px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 50px) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translate(80px, 30px) scale(1.1);
        opacity: 0.4;
    }
}

/* Hero Content */
.hero-content {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 500px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Search Box */
.hero-search-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-search-box .nav-tabs {
    border: none;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.hero-search-box .nav-tabs .nav-link {
    border: none;
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.hero-search-box .nav-tabs .nav-link:hover {
    background: rgba(26, 39, 91, 0.1);
    color: var(--primary);
}

.hero-search-box .nav-tabs .nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.btn-search {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-search:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-badge {
    display: inline-block;
    background: rgba(240, 165, 0, 0.15);
    color: var(--accent-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Category Card */
.category-card {
    display: block;
    position: relative;
    height: 350px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 39, 91, 0.9) 0%, rgba(26, 39, 91, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

.category-card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-icon {
    transform: scale(1.1);
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.category-card-count {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.category-card-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.category-card:hover .category-card-arrow {
    background: var(--accent);
    color: var(--primary);
    transform: translateX(5px);
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

/* Modern Property Card */
.modern-property-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.modern-property-card .card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.modern-property-card .card-img-wrapper > a {
    display: block;
    width: 100%;
    height: 100%;
}

.modern-property-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-property-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Property Badges (Homepage) */
.modern-property-card .property-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 2;
}

.property-badge {
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-badge.terrain {
    background: #28a745;
    color: var(--white);
}

.property-badge.lot {
    background: #17a2b8;
    color: var(--white);
}

.property-badge.maison {
    background: var(--accent);
    color: var(--primary);
}

.property-badge.residence_meublee {
    background: #6f42c1;
    color: var(--white);
}

.property-badge.featured {
    background: var(--primary);
    color: var(--white);
}

/* Property Favorite */
.property-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    text-decoration: none;
}

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

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

/* Property Gallery Count */
.property-gallery-count {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

/* Card Body */
.modern-property-card .card-body {
    padding: 1.5rem;
    flex: 1;
}

.modern-property-card .property-price {
    margin-bottom: 0.75rem;
}

.property-price-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.property-price-unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-left: 0.25rem;
}

.property-price-sqm {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.modern-property-card .property-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.modern-property-card .property-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-property-card .property-title a:hover {
    color: var(--accent);
}

.modern-property-card .property-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.modern-property-card .property-location i {
    color: var(--accent);
}

.modern-property-card .property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.modern-property-card .property-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modern-property-card .property-feature i {
    color: var(--primary);
}

/* Card Footer */
.modern-property-card .card-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-property-card .property-owner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modern-property-card .property-owner-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.property-owner-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.modern-property-card .property-owner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.modern-property-card .property-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-modern:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.cta-features li i {
    color: var(--accent);
    font-size: 1.1rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-cta-primary:hover {
    background: var(--accent-dark);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* CTA Image */
.cta-image {
    position: relative;
    z-index: 2;
}

.cta-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.cta-floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s infinite ease-in-out;
}

.cta-floating-card.top {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.cta-floating-card.bottom {
    bottom: 15%;
    right: -30px;
    animation-delay: 1.5s;
}

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

.cta-floating-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.cta-floating-content h5 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.cta-floating-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: 6rem 0;
    background: var(--white);
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.step-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: var(--gradient-accent);
    color: var(--primary);
    transform: scale(1.1);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== STATS SECTION (Homepage) ===== */
.stats-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
}

.stats-section .stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    display: block;
}

.stats-section .stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.stats-section .stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
}

.stats-section .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stats-section .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author .property-owner-avatar-placeholder {
    width: 50px;
    height: 50px;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 6rem 0;
    background: var(--white);
    overflow: hidden;
}

.partners-slider {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: scrollPartners 30s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    flex-shrink: 0;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 160px;
    height: 120px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.partner-logo:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.partner-logo:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.partner-logo span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

/* Partners Stats */
.partners-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
}

.partner-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.partner-stat-item:last-child {
    border-right: none;
}

.partner-stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-stat-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.partner-stat-content h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.2rem 0;
}

.partner-stat-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Partners Responsive */
@media (max-width: 1200px) {
    .partners-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-stat-item:nth-child(2) {
        border-right: none;
    }

    .partner-stat-item:nth-child(3),
    .partner-stat-item:nth-child(4) {
        padding-top: 1.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .partners-stats {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .partner-stat-item {
        border-right: none;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .partner-stat-item:last-child {
        border-bottom: none;
    }

    .partner-stat-item:nth-child(3),
    .partner-stat-item:nth-child(4) {
        border-top: none;
        padding-top: 1rem;
        margin-top: 0;
    }

    .partner-logo {
        width: 140px;
        height: 100px;
    }

    .partner-logo i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .partners-track {
        gap: 2rem;
    }

    .partner-logo {
        width: 120px;
        height: 90px;
        padding: 1rem;
    }

    .partner-logo i {
        font-size: 1.8rem;
    }

    .partner-logo span {
        font-size: 0.75rem;
    }

    .partner-stat-content h4 {
        font-size: 1.5rem;
    }
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 5rem 0;
    background: var(--gradient-accent);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.newsletter-text {
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 39, 91, 0.2);
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== MODERN FOOTER (Homepage) ===== */
.modern-footer {
    background: var(--primary-dark);
    padding: 5rem 0 2rem;
    color: var(--white);
}

.modern-footer .footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.modern-footer .footer-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modern-footer .footer-social {
    display: flex;
    gap: 0.75rem;
}

.modern-footer .footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

.modern-footer .footer-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.modern-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.modern-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.modern-footer .footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.modern-footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.modern-footer .footer-contact i {
    color: var(--accent);
    margin-top: 4px;
    width: 20px;
}

.modern-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.modern-footer .footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.modern-footer .footer-legal {
    display: flex;
    gap: 2rem;
}

.modern-footer .footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.modern-footer .footer-legal a:hover {
    color: var(--accent);
}

/* ===== HOMEPAGE RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-search-box {
        margin-top: 3rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-floating-card {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .modern-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .modern-footer .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .category-card {
        height: 280px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .stats-section .stat-number {
        font-size: 2rem;
    }

    .modern-footer .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-search-box {
        padding: 1.5rem;
    }

    .hero-search-box .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .category-card {
        height: 250px;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

/* ===== Dashboard Property List Styles ===== */
.property-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.property-list-item:hover {
    background: var(--bg-light);
}

.property-list-item:last-child {
    border-bottom: none;
}

.property-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.property-info {
    flex: 1;
    min-width: 0;
}

.property-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.property-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-meta i {
    color: var(--primary);
    width: 16px;
}

.property-price {
    color: var(--primary);
    font-weight: 700;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-draft {
    background: rgba(108, 117, 125, 0.15);
    color: #6c757d;
}

.status-badge.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #d49000;
}

.status-badge.status-published {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-badge.status-rejected {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

/* Form Section Styling */
.form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
}

.form-section-title i {
    font-size: 1rem;
}

/* Dashboard Cards Enhancement */
.card.border-0.shadow-sm {
    border-radius: var(--radius-lg) !important;
}

.card-body .btn-group .btn {
    border-radius: var(--radius-sm);
}

.card-body .btn-group .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.card-body .btn-group .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1rem;
}

/* SweetAlert2 Customization */
.swal2-popup {
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-body) !important;
}

.swal2-title {
    font-family: var(--font-heading) !important;
    color: var(--primary) !important;
}

.swal2-confirm {
    border-radius: var(--radius-full) !important;
}

.swal2-cancel {
    border-radius: var(--radius-full) !important;
}

/* Responsive fixes for property list */
@media (max-width: 768px) {
    .property-list-item {
        flex-direction: column;
    }

    .property-thumb {
        width: 100%;
        height: 150px;
    }

    .property-info .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }

    .status-badge {
        align-self: flex-start;
    }

    .btn-group {
        width: 100%;
        justify-content: flex-end;
    }
}
