 
.modal-calendar .day.bg-green { 
    background-color: #28a745 !important; 
    color: white;
}
.modal-calendar .day.bg-red { 
    background-color: #dc3545 !important; 
    color: white;
}


/* dates disponibles : main pointé */
.calenderDaysweekDays .day.bg-green { cursor: pointer; }

/* tags */
.tag{
    display: inline-flex;
    align-items: center;
    background: #DAA35B;
    color: #fff;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 11px;
    gap: 8px;
    animation: fadeIn .2s ease;
}
@keyframes fadeIn{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}

/* CARTE : bloc + clear + curseurs + fix images tiles */
#prestataire-map{display:block;clear:both;cursor:grab;width:100%;min-height:250px;border-radius:8px}
#prestataire-map:active{cursor:grabbing}
#prestataire-map img{max-width:none !important} /* évite le shrink des tiles */

/* ZONE DESSERVIE : correction styles + toggle button */
.zones-header{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    width:100%;
}

.zones-list{
    display:block !important;
    padding: 0;
    margin: 0 0 25px;
    list-style:none;
}

.zones-list li{
    display:block !important;
    list-style:none;
    padding:6px 0;
    border-bottom:1px solid #f0f0f0;
}

.zones-list li:last-child{
    border-bottom:none;
}

/* Correction du bouton de toggle avec flèche */
.profilePrestatireLastLeftbtn{
    background:none !important;
    border:none !important;
    cursor:pointer;
    padding:5px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all 0.3s ease;
}

.profilePrestatireLastLeftbtn:hover{
    border-radius:4px;
}

#zones-arrow{
    transition:transform 0.3s ease;
    width:20px !important;
    height:20px !important;
    object-fit:contain;
}

#zones-content{
    margin-top: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 33px;
    width: 100%;
}

.zones-empty-message{
    opacity:0.7;
    font-style:italic;
    color:#666;
    padding:10px 0;
}

/* carousel (léger, respecte ton layout) */
#carousel{position:relative}
#carousel .carousel-img{width:100%;object-fit:cover;border-radius:12px}
#carousel .carousel-img.active{display:block}
#carousel .carousel-nav{position:absolute;top:50%;transform:translateY(-50%);
  border:none;background:rgba(0,0,0,.45);color:#fff;width:38px;height:38px;border-radius:50%;cursor:pointer}
#carousel .carousel-nav.prev{left:10px}
#carousel .carousel-nav.next{right:10px}
#carousel .carousel-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:12px;display:flex;gap:8px}
#carousel .carousel-dots .dot{width:10px;height:10px;border-radius:50%;border:none;background:rgba(255,255,255,.6);cursor:pointer}
#carousel .carousel-dots .dot.active{background:#DAA35B}

/* Fix responsive pour les zones de service */
@media (max-width: 768px) {
    .profilePrestatireLastLeft {
        flex-direction:column !important;
        align-items:flex-start !important;
        padding:20px !important;
    }
    
    .zones-header {
        margin-bottom:10px;
    }
    
    #zones-content {
        width:100%;
    }
}

/* Modal styles simplifiés */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 25px;
    border-radius: 12px;
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 1000px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover { color: black; }

#contactMessage, #reservationMessage {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 12px 0;
    resize: vertical;
    font-family: inherit;
}

#reservationDate {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 12px 0;
    font-family: inherit;
}

/* Styles pour la modal de réservation */
.modal-calendar-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.modal-calendar {
    flex: 1;
    min-width: 350px;
}

