﻿/* ================================
   BODY
================================ */

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg,#667eea,#764ba2);
    font-family: 'Roboto',sans-serif;
}


/* ================================
   MAIN CONTAINER
================================ */

.main-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


    .main-container > .row {
        width: 100%;
    }



/* ================================
   LOGIN BOX
================================ */

.col-md-4.col-lg-4:nth-child(2) {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}



/* ================================
   LOGO
================================ */

.login-logo {
    text-align: center;
    margin-bottom: 25px;
}


    .login-logo img {
        width: 150px;
        height: 150px;
        object-fit: contain;
    }



/* ================================
   INPUT
================================ */


.input-group.form-group {
    width: 100%;
    margin-bottom: 18px;
}



.form-control {
    width: 100% !important;
    height: 45px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd;
    font-size: 15px;
    padding-left: 15px;
}



    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 8px rgba(102,126,234,.4);
    }



/* ================================
 ERROR
================================ */

.errortext {
    border: 1px solid red !important;
    background: #fff0f0 !important;
}



/* ================================
 COMMON BUTTON
================================ */


.login1 {
    width: 140px !important;
    height: 45px !important;
    border-radius: 8px !important;
    background: #667eea !important;
    border: none !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}



    .login1:hover {
        opacity: .9;
    }



/* ================================
 GET OTP + BACK LOGIN
================================ */


#divotpbtn,
#divlogipbtn {
    width: 50% !important;
    float: left;
    text-align: center;
    padding: 0 10px !important;
    box-sizing: border-box;
}



    #divotpbtn .form-group,
    #divlogipbtn .form-group {
        margin-bottom: 0 !important;
    }



/* ================================
 OTP SECTION
================================ */


/* IMPORTANT - Hidden by default */

#divSubmit {
    width: 100% !important;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
}



    #divSubmit input {
        width: 140px !important;
        height: 45px !important;
        border-radius: 8px !important;
        font-size: 15px;
        font-weight: 600;
    }



    /* Resend */

    #divSubmit .btn-success {
        background: #28a745 !important;
        border: none !important;
        color: #fff !important;
    }



    /* Verify */

    #divSubmit .btn-primary {
        background: #667eea !important;
        border: none !important;
        color: #fff !important;
    }



/* ================================
 REMOVE BOOTSTRAP ISSUE
================================ */


.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


.col-lg-6,
.col-md-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}



/* ================================
 MOBILE
================================ */


@media(max-width:768px) {


    .col-md-4.col-lg-4:nth-child(2) {
        width: 90%;
        padding: 25px;
    }



    .login-logo img {
        width: 110px;
        height: 110px;
    }



    #divotpbtn,
    #divlogipbtn {
        width: 100% !important;
        float: none;
        margin-bottom: 10px;
    }



    #divSubmit {
        flex-direction: column;
        gap: 10px;
    }



        #divSubmit input {
            width: 100% !important;
        }
}
