button, input, optgroup, select, textarea {
    color: #000;
}

.bg-black {
    background: #000;
}

.bg-primary {
    background: var(--primary);
}

.bg-primary:hover {
    background: var(--primary-dark);
}

/* Styles pour le logo dans la page de connexion */
.application-logo {
    width: 200px;
    object-fit: contain;
}

/* Conteneur du logo */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-opacity-x {
    box-shadow: 0 0 30px rgba(0, 0, 0, 1), 
                0 0 60px rgba(0, 0, 0, 0.4), 
                0 0 100px rgba(0, 0, 0, 0.2);
}

.bg-opacity-10 {
    background: rgba(255, 255, 255, 0.2);
}

.text-white-700 {
    --tw-text-opacity: 1;
    color: #fff;
}

a.text-white-700:hover {
    --tw-text-opacity: 1;
    color: var(--primary);
}

.flex-column {
    flex-direction: column;
}

/* Modal d'aide */
#helpModal {
    backdrop-filter: blur(8px);
    border-radius: .75rem;

    .modal {
        border-radius: 1rem;
    }

    .header {
        /* height: 80px; */
        padding: 1rem 2rem;

        i {
            font-size: 45px;
        }

        h1 {
            font-size: 45px;
        }
    }

    .content {     

        button {
            border-radius: 1rem;
            cursor: pointer;
        }
    }
}

#helpModal > div {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-out;
}

#helpModal > div.show {
    transform: scale(1);
    opacity: 1;
}

#helpModal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    border-radius: 1rem;
}

/* Style des boutons */
#helpModal .modal-close {
    transition: all 0.2s ease-out;
}

#helpModal .modal-close:hover {
    transform: scale(0.95);
}

/* Bouton de fermeture */
#helpButtonClose {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 50;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

#helpButtonClose i {
    font-size: inherit;
}

/* Animation du bouton d'aide */
#helpButton {
    animation: pulse 2s infinite;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    transition: all 0.2s ease-out;
}

#helpButton:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Styles pour les messages d'erreur */
.text-red-600 {
    color: #ff3333 !important;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgb(255 255 255 / 60%);
    border-radius: 0.5rem;
    border-left: 4px solid #ff3333;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Style pour les champs avec erreur */
.input-error {
    border: 2px solid #ff3333 !important;
}