/* Onbanx Custom Auth Styles v2 */

/* Universal Overrides - Extreme Specificity */
body,
html {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
}

/* Dashboard Container Overrides */
.dashboard {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

.dashboard-img {
    background: #000000 !important;
    background-color: #000000 !important;
}

/* Form Container Overrides */
/* Using multiple selectors to increase specificity */
#show-login,
.wrapper,
.from-top {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6,
.signup-heading h2,
.spacetittle h2,
.text-center h2 {
    color: #ffffff !important;
    font-weight: 700;
}

p,
span,
label,
.signup-heading p,
.spacetittle p,
.form-field label,
.agree-notif label span {
    color: #e0e0e0 !important;
}

/* Inputs Overrides */
.form-field input,
.form-field select,
.form-control,
input.form--control {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #FFC107 !important;
    background-color: #222 !important;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.3) !important;
}

.form-field input::placeholder {
    color: #888888 !important;
}

/* Select Specifics */
select,
span.mobile-code {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #ffffff !important;
}

/* Buttons Overrides */
.signup-submit button,
.signup-submit-icon button,
.google-signup button {
    background-color: #FFC107 !important;
    color: #000000 !important;
    border: none !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    box-shadow: none !important;
    background-image: none !important;
}

.signup-submit button:hover,
.signup-submit-icon button:hover {
    background-color: #FFD54F !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

.signup-submit button:before,
.signup-submit a:before {
    display: none !important;
}

/* Links Overrides */
a,
.login-notif a,
.signup-submit a {
    color: #FFC107 !important;
    text-decoration: none;
}

a:hover,
.login-notif a:hover {
    color: #ffffff !important;
}

/* Notification & Helper Text */
.login-notif {
    color: #cccccc !important;
}

/* Password Visibility & Icons */
#viliblePassword,
#inviliblePassword,
.pull-right {
    color: #cccccc !important;
}

img[src*="icons8"] {
    filter: invert(1) !important;
}

/* Checkboxes */
.agree-notif input[type=checkbox] {
    border-color: #FFC107 !important;
}

.agree-notif input[type=checkbox]:checked {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
}

/* Captcha overrides */
#captchaId {
    background-color: #222222 !important;
    color: #ffffff !important;
    border: 1px solid #333 !important;
}

/* Fix for specific layout issues on different screens */
@media (max-width: 768px) {
    .dashboard-img {
        display: block !important;
        padding: 20px 0 0 0 !important;
    }

    .dashboard-img .wrapper {
        padding-top: 0 !important;
    }

    .dashboard-img img {
        max-width: 150px !important;
        /* Smaller logo on mobile */
        margin-bottom: 10px !important;
    }

    /* Hide the slogans and large text on mobile, keep only logo */
    .dashboard-img h1,
    .dashboard-img h3,
    .dashboard-img p {
        display: none !important;
    }

    /* Reset row height for mobile to avoid huge vertical gaps */
    .row {
        min-height: auto !important;
        display: block !important;
        /* Stack vertically */
    }

    .col-lg-6 {
        width: 100% !important;
    }
}