
/* =========================================================
   KOOTELA MODERN LOGIN
   Reference layout:
   Full screen / left introduction / right login card

   Primary: #173537
   Accent:  #db9034
   Dark:    #393939
   ========================================================= */

.authentication.klog {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #173537 0%,
            #173537 52%,
            #013b3f 100%
        );

    overflow: hidden;
}


/* =========================================================
   SUBTLE BACKGROUND DECORATION
   ========================================================= */

.authentication.klog::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;

    right: -240px;
    top: -250px;

    border: 1px solid rgba(219, 144, 52, 0.16);
    border-radius: 50%;
}

.authentication.klog::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;

    left: -250px;
    bottom: -250px;

    border: 1px solid rgba(219, 144, 52, 0.10);
    border-radius: 50%;
}


/* =========================================================
   TOP HEADER
   ========================================================= */

.klog-topbar {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 92px;

    padding: 24px 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 20;
}


/* =========================================================
   LOGO
   ========================================================= */

.klog-logo {
    display: flex;
    align-items: center;
}

.klog-logo img {
    width: 62px;
    height: auto;
    display: block;

    object-fit: contain;
}


/* =========================================================
   LANGUAGE
   ========================================================= */

.klog-language {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 500;

    user-select: none;
}

.klog-language .language-globe {
    font-size: 17px;
}

.klog-language .language-arrow {
    font-size: 12px;
    opacity: 0.75;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.klog .container {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 1250px;

    padding-left: 25px;
    padding-right: 25px;
}


/* =========================================================
   MAIN ROW
   ========================================================= */

.klog-main-row {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 80px;
    padding-bottom: 45px;
}


/* =========================================================
   LEFT INTRODUCTION
   ========================================================= */

.klog-intro {
    padding-right: 70px;
}

.klog-intro h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;

    letter-spacing: -1.2px;
}

.klog-intro h1::after {
    content: "";

    display: block;

    width: 48px;
    height: 4px;

    margin-top: 18px;

    background: #db9034;
    border-radius: 20px;
}

.klog-intro p {
    max-width: 510px;

    margin: 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}


/* =========================================================
   OPTIONAL SMALL BRAND TEXT
   ========================================================= */

