:root {
    --rose: rgb(238, 191, 218);
    --rosePale: lightpink;
}

/*.startnavbar {
    background-color: var(--rose);
}*/

.social-icon {
    color: rgba(96, 204, 197, 0.8) !important;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: rgba(96, 204, 197, 1) !important;
}

/****** login ******/
/* Style pour le bouton de connexion/déconnexion */
.login-btn {
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: 500;
}

.login-btn.connected {
    background-color: #dc3545; /* Rouge pour déconnexion */
    color: white;
}

.login-btn.disconnected {
    background-color: rgba(96, 204, 197, 80);
    color: white;
}

.login-btn i {
    margin-right: 5px;
}

.password-toggle {
    cursor: pointer;
    color: #6c757d;
}

.password-toggle:hover {
    color: #495057;
}

.form-text {
    font-size: 0.875rem;
}

.password-toggle {
    cursor: pointer;
    color: #6c757d;
}

.password-strength {
    height: 5px;
    margin-top: 5px;
    border-radius: 3px;
}

/***** fin login *****/

.hero {
    background-image: url("../img/enteteSal-min.jpg");
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    font-family: Arial, sans-serif;
    /*color: rgb(49, 39, 130);*/
    color: white;
}

.c-rose {
    /*background-color: #F2C9BB;*/
    background-color: var(--rose);
    min-height: 90vh;
}

.rose {
    margin-top: 20vh;
    /*background: var(--rose);*/
    background: rgba(255, 255, 255, 0.4);
}

.test {
    background-color: rgba(96, 204, 197, 80);
}

img.logo {
    max-width: 300px; /* Largeur maximale pour le logo */
    height: auto; /* Conserve le ratio d'aspect */
    margin-bottom: 30px; /* Espacement entre le logo et le texte */
}

.overlay-accueil {
    background-color: rgba(0, 0, 0, 0.6); /* Couche sombre pour améliorer la lisibilité du texte */
    margin-top: 50px;
    padding: 60px;
    border-radius: 10px;
    max-width: 100%; /* Limite la largeur sur les écrans petits */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.accueil {
    font-size: 3em;
    margin-bottom: 20px;
}

.small {
    background-color: antiquewhite;
}

.lettrine{
    font-family: 'altesse-std-64pt';
    font-size: 2em;
}

.nom-ent{
    font-family: 'altesse-std-64pt';
    font-size: 2.5em;
}

.overlay-accueil h3 {
    font-size: 1.8em;
    margin: 10px 0;
}

.test {
    height: 75vh;
    padding-top: 24px;
    background-color: rgba(96, 204, 197, 80);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.my-header {
    padding-top: 3rem;
    /*font-size: 1rem;
    background-color: #b6f080;*/
}

.my-header h1 {
    font-size: 4em;
}

/*********/

/* Conteneur de la carte */
.map-section {
    max-width: 600px; /* Réduit la taille maximale de la carte */
    margin: 0 auto;
}

/* Wrapper de la carte */
.map-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-bottom: 65%; /* Ratio légèrement plus carré pour une carte plus petite */
}

/* Style de l'iframe de la carte */
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Style de l'image de la fée */
.fond-img {
    background-color: rgba(96, 204, 197, 80);
}

/* Style de l'image de la fée */
.fee-image {
    position: absolute;
    bottom: -10px; /* Légèrement en dessous de la carte */
    right: -10px;  /* Légèrement à droite de la carte */
    max-width: 250px; /* Taille de l'image augmentée */
    height: auto;
    z-index: 10;
    transform: translate(0, 0); /* Pas de décalage supplémentaire */
}

/* Ajustement pour mobile */
@media (max-width: 767px) {
    .map-wrapper {
        padding-bottom: 80%; /* Ratio plus adapté pour mobile */
    }
    .fee-image {
        max-width: 200px; /* Taille légèrement réduite sur mobile */
        bottom: -5px;
        right: -5px;
    }
}

/******/

/* Style pour l'image du footer */
.footer-image-container {
    position: relative;
    height: 100px; /* Hauteur fixe pour l'espace réservé */
    margin-top: -40px; /* 1/4 de l'image au-dessus du footer */
    z-index: 1;
}

.footer-image {
    width: 194px;
    height: auto; /* Conserve les proportions */
    max-height: 160px;
    position: absolute;
    top: 25px;
    left: 10%;
    transform: translateX(-50%);
}

/* Assure que le footer a une position relative pour le positionnement absolu de l'image */
footer {
    position: relative;
    background-color: rgba(96, 204, 197, 0.8);
    padding-top: 60px; /* Espace pour l'image */
}

.img-fixed {
    width: 309px;
    object-fit: cover;
}

.container-page {
    margin-top: 0.5vh;
}

.my-presta {
    padding-bottom: 12px;
}

.my-presta-titre {
    white-space: nowrap;
}
/*.essai {
    max-width: 100%;
}*/

.style-dotted {
    line-height: 1;
    width: 100%;
    margin: 2px 5px 0 10px;
    border-bottom-width: 2px;
    border-bottom-color: rgba(96, 204, 197, 80);/*#ed0b0b;*/
    border-bottom-style: dotted;
}

 /* Styles personnalisés pour les vignettes */
  .vignette {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 300px;
  }
  .vignette:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }
  .vignette img {
    width: 100%;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s;
  }
  /* Overlay pour le titre */
  .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
  }
  /* Style pour le lien */
  .lien-vignette {
    cursor: pointer;
    text-decoration: none;
    display: inline-block; /* pour que le curseur fonctionne bien */
  }

