/* FIX_LOGIN_DARK_MODE_TEXT_VISIBLE */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode .form-control,
body.dark-mode .input-group-text {
    background-color: #151c2e !important;
    color: #ffffff !important;
    border-color: #3b4663 !important;
    caret-color: #ffffff !important;
}

/* Khusus Chrome/Android autofill */
body.dark-mode input:-webkit-autofill,
body.dark-mode input:-webkit-autofill:hover,
body.dark-mode input:-webkit-autofill:focus,
body.dark-mode input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    caret-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #151c2e inset !important;
    box-shadow: 0 0 0 1000px #151c2e inset !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

/* Placeholder */
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #b8c2d9 !important;
    opacity: 1 !important;
}

/* Label EMAIL / KATA SANDI */
body.dark-mode label,
body.dark-mode .form-label,
body.dark-mode .auth-label,
body.dark-mode .login-label {
    color: #ffffff !important;
}

/* Tombol mata password */
body.dark-mode .input-group-text,
body.dark-mode .password-toggle,
body.dark-mode .btn-show-password,
body.dark-mode button[type="button"] {
    background-color: #151c2e !important;
    color: #ffffff !important;
    border-color: #3b4663 !important;
}

body.dark-mode .input-group-text i,
body.dark-mode .password-toggle i,
body.dark-mode .btn-show-password i,
body.dark-mode .bx,
body.dark-mode .bi,
body.dark-mode .fa {
    color: #ffffff !important;
}

/* Checkbox ingat saya */
body.dark-mode .form-check-label,
body.dark-mode .form-check-input {
    color: #ffffff !important;
    border-color: #5b6685 !important;
}

/* Link lupa kata sandi / daftar */
body.dark-mode a,
body.dark-mode .auth-link,
body.dark-mode .login-link {
    color: #dfe6ff !important;
}

/* Tombol login disabled tetap kelihatan */
body.dark-mode button:disabled,
body.dark-mode .btn:disabled,
body.dark-mode .btn.disabled {
    color: #e9edff !important;
    opacity: .75 !important;
}

/* Paksa text field login tetap putih */
body.dark-mode input[type="email"],
body.dark-mode input[type="password"],
body.dark-mode input[type="text"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
