﻿
/* =========================================================
    GLOBAL
========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

html {
    transition: background-color .3s ease, color .3s ease;
}


/* =========================================================
     BODY - LIGHT
========================================================= */

body.login-page {
    min-height: 100vh;
    overflow: hidden;
    font-family: "Source Sans Pro", Arial, sans-serif;
    background-color: #dcecff;
    background-image: linear-gradient( 90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.76) 35%, rgba(255,255,255,.30) 62%, rgba(255,255,255,.08) 100% ), url('/images/background/NEW_BG_Image.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    transition: background-color .35s ease, color .35s ease;
}

/* =========================================================
   DARK BODY
========================================================= */

html[data-theme="dark"] body.login-page {
    background-color: #061525;
    background-image: linear-gradient( 90deg, rgba(4,16,30,.96) 0%, rgba(5,23,41,.90) 38%, rgba(5,23,41,.72) 65%, rgba(4,16,30,.65) 100% ), url('/images/background/NEW_BG_Image.png');
}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.logistics-login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}


/* =========================================================
   MAIN LOGIN CONTAINER
========================================================= */

.logistics-login-container {
    width: 100%;
    max-width: 1500px;
    min-height: 760px;
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.12);
    box-shadow: 0 30px 80px rgba(0,30,70,.28), 0 8px 30px rgba(0,0,0,.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /*
        IMPORTANT:
        Browser 75% zoom jaisa visual size.
        Actual width/height/font values ko change nahi kiya.
    */
    zoom: 0.70;
}


/* =========================================================
   LEFT SECTION
========================================================= */

.logistics-left {
    width: 55%;
    min-height: 760px;
    position: relative;
    padding: 42px 55px 35px 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #09294b;
}


/* =========================================================
   LEFT LOGO
========================================================= */

.logistics-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logistics-logo-icon {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.88);
    border: 2px solid rgba(255,255,255,.95);
    box-shadow: 0 8px 25px rgba(0,50,100,.16), inset 0 0 0 5px rgba(230,242,252,.75);
    overflow: hidden;
}

    .logistics-logo-icon img {
        width: 64px;
        height: 64px;
        object-fit: contain;
        display: block;
    }

.logistics-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logistics-logo-name {
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -.8px;
    color: #092c54;
}

.logistics-logo-tagline {
    margin-top: 8px;
    font-size: 13px;
    color: #54708f;
    letter-spacing: .3px;
}


/* =========================================================
   HERO
========================================================= */


.logistics-hero {
    margin-top: 55px;
    opacity: 0;
    transform: translateX(100px);
    animation: heroSlideRightToLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroSlideRightToLeft {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logistics-hero h1 {
    margin: 0;
    font-size: 50px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #092c54;
}

.logistics-hero h2 {
    margin: 7px 0 0 0;
    font-size: 49px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #0878e8;
}

.logistics-hero p {
    margin-top: 24px;
    max-width: 520px;
    font-size: 18px;
    line-height: 1.55;
    color: #506d8e;
}


/* =========================================================
   FEATURES
========================================================= */

.logistics-features {
    width: 100%;
    max-width: 660px;
    min-height: 135px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background: rgba(255,255,255,.84);
    border-radius: 22px;
    padding: 18px 15px;
    box-shadow: 0 15px 35px rgba(0,50,100,.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.85);
}

.logistics-feature {
    text-align: center;
    color: #102e4e;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.logistics-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 9px auto;
    border-radius: 50%;
    background: rgba(236,247,255,.95);
    border: 1px solid #cfe7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0878e8;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0,100,200,.08);
}


/* =========================================================
   RIGHT LOGIN CARD
========================================================= */

.logistics-right {
    width: 45%;
    min-height: 760px;
    position: relative;
    padding: 55px 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,.94);
    border-radius: 24px;
    box-shadow: -12px 0 35px rgba(0,0,0,.05);
    overflow: hidden;
}


/* =========================================================
   RIGHT CARD BACKGROUND IMAGE
========================================================= */

    .logistics-right::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/images/background/NEW_BG_Image.png');
        background-repeat: no-repeat;
        background-position: right center;
        background-size: cover;
        opacity: .055;
        pointer-events: none;
        z-index: 0;
    }


