/*body {
    background-color: skyblue;
}
*/

.btn:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}


.centimes {
    font-size: 0.3em; /* Réduit la taille de police à 70% */
    vertical-align: top; /* Aligne les centimes légèrement au-dessus des euros */
}


.remove-media {
    background-color: transparent;
    color: #dc3545; /* Rouge Bootstrap */
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.remove-media:hover {
    opacity: 1;
    color: #bd2130; /* Rouge légèrement plus sombre */
}

.media-item.removing {
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.social-option {
    cursor: pointer;
    position: relative;
}

.social-option .icon-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    width: 100px;
    height: 100px;
    padding: 10px;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.social-option .icon-wrapper span {
    margin-top: 8px; /* Ajoute de l'espace entre l'icône et le texte */
    font-size: 0.85rem;
    color: #6c757d;
}

.social-option input:checked + .icon-wrapper {
    border-color: #0d6efd;
    background-color: #e9f5ff;
    color: #0d6efd;
}

.social-option .icon-wrapper:hover {
    border-color: #0d6efd;
}

/* calendar */
/* Styles communs pour les deux vues */
.calendar-body {
    /*overflow-x: auto;*/
}

/* Styles pour la vue mois */
.day {
    position: relative;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column; /* Aligne le contenu verticalement */
    justify-content: space-between; /* Répartit le contenu de manière égale */
    height: 120px; /* Hauteur fixe pour tous les blocs */
    max-height: 120px; /* Empêche les blocs de s'étendre */
    overflow: hidden; /* Cache le contenu excédentaire */
    text-align: left;
}
.day:hover {
    overflow-y: auto; /* Active le défilement lorsque l'utilisateur survole */
}
.day::-webkit-scrollbar {
    width: 0; /* Rend la scrollbar invisible */
}

.day::-webkit-scrollbar-thumb {
    display: none; /* Aucune poignée de défilement visible */
}
.day.today {
    border-color: #007bff; /* Bordure bleue */
    background-color: #e7f1ff; /* Fond bleu clair */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Effet d'ombre */
    transform: scale(1.05); /* Zoom léger */
    z-index: 10; /* Priorité sur les autres */
}
.day .date {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    color: #999;
}
.post {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff); /* Dégradé léger pour un rendu moderne */
    border: 1px solid #d4eafc; /* Bordure douce */
    border-radius: 12px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin-top: 0.5rem;
    gap: 8px; /* Espacement entre les icônes et le texte */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Effet au survol */
    cursor: pointer;
}

.post:hover {
    transform: translateY(-3px); /* Légère élévation au survol */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Accentuation de l'ombre */
}

.post .social-logos {
    display: flex;
    gap: 6px; /* Espacement entre les icônes */
    overflow-x: auto; /* Active le défilement horizontal */
    max-width: 120px; /* Largeur maximale de la zone d'icônes */
    scrollbar-width: thin; /* Minimise la largeur de la scrollbar (Firefox) */
    scrollbar-color: #d4eafc transparent; /* Couleur personnalisée pour la scrollbar (Firefox) */
}

.post .social-logos img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.post .social-logos::-webkit-scrollbar {
    height: 4px; /* Minimise la hauteur de la scrollbar (Chrome, Edge, etc.) */
}

.post .social-logos::-webkit-scrollbar-thumb {
    background: #d4eafc; /* Couleur de la poignée de scrollbar */
    border-radius: 4px; /* Coins arrondis */
}

.post .social-logos::-webkit-scrollbar-track {
    background: transparent; /* Fond transparent */
}

.post span {
    font-size: 0.85rem; /* Taille de texte adaptée */
    color: #333; /* Texte sombre pour une bonne lisibilité */
    flex-grow: 1; /* Permet au texte de prendre l'espace restant */
    text-overflow: ellipsis; /* Tronque si nécessaire */
    white-space: nowrap; /* Pas de retour à la ligne */
    overflow: hidden;
}

/* Styles pour la vue semaine */
.week-header {
    position: sticky;
    top: 0;
    background-color: #f9f9f9;
    z-index: 100;
}

.time-column {
    width: 80px;
    min-width: 80px;
    text-align: center;
    font-weight: bold;
    color: #666;
    background-color: #f0f0f0;
}

.day-column {
    flex: 1;
    /*min-width: 120px;*/
    position: relative;
}

.day-header {
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 5px;
}

.today-header {
    background-color: #e7f1ff;
    border: 1px solid #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    transform: scale(1.05);
}

.week-row {
    min-height: 60px;
}

.hour-cell {
    position: relative;
    min-height: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    overflow-y: hidden;
}

.hour-cell:hover {
    overflow-y: auto;
}

.hour-cell::-webkit-scrollbar {
    width: 3px;
}

.hour-cell::-webkit-scrollbar-thumb {
    background: #d4eafc;
    border-radius: 3px;
}

.hour-cell::-webkit-scrollbar-track {
    background: transparent;
}

/* Style pour les posts dans la vue semaine */
.post-week {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
    border: 1px solid #d4eafc;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 6px 10px;
    margin-top: 0.5rem;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    font-size: 0.85rem;
}

.post-week:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.post-week .post-time {
    font-weight: bold;
    color: #555;
    min-width: 45px;
}

.post-week .social-logos {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    max-width: 100px;
    scrollbar-width: thin;
    scrollbar-color: #d4eafc transparent;
    flex-shrink: 0;
}

.post-week .social-logos img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.post-week .social-logos::-webkit-scrollbar {
    height: 3px;
}

.post-week .social-logos::-webkit-scrollbar-thumb {
    background: #d4eafc;
    border-radius: 3px;
}

.post-week .social-logos::-webkit-scrollbar-track {
    background: transparent;
}

/* Styles pour les bordures selon le statut */
.border-primary {
    border-left: 4px solid #007bff !important;
}

.border-secondary {
    border-left: 4px solid #6c757d !important;
}

.border-success {
    border-left: 4px solid #28a745 !important;
}

.border-danger {
    border-left: 4px solid #dc3545 !important;
}

.border-info {
    border-left: 4px solid #17a2b8 !important;
}

/* Responsive design pour la vue semaine */
@media (max-width: 767.98px) {
    .day-column {
        /*min-width: 100px;*/
        overflow: hidden;
    }

    .post-week {
        padding: 4px 6px;
        font-size: 0.75rem;
    }

    .post-week .post-time {
        min-width: 35px;
    }

    .post-week .social-logos {
        max-width: 60px;
    }

    .post-week .social-logos img {
        width: 16px;
        height: 16px;
    }
}

/* Gestion des cellules horaires alternées pour une meilleure lisibilité */
.week-row:nth-child(even) .hour-cell {
    background-color: #f5f5f5;
}

/* Meilleure visualisation des heures actuelles */
.current-hour {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

/* testimonial */
.testimonial-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 300px; /* Ajustez selon vos besoins */
    margin-right: 20px;
}
