﻿.event-wrapper {
    width: 100%;
    height: 100%;
    padding: 2px;
    box-sizing: border-box;
}

/* Style spécifique pour l'absence */
.event-wrapper.is-absence {
    /* On crée un effet de hachures mixtes (blanc et noir transparent) */
    background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.2), /* Rayure blanche translucide */
    rgba(255, 255, 255, 0.2) 10px, rgba(0, 0, 0, 0.1) 10px, /* Rayure noire translucide */
    rgba(0, 0, 0, 0.1) 20px );
    /* On ajoute une bordure contrastée */
    border: 1px dashed rgba(255, 255, 255, 0.5) !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); /* Double bordure interne */

    position: relative;
}

/* Icône adaptative */
.event-wrapper.is-absence::after {
    content: "\e108";
    font-family: "WebComponentsIcons";
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 14px;
    /* Ombre portée sur l'icône pour qu'elle soit lisible sur clair ET foncé */
    color: white;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.8);
    font-weight: bold;
}