/* 
 * Fichier CSS principal pour LaverieLocale
 * Contient les styles de base et les variables de couleurs
 */

:root {
    /* Couleurs principales */
    --primary: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary: #26a69a;
    --secondary-dark: #00897b;
    --secondary-light: #80cbc4;
    
    /* Couleurs de fond */
    --light-bg: #f5f5f5;
    --white: #ffffff;
    
    /* Couleurs de texte */
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    
    /* Couleurs de bordure */
    --border: #dddddd;
    --border-light: #ccc;
    
    /* Couleurs d'état */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;
    
    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 8px rgba(0,0,0,0.1);
}

input {
    border-radius: 8px;
    border: 2px solid var(--border-light)!important;
    padding: 0.75rem;
    font-size: 1rem;
}

/* ===== PAGE CONTACT ===== */
.contact-section {
    padding: 2rem 0 3rem;
    background: var(--light-bg);
}

.contact-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.contact-header h1 { font-size: 2.1rem; margin: 0; color: var(--text); letter-spacing: .2px; }
.contact-subtitle { color: var(--text-light); margin-top: .25rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .contact-grid { grid-template-columns: 2fr 1fr; align-items: start; }
}

.contact-card, .contact-aside {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    padding: 1.75rem 1.75rem 1.25rem;
    border: 1px solid #eee;
}

.contact-card:hover, .contact-aside:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,.09);
}

.contact-aside { height: fit-content; }
@media (min-width: 900px) {
    .contact-aside { position: sticky; top: 90px; }
}

.contact-aside h3 {
    margin: 0 0 .75rem 0;
    font-size: 1.1rem;
    text-align: center;
    padding-bottom: .5rem;
    border-bottom: 1px dashed #e6e6e6;
}

.contact-aside .aside-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--text-light);
}

.contact-aside .aside-item + .aside-item { margin-top: .75rem; }

.contact-form .form-group { margin-bottom: 1rem; }
.contact-form .form-control { width: 100%; }
.contact-form .form-group label { color: var(--text-light); font-weight: 600; }
.contact-form .form-control { box-sizing: border-box; }
.contact-form textarea.form-control { min-height: 220px; resize: vertical; }

.contact-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,.15);
}

/* 2 colonnes pour nom/email sur desktop */
.contact-form .input-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 700px) {
    .contact-form .input-row { grid-template-columns: 1fr 1fr; }
}

.contact-actions { margin-top: 1rem; }
.contact-actions .btn { width: 100%; }

/* Alertes */
.alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    margin-bottom: 1rem;
}
.alert-success {
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #256029;
}
.alert-danger {
    background: #ffebee;
    border-color: #ffcdd2;
    color: #b71c1c;
}

/* Liens dans la note de contact */
.contact-note { color: var(--text-light); margin-top: .75rem; }
.contact-note a { color: #667eea; text-decoration: none; }
.contact-note a:hover { text-decoration: underline; }
/* ===== STYLES AUTHENTIFICATION ===== */

/* Pages de connexion et récupération de mot de passe */
.login-section, .forgot-password-section, .reset-password-section {
    /* padding: 2rem 0;
    min-height: 60vh; */
    color: #FFF;
}

.login-container, .forgot-password-container, .reset-password-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.login-form-container, .forgot-password-form-container, .reset-password-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.login-form-container h3, .forgot-password-form-container h3, .reset-password-form-container h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.5rem;
}

