/* Password Validation Styles */
.password-requirements {
    margin-top: 8px;
    padding: 12px;
    background: rgba(241, 245, 249, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 4px;
    color: #64748b;
    transition: all 0.3s ease;
}

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

.requirement i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background: #ef4444;
    color: white;
    transition: all 0.3s ease;
}

.requirement.valid {
    color: #059669;
}

.requirement.valid i {
    background: #10b981;
}

.requirement.valid i:before {
    content: "\f00c";
}

.password-match {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    color: #dc2626;
    font-size: 13px;
    display: none;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.password-match.show {
    display: flex;
}

.password-match.valid {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #059669;
}

.password-match.valid i:before {
    content: "\f00c";
}

.password-match i {
    color: inherit;
}

/* Dark mode adjustments */
.dark-mode .password-requirements {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(51, 65, 85, 0.8);
}

.dark-mode .requirement {
    color: #94a3b8;
}

.dark-mode .requirement.valid {
    color: #34d399;
}

.dark-mode .password-match {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}

.dark-mode .password-match.valid {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

/* Animation for requirement changes */
@keyframes checkmark {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.requirement.valid i {
    animation: checkmark 0.3s ease;
}

/* Focus states for password inputs */
input[type="password"]:focus + .password-requirements {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dark-mode input[type="password"]:focus + .password-requirements {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}