.text-justify {
    text-align: justify;
}

.presta {
    width: 100%;
    margin-top: 5px;
    padding: 15px;
    font-weight: bold;
    background-color: grey;
}

.details {
    text-align: right;
}

/* Styles pour le panier */
    .card-shadow {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .list-group-item {
        border-left: none;
        border-right: none;
    }

    .badge.bg-primary {
        font-size: 1rem;
        padding: 0.35em 0.65em;
    }

    .details-panier {
        margin-top: 10px;
    }

    /* Style pour les boutons d'action */
    .btn-outline-secondary {
        border-color: #6c757d;
        color: #6c757d;
    }

    .btn-outline-secondary:hover {
        background-color: #6c757d;
        color: white;
    }

    /* Style pour le bouton "Ajouter une prestation" */
    #add-prestation-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .btn-primary {
        border: 0;
        background-color: rgba(96, 204, 197, 80);
    }

    .btn-primary:hover {
        background-color: rgba(85, 187, 180, 80);
    }

    .btn-primary:active {
        background-color: rgba(85, 187, 180, 80);
    }

/* Styles pour le calendrier 
    #calendar-container {
        margin-top: 2rem;
        padding: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        background-color: #f8f9fa;
    }

    #mois-annee {
        margin-bottom: 1rem;
    }

    .fleche {
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 0.25rem;
        background-color: #e9ecef;
    }

    .fleche:hover {
        background-color: #dee2e6;
    }

    .lines {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .cell {
        width: 14.28%;
        text-align: center;
        padding: 0.5rem;
        box-sizing: border-box;
        font-weight: bold;
    }

    .cellNum {
        width: 14.28%;
        text-align: center;
        padding: 0.5rem;
        box-sizing: border-box;
        cursor: pointer;
        border: 1px solid transparent;
        border-radius: 0.25rem;
    }

    .cellNum:hover:not(.jour-ferme) {
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

    .date-selected {
        background-color: #0d6efd;
        color: white;
        font-weight: bold;
    }

    .jour-ferme {
        background-color: #f8f9fa;
        color: #adb5bd;
        cursor: not-allowed;
    }

    #horaires-container {
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        background-color: white;
    }

    #horaires tbody tr:hover {
        background-color: #f8f9fa;
        cursor: pointer;
    }*/

/*#btn-semaine-prev, #btn-semaine-next {
    display: none;
}*/

/* Styles personnalisés pour la vignette 
.vignette {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.vignette:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.vignette img {
    width: 100%;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s;
}
/* Overlay pour titre ou info 
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
}*/

/*.style-dotted {
    white-space: nowrap;
    position: relative;
    /*width: 77%;/
    overflow: hidden;
}

.style-dotted:after {
    content: "..............................................................................................................";
    letter-spacing: 0.375rem;
    font-size: 0.938rem;
    color: #9cbfdb;
    display: inline-block;
    vertical-align: 0.188rem;
    padding-left: 0.625rem;
    /*padding-right: 0.625rem;/
}


@media (min-width: 768px) and (max-width: 991.98px) {
    .style-dotted:after {
        content: "..........................................................................................................";
    }
}

@media (min-width: 1200px) {
    .style-dotted:after {
        content: ".........................................................................................................";
        letter-spacing: 0.375rem;
    }
}*/