/* =========================================================
   WORLD MAP STYLE OVERLAY
========================================================= */

    .logistics-right::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 85% 15%, rgba(0,126,255,.12), transparent 35% ), radial-gradient( circle at 20% 80%, rgba(0,126,255,.05), transparent 30% );
        pointer-events: none;
        z-index: 0;
    }

    .logistics-right > * {
        position: relative;
        z-index: 2;
    }


/* =========================================================
   THEME SWITCHER
========================================================= */

.theme-switcher {
    position: absolute;
    right: 22px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,.85);
    border: 1px solid #d5e3ef;
    border-radius: 28px;
    padding: 3px;
    box-shadow: 0 5px 18px rgba(0,50,100,.08);
    z-index: 10;
}

.theme-button {
    width: 39px;
    height: 35px;
    border: 0;
    background: transparent;
    border-radius: 50%;
    color: #637c96;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
}

    .theme-button:hover {
        color: #0878e8;
    }

    .theme-button.active {
        background: #fff;
        color: #063665;
        box-shadow: 0 3px 9px rgba(0,0,0,.10);
    }


/* =========================================================
   LOGIN LOGO
========================================================= */

.login-icon-wrapper {
    width: 112px;
    height: 112px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.95);
    box-shadow: 0 10px 30px rgba(0,55,110,.15), inset 0 0 0 7px #edf6fd;
}

.login-page-logo {
    width: 91px;
    height: 91px;
    object-fit: contain;
    display: block;
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.login-heading {
    text-align: center;
    margin-bottom: 34px;
}

    .login-heading h2 {
        margin: 0;
        color: #082849;
        font-size: 32px;
        font-weight: 800;
        letter-spacing: -.6px;
    }

    .login-heading p {
        margin: 9px 0 0 0;
        color: #607997;
        font-size: 15px;
    }


/* =========================================================
   FORM
========================================================= */

.login-form-group {
    margin-bottom: 22px;
}

.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.login-label {
    font-size: 20px;
    font-weight: 700;
    color: #112f50;
}

.forgot-link {
    font-size: 13px;
    color: #006fe6;
    text-decoration: none;
    font-weight: 600;
}

    .forgot-link:hover {
        color: #0056b8;
        text-decoration: underline;
    }


/* =========================================================
   INPUT
========================================================= */

.login-input-wrapper {
    position: relative;
    width: 100%;
}

.login-input-icon {
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%);
    color: #65809d;
    font-size: 20px;
    z-index: 2;
}

.login-input {
    width: 100%;
    height: 58px;
    border: 1px solid #cfddea;
    border-radius: 9px;
    background: rgba(255,255,255,.94);
    padding: 0 48px 0 55px;
    /* Typed text size */
    font-size: 20px;
    font-weight: 500;
    color: #243b53;
    outline: none;
    transition: all .2s ease;
}

    .login-input::placeholder {
        color: #7890aa;
        font-size: 20px;
        font-weight: 400;
    }
    .login-input:focus {
        border-color: #0878e8;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(8,120,232,.09);
    }


/* =========================================================
   PASSWORD EYE
========================================================= */

.password-toggle {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #66819e;
    cursor: pointer;
    padding: 5px;
    z-index: 3;
    font-size: 17px;
}

    .password-toggle:hover {
        color: #0878e8;
    }


/* =========================================================
   VALIDATION
========================================================= */

.login-validation {
    display: block;
    margin-top: 5px;
    font-size: 18px;
    font-weight: 500;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.remember-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 3px;
    margin-bottom: 22px;
    min-height: 22px;
}

    .remember-row input[type="checkbox"] {
        width: 21px;
        height: 21px;
        min-width: 21px;
        margin: 0 !important;
        padding: 0;
        appearance: none;
        -webkit-appearance: none;
        border: 1.5px solid #b9cadb;
        border-radius: 5px;
        background: #fff;
        cursor: pointer;
        position: relative;
        vertical-align: middle;
    }

        .remember-row input[type="checkbox"]:checked {
            background: #0878e8;
            border-color: #0878e8;
        }

            .remember-row input[type="checkbox"]:checked::after {
                content: "✓";
                position: absolute;
                left: 4px;
                top: -1px;
                color: #fff;
                font-size: 15px;
                font-weight: 700;
            }

    .remember-row label {
        margin: 0;
        padding: 0;
        font-size: 20px;
        line-height: 21px;
        color: #263f5d;
        cursor: pointer;
        font-weight: 600;
    }


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient( 90deg, #0869dc, #087ff2 );
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(8,120,232,.22);
    transition: all .2s ease;
}

    .login-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 11px 25px rgba(8,120,232,.30);
    }

    .login-button:active {
        transform: translateY(0);
    }

