﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html, body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden; 
}

.background-container {
    position: absolute;
    display: flex;
    height: 100vh; 
    width: 100%;
    z-index: 1;
}

/* Left Column with Background Image */
.background-image {
    background-size: cover; 
    flex: 10; 
}

/* Right Column with Solid Color */
.background-color {
    background-color: #FF6C00; 
    flex: 2;
}

.Login-bg-strip {
    width: 100%;
    height: 100%;
    background-color: #FF6C00;
    flex-grow: 1;
}

.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers */
    z-index: 2; /* Puts on top */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .login-container::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.5); /* Transparent overlay */
        backdrop-filter: blur(5px);
        z-index: -1;
    }

.login-wrapper {
    max-width: 900px;
    max-height: 475px;
    width: 100%;
    display: flex;
    border-radius: 8px;
    background: white; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.login-image {
    width: 100%;
}

    .login-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.login-form {
    width: 100%;
}

.logoImage {
    width: 50%;
}

.footerImage {
    width: 60%;
    margin: 5px auto;
}

.logo-container {
    text-align: center;
}

.black-line {
    width: 100%;
    height: 1px;
    background-color: black;
    margin: 10px auto;
}

.txtLogin {
    color: #02366F;
}

.txtHere {
    color: #FF6C00;
}

.nav-pills {
    position: relative;
    width: 100%;
}

    .nav-pills .nav-link {
        font-weight: 500;
        color: #6c757d;
        padding: 12px 0;
        border-radius: 10px 10px 0 0;
        border-bottom: 1px solid #6c757d;
    }

        .nav-pills .nav-link.active {
            background-color: #FF6C00;
            color: white;
            border-bottom: 1px solid transparent;
        }

.input-group-text {
    background-color: #f1f3f5;
    border-right: none;
}

    .input-group-text i {
        color: #02366F;
    }

.form-control {
    border-left: none;
}

#btnRequestOtp {
    background-color: white;
    border-color: black;
    color: #6c757d;
}
    #btnRequestOtp:hover {
        background-color: #02366F;
        border-color: #02366F;
        color: white;
    }

#btnlogin, #btnVerifyOtp {
    background-color: #02366F;
    border-color: #02366F;
}

    #btnlogin:hover, #btnVerifyOtp:hover {
        background-color: #e65b00;
        border-color: #e65b00;
    }

.toggle-password {
    cursor: pointer;
}

.btn {
    font-size: 16px;
    font-weight: 500;
}

.custom-resend-link {
    color: #6c757d;
    text-decoration: none;
    font-weight: bold;
}

    .custom-resend-link:hover {
        color: #02366F;
    }

@media (max-width: 991px) {
    .login-wrapper {
        flex-direction: column;
        align-items: center;
        width: 90%;
        max-width: 500px;
    }

    .login-image {
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
    }

        .login-image img {
            max-width: 60%;
            height: auto;
            object-fit: contain;
            margin: 0 auto;
        }

    .login-form {
        width: 100%;
        padding: 20px;
    }

    .background-container {
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .background-image {
        position: relative;
        height: auto;
        min-height: unset;
        text-align: center;
    }

        .background-image::before {
            height: auto;
        }

        .background-image img {
            max-width: 100%;
            height: auto;
            object-fit: cover;
        }

    .nav-pills {
        flex-direction: row;
        justify-content: center;
    }

        .nav-pills .nav-item {
            width: 50%;
        }

        .nav-pills .nav-link {
            padding: 8px;
            font-size: 14px;
        }

    .btn {
        font-size: 14px;
        padding: 10px;
    }

    .footerImage {
        width: 50%;
    }
}
