/* ============================================================
   VNAPP AUTH — Common Styles for Account Module (trang/tai-khoan)
   ============================================================ */

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    padding-right: 44px !important;
}

/* Nút ẩn/hiện mật khẩu dạng icon con mắt */
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: color 0.15s ease;
    z-index: 2;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
}

.password-toggle-btn:hover {
    color: var(--text-primary);
}

.password-toggle-btn i {
    pointer-events: none;
}

/* Ô nhập OTP 6 số cao cấp */
.otp-inputs-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.otp-digit {
    width: 44px;
    height: 44px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.otp-digit:focus {
    border-color: var(--text-primary);
    box-shadow: none;
}

/* Thanh đo độ mạnh mật khẩu */
.password-strength-wrapper {
    margin-top: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.strength-bar-container {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    width: 0%;
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}