.login-button-arrow {
    position: absolute;
    right: 22px;
    font-size: 21px;
}


/* =========================================================
   BOTTOM LINK
========================================================= */

.login-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    color: #607997;
    font-size: 18px;
    text-align: center;
    flex-wrap: wrap;
}

    .login-bottom a {
        color: #0878e8;
        text-decoration: none;
        font-weight: 700;
    }

        .login-bottom a:hover {
            text-decoration: underline;
        }

.resend-link {
    flex-basis: 100%;
    display: block;
    margin-top: 7px;
    font-size: 16px;
}


/* =========================================================
   VALIDATION SUMMARY
========================================================= */

.login-summary {
    display: none !important;
}

    .login-summary ul {
        margin: 0;
        padding-left: 18px;
    }


/* =========================================================
   DARK THEME
========================================================= */

html[data-theme="dark"]
.logistics-login-container {
    border-color: rgba(130,180,220,.18);
    box-shadow: 0 30px 80px rgba(0,0,0,.50), 0 8px 30px rgba(0,0,0,.30);
}

html[data-theme="dark"]
.logistics-left {
    color: #e4f1ff;
}

html[data-theme="dark"]
.logistics-logo-icon {
    background: rgba(12,32,52,.92);
    border-color: rgba(130,190,235,.25);
    box-shadow: 0 8px 25px rgba(0,0,0,.35), inset 0 0 0 5px rgba(40,90,130,.30);
}

html[data-theme="dark"]
.logistics-logo-name {
    color: #f1f7ff;
}

html[data-theme="dark"]
.logistics-logo-tagline {
    color: #9ab3ca;
}

html[data-theme="dark"]
.logistics-hero h1 {
    color: #f1f7ff;
}

html[data-theme="dark"]
.logistics-hero h2 {
    color: #37a0ff;
}

html[data-theme="dark"]
.logistics-hero p {
    color: #aec1d4;
}

html[data-theme="dark"]
.logistics-features {
    background: rgba(8,27,46,.88);
    border-color: rgba(110,165,210,.22);
    box-shadow: 0 15px 35px rgba(0,0,0,.30);
}

html[data-theme="dark"]
.logistics-feature {
    color: #e4f1ff;
}

html[data-theme="dark"]
.logistics-feature-icon {
    background: rgba(14,53,85,.90);
    border-color: rgba(66,145,210,.35);
    color: #42a4ff;
}

html[data-theme="dark"]
.logistics-right {
    background: rgba(8,24,41,.96);
    box-shadow: -12px 0 35px rgba(0,0,0,.30);
}

    html[data-theme="dark"]
    .logistics-right::before {
        opacity: .09;
    }

html[data-theme="dark"]
.theme-switcher {
    background: rgba(14,36,57,.92);
    border-color: rgba(100,150,190,.25);
}

html[data-theme="dark"]
.theme-button {
    color: #8ca8c2;
}

    html[data-theme="dark"]
    .theme-button.active {
        background: #173956;
        color: #fff;
    }

html[data-theme="dark"]
.login-icon-wrapper {
    background: rgba(12,33,53,.95);
    border-color: rgba(120,180,225,.25);
    box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 7px rgba(25,62,92,.75);
}

html[data-theme="dark"]
.login-heading h2 {
    color: #f1f7ff;
}

html[data-theme="dark"]
.login-heading p {
    color: #9eb5ca;
}

html[data-theme="dark"]
.login-label {
    color: #e5f1fc;
}

html[data-theme="dark"]
.forgot-link {
    color: #45a5ff;
}

