﻿

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f7faff;
    overflow: hidden;
}

.login-page {
  /*  min-height: 100vh;
    display: flex;
    overflow: hidden;*/
     width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

/* =========================================
           LEFT IMAGE SECTION
        ========================================= */

.visual-section {
    width: 50%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #061b52;

}

    .visual-section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

/* =========================================
           CURVED DIVIDER
        ========================================= */

.curve-green {
    position: absolute;
    top: -5%;
    right: -70px;
    width: 100px;
    height: 110%;
    background: #76c72b;
    border-radius: 50%;
    z-index: 5;
}

.curve-blue {
    position: absolute;
    top: -5%;
    right: -95px;
    width: 150px;
    height: 110%;
    /*background: #1268e8;*/
    background: #76c72b ;
    /*background: linear-gradient( 90deg, #1268e8 0%, #1477ed 65%, #76c72b 100% );*/
    border-radius: 50%;
    z-index: 4;
}

.curve-white {
    position: absolute;
    top: -5%;
    right: -125px;
    width: 170px;
    height: 110%;
    background: #f7faff;
    border-radius: 50%;
    z-index: 6;
}


/* =========================================
           RIGHT LOGIN SECTION
        ========================================= */

/*.login-section {
        width: 50%;
        min-height: 100vh;
        background: #f7faff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 50px 80px;
        position: relative;


    }*/
.login-section {
    width: 50%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    background: #f5f8fd;
    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================
           LOGIN BOX
        ========================================= */

/*.login-box {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 18px;
    padding: 42px 40px;
    box-shadow: 0 15px 45px rgba(18, 53, 110, 0.10);
    
}*/
.login-box {
    width: 100%;
    max-width: 440px;
    padding: 42px 40px;
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(18, 53, 110, 0.10);
    position: relative;
    z-index: 10;
}

/* =========================================
           LOGO
        ========================================= */

/*.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

    .login-logo img {
        max-width: 210px;
        height: auto;
    }*/
/* =========================================
   LOGO
========================================= */

.login-logo {
    text-align: center;
    margin-bottom: 28px;
}

    .login-logo img {
        max-width: 200px;
        width: auto;
        height: auto;
    }


/* =========================================
           HEADING
        ========================================= */

/*.login-title {
    font-size: 27px;
    font-weight: 700;
    color: #102a56;
    text-align: center;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: center;
    color: #7c8ba5;
    font-size: 14px;
    margin-bottom: 32px;
}*/
.login-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #103462;
}

.login-subtitle {
    margin: 0 0 32px;
    text-align: center;
    font-size: 14px;
    color: #8493aa;
}



/* =========================================
           FORM
        ========================================= */

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #344563;
    margin-bottom: 8px;
}

.input-group {
    position: relative;
    
}

.input-group-text {
    background: #f8faff;
    border: 1px solid #dce5f2;
    border-right: 0;
    color: #4773a9;
    padding-left: 15px;
    padding-right: 12px;
}

.form-control {
    height: 50px;
    border: 1px solid #dce5f2;
    border-left: 0;
    font-size: 14px;
    color: #263b5c;
    box-shadow: none !important;
    border-radius: 8px !important;
}

    .form-control:focus {
        border-color: #1976ed;
        background: #ffffff;
    }

.input-group:focus-within .input-group-text {
    border-color: #1976ed;
    color: #1976ed;
}
.input-group .input-group-text {
    border-radius: 10px 0 0 10px !important;
}

.input-group .form-control {
    border-radius: 0 10px 10px 0 !important;
}

/* =========================================
           PASSWORD EYE
        ========================================= */

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #8a9ab3;
    cursor: pointer;
    z-index: 10;
}

    .password-toggle:hover {
        color: #1268e8;
    }


/* =========================================
           REMEMBER / FORGOT
        ========================================= */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 25px;
}

.form-check-label {
    font-size: 13px;
    color: #6f809a;
}

.form-check-input {
    cursor: pointer;
}

.forgot-link {
    color: #1268e8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .forgot-link:hover {
        color: #76c72b;
    }


/* =========================================
           LOGIN BUTTON
        ========================================= */

.btn-login {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 9px;
    background: linear-gradient( 90deg, #1268e8 0%, #1477ed 65%, #76c72b 100% );
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 8px 18px rgba(18, 104, 232, 0.20);
}

    .btn-login:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(18, 104, 232, 0.25);
    }


/* =========================================
           FOOTER
        ========================================= */

.login-footer {
    text-align: center;
    margin-top: 28px;
    color: #9aa8bb;
    font-size: 12px;
}

    .login-footer span {
        color: #76c72b;
        font-weight: 600;
    }


/* =========================================
           DECORATIVE BACKGROUND
        ========================================= */

.right-decoration {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(18, 104, 232, 0.06);
    /*right: -80px;*/
    top: 60px;
}

    .right-decoration::after {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        border: 1px solid rgba(118, 199, 43, 0.08);
        top: 35px;
        left: 35px;
    }


/* =========================================
   MOBILE
========================================= */
@media screen and (max-width: 767px) {

    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }


    /* -----------------------------------------
       HIDE LEFT IMAGE COMPLETELY
    ----------------------------------------- */

    .visual-section {
        display: none !important;
    }

        .visual-section img,
        .curve-blue,
        .curve-green,
        .curve-white {
            display: none !important;
        }


    /* -----------------------------------------
       FULL WIDTH LOGIN AREA
    ----------------------------------------- */

    .login-page {
        width: 100vw !important;
        min-height: 100vh !important;
        display: block !important;
        overflow: visible !important;
    }

    .login-section {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 25px 15px !important;
        margin: 0 !important;
        background: #f5f8fd !important;
        border: 0 !important;
        box-shadow: none !important;
    }


    /* Hide decoration */

    .right-decoration {
        display: none !important;
    }


    /* -----------------------------------------
       LOGIN BOX
    ----------------------------------------- */

    .login-box {
        width: 100% !important;
        max-width: 440px !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 35px 24px !important;
        border: 1px solid #dce5f2 !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 35px rgba(18, 53, 110, 0.10) !important;
    }


    /* -----------------------------------------
       TITLE
    ----------------------------------------- */

    .login-title {
        font-size: 24px !important;
    }

    .login-subtitle {
        font-size: 13px !important;
        margin-bottom: 28px !important;
    }


    /* -----------------------------------------
       INPUT GROUP
       DO NOT SET width:100% ON FORM CONTROL
    ----------------------------------------- */

    .input-group {
        width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .input-group-text {
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 48px !important;
    }

    .input-group .form-control {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: 48px !important;
    }


    /* -----------------------------------------
       BUTTON
    ----------------------------------------- */

    .btn-login {
        width: 100% !important;
        height: 50px !important;
    }


    /* -----------------------------------------
       FOOTER
    ----------------------------------------- */

    .login-footer {
        margin-top: 23px !important;
    }
}


/* =====================================================
   SMALL PHONES
   ===================================================== */

@media screen and (max-width: 400px) {

    .login-section {
        padding: 15px 12px !important;
    }

    .login-box {
        width: 100% !important;
        padding: 30px 18px !important;
        border-radius: 14px !important;
    }

    .login-logo img {
        max-width: 170px !important;
    }

    .login-title {
        font-size: 22px !important;
    }

    .login-subtitle {
        font-size: 12px !important;
    }

    .form-label {
        font-size: 12px !important;
    }

    .login-options {
        font-size: 12px;
    }
}

