/* Password Strength Indicator Styles */
.password-strength-container {
    margin-top: 0.5rem;
}

.password-strength-indicator {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.strength-very_weak {
    background-color: #dc3545;
    color: white;
}

.strength-weak {
    background-color: #fd7e14;
    color: white;
}

.strength-fair {
    background-color: #ffc107;
    color: #212529;
}

.strength-good {
    background-color: #20c997;
    color: white;
}

.strength-strong {
    background-color: #198754;
    color: white;
}

/* Requirements List Styles */
.password-requirements {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    display: none;
}

.password-requirements.show {
    display: block;
}

.requirements-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.requirement-item.met {
    color: #198754;
}

.requirement-item.met i {
    color: #198754;
}

.requirement-item.not-met {
    color: #6c757d;
}

.requirement-item.not-met i {
    color: #6c757d;
}

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

/* Progress Bar for Password Strength */
.password-strength-progress {
    margin-top: 0.5rem;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-progress .progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}

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

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

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

.strength-good .progress-bar {
    background-color: #20c997;
}

.strength-strong .progress-bar {
    background-color: #198754;
}

/* Password Field Focus Styles */
.password-field-container {
    position: relative;
}

.password-field-container:focus-within .password-requirements {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .password-requirements {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .requirement-item {
        font-size: 0.8rem;
    }
}

/* Animation for requirement items */
.requirement-item {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.requirement-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Success animation for met requirements */
.requirement-item.met {
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
} 