﻿/* FULL PAGE SPLIT DESIGN */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* LEFT SIDE BACKGROUND IMAGE */
.left-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%; /* Adjust % if needed */
    height: 100%;
    background-image: url('browser_components/img/bg.jpg');
    background-size: cover;
    background-position: center;
}

/* RIGHT SIDE GRADIENT PANEL */
.right-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%; /* Adjust % if needed */
    height: 100%;
    background: linear-gradient(180deg, #007da5, #006688);
    display: flex;
    flex-direction: column;
    align-items: center;
   

}

/* TOP RIGHT LOGO */
.top-logo {
    /*width: 75%;*/
    /*margin-bottom: 30px;*/
    /*margin-left: auto;*/
    display: block;
    margin-right: auto;
    position: relative; /* Prevents shifting */
    left: 0;
    margin-top: -17px;
    left: -39px; /* shift left to overlap */
    z-index: 10; /* keep logo above both panels */
}

/* LOGIN FORM CENTERING */
/* OUTER FORM CONTAINER CENTER */
.login-container {
    width: 75%;
    margin: 0 auto; /* centers horizontally */
    margin-top: 10px;
}


    .login-container h1 {
        font-size: 35px;
        font-weight: 400;
        color: #fff;
        font-family: 'Open Sans', sans-serif;
        padding-left: 12px;
    }
/* FORM STYLES */
    .right-panel input[type=text],
    .right-panel input[type=password],
    .login-container input[type=text],
    .login-container input[type=password] {
        width: 90%;
        height: 40px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding-left: 12px;
        font-size: 15px;
        margin-bottom: 18px;
        outline: none;
        background-color: transparent;
        color: #fff;
        display: block; /* so margin auto works */
        margin-left: auto;
        margin-right: auto;
    }

.captcha-block {
    width: 90%;
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    /*border-radius: 6px;*/
    padding-left: 12px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
}

/* Fix refresh button alignment */
.captcha-refresh {
    align-items: center;
    justify-content: center;
    width: 40px;
    /*height: 40px !important;*/
    vertical-align :middle;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
}

/* Captcha textbox styling */
.captcha-input {
    width: 150px !important;
    height: 40px !important;
    border: none !important;
    border-left: 1px solid #ddd !important;
    border-radius: 0px !important;
    font-size: 12px;
    outline: none;
    background-color: transparent;
    margin-top: 18px;
    color: #fff;
}
/* LOGIN BUTTON */
.loginbtn {
    width: 140px !important;
    height: 42px !important;
    border-radius: 6px;
    background: white !important;
    color: #004b6b !important;
    font-weight: bold;
    border: none;
    align-items: center;
    cursor: pointer;
    padding-left: 12px;
    margin-left: 12px;
}

/* REFRESH BUTTON */
#imgRefresh {
    color: white;
    font-size: 20px;
}

/* FOOTER */
.footer {
    position: absolute;
    bottom: 10px;
    font-size: 14px;
    color: white;
}

/* RESPONSIVE ADJUSTMENT */
@media(max-width: 1400px) {
    .right-panel {
        width: 45%;
    }

    .left-panel {
        width: 55%;
    }
}

@media(max-width: 1024px) {
    .right-panel {
        width: 48%;
    }

    .left-panel {
        width: 52%;
    }
}

