.swiper-mon-compte {
    height: 100%;
}

/* Wrapper to make sure all cards in the slider have the same height */
.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

/* Each slide should take full height of the tallest element */
.swiper-slide {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.card-container {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background-color: #fcfcfc;
    height: 100%; /* Ensure the card takes full height */
}

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Style pour l'entête de la carte avec le cercle et le titre */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.5rem;
}

.header-carte-atelier {
    padding-bottom: 16px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.card-title {
    margin: 0;
    font-size: 1.2rem;
    padding-bottom: 0px;
}

.card-image {
    width: 100%;
    height: 150px; /* Hauteur fixe pour toutes les images */
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplit le cadre sans déformation */
}


/* Style pour le nombre de places disponibles */
.badge {
    padding: 0.25em 0.6em;
    font-weight: 800;
    background-color: white;
    color: black;
    font-size: 15px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    border-radius: 6px;
}

/* Style pour les textes */
.card-text-titre {
    color: #b3b3b3;
    font-size: smaller;
    padding-bottom: 0px;
    margin-bottom: 0px;
}


/* Styles pour les boutons d'action */
.btn {
    margin-top: 0.5rem;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.btn-disabled, .btn:disabled {
    background-color: #cccccc; /* Gris pour indiquer le désactivé */
    color: #666666; /* Texte plus sombre */
    cursor: not-allowed; /* Icône du curseur pour indiquer non-cliquable */
}

.swiper {
    width: 100%;
}

.swiper-slide .swiper-slide-next {
    width: auto !important;
}

.reserver-atelier {
    color: white;
    width: 100%;
    background-color: black;
}

.atelier-separation {
    width: 8%;
    height: 4px;
    margin-left: 0;
    margin-top: 0;
    border-radius: 30px;
    border: none;
    background-color: #256A88;
}

.swiper {
    padding-bottom: 45px !important;
    margin-bottom: 50px !important;
}

/* Responsive layout for smaller devices */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .affichage-ateliers h4 {
        line-height: 32px;
    }

    .atelier-separation {
        width: 32%;
        height: 4px;
        margin-left: 0;
        margin-top: 0;
        border-radius: 30px;
        border: none;
        background-color: #256A88;
    }
}


/* BACKOFFICE */
.intervenant-tag, .creneaux-selectionnes {
            background-color: #5C6BC0;
            color: #fff;
            border-radius: 2px;
            padding-right: 6px;
            padding-left: 6px;
            margin-right: 5px; 
            padding-bottom: 5px;
            padding-top: 3px;
            display: inline-block; 
}

.intervenant-tag span, .creneaux-selectionnes span {
            font-size: 16px;
            font-weight: bold;
}

/* Toast notifications */
.webee-toast {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.webee-toast--visible {
    transform: translateY(0);
    opacity: 1;
}

.webee-toast--error {
    background-color: #dc3545;
}

.webee-toast--warning {
    background-color: #e67e22;
}

.webee-toast--success {
    background-color: #28a745;
}

.webee-toast-message {
    flex: 1;
    margin-right: 15px;
}

.webee-toast-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    opacity: 0.8;
}

.webee-toast-close:hover {
    opacity: 1;
}