.klog-intro .klog-brand {
    margin-top: 28px;

    color: #db9034;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* =========================================================
   LOGIN AREA
   ========================================================= */

.klog-login-area {
    padding-left: 15px;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.klog .auth_form {
    position: relative;

    width: 100%;

    background: #ffffff;

    border: 0;

    border-radius: 18px;

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.20);

    overflow: hidden;

    margin: 0;
}


/* Orange top line */

.klog .auth_form::before {
    content: "";

    display: block;

    width: 100%;
    height: 5px;

    background: #db9034;
}


/* =========================================================
   FORM HEADER
   ========================================================= */

.klog .auth_form .header {
    padding: 34px 35px 8px;

    text-align: left;
}

.klog .auth_form .header h5 {
    margin: 0;

    color: #393939;

    font-size: 23px;
    line-height: 1.3;

    font-weight: 700;

    letter-spacing: -0.2px;
}


/* =========================================================
   FORM SUBTITLE
   ========================================================= */

.klog-form-subtitle {
    padding: 0 35px;

    color: #777777;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   FORM BODY
   ========================================================= */

.klog .auth_form .body {
    padding: 23px 35px 35px;
}


/* =========================================================
   INPUT GROUP
   ========================================================= */

.klog .auth_form .input-group {
    position: relative;

    width: 100%;

    margin-bottom: 17px !important;
}


/* =========================================================
   INPUT
   ========================================================= */

.klog .auth_form .form-control {
    width: 100%;
    height: 52px;

    padding: 0 55px 0 17px;

    color: #393939;

    background: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 9px !important;

    box-shadow: none;

    font-size: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.klog .auth_form .form-control::placeholder {
    color: #999999;
}

.klog .auth_form .form-control:focus {
    background: #ffffff;

    border-color: #db9034;

    box-shadow:
        0 0 0 3px rgba(219, 144, 52, 0.12);

    outline: none;
}


/* =========================================================
   INPUT ICON
   ========================================================= */

.klog .auth_form .input-group-append {
    position: absolute;

    right: 1px;
    top: 1px;

    height: 50px;

    z-index: 5;
}

.klog .auth_form .input-group-text {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #db9034;

    background: transparent;

    border: 0;

    font-size: 17px;
}

.klog .auth_form .input-group-text i {
    transition: color 0.2s ease;
}

.klog .auth_form .input-group-text i:hover {
    color: #173537;
}


/* =========================================================
   REMEMBER ME
   ========================================================= */

.klog .auth_form .checkbox {
    margin: 4px 0 22px;
}

.klog .auth_form .checkbox label {
    color: #666666;

    font-size: 13px;

    cursor: pointer;
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.klog .auth_form .btn-primary {
    width: 100%;
    height: 52px;

    border: 0;

    border-radius: 9px;

    background: #173537;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.7px;

    box-shadow:
        0 8px 20px rgba(2, 71, 76, 0.20);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.klog .auth_form .btn-primary:hover,
.klog .auth_form .btn-primary:focus {
    background: #db9034;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(219, 144, 52, 0.28);
}

.klog .auth_form .btn-primary:active {
    transform: translateY(0);
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.klog .copyright {
    margin-top: 25px;

    color: rgba(255, 255, 255, 0.60);

    font-size: 11px;

    text-align: center;
}

.klog .copyright a {
    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    transition: color 0.2s ease;
}

.klog .copyright a:hover {
    color: #db9034;
}


/* =========================================================
   LOADER
   ========================================================= */

.klog .loader {
    display: inline-block;

    width: 15px;
    height: 15px;

    margin-left: 8px;

    vertical-align: middle;

    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: klogSpin 0.7s linear infinite;
}

@keyframes klogSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   HIDE OLD KOOTELA PANEL
   ========================================================= */

.klog .ktlaa {
    display: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .authentication.klog {
        min-height: 100vh;

        align-items: flex-start;
    }

    .klog-topbar {
        height: 80px;

        padding: 20px 25px;
    }

    .klog-logo img {
        width: 56px;
    }

    .klog-main-row {
        min-height: 100vh;

        padding-top: 125px;
        padding-bottom: 35px;

        display: block;
    }

    .klog-intro {
        padding-right: 0;

        margin-bottom: 30px;

        text-align: center;
    }

    .klog-intro h1 {
        font-size: 40px;
    }

    .klog-intro p {
        margin-left: auto;
        margin-right: auto;
    }

    .klog-intro .klog-brand {
        margin-top: 20px;
    }

    .klog-login-area {
        padding-left: 0;

        max-width: 520px;

        margin-left: auto;
        margin-right: auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .klog-topbar {
        padding: 18px 18px;
    }

    .klog-logo img {
        width: 50px;
    }

    .klog-language {
        font-size: 12px;
    }

    .klog-main-row {
        padding-left: 5px;
        padding-right: 5px;

        padding-top: 105px;
    }

    .klog-intro {
        margin-bottom: 25px;
    }

    .klog-intro h1 {
        font-size: 34px;

        letter-spacing: -0.8px;
    }

    .klog-intro h1::after {
        margin-left: auto;
        margin-right: auto;
    }

    .klog-intro p {
        padding: 0 10px;

        font-size: 14px;

        line-height: 1.55;
    }

    .klog-intro .klog-brand {
        font-size: 11px;
    }

    .klog .auth_form {
        border-radius: 15px;
    }

    .klog .auth_form .header {
        padding: 27px 24px 7px;
    }

    .klog .auth_form .header h5 {
        font-size: 21px;
    }

    .klog-form-subtitle {
        padding: 0 24px;

        font-size: 13px;
    }

    .klog .auth_form .body {
        padding: 20px 24px 27px;
    }

    .klog .auth_form .form-control {
        height: 50px;
    }

    .klog .auth_form .btn-primary {
        height: 50px;
    }

    .klog .copyright {
        margin-top: 18px;
    }
}

/* =========================================================
   MOBILE — HIDE LOGIN DESCRIPTION
   ========================================================= */

@media (max-width: 575px) {

    /* Reduce overall top space */
    .klog-main-row {
        padding-top: 72px;
        padding-bottom: 25px;
    }

    /* Hide description on mobile */
    .klog-intro p {
        display: none;
    }

    /* Hide additional brand text */
    .klog-intro .klog-brand {
        display: none;
    }

    /* Reduce space around Login heading */
    .klog-intro {
        margin-bottom: 16px;
    }

    .klog-intro h1 {
        font-size: 32px;
        margin-bottom: 0;
    }

    .klog-intro h1::after {
        margin-top: 10px;
    }

    /* Smaller login card spacing */
    .klog .auth_form .header {
        padding: 24px 22px 6px;
    }

    .klog .auth_form .body {
        padding: 18px 22px 24px;
    }

    .klog-form-subtitle {
        padding: 0 22px;
    }

    /* Slightly smaller fields */
    .klog .auth_form .form-control {
        height: 48px;
    }

    .klog .auth_form .input-group-append {
        height: 46px;
    }

    .klog .auth_form .input-group-text {
        height: 46px;
    }

    .klog .auth_form .btn-primary {
        height: 48px;
    }

    .klog .copyright {
        margin-top: 14px;
    }
}