.modal-form-section {
    flex: 1;
    min-width: 300px;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

.selected-date-info {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #DAA35B;
}

.selected-date-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.selected-date {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.modal-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-cancel, .btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-submit {
    background: #daa45b;
    color: white;
}

.btn-submit:hover:not(:disabled) {
    background: #218838;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.modal-calendar .day {
    padding: 5px 0 !important;
    margin: 5px 0 !important;
    height: auto !important;
    border-radius: 4px !important;
}

/* Styles pour le calendrier modal */
.modal-calendar .day.selected {
    background: #daa45b !important;
    color: white !important;
}

.modal-calendar .day.bg-green {
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-calendar .day.bg-green:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.modal-calendar-legend {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-calendar-legend p {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.modal-calendar-legend i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

/* Responsive pour la modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 98%;
        max-height: 95vh;
        padding: 15px;
    }
    
    .modal-calendar-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .modal-form-section {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }
    
    .modal-calendar {
        min-width: auto;
    }
    
    .modal-form-actions {
        flex-direction: column;
    }
    
    .btn-cancel, .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Notification toast */
#notificationToast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    display: none;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

#notificationToast.show {
    display: block;
    animation: slideIn 0.3s ease;
}

#notificationToast.success {
    background: #28a745;
}

#notificationToast.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
 

/* Styles additionnels pour la section avis */
.avis-section .fas, .avis-section .far {
    color: #DAA35B;
}

.avis-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.notes-bars {
    max-width: 400px;
}

.rating-overview {
    min-width: 120px;
}

@media (max-width: 768px) {
    .avis-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .avis-item .avis-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .avis-rating {
        align-self: flex-start;
    }
    
    .notes-distribution {
        padding: 15px;
    }
    
    .notes-bars {
        max-width: 100%;
    }
}




/* ====== CSS SUPPLÉMENTAIRE POUR PROFIL.PHP ====== */

/* ====== OVERLAY POUR PHOTOS MANQUANTES ====== */
.profilePrestatireHeadAvatar.no-photo {
    position: relative;
    overflow: hidden;
}

.profilePrestatireHeadAvatar.no-photo .overlayImage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.profilePrestatireHeadAvatar.no-photo .no-photo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3;
    font-size: 14px;
}

.profilePrestatireHeadAvatar.no-photo .no-photo-text i {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
    opacity: 0.8;
}

/* Carousel sans photos */
.carousel-no-photos {
    position: relative;
    overflow: hidden;
}

.carousel-no-photos .overlayImage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.no-photos-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3;
}

.no-photos-overlay i {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.8;
}

.no-photos-overlay span {
    font-size: 18px;
    font-weight: 500;
}

/* ====== STATISTIQUES DANS LE HEADER ====== */
.statistics-section {
    margin-top: 15px;
    padding: 15px;
    background: rgba(218, 163, 91, 0.1);
    border-radius: 8px;
    border-left: 4px solid #DAA35B;
}

.stats-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #DAA35B;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====== ONGLET STATISTIQUES DÉTAILLÉES ====== */
.statistics-detailed {
    padding: 20px 0;
}

.statistics-detailed h3 {
    color: #102633;
    margin-bottom: 30px;
    font-size: 24px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 15px;
}

.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #DAA35B, #C8924F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.stat-card-content h4 {
    font-size: 32px;
    font-weight: bold;
    color: #102633;
    margin: 0 0 5px 0;
    line-height: 1;
}

.stat-card-content p {
    font-size: 16px;
    color: #666;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.stat-card-content small {
    color: #999;
    font-size: 14px;
}

/* Sources de trafic */
.traffic-sources {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.traffic-sources h4 {
    color: #102633;
    margin-bottom: 20px;
    font-size: 18px;
}

.sources-list {
    space-y: 12px;
}

.source-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.source-item:last-child {
    border-bottom: none;
}

.source-type {
    font-weight: 500;
    color: #102633;
}

.source-count {
    color: #DAA35B;
    font-weight: bold;
}

/* Interactions */
.interactions-stats {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.interactions-stats h4 {
    color: #102633;
    margin-bottom: 20px;
    font-size: 18px;
}

.interactions-list {
    space-y: 12px;
}

.interaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.interaction-item:last-child {
    border-bottom: none;
}

.interaction-type {
    font-weight: 500;
    color: #102633;
}

.interaction-count {
    background: #DAA35B;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
}

/* ====== MODAL D'AUTHENTIFICATION ====== */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.3s ease;
    position: relative;
}

.auth-modal-overlay.show .auth-modal-content {
    transform: translateY(0);
}

.auth-modal-header {
    position: relative;
    padding: 20px 20px 0;
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.auth-modal-body {
    padding: 20px 30px 30px;
}

.auth-modal-intro {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.auth-modal-intro h3 {
    color: #102633;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.auth-modal-intro p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.auth-options {
    margin-bottom: 30px;
}

.auth-option {
    text-align: center;
    margin-bottom: 20px;
}

.auth-option h4 {
    color: #102633;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-option p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-login, .btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-login {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-register {
    background: linear-gradient(135deg, #DAA35B, #C8924F);
    color: white;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 163, 91, 0.4);
    color: white;
    text-decoration: none;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .statistics-section {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .auth-modal-content {
        margin: 10px;
        border-radius: 15px;
    }
    
    .auth-modal-body {
        padding: 15px 20px 25px;
    }
    
    .auth-modal-intro h3 {
        font-size: 20px;
    }
    
    .btn-login, .btn-register {
        padding: 12px 25px;
        font-size: 14px;
    }
}