.forgot-password-info, .reset-password-info {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Formulaires */
.login-form, .forgot-password-form, .reset-password-form {
    margin-bottom: 1.5rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.success {
    border-color: var(--success);
}

.form-control.error {
    border-color: var(--error);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-actions {
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--border-light);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Liens */
.login-links, .forgot-password-links {
    text-align: center;
    margin-top: 1.5rem;
}

.login-links p, .forgot-password-links p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.login-links a, .forgot-password-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover, .forgot-password-links a:hover {
    text-decoration: underline;
}

/* Panneaux d'information */
.login-benefits, .forgot-password-info-panel, .reset-password-tips {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e8ebff;
}

.login-benefits h3, .forgot-password-info-panel h3, .reset-password-tips h3 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.25rem;
}

.benefits-list, .info-steps, .password-tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item, .info-step, .tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon, .step-number, .tip-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-number {
    font-size: 1.1rem;
}

.benefit-content, .step-content {
    flex: 1;
}

.benefit-content h4, .step-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
    font-size: 1rem;
}

.benefit-content p, .step-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tip-item span {
    color: var(--text);
    font-size: 0.9rem;
}

/* Notes de sécurité */
.security-note, .security-reminder {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.security-icon, .reminder-icon {
    flex-shrink: 0;
    color: #856404;
}

.security-text, .reminder-text {
    flex: 1;
}

.security-text strong, .reminder-text strong {
    color: #856404;
}

.security-text p, .reminder-text {
    margin: 0.25rem 0 0 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Force du mot de passe */
.password-strength {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: none;
}

.password-strength.weak {
    display: block;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.password-strength.medium {
    display: block;
    background: #fff3e0;
    border: 1px solid #ffcc02;
    color: #ef6c00;
}

.password-strength.strong {
    display: block;
    background: #e8f5e8;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

.strength-label {
    font-weight: bold;
    margin-right: 0.5rem;
}

.strength-tips {
    font-size: 0.8rem;
}

/* Erreur de token */
.token-error {
    text-align: center;
    padding: 2rem;
}

.error-icon {
    color: var(--error);
    margin-bottom: 1rem;
}

.token-error h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.token-error p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container, .forgot-password-container, .reset-password-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .login-form-container, .forgot-password-form-container, .reset-password-form-container,
    .login-benefits, .forgot-password-info-panel, .reset-password-tips {
        padding: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== STYLES ESPACE PRO ===== */
.pro-hero { margin-bottom: 1rem; }
.pro-hero-img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-sm); }

.pro-laundromats .card { border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.pro-laundromats .card-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 12px 12px 0 0; }
.pro-laundromats .card-body { padding: 1rem 1rem 1.25rem; }
.pro-laundromats .row.g-3 > [class*='col-'] { display: flex; }
.pro-laundromats .card.h-100 { border: 1px solid #eef1f7; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); transition: transform .2s ease, box-shadow .2s ease; }
.pro-laundromats .card.h-100:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.10); }
.pro-laundromats .card .badge { border-radius: 20px; font-weight: 600; }
.pro-laundromats .btn { border-radius: 8px; }
.pro-laundromats .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; box-shadow: 0 6px 16px rgba(102,126,234,.35); }
.pro-laundromats .btn-primary:hover { filter: brightness(1.03); transform: translateY(-1px); }

.pro-laundromats .text-muted.small { color: #6b7280 !important; }
.pro-laundromats .card .rating .rating-value { font-weight: 700; color: #2c3e50; }

/* Cards en attente */
.pro-laundromats .card.border-warning { border-color: #ffe08a !important; }
.pro-laundromats .card.border-warning .badge { background: #ffe08a; display: block; color: #7a5d00; width: fit-content; padding: 0 1rem; margin: 0.2rem 0;}

/* Formulaire édition PRO */
.pro-edit-laundromat .card { border-radius: 12px; box-shadow: var(--shadow-sm); }
.pro-edit-laundromat .card-header { background: #fafafa; border-bottom: 1px solid var(--border); }
.pro-edit-laundromat .card-footer { background: #fafafa; border-top: 1px solid var(--border); }
.pro-edit-laundromat h6 { color: #2c3e50; margin-bottom: .75rem; }
.pro-edit-laundromat .table th { background: #fafafa; font-weight: 600; }
.pro-edit-laundromat .input-group .input-group-text { background: #f8fafc; }

.laundromats-actions { margin: 1rem auto; text-align: right;}
.pro-laundromats .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    padding-left: 1rem;
}
.pro-laundromats .card {
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}
.pro-laundromats .card-header2 {
    background: linear-gradient(135deg, #95a4eb 0%, #667eea 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    padding-left: 1rem;
}

/* Reset de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light-bg);
    padding: 0;
    margin: 0;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: white;
    color: var(--text);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

header h1 {
    margin: 0;
    line-height: 0;
}

header h1 a {
    color: var(--primary);
    text-decoration: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Header avec action */
.header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.header-with-action > div {
    flex: 1;
}

.header-with-action .btn {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-with-action .btn svg {
    width: 16px;
    height: 16px;
}

/* Navigation */
nav a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

/* Lien Pro */
nav a.pro-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

nav a.pro-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Menu burger (mobile/tablette) */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle:focus {
    outline: 2px solid var(--primary-light);
    border-radius: 6px;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform .2s ease, opacity .2s ease;
}

/* État actif du burger (animation simple) */
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Conteneur de navigation principal */
.site-nav {
    display: flex;
    align-items: center;
}

/* Responsive: à partir des petites tablettes et en dessous */
@media (max-width: 992px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #fff;
        padding: 0.5rem 20px 0.75rem;
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        border-top: 1px solid var(--border);
        z-index: 100;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        margin: 0;
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid #f1f3f5;
    }

    .site-nav a.pro-link {
        margin-top: 0.25rem;
        border-bottom: 0;
        width: auto;
        display: inline-block;
        align-self: flex-start;
    }
}

/* Main content */
main {
    padding: 0;
}

section {
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Headings */
h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h3 {
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* Links */
a {
    color: var(--primary);
}

/* Illustration en tête de page */
.page-illustration {
    /* background: var(--white); */
    border-radius: 0;
    /* box-shadow: var(--shadow-sm); */
    /* padding: 0.75rem; */
    margin-bottom: 1.5rem;
}

.page-illustration img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 6px 6px;
}

/* Grids */
.cities-grid, .laundromats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Contenu de la page ville en une seule colonne */
.city-content-single-column {
    width: 100%;
    max-width: 100%;
}

/* Liste des laveries en vue ligne */
.laundromats-list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.laundromat-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    gap: 1rem;
}

.laundromat-row:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary);
    transform: translateX(3px);
}

/* Miniature de carte pour chaque laverie */
.laundromat-map-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background-size: cover;
    background-position: center;
}

/* Style pour les miniatures mises en cache */
.laundromat-map-thumbnail.cached-thumbnail {
    background-repeat: no-repeat;
}

.laundromat-map-thumbnail.no-location {
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-location-text {
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem;
}

.laundromat-info {
    flex: 1;
    padding: 0.5rem 1rem;
}

.laundromat-info h4 {
    margin: 0 0 0.5rem 0;
}

.laundromat-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.laundromat-rating img {
    margin-top: -2px;
}

.laundromat-rating .rating-value {
    font-weight: 600;
    color: #333;
}

.laundromat-rating .rating-count {
    color: #666;
    font-size: 0.8rem;
}

.laundromat-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

/* Styles pour les interactions avec la carte et les résultats */
/* Les styles des marqueurs sont maintenant gérés directement en JavaScript */

/* Style pour la ligne survolée */
.laundromat-row {
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.laundromat-row:hover {
    background-color: rgba(30, 136, 229, 0.1);
    transform: translateX(5px);
}

.laundromat-row.active {
    background-color: rgba(30, 136, 229, 0.2);
    border-left: 4px solid var(--primary);
}

.laundromat-row.highlighted {
    background-color: rgba(102, 126, 234, 0.25);
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: highlightPulse 1s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

/* Cards */
.city-card, .laundromat-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.city-card:hover, .laundromat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.city-card h3, .laundromat-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.city-card a, .laundromat-card a {
    text-decoration: none;
    color: var(--primary-dark);
}

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.feature {
    background: var(--light-bg);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Rating */
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.stars {
    color: #FFD700;
    letter-spacing: -2px;
}

/* Laundromat header */
.laundromat-header {
    margin-top: 0rem;
    background-color: white;
    border-radius: 8px;
    z-index: 10;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {    
    background: var(--primary);
    color: white;
    margin: 2rem auto 0;
    text-align: center;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 400;
    height: 3rem;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.btn-secondary:hover {
    background: var(--primary-dark);
}

.btn-details {
    display: inline-block;
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
}

.btn-details:hover {
    background: var(--primary-dark);
}

/* Address */
.address {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* City content */
.city-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .city-content {
        grid-template-columns: 3fr 2fr;
    }
}

/* ===== FILTRES DYNAMIQUES - PAGE VILLE ===== */

/* Box de filtres avec fond blanc */
.filters-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.filters-box h3 {
    margin: 0 0 0.75rem 0;
    color: var(--primary);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

/* Grille de filtres - affichage en ligne */
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

/* Item de filtre individuel - compact */
.filter-item {
    background: var(--light-bg);
    /* border: 2px solid var(--border); */
    /* padding: 15px; */
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    transition: all 0.2s ease;
    height: fit-content;
}

.filter-item:hover {
    background: #f0f4ff;
    border-color: var(--primary-light);
}

/* Item avec label (pour "Ouvert maintenant") */
.filter-item-with-label {
    padding: 0.4rem 0.75rem;
}

/* Checkbox personnalisée */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Checkbox custom - plus petite */
.checkbox-custom {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e0;
    border-radius: 3px;
    background: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Icône du filtre */
.filter-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.filter-icon svg {
    width: 16px;
    height: 16px;
}

/* Label du filtre - petit */
.filter-label {
    font-weight: 500;
    color: var(--text);
    font-size: 0.85rem;
}

/* Compteur - petit */
.filter-count {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Actions de filtres */
.filter-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* Boutons compacts */
.btn-compact {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.btn-filter-apply, 
.btn-filter-reset {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    margin: 0;
    flex: auto;
    display: block;
    width: auto;
    text-align: center;
    align-content: center;
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-filter-apply svg, .btn-filter-reset svg {
    width: 17px;
    height: 17px;
    position: relative;
    top: 3px;
    left: -4px;
}

/* Messages d'information des filtres */
.filter-info-messages {
    margin: 0.75rem 0;
    padding: 0;
}

.filter-info-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.filter-info-message:last-child {
    margin-bottom: 0;
}

.filter-info-icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.filter-info-text {
    flex: 1;
}

/* Types de messages */
.filter-info-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.filter-info-warning .filter-info-icon {
    color: #f39c12;
}

.filter-info-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.filter-info-info .filter-info-icon {
    color: #17a2b8;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-options {
        gap: 0.4rem;
    }
    
    .filters-box {
        padding: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .btn-filter-apply,
    .btn-filter-reset {
        width: 100%;
        justify-content: center;
    }
    
    .filter-info-message {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

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

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-item ul {
    list-style: none;
    padding-left: 0;
}

.feature-item li {
    padding: 0.25rem 0;
}

/* Machines grid */
.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Tables */
.pricing-table, .hours-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.pricing-table th, .pricing-table td,
.hours-table th, .hours-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pricing-table th {
    background-color: var(--light-bg);
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border);
}

/* Liens du pied de page */
.footer-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-links a {
    margin: 0;
}

.footer-separator {
    display: inline-block;
    color: var(--border);
    opacity: 0.9;
}

@media (max-width: 576px) {
    footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }
    .footer-links a {
        display: block;
    }
    .footer-separator {
        display: none;
    }
}

/* Mise en page des pages légales */
.legal-page h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.legal-page h2 {
    margin-top: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--primary-dark);
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0.25rem 0 1rem;
}

.legal-page li {
    margin: 0.25rem 0;
}

/* Formulaires */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.form-control:focus {
    border-color: var(--primary);
    outline: 0;
}

/* Recherche */
.search-form {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-form .form-group {    
    display: flex;
    gap: 10px;
    height: 90px;
    padding: 1rem;
}

.search-form input {
    flex: 1;
    padding: 10px 10px 10px 25px;
    border-radius: 30px 0 0 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pagination li {
    margin: 0 0.25rem;
}

.pagination a {
    display: block;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text);
}

.pagination a:hover {
    background-color: var(--light-bg);
}

.pagination .active a {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .disabled a {
    color: var(--text-muted);
    pointer-events: none;
}

/* Filtres alphabétiques */
.alpha-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.alpha-filters a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text);
    background-color: white;
    transition: all 0.2s;
}

.alpha-filters a:hover {
    background-color: var(--primary-light);
    color: white;
}

.alpha-filters a.active {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}

.alpha-filters .letter-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    color: var(--text-light);
    background-color: var(--light-bg);
    opacity: 0.5;
    cursor: not-allowed;
}

.alpha-filters a:first-child {
    width: auto;
    padding: 0 0.75rem;
}

/* Boutons de taille variable */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Hero section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
}

.hero-section img {
    width: 100%;
    margin-bottom: 2rem;
    max-width: 100%;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.stat-card h3 {
    color: var(--primary);
    font-size: 2.5rem;
    margin: 0;
    border-bottom: none;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

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

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Styles pour les cartes */
.map-container {
    position: relative;
    margin-bottom: 2rem;
}

/* Wrapper sticky pour la carte */
.map-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Wrapper sticky pour la carte en bas de page */
.map-sticky-wrapper.map-sticky-bottom {
    position: sticky;
    top: auto;
    bottom: 0;
    z-index: 998;
    margin-top: 2rem;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

/* Disposition en mode paysage (landscape) pour les écrans avec peu de hauteur */
@media (orientation: landscape) and (max-height: 800px) {
    /* Sections carte + résultats en pleine largeur */
    .proximity-section,
    .city-section {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0;
        margin: 0;
    }
    
    .map-sticky-wrapper.map-sticky-bottom {
        position: fixed;
        top: 80px; /* Espace pour le header */
        bottom: 60px; /* Espace pour le footer */
        left: 0;
        width: 40%;
        height: auto; /* Hauteur automatique entre top et bottom */
        margin: 0;
        padding: 0;
        z-index: 997;
        background-color: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    .map-sticky-bottom .map-container.full-width {
        height: 100%;
        margin: 0 !important;
        padding: 0;
        width: 100%;
        background-color: white;
        overflow: hidden;
        max-width: 100%;
    }
    
    .map-sticky-bottom .map-container {
        margin-bottom: 0 !important;
    }
    
    .map-sticky-bottom .map-container.full-width .map {
        height: 100% !important;
        border-radius: 0;
        border-right: 1px solid rgba(0,0,0,0.1);
        margin: 0;
        padding: 0;
    }
    
    /* Forcer le conteneur Leaflet à prendre toute la hauteur */
    .map-sticky-bottom .map-container.full-width .map .leaflet-container {
        height: 100% !important;
    }
    
    .map-sticky-bottom .map-container.full-width .map.map-expanded {
        height: 100vh;
    }
    
    .map-sticky-bottom::before {
        display: none;
    }
    
    /* Ajustement du contenu principal */
    .city-content-single-column,
    .proximity-results {
        margin-left: 40%;
        width: 60%;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 80px; /* Même espace que le top de la carte */
        padding-bottom: 0; /* Même espace que le bottom de la carte */
    }
    
    /* Ajustement de la section de géolocalisation en mode paysage */
    .geolocation-request {
        margin-left: 40%;
        width: 60%;
        padding-left: 1rem;
        padding-top: 80px; /* Même espace que le top de la carte */
    }
    
    /* Bouton pour basculer l'affichage de la carte en mode mobile */
    .map-toggle-visibility {
        display: none !important;
    }
    
    
    /* Filtres sur la carte pour page ville */
    .filters-on-map {
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        max-height: 120px;
        overflow-y: auto;
    }
    
    .filters-on-map .filter-form {
        margin: 0;
    }
    
    .filters-on-map .filter-options {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 5px;
    }
    
    .filters-on-map .filter-item {
        flex: 0 0 auto;
    }
    
    .filters-on-map .filter-actions {
        display: flex;
        gap: 5px;
        margin-top: 5px;
    }
    
    .filters-on-map .btn-compact {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Bouton flottant sur la carte pour recherche de proximité */
.map-floating-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    gap: 8px;
}

.map-floating-button:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Afficher le bouton uniquement en mode paysage */
@media (orientation: landscape) and (max-height: 800px) {
    .map-floating-button {
        display: flex;
    }
}

/* Animation d'entrée pour la carte en bas */
@media (min-height: 600px) {
    .map-sticky-wrapper.map-sticky-bottom {
        animation: slideUpMap 0.5s ease-out forwards;
    }
    
    @keyframes slideUpMap {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

.map-container.full-width {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

@media (orientation: landscape) and (max-height: 800px) {
    /* Sections en pleine largeur */
    .proximity-section,
    .city-section {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0;
        margin: 0;
    }
    
    /* Conteneur principal en pleine largeur */
    .proximity-section .container,
    .city-section .container {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }
    
    /* Carte en pleine largeur */
    .map-container.full-width {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
}


/* Animation d'entrée pour la carte en bas */
@media (min-height: 600px) {
    .map-sticky-wrapper.map-sticky-bottom {
        animation: slideUpMap 0.5s ease-out forwards;
    }
    
    @keyframes slideUpMap {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

.map-container.full-width {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

@media (orientation: landscape) and (max-height: 800px) {
    .map-container.full-width {
        margin-left: 0;
        width: 100%;
    }
}

.map-container.full-width .map {
    border-radius: 0;
    height: 350px;
    transition: height 0.3s ease;
}

.map-sticky-bottom .map-container.full-width .map {
    height: 300px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Carte plus haute sur la page proximité sans résultats */
.geolocation-request + .map-sticky-wrapper .map-container.full-width .map {
    height: 500px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transition: height 0.3s ease;
}

/* Carte sur la page proximité sans résultats en mode paysage */
@media (orientation: landscape) and (max-height: 800px) {
    .geolocation-request + .map-sticky-wrapper .map-container.full-width .map {
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Ajustements pour les appareils mobiles */
@media (max-width: 768px) {
    .map-sticky-bottom .map-container.full-width .map {
        height: 250px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    
    .map-sticky-bottom .map-container.full-width .map.map-expanded {
        height: 400px;
    }
    
    .map-sticky-bottom::before {
        width: 40px;
        height: 4px;
    }
}

/* Styles pour la carte agrandie en bas de page */
.map-sticky-bottom .map-container.full-width .map.map-expanded {
    height: 500px;
}

/* Ajouter un indicateur visuel pour la carte en bas */
.map-sticky-bottom::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 5px;
    opacity: 0.7;
}

/* Texte d'indication pour la carte interactive */
.map-sticky-bottom .map-hint {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.map-sticky-bottom:hover .map-hint {
    opacity: 0;
}

.map-sticky-container.sticky .map-container.full-width .map {
    height: 250px;
}

.map-container.full-width .map-expanded {
    height: 500px;
}

.map {
    height: 400px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.map-expanded {
    height: 600px;
}

.map-toggle {
    position: absolute !important;
    top: 10px;
    right: 10px;
    z-index: 500;
    background-color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-sticky-bottom .map-toggle {
    top: 10px;
    right: 10px;
}

.map-toggle svg {
    width: 20px;
    height: 20px;
}

.map-toggle:hover {
    background-color: var(--light-bg);
}

.map-marker-popup {
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.map-marker-popup h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark);
}

.map-marker-popup p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.map-marker-popup a {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Marqueur de position de l'utilisateur (point bleu clignotant) */
.user-location-marker {
    background: transparent;
    border: none;
}

.user-marker-pulse {
    width: 20px;
    height: 20px;
    background: #4285F4;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
    animation: pulse-user-marker 2s infinite;
    position: relative;
}

.user-marker-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

@keyframes pulse-user-marker {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
}

/* Nearby cities */
.nearby-cities {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nearby-cities h3 {
    margin-top: 0;
}

.distance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem !important;
    color: var(--primary) !important;
    font-weight: 500;
}

.distance svg {
    color: var(--primary);
}

/* ===== STYLES PAGE D'ACCUEIL ===== */

/* Hero section */
.hero-section {
    text-align: center;
    padding: 0 0 3rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-section .hero-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

/* Bouton de géolocalisation */
.geolocation-wrapper {
    margin-bottom: 3rem;
}

.btn-geolocation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-geolocation:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.privacy-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #95a5a6;
}

.privacy-icon {
    vertical-align: middle;
    margin-right: 5px;
}

/* Séparateur */
.separator {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.separator-line {
    height: 1px;
    background: #e0e0e0;
    flex: 1;
    max-width: 200px;
}

.separator-text {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Barre de recherche page d'accueil */
.search-form-home {
    max-width: 600px;
    margin: 0 auto;
}

.search-group-home {
    display: flex;
    gap: 0.5rem;
    border-radius: 50px;
    overflow: hidden;
}

.search-input-home {
    border: none;
    padding: 1rem 1.5rem;
    flex: 1;
    font-size: 1rem;
}

.search-btn-home {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgb(30 136 229 / 25%);
}

.search-icon {
    vertical-align: middle;
    margin-right: 5px;
}

/* Animation spin pour le bouton de géolocalisation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section À propos avec image */
.about-section .about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-section .about-image {
    flex-shrink: 0;
    width: 450px;
    position: relative;
}

.about-section .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                 -1px -1px 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.about-section .about-text {
    flex: 1;
}

@media (max-width: 768px) {
    .about-section .about-content {
        flex-direction: column;
    }
    
    .about-section .about-image {
        width: 400px;
        max-width: 100%;
    }
    
    .image-text-overlay {
        font-size: 1.5rem;
    }
}

/* ===== STYLES PAGE VILLE ===== */

/* Header de la page ville */
.city-header {
    margin-bottom: 1rem;
}

.header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.city-title-section h2 {
    margin: 0 0 0.25rem 0;
    color: var(--primary);
}

.city-header .city-meta {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.city-header .city-description {
    color: var(--text);
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 800px;
}

/* Actions à droite */
.city-actions-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

/* Bouton de géolocalisation principal (plus gros) */
.btn-geolocation-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.btn-geolocation-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-geolocation-main svg {
    width: 18px;
    height: 18px;
}

/* Bouton ajouter laverie (plus petit) */
.btn-add-small {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.4rem 0.85rem;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
    white-space: nowrap;
}

.btn-add-small:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.btn-add-small svg {
    width: 14px;
    height: 14px;
}

/* Message de recensement */
.city-census-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.5rem 0 0 0;
    padding: 0.5rem 0.75rem;
    background: #e7f3ff;
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    font-size: 0.85rem;
    color: #004085;
    max-width: fit-content;
}

.city-census-info svg {
    flex-shrink: 0;
    color: var(--primary);
}

.features {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-with-action {
        flex-direction: column;
    }
    
    .city-actions-right {
        width: 100%;
        align-items: stretch;
    }
    
    .city-actions-right a {
        width: 100%;
        justify-content: center;
    }
}

/* ===== STYLES PAGE VALEURS ===== */
.values-header .subtitle {
    color: var(--text-light);
}

.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.value-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.value-card h3 {
    margin: 0.5rem 0 0.5rem;
    border-bottom: none;
    color: var(--primary);
}

.value-card p {
    margin: 0.25rem 0;
}

.value-card ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0.25rem 0 0.5rem;
}

.value-card li {
    margin: 0.25rem 0;
}

/* ===== STYLES PAGE LAVERIE ===== */

/* Statut d'ouverture dans le header */
.opening-status-header {
    margin: 0.75rem 0;
    font-size: 1.1rem;
}

/* Commentaires utilisateurs */
.user-comments {
    margin-top: 2rem;
}
.comments-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}
.comment-item {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.comment-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
}
.comment-author { color: var(--text); }
.comment-rating { color: #FFD700; letter-spacing: -2px; }
.comment-date { color: var(--text-light); font-size: .85rem; margin-left: auto; }

.comment-form-wrapper {
    background: var(--light-bg);
    border: 1px dashed var(--border);
    padding: 1rem;
    border-radius: 8px;
}
.comment-form h4 { margin: 0 0 1rem; color: var(--primary); }
.comment-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.comment-form .form-group label { font-weight: 600; margin-bottom: .25rem; display: block; }
.comment-form .form-group input,
.comment-form .form-group select,
.comment-form .form-group textarea { width: 100%; }
.comment-form .form-group input,
.comment-form .form-group select { height: 38px; }
.comment-form .btn { margin-top: .5rem; }
.comment-form textarea { resize: vertical; max-width: 100%; }

.comment-flash { margin: .5rem 0 1rem; padding: .6rem .75rem; border-radius: 6px; font-weight: 500; }
.comment-flash-success { background: #e8f5e9; color: #256029; border: 1px solid #c8e6c9; }
.comment-flash-error { background: #fff4e5; color: #8a4b12; border: 1px solid #ffe8cc; }

/* Styles pour les avis Google - Cards compactes */
.laundromat-reviews {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Styles pour le carousel d'avis */
.reviews-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 1rem 0;
}

.reviews-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    z-index: 5;
    margin: 0 0.5rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.carousel-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: #555;
}

.review-item {
    flex: 0 0 300px;
    max-width: 300px;
    margin-right: 1rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 180px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 280px;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Style pour le message de contact premium */
.premium-contact-message {
    background-color: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #555;
    font-style: italic;
}

.review-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.review-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-author {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.review-date {
    color: #666;
    font-size: 0.75rem;
}

.review-text {
    margin-top: 0.5rem;
    line-height: 1.4;
    color: #333;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1;
}

.review-text-full {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.opening-status-display {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Modal pour les avis */
.reviews-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.reviews-modal.active {
    display: block;
}

.reviews-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.reviews-modal-close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: white;
    border: none;
    padding: 0 0.5rem;
    z-index: 1;
}

.reviews-modal-close:hover {
    color: #000;
}

.modal-review-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    scroll-margin-top: 60px;
}

.modal-review-item:last-child {
    border-bottom: none;
}

.modal-review-item.highlighted {
    background-color: #fff3cd;
    border-radius: 8px;
}

/* Animation clignotante pour le statut ouvert (vert) */
@keyframes pulse-glow-green {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 2px #28a745);
    }
    50% {
        opacity: 0.7;
        filter: drop-shadow(0 0 8px #28a745);
    }
}

/* Animation clignotante pour le statut fermé (rouge) */
@keyframes pulse-glow-red {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 2px #dc3545);
    }
    50% {
        opacity: 0.7;
        filter: drop-shadow(0 0 8px #dc3545);
    }
}

/* Appliquer l'animation verte aux icônes d'ouverture */
.opening-open, .opening-24-7 {
    animation: pulse-glow-green 2s ease-in-out infinite;
    color: #28a745 !important;
}

/* Appliquer l'animation rouge aux icônes de fermeture */
.opening-closed {
    animation: pulse-glow-red 2s ease-in-out infinite;
    color: #dc3545 !important;
}

.opening-open-label, .opening-closed-label, .opening-label {
    font-weight: 600;
}

/* Mise en valeur du jour actuel dans les horaires */
.hours-table .current-day {
    background-color: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
}

.hours-table .today-indicator {
    font-size: 0.75rem;
    color: #667eea;
    font-style: italic;
    margin-left: 0.5rem;
    font-weight: normal;
}

.general-info .info-section {
    margin-bottom: 1.5rem;
}

.general-info .info-section h4 {
    margin-bottom: 0.75rem;
}

.payment-icons-wrapper,
.services-icons,
.proximity-icons {
    font-size: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.icon-unknown-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

button#requestLocation {
    margin: 2rem 0 0;
    font-size: 1.4rem;
}

/* ===== STYLES PAGE PROXIMITÉ ===== */

.proximity-header {
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-notice {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: inline-block;
    color: #004085;
}

.geolocation-request {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.geolocation-card {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.geolocation-icon {
    color: #0d6efd;
    margin-bottom: 1rem;
}

.geolocation-error {
    color: #dc3545;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #f8d7da;
    border-radius: 6px;
    display: none;
}

.geolocation-error:not(:empty) {
    display: block;
}

.proximity-results {
    margin-top: 2rem;
}

.results-info {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.distance-badge {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.quality-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.proximity-actions {
    margin-top: 2rem;
    text-align: center;
}

.no-results-card {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ===== STYLES PAGE OFFERS ===== */

.page-header {
    text-align: center;
    padding: 3rem 0 2.5rem;
    margin: 1rem 0 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 6px 18px rgba(102,126,234,.25);
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.page-header h1,
.page-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #ffffff;
}

.page-header .subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
}

.why-section .why-intro {
    margin-bottom: 1.5rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon-ia {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.why-icon-notoriete {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.why-icon-trafic {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.why-icon-proximite {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.why-icon-seo {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.why-icon-galerie {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.why-icon-gestion {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
}

.why-icon-stats {
    background: linear-gradient(135deg, #fdcbf1 0%, #e6dee9 100%);
}

.why-text h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.why-text p {
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

.offers-section {
    padding: 3rem 0;
}

.offers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e0e0e0;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.offer-card.premium {
    border: 3px solid #667eea;
    position: relative;
}

.offer-card.premium:hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.offer-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.offer-header {
    text-align: center;
    margin-bottom: 2rem;
}

.offer-header > div:first-child {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: none;
}

.offer-price {
    font-size: 3rem;
    font-weight: 700;
}

.offer-billing {
    color: #95a5a6;
    font-size: 0.9rem;
}

.offer-features {
    margin-bottom: 2rem;
}

.offer-features ul {
    list-style: none;
    padding: 0;
}

.offer-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.offer-features li:last-child {
    border-bottom: none;
}

.offer-footer a {
    display: block;
    text-align: center;
    padding: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.offer-footer a:hover {
    transform: scale(1.05);
}

.offer-footer a.disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.offer-footer a.disabled:hover {
    transform: none;
}

/* Styles pour la page Valeurs */
.values-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.values-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.values-header .subtitle {
    font-size: 1.2rem;
    color: #666;
}

.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-icon svg {
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.values-commitment {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.values-commitment h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.values-commitment p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .values-content {
        grid-template-columns: 1fr;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* Styles pour les marqueurs personnalisés */
.custom-marker {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    transition: transform 0.3s ease;
}

.custom-marker .marker-inner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    transform: rotate(45deg);
}

.open-marker {
    background-color: #4CAF50; /* Vert */
    animation: pulse-green 2s infinite;
}

.closed-marker {
    background-color: #F44336; /* Rouge */
}

.unknown-marker {
    background-color: #9E9E9E; /* Gris */
}

.marker-highlight {
    transform: rotate(-45deg) scale(1.2) !important;
    z-index: 1000 !important;
}

/* Styles pour les popups Leaflet */
.leaflet-popup {
    margin-bottom: 20px !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 10px 12px;
    line-height: 1.4;
}

.leaflet-popup-tip {
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-close-button {
    padding: 8px 8px 0 0;
}

/* Animation de pulsation pour les marqueurs ouverts */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Styles pour les icônes de statut d'ouverture dans la liste */
.opening-status-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.opening-status-icon.open {
    color: #4CAF50;
}

.opening-status-icon.closed {
    color: #F44336;
}

.opening-status-icon.unknown {
    color: #9E9E9E;
}

/* Styles pour les popups de la carte */
.map-marker-popup {
    padding: 5px;
}

.map-marker-popup h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.map-marker-popup p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.map-marker-popup a {
    display: inline-block;
    margin-top: 5px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.map-marker-popup a:hover {
    text-decoration: underline;
}

/* Styles pour les statuts d'ouverture dans les popups */
.opening-status {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.opening-status.open {
    background-color: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

.opening-status.closed {
    background-color: rgba(244, 67, 54, 0.15);
    color: #c62828;
}

.opening-status.unknown {
    background-color: rgba(158, 158, 158, 0.15);
    color: #616161;
}

/* Styles pour les icônes de statut d'ouverture à gauche des résultats */
.laundromat-row .opening-status-icon {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laundromat-row {
    position: relative;
}

/* Styles pour les options de repositionnement */
.reposition-options {
    margin-bottom: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
}

/* Style pour l'encart d'ajustement de position toujours déployé */
.reposition-options.always-open {
    margin-top: 1.5rem;
    border: 1px solid var(--border);
}

.reposition-options.always-open h4 {
    padding: 1rem;
    margin: 0;
    font-weight: 600;
    color: var(--primary-dark);
    background-color: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
}

.reposition-details {
    width: 100%;
}

.reposition-details summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reposition-details summary:before {
    content: '\25B6';
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.reposition-details[open] summary:before {
    transform: rotate(90deg);
}

.reposition-content {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.reposition-method {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reposition-method h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.geocoding-form .input-group {
    display: flex;
    gap: 0.5rem;
}

.geocoding-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.geocoding-limit {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

.error-message {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(211, 47, 47, 0.1);
    border-radius: 4px;
}

/* Style pour le marqueur utilisateur */
.user-location-marker {
    background-color: #2196F3;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.4);
}

.user-marker-pulse {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(33, 150, 243, 0.6);
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.5);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
    }
}

/* Styles pour le footer */
footer {
    background-color: var(--light-bg);
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-copyright p {
    margin: 0;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Masquer les éléments mobiles sur desktop */
.laundromat-header-mobile,
.laundromat-content-mobile,
.laundromat-actions-mobile {
    display: none;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* ===== OPTIMISATIONS MOBILE - RÉSULTATS DE RECHERCHE ===== */
    
    /* Afficher les éléments mobiles */
    .laundromat-header-mobile,
    .laundromat-content-mobile,
    .laundromat-actions-mobile {
        display: block;
    }
    
    /* Réorganisation des résultats de laveries sur mobile */
    .laundromat-row {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        position: relative;
    }
    
    /* Carte en pleine largeur en haut */
    .laundromat-map-thumbnail {
        width: 100%;
        height: 180px;
        border-radius: 8px 8px 0 0;
        margin: 0;
    }
    
    /* Container pour titre et adresse au-dessus de la carte */
    .laundromat-header-mobile {
        padding: 0.75rem 1rem;
        background: white;
        border-bottom: 1px solid var(--border);
    }
    
    .laundromat-header-mobile h4 {
        margin: 0 0 0.25rem 0;
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .laundromat-header-mobile .address {
        margin: 0;
        font-size: 0.85rem;
        color: var(--text-light);
    }
    
    .laundromat-header-mobile .laundromat-rating {
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
    
    /* Container pour les détails à droite de la carte */
    .laundromat-content-mobile {
        display: flex;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        background: white;
    }
    
    /* Informations (statut + services) à droite */
    .laundromat-info-mobile {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .laundromat-info-mobile .features {
        margin: 0;
        gap: 0.4rem;
    }
    
    .laundromat-info-mobile .features > * {
        font-size: 0.85rem;
    }
    
/* Bouton Détails sous la carte */
    .laundromat-actions-mobile {
        padding: 0.75rem 1rem;
        background: white;
        border-top: 1px solid var(--border);
        border-radius: 0 0 8px 8px;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .laundromat-actions-mobile .btn {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    
    /* Masquer l'ancien layout sur mobile */
    .laundromat-row .laundromat-info {
        display: none;
    }
    
    .laundromat-row .laundromat-actions {
        display: none;
    }
    
    /* Badge de distance pour proximité */
    .distance-badge {
        display: inline-block;
        background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 600;
        margin-left: 0.5rem;
    }
    
    .quality-badge {
        display: inline-block;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    /* ===== OPTIMISATIONS MOBILE - FICHES LAVERIES ===== */
    
    /* Réduction de l'espace des commentaires */
    .laundromat-reviews {
        margin: 1.5rem 0;
    }
    
    /* Carousel plus compact */
    .reviews-carousel-container {
        margin-top: 1rem;
    }
    
    .review-item {
        min-width: 280px;
        max-width: 280px;
        padding: 0.75rem;
    }
    
    .review-header {
        margin-bottom: 0.5rem;
    }
    
    .review-avatar-placeholder {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .review-meta {
        gap: 0.25rem;
    }
    
    .review-author {
        font-size: 0.9rem;
    }
    
    .review-rating {
        font-size: 0.85rem;
    }
    
    .review-date {
        font-size: 0.75rem;
    }
    
    .review-text {
        font-size: 0.85rem;
        line-height: 1.4;
        max-height: 80px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        line-clamp: 4;
    }
    
    /* Flèches du carousel plus petites */
    .carousel-arrow {
        width: 32px;
        height: 32px;
        padding: 0.4rem;
    }
    
    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    /* Section commentaires utilisateurs plus compacte */
    .user-comments {
        margin-top: 2rem;
    }
    
    .comments-list {
        gap: 1rem;
    }
    
    .comment-item {
        padding: 0.75rem;
    }
    
    .comment-meta {
        margin-bottom: 0.5rem;
    }
    
    .comment-author {
        font-size: 0.9rem;
    }
    
    .comment-rating {
        font-size: 0.85rem;
    }
    
    .comment-date {
        font-size: 0.75rem;
    }
    
    .comment-content {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Formulaire de commentaire plus compact */
    .comment-form-wrapper {
        margin-top: 1.5rem;
    }
    
    .comment-form-wrapper h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-control {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    /* ===== AUTRES OPTIMISATIONS MOBILE ===== */
    
    /* Filtres plus compacts sur mobile */
    .filters-box {
        padding: 1rem;
    }
    
    .filter-options {
        gap: 0.75rem;
    }
    
    .filter-item {
        font-size: 0.9rem;
    }
    
    .filter-count {
        font-size: 0.8rem;
    }
    
    /* En-tête de ville plus compact */
    .city-header {
        padding: 1rem 0;
    }
    
    .city-header h2 {
        font-size: 1.5rem;
    }
    
    .city-meta {
        font-size: 0.9rem;
    }
    
    .city-census-info {
        font-size: 0.85rem;
    }
    
    /* Actions en-tête responsive */
    .header-with-action {
        flex-direction: column;
        gap: 1rem;
    }
    
    .city-actions-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .city-actions-right .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Carte principale plus grande sur mobile */
    .map-container.full-width {
        height: 300px;
    }
    
    #cityMap, #proximityMap, #laundryMap {
        height: 300px;
    }
    
    /* Proximité : en-tête plus compact */
    .proximity-header h2 {
        font-size: 1.5rem;
    }
    
    .privacy-notice {
        font-size: 0.85rem;
    }
    
    .proximity-results h3 {
        font-size: 1.3rem;
    }
    
    .results-info {
        font-size: 0.85rem;
    }
}
