/* Reduce field height by 5px */
.fxt-form .form-control {
    height: calc(50px - 25px) !important;
    padding: 10px 15px !important;
    min-height: 55px !important;
}

/* Fix eye icon positioning when error is present */
.fxt-form .form-group {
    position: relative;
}
.fxt-template-layout34 .fxt-form .fxt-label{
    font-weight: 400;
    margin-bottom: 2px;
    font-size:15px;
    font-style: italic;
}
.fxt-template-layout34 .fxt-form .form-group{
    margin-bottom:18px;
}

.fxt-form .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    margin-top: -2px;
}

/* Ensure eye icon stays in place even with error message */
.fxt-form .form-group .error-password,
.fxt-form .form-group .error-password_confirmation {
    display: block;
    margin-top: 5px;
}

/* Style for select placeholders to match input placeholders */
.fxt-form select.form-control option[value=""][disabled] {
    color: #999;
}

.fxt-form select.form-control {
    color: #333;
}

.fxt-form select.form-control:invalid {
    font-size: 14px;
    color: #858588 !important;
    font-weight: 300 !important;
}

/* Adjust select dropdown height */
.fxt-form select.form-control {
    height: calc(50px - 5px) !important;
    padding: 10px 15px !important;
}

/* Error text styling */
.fxt-form .text-danger {
    font-size: 12px;
    margin-top: 3px;
    display: block;
}

/* Alert styling adjustments */
.fxt-form .alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* Password field with icon spacing */
.fxt-form input[type="password"] {
    padding-right: 45px !important;
}

/* Spinner in button */
.fxt-btn-fill .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Ensure Google reCAPTCHA v3 badge remains hoverable on auth pages.
   Some auth overlays/stacking contexts can block pointer events near bottom-right. */
.grecaptcha-badge {
    pointer-events: auto !important;
    z-index: 2147483647 !important;
}

.grecaptcha-badge iframe {
    pointer-events: auto !important;
}
