.solde-absences-container {
    margin: 30px auto;
    color: #1A5276;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: rgba(26, 82, 118, 0.1);
    border: 1px solid rgb(26, 82, 118);
    border-radius: 8px;
    padding: 16px 20px;
    width: fit-content;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.solde-absences-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solde-absences-label {
    font-size: 16px;
    text-align: center;
}

.progress-bar-absences {
    background-color: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    height: 20px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-fill-absences {
    height: 100%;
    background-color: rgb(26, 82, 118);
}

.progress-fill-absences-secondary {
    height: 100%;
    background-color: #85C1E9;
}

.absence-injustifiee-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 450px;
}
.absence-button.disabled {
    background: #f1f1f1;
    color: #aaa;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.absence-container {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:80px
}

.absence-buttons {
    display: flex;
    gap: 40px;
}

.absence-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 450px;
    height: 200px;
    padding: 20px;
    background-color: rgb(26, 82, 118);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.absence-button:hover {
    background-color: rgb(36, 112, 158);
    transform: scale(1.03);
    color:white;
}

.absence-button h2 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    text-align: center;
}

.absence-button p {
    font-size: 1em;
    text-align: center;
    margin: 0;
    opacity: 0.9;
}