.password-strength-wrapper {
    position: relative;
    width: 100%;
}

.password-field {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.password-input {
    width: 100%;
    padding: 14px 120px 14px 16px !important;
    font-size: 17px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    background: white;
}

.password-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.password-right-group {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    z-index: 2;
}

.toggle-password {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 8px;
    z-index: 2;
    background: transparent;
}

.generate-password-btn,
.copy-btn-password {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    color: #666;
    transition: all 0.2s ease;
    background: transparent;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.generate-password-btn:hover,
.copy-btn-password:hover {
    background: #f0f0f0;
    color: #4a90e2;
}

.strength-indicator {
    position: absolute;
    right: -23px;
    top: 25px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #e0e0e0;
    transition: background-color 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 0 2px white, 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.strength-container {
    margin-top: 8px;
}

.error-list {
    color: #d32f2f;
    padding-left: 0;
    margin: 8px 0 0 0;
    font-size: 13px;
    list-style: none;
}

.error-list li {
    margin-bottom: 4px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .password-input {
        padding: 12px 110px 12px 12px !important;
    }

    .password-right-group {
        gap: 4px;
    }

    .strength-indicator {
        width: 12px;
        height: 12px;
    }

    .toggle-password {
        padding: 6px;
    }
}