html{
    font-family:'Segoe UI', Arial, sans-serif;
    height:100%;
}

body{
    width:100%;
    min-height:100vh;
    margin:0;
    padding:0;
    background:linear-gradient(135deg,#0f2027,#203a43,#2c5364);
    overflow:hidden;
}

.card-body {
	padding:0;
}

/* BRANCH SELECT */
/* BRANCH GROUP */
.branch-group{
    display:flex;
    align-items:center;
    width:100%;
}

/* BRANCH SELECT */
.branch-select{
    flex:1;
    height:48px;
    border:1px solid #ccc;
    border-left:none;
    border-radius:0 10px 10px 0;
    padding:0 15px;
    font-size:14px;
    background:#FFF;
    outline:none;
}

/* SELECT FOCUS */
.branch-select:focus{
    border-color:#004e92;
    box-shadow:0 0 8px rgba(0,78,146,0.2);
}

/* FIX ICON */
.branch-group .input-group-text{
    height:48px;
    width:50px;
    border-radius:10px 0 0 10px;
}

/* BRANCH PLACEHOLDER COLOR */
.branch-select{
	font-size:15px;
    color:#6c757d;
}

/* SELECTED OPTION COLOR */
.branch-select option{
    color:#000;
}

/* REMOVE DEFAULT ROW MARGIN */
.row{
    margin:0;
}

/* FULL SCREEN CENTER */
.login-bg{
    min-height:100vh;   
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.login-bg .row{
    min-height:auto;
    width:100%;
}

.login-card{
    width:90%;
	max-width:1000px;
    border:none;
    border-radius:20px;
    overflow:hidden;
    background:#FFF;
    box-shadow:0 20px 50px rgba(0,0,0,0.35);
}

.login-card .row{
    display:flex;
    flex-wrap:nowrap;
    min-height:520px;
}

/* LEFT PANEL */
.left-panel{
    position:relative;
    background:linear-gradient(180deg,#004e92,#000428);
    color:#FFF;
    overflow:hidden;
    flex:0 0 42%;
    max-width:42%;
    min-height:520px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* RIGHT PANEL */
.login-card .col-md-7{
    flex:0 0 58%;
    max-width:58%;
    background:#FFF;   
}

.system-logo-wrapper{
    width:100%;
    height:100%;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.logo-content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    width:100%;
    height:100%;    
}

.left-panel{
    text-align:center;
}

.esys_logo{
  
    object-fit:contain;
}

/* TITLE */
.system-title{
	color:#036889;
    font-size:32px;
    font-weight:700;
    margin-bottom:5px;
    letter-spacing:0.5px;
}

/* RED TITLE PART */
.system-title span{
    color:#ff2b2b;
}

/* SMALL LINE */
.title-line{
    width:120px;
    height:2px;
    background:rgba(255,255,255,0.4);
    margin:15px auto;
    position:relative;
}

.title-line::after{
    content:'';
    width:10px;
    height:10px;
    background:#FFF;
    border-radius:50%;
    position:absolute;
    top:-4px;
    left:50%;
    transform:translateX(-50%);
}

/* SUBTITLE */
.system-subtitle{
    font-size:16px;
    line-height:1.7;
    opacity:0.95;
}

/* DISTRIBUTION IMAGE */
.bottom-image{
    position:absolute;
    bottom:0;
    right:0;
    width:100%;
    height:100%;
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
    z-index:1;
    overflow:hidden;
    pointer-events:none;
}

/* DISTRIBUTION IMAGE STYLE */
.bottom-img{
    width:95%;
    object-fit:contain;
    opacity:0.35;
}

/* RIGHT SIDE COMPANY LOGO */
.login-logo{
    max-height:75px;
    width:auto;
    object-fit:contain;
}

/* LOGIN TITLE */
.login-title{
    font-size:34px;
    font-weight:600;
    color:#036889;
    margin-top:15px !important;
}

/* MUTED TEXT */
.text-muted{
    font-size:1.5rem;
}

/* LABELS */
label{
    font-weight:600;
    color:#333;
    font-size:15px;
    margin-bottom:8px;
}

/* FORM GROUP */
.form-group{
    margin-bottom:1.5rem !important;
}

/* INPUT GROUP */
.input-group{
    width:100%;
}

/* INPUT GROUP ICON */
.input-group-text{
    background:#004e92;
    color:#FFF;
    border:none;
    border-radius:10px 0 0 10px;
    width:50px;
    justify-content:center;
}

/* INPUTS */
.login-input,
.form-control{
    height:48px;
    font-size:15px;
    border:1px solid #ccc;
    border-radius:0 10px 10px 0;
    box-shadow:none;
    transition:0.3s;
}

/* INPUT FOCUS */
.login-input:focus,
.form-control:focus{
    border-color:#004e92;
    box-shadow:0 0 8px rgba(0,78,146,0.2);
}

/* LOGIN BUTTON */
#btnLogin,
.login-btn{
    height:48px;
    border-radius:10px;
    background:linear-gradient(90deg,#004e92,#000428);
    border:none;
    font-size:16px;
    font-weight:600;
    transition:0.3s;
}

/* BUTTON HOVER */
#btnLogin:hover,
.login-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* ALERT */
.error{
    color:#F00;
}

#alert-box{
    width:100%;
    margin-top:10px;
}

#alert-box .alert{
    width:100%;
    margin:0;
    border-radius:10px;
    font-size:13px;
}

/* LINKS */
a{
    text-decoration:none;
    font-size:14px;
}

a:hover{
    text-decoration:none;
}


/* MOBILE RESPONSIVE */
@media(max-width:768px){

    body{
        overflow:auto;
    }

    .login-bg{
        padding:15px;
    }

    .login-card{
        min-height:auto;
        border-radius:16px;
    }

    .login-card .row{
        flex-wrap:wrap;
    }

    .left-panel{
        flex:0 0 100%;
        max-width:100%;
        min-height:150px;
    }

    .login-card .col-md-7{
        flex:0 0 100%;
        max-width:100%;        
    }

    .system-center{
        top:52%;
    }

    .system-title{
        font-size:24px;
    }

    .system-subtitle{
        font-size:13px;
    }

    .esys_logo{
        width:75px;
    }

    .login-logo{
        max-height:55px;
    }

    .login-title{
        font-size:24px;
    }

    .card-body{
        padding:1rem !important;
    }

    .bottom-img{
        width:100%;
        opacity:0.25;
    }
}