/* ===== Hero Section - Recherche ===== */
.hero-search {
    background: linear-gradient(rgba(44, 62, 73, 0.85), rgba(44, 62, 73, 0.9)), 
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -40px;
}

.hero-search .hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-search .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Breadcrumb dans hero */
.hero-breadcrumb {
    margin-bottom: 1.5rem;
}

.hero-breadcrumb .breadcrumb {
    background-color: transparent;
    padding: 0;
    justify-content: center;
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.hero-breadcrumb .breadcrumb-item.active {
    color: var(--white-color);
    font-weight: 500;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Compteur de résultats dans hero */
.hero-results-count {
    margin-top: 1rem;
}

.results-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.results-badge:hover {
    background-color: rgba(243, 215, 35, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Barre de filtres fixe ===== */
.search-filters-sticky {
    position: sticky;
    top: 76px;
    background-color: var(--white-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    z-index: 100;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.search-filters-wrapper {
    padding: 0.5rem 0;
}

.search-filters-sticky .form-select,
.search-filters-sticky .form-control {
    border: 1px solid #ddd;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-filters-sticky .form-select:focus,
.search-filters-sticky .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(243, 215, 35, 0.25);
}

.search-filters-sticky .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* ===== Section de contenu (après hero) ===== */
.section-properties-list {
    padding-top: 3rem;
}

/* ===== Mode liste amélioré ===== */
.properties-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

/* ===== Cartes de propriétés ===== */
.property-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* overflow:hidden removed — was clipping the footer in flex layouts */
    overflow: visible;
}

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

/* Version liste */
.property-card-list {
    height: 100%;
}

.property-card-list .property-image {
    height: 100%;
    min-height: 250px;
}

.property-card-list .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Version grille */
.property-card-grid {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.property-card-grid .property-image {
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.property-card-grid .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-grid .property-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
}

/* Badges et types */
.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

.badge-exclusive {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.property-type {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 0.35rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

/* Corps de la carte */
.property-body {
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.3;
}

.property-location {
    font-size: 0.9rem;
}

.property-price {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.property-features .feature-item {
    background-color: rgba(44, 62, 73, 0.05);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.property-description {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.property-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.property-ref {
    font-size: 0.85rem;
}

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

/* Section Newsletter */
.section-newsletter {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a5366 100%);
    color: var(--white-color);
}

.newsletter-form .form-control {
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: var(--border-radius);
}

.newsletter-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* ===== Responsive Design pour hero recherche ===== */
@media (max-width: 1199.98px) {
    .hero-search {
        height: 35vh;
        min-height: 320px;
    }
    
    .hero-search .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-search .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .hero-search {
        height: 30vh;
        min-height: 280px;
    }
    
    .hero-search .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-search .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-filters-sticky .row {
        row-gap: 0.5rem;
    }
    
    .property-card-list .row {
        flex-direction: column;
    }
    
    .property-card-list .col-md-4 {
        width: 100%;
    }
    
    .property-card-list .property-image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-search {
        height: 40vh;
        min-height: 300px;
        margin-top: -70px;
    }
    
    .hero-search .hero-title {
        font-size: 2rem;
    }
    
    .hero-search .hero-subtitle {
        font-size: 1rem;
    }
    
    .results-badge {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .search-filters-sticky {
        top: 70px;
    }
    
    .search-filters-sticky .form-select,
    .search-filters-sticky .form-control {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    .section-search-header .row {
        flex-direction: column;
        text-align: center;
    }
    
    .section-search-header .col-md-6 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .property-card-list .property-body {
        padding: 1.5rem;
    }
    
    .property-features .d-flex {
        justify-content: center;
    }
    
    .property-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .property-actions .btn {
        width: 100%;
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-search {
        height: 35vh;
        min-height: 250px;
    }
    
    .hero-search .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-search .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-breadcrumb .breadcrumb {
        font-size: 0.85rem;
    }
    
    .results-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .search-filters-sticky {
        padding: 0.75rem 0;
    }
    
    .search-filters-sticky .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .property-title {
        font-size: 1.1rem;
    }
    
    .property-price {
        font-size: 1.3rem;
    }
    
    .property-features .feature-item {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .newsletter-form .row {
        flex-direction: column;
    }
    
    .newsletter-form .col-md-6,
    .newsletter-form .col-md-auto {
        width: 100%;
    }
}


/* Styles spécifiques pour le modal fullscreen */
.modal-fullscreen .modal-content {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.modal-fullscreen .modal-header {
    padding-top: 1.5rem;
}

.modal-fullscreen .modal-body {
    padding: 0;
}

/* Ajustements pour les champs du formulaire en fullscreen */
.modal-fullscreen .form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* Amélioration de l'apparence des radios et checkboxes */
.modal-fullscreen .form-check-input {
    width: 1.2em;
    height: 1.2em;
}

.modal-fullscreen .form-check-input:checked {
    background-color: #9FC58F;
    border-color: #9FC58F;
}

.modal-fullscreen .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(80, 180, 50, 0.25);
}

/* Styles pour la section aucun résultat */
        .no-results-section {
            padding: 4rem 0;
            background-color: #f8f9fa;
            border-radius: 12px;
            margin: 2rem 0;
        }
        
        .no-results-icon {
            font-size: 4rem;
            color: #9FC58F;
            margin-bottom: 1.5rem;
        }
        
        .no-results-title {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: #333;
        }
        
        .no-results-subtitle {
            font-size: 1.25rem;
            color: #666;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .no-results-card {
            background: white;
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border-top: 4px solid #9FC58F;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .alert-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 1rem;
        }
        
        .alert-text {
            color: #666;
            margin-bottom: 2rem;
        }
        
        .create-alert-btn {
            background-color: #9FC58F;
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .create-alert-btn:hover {
            background-color: #3f9b27;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(80, 180, 50, 0.3);
            color: white;
        }
        
        /* Styles pour le modal */
        .alert-modal .modal-content {
            border-radius: 12px;
            border: none;
        }
        
        .alert-modal .modal-header {
            background-color: #9FC58F;
            color: white;
            border-radius: 12px 12px 0 0;
            padding: 1.5rem 2rem;
            border-bottom: none;
        }
        
        .alert-modal .modal-title {
            font-weight: 600;
            font-size: 1.5rem;
        }
        
        .alert-modal .btn-close {
            filter: invert(1);
            opacity: 0.8;
        }
        
        .alert-modal .btn-close:hover {
            opacity: 1;
        }
        
        .alert-modal .modal-body {
            padding: 2rem;
        }
        
        .form-label {
            font-weight: 500;
            color: #333;
            margin-bottom: 0.5rem;
        }
        
        .form-control, .form-select {
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 0.75rem 1rem;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: #9FC58F;
            box-shadow: 0 0 0 0.25rem rgba(80, 180, 50, 0.25);
        }
        
        .frequency-options {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .frequency-option {
            flex: 1;
            min-width: 120px;
        }
        
        .frequency-option input[type="radio"] {
            display: none;
        }
        
        .frequency-option label {
            display: block;
            padding: 1rem;
            border: 2px solid #dee2e6;
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .frequency-option input[type="radio"]:checked + label {
            border-color: #9FC58F;
            background-color: rgba(80, 180, 50, 0.1);
            color: #9FC58F;
            font-weight: 500;
        }
        
        .form-check {
            margin-bottom: 1rem;
        }
        
        .form-check-input:checked {
            background-color: #9FC58F;
            border-color: #9FC58F;
        }
        
        .form-check-label {
            color: #666;
            font-size: 0.9rem;
        }
        
        .add-email-section {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #dee2e6;
        }
        
        .add-email-btn {
            color: #9FC58F;
            background: none;
            border: 1px dashed #9FC58F;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .add-email-btn:hover {
            background-color: rgba(80, 180, 50, 0.1);
            border-style: solid;
        }
        
        .email-field-group {
            margin-bottom: 1rem;
        }
        
        .email-field-group:last-child {
            margin-bottom: 0;
        }
        
        .remove-email-btn {
            color: #dc3545;
            background: none;
            border: none;
            font-size: 1.2rem;
            line-height: 1;
            padding: 0;
            margin-top: 0.5rem;
        }
        
        .create-alert-modal-btn {
            background-color: #9FC58F;
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 8px;
            font-weight: 500;
            width: 100%;
            margin-top: 1.5rem;
        }
        
        .create-alert-modal-btn:hover {
            background-color: #3f9b27;
        }
        
        .legal-text {
            font-size: 0.8rem;
            color: #999;
            margin-top: 1.5rem;
            line-height: 1.4;
        }
        
        @media (max-width: 768px) {
            .no-results-title {
                font-size: 2rem;
            }
            
            .no-results-card {
                padding: 1.5rem;
            }
            
            .frequency-options {
                flex-direction: column;
            }
            
            .frequency-option {
                width: 100%;
            }
        }
  .notification-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9FC58F 0%, #3f9b27 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 12px rgba(80, 180, 50, 0.3);
}

.notification-icon {
    font-size: 2.5rem;
}