﻿/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   BODY
========================================================= */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    overflow: hidden;
}


/* =========================================================
   LOGIN PAGE
========================================================= */
/*
.login-page {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    background-image: url("/images/login-background.png");
     IMPORTANT 
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}*/


.login-page {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url("/images/login-background.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* =========================================================
   LOGIN CARD
========================================================= */

/*.login-card {
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    width: 550px;
    min-height: 560px;
    padding: 48px 40px 30px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.20);
    z-index: 10;
}*/
.login-card {
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    width: 550px;
    min-height: 560px;
    padding: 48px 40px 30px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.20);
    z-index: 10;
}

/* =========================================================
   HEADER
========================================================= */

.login-header {
    text-align: center;
    margin-bottom: 35px;
}


    .login-header h1 {
        margin: 0;
        color: #123f78;
        font-size: 34px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }


    .login-header p {
        margin-top: 8px;
        margin-bottom: 0;
        color: #365777;
        font-size: 14px;
    }


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
    margin-bottom: 21px;
}


    /* =========================================================
   LABEL
========================================================= */

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #183f69;
        font-size: 13px;
        font-weight: 600;
    }


/* =========================================================
   INPUT BOX
========================================================= */

.input-box {
    position: relative;
    width: 100%;
    height: 60px;
}


/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #315b83;
    font-size: 18px;
    z-index: 3;
    pointer-events: none;
}


/* =========================================================
   INPUT
========================================================= */

.input-box input {
    width: 100% !important;
    height: 60px !important;
    padding: 0 55px !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 8px !important;
    background: #f4f8fe !important;
    color: #173f68 !important;
    font-size: 15px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all .2s ease;
}


    /* =========================================================
   INPUT FOCUS
========================================================= */

    .input-box input:focus {
        border-color: #287fc4 !important;
        background: #ffffff !important;
        box-shadow: 0 0 0 3px rgba(40, 127, 196, 0.12) !important;
    }


    /* =========================================================
   PLACEHOLDER
========================================================= */

    .input-box input::placeholder {
        color: #7b8fa6;
        opacity: 1;
    }


/* =========================================================
   PASSWORD BUTTON
========================================================= */

.password-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    background: transparent;
    color: #54718d;
    cursor: pointer;
    z-index: 5;
}


    .password-button:hover {
        color: #176eae;
    }


    .password-button i {
        font-size: 17px;
    }


/* =========================================================
   OPTIONS
========================================================= */

.login-options {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 26px;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.remember-me {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
    color: #536b83 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    cursor: pointer;
}


    .remember-me input {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
        cursor: pointer;
    }


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.forgot-password {
    color: #176dcc !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}


    .forgot-password:hover {
        color: #0b4f91 !important;
        text-decoration: underline;
    }


/* =========================================================
   ERROR
========================================================= */

.login-error {
    color: #dc3545;
    font-size: 12px;
    margin-bottom: 12px;
}


.validation-message {
    display: block;
    margin-top: 5px;
    color: #dc3545;
    font-size: 11px;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 8px;
    background: #287fc4;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(40, 127, 196, .20);
    transition: all .2s ease;
}


    .login-button:hover {
        background: #176eae;
        transform: translateY(-1px);
        box-shadow: 0 12px 25px rgba(40, 127, 196, .28);
    }


    .login-button:disabled {
        opacity: .75;
        cursor: wait;
        transform: none;
    }


/* =========================================================
   SECURITY
========================================================= */

.secure-login {
    text-align: center;
    margin-top: 18px;
    color: #71859a;
    font-size: 10px;
}


    .secure-login i {
        margin-right: 4px;
    }


/* =========================================================
   COPYRIGHT
========================================================= */

.login-copyright {
    text-align: center;
    margin-top: 20px;
    color: #8a9aaa;
    font-size: 9px;
    line-height: 1.5;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .login-card {
        right: 6%;
        width: 550px;
        min-height: 560px;
        padding: 48px 40px 30px;
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1399px) and (min-width: 1000px) {

    .login-card {
        right: 5%;
        width: 500px;
        min-height: 530px;
        padding: 40px 35px 25px;
    }


    .login-header h1 {
        font-size: 31px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 999px) {

    body {
        overflow-y: auto;
    }


    .login-page {
        min-height: 100vh;
        height: auto;
        padding: 50px 20px;
    }


    .login-card {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 90%;
        max-width: 520px;
        min-height: auto;
        margin: auto;
    }
}


/* =========================================================
   MOBILE
========================================================= */

/*@media (max-width: 600px) {

    .login-page {
        padding: 25px 12px;
    }


    .login-card {
        width: 100%;
        padding: 32px 22px 25px;
        border-radius: 16px;
    }


    .login-header {
        margin-bottom: 28px;
    }


        .login-header h1 {
            font-size: 27px;
        }


        .login-header p {
            font-size: 12px;
        }


    .input-box,
    .input-box input {
        height: 54px !important;
    }


    .login-button {
        height: 54px;
        font-size: 16px;
    }
}*/

@media (min-width: 1400px) {

    .login-card {
        right: 5%;
        width: 450px;
        min-height: 500px;
        padding: 32px 32px 22px;
    }

    .login-header {
        margin-bottom: 25px;
    }

        .login-header h1 {
            font-size: 30px;
        }

        .login-header p {
            font-size: 12px;
        }

    .form-group {
        margin-bottom: 16px;
    }

    .input-box,
    .input-box input {
        height: 50px !important;
    }

    .login-button {
        height: 50px;
        font-size: 16px;
    }

    .secure-login {
        margin-top: 12px;
    }

    .login-copyright {
        margin-top: 12px;
    }
}
