/* Styles pour les pages d'authentification */

/* Vidéo de fond */
body.auth-page {
    position: relative;
    min-height: 100vh;
}

body.auth-page #auth-video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

body.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* Conteneur principal au-dessus de la vidéo */
body.auth-page #containerPublic {
    position: relative;
}

/* Cartes des formulaires plus transparentes */
body.auth-page .card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* En-tête de carte légèrement transparent */
body.auth-page .card-header {
    background: rgba(13, 110, 253, 0.9) !important;
    backdrop-filter: blur(5px);
}

/* Modal également transparente et au-dessus de tout */
body.auth-page .modal-backdrop {
    z-index: 1050 !important;
}

body.auth-page .modal {
    z-index: 1055 !important;
}

body.auth-page .modal-content {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

/* Password Strength Requirements */
.password-requirements {
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 0.5rem;
}

.requirement-item {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.requirement-item .icon {
    margin-right: 0.35rem;
    font-size: 0.9rem;
    display: inline-block;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.requirement-invalid {
    color: #6c757d;
}

.requirement-invalid .icon {
    color: #dc3545;
}

.requirement-valid {
    color: #198754;
    font-weight: 500;
}

.requirement-valid .icon {
    color: #198754;
}
