/* =========================================================================
   Princesitas - Feuille de style personnalisée Premium
   ========================================================================= */

/* Personnalisation de la barre de défilement (Scrollbar Luxe Clair) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #F3F4F6;
}
::-webkit-scrollbar-thumb {
    background: #B82870;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9E1D5E;
}

/* Transitions globales fluides */
a, button, select, input, textarea {
    transition: all 0.3s ease;
}

/* Styles pour Leaflet Map */
.leaflet-container {
    background: #F3F4F6 !important;
}

/* Marqueurs circulaires personnalisés pour les accompagnatrices sur la carte */
.map-avatar-marker {
    background: transparent;
    border: none;
}

.map-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #B82870;
    box-shadow: 0 4px 10px rgba(184, 40, 112, 0.3);
    background-color: #FFFFFF;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.map-avatar-wrapper:hover {
    transform: scale(1.15);
    border-color: #9E1D5E;
    box-shadow: 0 4px 15px rgba(158, 29, 94, 0.5);
}

.map-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Boutons et éléments de design Rose / Champagne */
.bg-rose-gradient {
    background: linear-gradient(135deg, #B82870 0%, #E55899 50%, #B82870 100%);
}

.border-rose-glow {
    box-shadow: 0 4px 15px rgba(184, 40, 112, 0.08);
}

.border-rose-glow:hover {
    box-shadow: 0 6px 20px rgba(184, 40, 112, 0.15);
}

/* Lightbox Vanilla JS CSS */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 8, 8, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border: 2px solid #D43786;
    box-shadow: 0 0 25px rgba(212, 55, 134, 0.4);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #F8F9FA;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #D43786;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #F8F9FA;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s;
    padding: 20px;
}

.lightbox-arrow:hover {
    color: #D43786;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Sélecteur d'étoiles interactif (formulaire d'avis) */
.star-rating-input {
    display: inline-flex;
}

.star-rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    padding: 0 2px;
    color: #D1D5DB;
    transition: color 0.15s ease;
}

/* La coloration au survol/sélection est gérée en JS (initStarRatingInput) pour un rendu fiable */
