/* styles.css */

/* Ajoutez ce CSS dans votre fichier de style ou dans une balise <style> de votre HTML */
.date {
    display: inline-block; /* Pour permettre le positionnement */
    font-size: 1em; /* Réduire la taille du texte */
    text-align: right; /* Aligner le texte à droite */
    width: auto; /* Ajuster la largeur automatiquement */
    float: right; /* Positionner à droite */
    padding-right: 1px; /* Ajouter un petit espace à droite */
    white-space: nowrap; /* Empêcher le texte de passer à la ligne */
}

    /* Style pour les éléments <span> avec la classe date */
    span.date {
        background-color: skyblue;
        font-family: 'Times New Roman', Times, serif; /* Change la police */
        font-size: 16px; /* Change la taille de la police */
        color: black; /* Change la couleur du texte */
        font-weight: bold; /* Met le texte en gras */
    }
    
        body {
            display: flex;
            flex-direction: row;
            font-size: 1vw;
            background-image: url('melocycles.jpg'); /* Remplacez par le chemin de votre image */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
        }

        #container {
            display: flex;
            flex-direction: column;
            width: 10%;
            border: 1px solid black;
            padding: 10px;
        }

        #userDisplay {
            margin-bottom: 10px;
            font-weight: bold;
            font-size: 1.2em;
        }

        .zones {
            display: flex;
            justify-content: space-between;
            width: 100%;
            height: 400px;
            margin-top: 5px;
        }

        .zone {
        /* Ajoutez l'image de fond */
            background-image: url('partition.png');
            background-size: cover; /* Ajuste la taille de l'image pour couvrir la cellule */
            background-repeat: no-repeat; /* Empêche la répétition de l'image */
            background-position: center; /* Centre l'image dans la cellule */
            width: 20%;
            height: 100%;
            border: 1px solid black;
            position: relative;
            overflow: hidden;
            font-size: 1em;
            background-color: #f0f0f0;
        }

        .card {
            background-color: lightblue;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 10px;
            position: absolute;
            cursor: pointer;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 1em;
            border-radius: 8px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .card:hover {
            transform: scale(1.1);
        }

        .card.dragging {
            transform: scale(1.2);
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        }

        .zone-title {
            
            text-align: center;
            font-weight: bold;
            margin-bottom: 10px;
            z-index: 1;
            font-size: 1em;
        }

        #tables {
        
            width: 80%;
            padding: 10px;
        }

        table {
        
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        th, td {
        
            border: 1px solid black;
            padding: 10px;
            text-align: center;
        }

        #toggleButton {
            width: 100px;
            padding: 5px;
            margin-bottom: 10px;
        }

        #saveButton {
            display: none;
        }

        .trimestre {
        background-color: skyblue;
            margin-bottom: 40px;
        }
