/* Validação de Senha - Estilos Modernos */
.password-requirements {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.password-requirement {
    display: flex;
    align-items: center;
    padding: 4px 0;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 6px;
}

.password-requirement:last-child {
    margin-bottom: 0;
}

.password-requirement i {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-right: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.password-requirement.valid i {
    background-color: #28a745;
    color: white;
    animation: checkmark 0.3s ease;
}

.password-requirement.invalid i {
    background-color: #dc3545;
    color: white;
}

.password-requirement span {
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.password-requirement.valid span {
    color: #28a745;
}

.password-requirement.invalid span {
    color: #dc3545;
}

@keyframes checkmark {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Melhoria no campo de senha */
.password-field-container {
    position: relative;
}

.password-field-container input[type="password"]:focus,
.password-field-container input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Indicador de força da senha */
.password-strength-indicator {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak {
    background-color: #dc3545;
    width: 25%;
}

.strength-fair {
    background-color: #ffc107;
    width: 50%;
}

.strength-good {
    background-color: #28a745;
    width: 75%;
}

.strength-strong {
    background-color: #20c997;
    width: 100%;
}
