.password-container {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}

.password-input {
    width: 100%;
    padding-right: 40px !important;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 10px !important;
    transform: none !important;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    z-index: 2;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #D10024;
}

.text-danger {
    margin-top: 5px;
    display: block;
    clear: both;
}

.password-strength-meter {
    height: 4px;
    background-color: #eee;
    margin: 5px 0;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-meter-fill {
    width: 0;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
}

.password-strength-meter-fill::after {
    content: attr(data-strength);
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 12px;
    color: #666;
}

.password-requirements {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.password-requirements li {
    margin: 5px 0;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
}

.password-requirements li i {
    margin-right: 5px;
    width: 14px;
}

.password-requirements li.met {
    color: #2eb82e;
}

.password-requirements li.not-met {
    color: #ff4d4d;
}

.password-requirements li i.fa-check {
    color: #2eb82e;
}

.password-requirements li i.fa-times {
    color: #ff4d4d;
}

/* Animasyonlar */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.password-error {
    animation: shake 0.3s ease-in-out;
    border-color: #ff4d4d !important;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .password-requirements {
        font-size: 11px;
    }
    
    .password-strength-meter-fill::after {
        font-size: 11px;
    }
}

/* Checkout sayfası özel stilleri */
#collapse-checkout-option .password-container,
#collapse-payment-address .password-container {
    margin-bottom: 10px;
}

#collapse-checkout-option .password-toggle,
#collapse-payment-address .password-toggle {
    right: 25px;
    top: 9px !important;
} 