html[data-theme="dark"]
.login-input {
    background: rgba(12,35,57,.92);
    border-color: #31536e;
    color: #edf7ff;
}

    html[data-theme="dark"]
    .login-input::placeholder {
        color: #7894ad;
    }

    html[data-theme="dark"]
    .login-input:focus {
        background: rgba(13,40,65,.98);
        border-color: #1688f7;
        box-shadow: 0 0 0 4px rgba(8,120,232,.16);
    }

html[data-theme="dark"]
.login-input-icon {
    color: #8eabc3;
}

html[data-theme="dark"]
.password-toggle {
    color: #8eabc3;
}

html[data-theme="dark"]
.remember-row label {
    color: #c5d6e6;
}

html[data-theme="dark"]
.remember-row input[type="checkbox"] {
    background: #0c2339;
    border-color: #45657f;
}

html[data-theme="dark"]
.login-bottom {
    color: #8fa8c0;
}

    html[data-theme="dark"]
    .login-bottom a {
        color: #43a5ff;
    }


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media only screen and (max-width: 1100px) {

    body.login-page {
        overflow: auto;
        background-attachment: scroll;
    }

    .logistics-login-container {
        max-width: 1000px;
        /*
            100% se 75% browser zoom jaisa feel
            small desktop/tablet par bhi maintain.
        */
        zoom: 0.70;
    }

    .logistics-left {
        padding: 38px 38px 30px;
    }

    .logistics-right {
        padding: 45px 42px;
    }

    .logistics-hero h1 {
        font-size: 40px;
    }

    .logistics-hero h2 {
        font-size: 39px;
    }
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media only screen and (max-width: 850px) {

    .logistics-login-wrapper {
        padding: 15px;
    }

    .logistics-login-container {
        max-width: 600px;
        min-height: auto;
        flex-direction: column;
        border-radius: 20px;
        /* Mobile par actual responsive size */
        zoom: 1;
    }

    .logistics-left {
        width: 100%;
        min-height: 500px;
        padding: 35px;
    }

    .logistics-right {
        width: 100%;
        min-height: 650px;
        padding: 45px 40px;
        border-radius: 0 0 20px 20px;
    }

    .logistics-hero {
        margin-top: 35px;
    }

        .logistics-hero h1 {
            font-size: 37px;
        }

        .logistics-hero h2 {
            font-size: 36px;
        }

    .logistics-features {
        max-width: 100%;
    }

    .login-input,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }

    .login-validation {
        font-size: 18px !important;
        margin-top: 5px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media only screen and (max-width: 480px) {

    body.login-page {
        background-attachment: scroll;
    }

    .logistics-login-wrapper {
        padding: 0;
    }

    .logistics-login-container {
        min-height: 100vh;
        border-radius: 0;
        border: 0;
        /* Mobile par zoom OFF */
        zoom: 1;
    }

    .logistics-left {
        min-height: 430px;
        padding: 28px 22px;
    }

    .logistics-right {
        min-height: 620px;
        padding: 42px 24px;
        border-radius: 0;
    }

    .logistics-logo-icon {
        width: 58px;
        height: 58px;
        min-width: 58px;
    }

        .logistics-logo-icon img {
            width: 47px;
            height: 47px;
        }

    .logistics-logo-name {
        font-size: 23px;
    }

    .logistics-logo-tagline {
        font-size: 10px;
    }

    .logistics-hero {
        margin-top: 35px;
    }

        .logistics-hero h1 {
            font-size: 30px;
        }

        .logistics-hero h2 {
            font-size: 29px;
        }

        .logistics-hero p {
            font-size: 14px;
        }

    .logistics-features {
        min-height: 100px;
        border-radius: 15px;
        padding: 10px 5px;
    }

    .logistics-feature {
        font-size: 9px;
    }

    .logistics-feature-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .login-icon-wrapper {
        width: 92px;
        height: 92px;
    }

    .login-page-logo {
        width: 75px;
        height: 75px;
    }

    .login-heading h2 {
        font-size: 26px;
    }

    .login-heading p {
        font-size: 12px;
    }

    .login-input {
        height: 52px;
        font-size: 16px;
    }

        .login-input::placeholder {
            font-size: 16px;
        }

    .login-button {
        height: 53px;
    }

    .theme-switcher {
        right: 15px;
        top: 15px;
    }
}


