/**
 * Password Strength Indicator Styles
 */

.password-strength-indicator {
    font-size: 0.875rem;
}

.password-strength-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.password-strength-progress {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #dc3545;
}

.password-strength-text {
    font-weight: 500;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.password-strength-text.none {
    color: #6c757d;
}

.password-strength-text.weak {
    color: #dc3545;
}

.password-strength-text.fair {
    color: #fd7e14;
}

.password-strength-text.good {
    color: #ffc107;
}

.password-strength-text.strong {
    color: #28a745;
}

.password-strength-text.very-strong {
    color: #20c997;
}

.password-requirements {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: none;
}

.password-requirements .requirement {
    font-size: 0.8125rem;
    margin-bottom: 4px;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.password-requirements .requirement i {
    width: 14px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.password-requirements .requirement.met {
    opacity: 0.7;
}

.password-strength-bar.weak .password-strength-progress {
    background-color: #dc3545;
}

.password-strength-bar.fair .password-strength-progress {
    background-color: #fd7e14;
}

.password-strength-bar.good .password-strength-progress {
    background-color: #ffc107;
}

.password-strength-bar.strong .password-strength-progress {
    background-color: #28a745;
}

.password-strength-bar.very-strong .password-strength-progress {
    background-color: #20c997;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .password-requirements {
        font-size: 0.75rem;
    }

    .password-requirements .requirement {
        margin-bottom: 2px;
    }

    .password-strength-text {
        font-size: 0.8125rem;
    }
}
