.password-requirements {
    margin-top: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
     
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
}

.password-requirements.valid {
    border: none;
}

.requirement {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #6c757d;
     
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #f8f9fa;
     
    transform: translateX(0);
}

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

.requirement i {
    margin-right: 10px;
    font-size: 0.9rem;
    width: 14px;
    flex-shrink: 0;
     
    transition: all 0.2s ease-in-out;
}

.requirement.valid {
    color: #28a745;
    background-color: #d4edda;
     
    transform: translateX(5px);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.requirement.invalid {
    color: #dc3545;
    background-color: #f8d7da;
     
    transform: translateX(0);
}

 
.requirement.valid i {
    transform: scale(1.1);
    color: #28a745;
}

.requirement.invalid i {
    transform: scale(1);
    color: #dc3545;
}

.password-strength {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
     
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
}

.strength-meter {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
     
    transition: height 0.2s ease;
}

.strength-fill {
    height: 100%;
     
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.3s ease-in-out;
    border-radius: 3px;
     
    animation: none;
}

 
.strength-fill.strength-strong {
    animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); 
    }
    50% { 
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1); 
    }
}

.strength-weak { 
    background-color: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.3);
}
.strength-medium { 
    background-color: #ffc107;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}
.strength-strong { 
    background-color: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.3);
}

.strength-text {
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 600;
    text-align: center;
     
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
}

 
.password-requirements.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.validation-title.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(-10px);
}

 
.password-requirements {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.password-requirements.entering {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.password-requirements.leaving {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px) translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(20px) translateY(-5px) scale(0.98);
    }
}

 
.requirement:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.requirement.valid:hover {
    transform: translateX(8px);
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.25);
}

 
@media (max-width: 768px) {
    .requirement {
        font-size: 0.8rem;
        margin-bottom: 6px;
        padding: 6px 10px;
        transition: all 0.25s ease;
    }
    
    .strength-text {
        font-size: 0.8rem;
        transition: all 0.25s ease;
    }
    
    .password-strength {
        margin-bottom: 15px;
        padding: 12px;
        transition: all 0.25s ease;
    }
    
    .requirement:hover {
        transform: translateX(2px);
    }
    
    .requirement.valid:hover {
        transform: translateX(5px);
    }
}