/* FIX 1: Prevent horizontal scroll on the entire page */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    /* background: #f5f9ff; */
    font-family: "Segoe UI", sans-serif;
}

/* FIX 2: Ensure the pseudo-element doesn't push the screen width */
.login-page {
    background: url(../images/ogb-new-login-background.png);
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-section {
    padding-top: 30px;
    position: relative;
    min-height: 78vh;
    /* min-height: 85vh; */
    /* background: linear-gradient(120deg, #eef5ff 0%, #f4fff5 100%); */
    overflow: hidden;
    /* Clips the slanted background */
    /* display: flex;
    align-items: center; */
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}

.login-banner-sec-parrent {
    justify-content: center;
    display: flex;
    align-items: center;

    .login-banner-sec {
        width: 452px;
        /* height: 100%; */

        img {
            width: 100%;
            height: 100%;
        }
    }
}


/* .hero-section::after {
    content: "";
    position: absolute;
    right: -10%;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    transform: skewX(-10deg);
    z-index: 0;
} */

/* Login Card - Fixed dimensions to prevent shifting */
.login-card {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    /* Increased for size */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    width: 100%;
    max-width: 450px;
    /* Larger width as requested */
    z-index: 1;
    /* max-width: 520px; */
    /* increase width */
    width: 100%;
    padding: 0px 40px 40px 40px;

    /* reduce height */
    .login-form-img {
        width: 190px;
        height: 47px;
        margin: 0 auto;
        margin-bottom: 20px;
        margin-top: 20px;

        img {
            width: 100%;
            height: 100%;
        }
    }
}

#refreshCaptcha {
    color: #fff;
    background: #EF6C00;
    border: 0px;
}

#captchaBox {
    height: 40px;
    /* border: 1px solid #999; */
    border-radius: 4px;
    background-color: #f5f5f5;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    line-height: 24px;
    color: #000;
    /* user-select: none; */
    background-image: url(../images/captcha-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* prevent selection */

}

.login-card .form-control {
    padding: 7px 14px !important;
}

.login-card .mb-4 {
    margin-bottom: 1rem !important;
}

.login-card .mb-3 {
    margin-bottom: 0.75rem !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
}

.footer {
    background: #002d72;
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

.header-logo-sec {
    width: 288px;
    height: 102px;

    img {
        width: 288px;
        height: 102px;
    }
}

.navbar .nav-link.active {
    color: #fff !important;
    font-weight: 600;
    border-bottom: 3px solid #ffc107;
}

/* Dropdown item active */
.dropdown-menu .dropdown-item.active {
    background-color: #0047ab;
    color: #fff;
    font-weight: 500;
}

.navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Prevent flicker */
/* Desktop hover dropdown without layout shift */
@media (min-width: 992px) {

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0;
        pointer-events: none;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.navbar .nav-link,
.navbar .dropdown-item {
    text-transform: uppercase;
}
