﻿body {
}
:root {
    --primary-blue: #1475e8;
    --primary-dark: #082c55;
    --deep-navy: #061d36;
    --light-blue: #eaf4ff;
    --text-dark: #0c2446;
    --text-muted: #71839a;
    --border-color: #dce7f3;
}


/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    overflow-x: hidden;
}


/* =========================================================
   MAIN PAGE
   ========================================================= */

.login-page {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(430px, .85fr);
    align-items: center;
    gap: 40px;
    padding: 45px 6%;
    overflow: hidden;
    background: #061d36;
}


/* =========================================================
   BACKGROUND IMAGE
   ========================================================= */

.login-background {
    position: absolute;
    inset: 0;
    background-image: url("/images/login-bg.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.02);
}


/* =========================================================
   BLUE OVERLAY
   ========================================================= */

.login-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(3, 25, 51, .87) 0%, rgba(4, 38, 77, .78) 35%, rgba(5, 43, 84, .56) 60%, rgba(3, 21, 42, .38) 100% );
}


/* =========================================================
   LEFT BRAND SECTION
   ========================================================= */

.login-brand-section {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: #ffffff;
    padding-left: 15px;
}


.login-brand-logo {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 20px;
}


.car-mark {
    width: 75px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: #ffffff;
}


.login-brand-logo h1 {
    margin: 0;
    font-size: 37px;
    font-weight: 800;
    letter-spacing: -1px;
}


    .login-brand-logo h1 span {
        color: #2187f5;
    }


.login-brand-logo p {
    margin: 2px 0 0;
    font-size: 12px;
    letter-spacing: 5px;
    color: #d8e9fa;
}


.brand-line {
    display: flex;
    align-items: center;
    width: 360px;
    margin: 17px 0 20px;
}


    .brand-line span {
        height: 1px;
        flex: 1;
        background: rgba(255,255,255,.35);
    }


    .brand-line div {
        width: 34px;
        height: 4px;
        margin: 0 12px;
        background: #1d82ef;
        border-radius: 10px;
    }


.brand-small-tagline {
    color: #eef7ff;
    font-size: 10px;
    letter-spacing: 2.7px;
    word-spacing: 3px;
}


    .brand-small-tagline b {
        margin: 0 7px;
        color: #2587ef;
    }


/* =========================================================
   HERO TEXT
   ========================================================= */

.login-hero-text {
    margin-top: 46px;
    max-width: 650px;
}


    .login-hero-text h2 {
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(42px, 4vw, 67px);
        line-height: 1.08;
        font-weight: 700;
        letter-spacing: -1px;
        text-shadow: 0 4px 22px rgba(0,0,0,.22);
    }


        .login-hero-text h2 span {
            display: block;
            margin-top: 4px;
            color: #54a9ff;
        }


    .login-hero-text p {
        max-width: 600px;
        margin: 23px 0 0;
        color: #e5eef7;
        font-size: 15px;
        line-height: 1.75;
        text-shadow: 0 2px 12px rgba(0,0,0,.25);
    }


/* =========================================================
   LOGIN CARD WRAPPER
   ========================================================= */

.login-card-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {
    width: 100%;
    max-width: 510px;
    min-height: 650px;
    padding: 38px 43px 30px;
    border-radius: 25px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.75);
    box-shadow: 0 30px 80px rgba(0, 24, 56, .34);
    backdrop-filter: blur(15px);
}


/* =========================================================
   CARD LOGO
   ========================================================= */

.login-card-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}


.japan-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 35px;
    background: linear-gradient( 145deg, #197ce9, #0554ae );
    box-shadow: 0 10px 27px rgba(22, 113, 216, .27);
}


/* =========================================================
   HEADING
   ========================================================= */

.login-card-heading {
    text-align: center;
    margin-bottom: 28px;
}


    .login-card-heading h2 {
        margin: 0;
        color: #0d2341;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 37px;
        font-weight: 700;
    }


    .login-card-heading p {
        margin: 8px 0 0;
        color: #7b899b;
        font-size: 12px;
    }


/* =========================================================
   ERROR
   ========================================================= */

.login-error {
    padding: 11px 13px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #f1c9c9;
    border-radius: 9px;
    background: #fff3f3;
    color: #c83e3e;
    font-size: 11px;
}


/* =========================================================
   FORM INPUTS
   ========================================================= */

.login-input-group {
    height: 57px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: #ffffff;
    transition: all .2s ease;
}


    .login-input-group:focus-within {
        border-color: #72acec;
        box-shadow: 0 0 0 4px rgba(23, 117, 232, .08);
    }


    .login-input-group > i {
        margin-left: 17px;
        color: #173863;
        font-size: 17px;
    }


    .login-input-group input {
        width: 100%;
        height: 100%;
        padding: 0 46px 0 13px;
        border: none;
        outline: none;
        background: transparent;
        color: #1b2f4a;
        font-family: inherit;
        font-size: 13px;
    }


        .login-input-group input::placeholder {
            color: #95a4b6;
        }


.password-toggle {
    position: absolute;
    right: 15px;
    border: none;
    padding: 0;
    background: transparent;
    color: #183e6c;
    cursor: pointer;
}


/* =========================================================
   LOGIN OPTIONS
   ========================================================= */

.login-options {
    margin: 18px 1px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 11px;
}


.remember-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #566b84;
    cursor: pointer;
}


    .remember-box input {
        width: 16px;
        height: 16px;
        accent-color: #1475e8;
    }


.forgot-password {
    color: #086ada;
    font-weight: 600;
}


/* =========================================================
   SIGN IN BUTTON
   ========================================================= */

.login-button {
    width: 100%;
    height: 57px;
    border: none;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient( 90deg, #1478ec, #0762cb );
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 103, 208, .25);
    transition: all .2s ease;
}


    .login-button:hover {
        transform: translateY(-1px);
        background: linear-gradient( 90deg, #0d6cd9, #064eac );
        box-shadow: 0 13px 29px rgba(11, 103, 208, .33);
    }


    .login-button i {
        font-size: 18px;
    }


/* =========================================================
   DIVIDER
   ========================================================= */

.login-divider {
    margin: 31px 0 25px;
    display: flex;
    align-items: center;
    gap: 11px;
}


    .login-divider span {
        flex: 1;
        height: 1px;
        background: #e1e7ee;
    }


    .login-divider p {
        margin: 0;
        color: #a0a9b5;
        font-size: 9px;
        white-space: nowrap;
    }


/* =========================================================
   CARD FOOTER
   ========================================================= */

.login-card-footer {
    margin-top: 25px;
    text-align: center;
}


.footer-line {
    width: 24px;
    height: 3px;
    margin: 0 auto 13px;
    border-radius: 10px;
    background: #1680ed;
}


.login-card-footer strong {
    color: #183557;
    font-size: 9px;
    letter-spacing: 2.4px;
}


.login-card-footer p {
    margin: 7px 0 0;
    color: #9aacc0;
    font-size: 7px;
    letter-spacing: 2px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .login-page {
        grid-template-columns: 1fr 440px;
        padding: 35px;
    }

    .login-brand-logo h1 {
        font-size: 30px;
    }

    .login-hero-text h2 {
        font-size: 44px;
    }
}


@media (max-width: 850px) {

    .login-page {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 25px;
    }

    .login-brand-section {
        display: none;
    }

    .login-card-wrapper {
        width: 100%;
        justify-content: center;
    }

    .login-card {
        min-height: auto;
    }

    .login-overlay {
        background: rgba(2, 27, 55, .67);
    }
}


@media (max-width: 520px) {

    .login-page {
        padding: 14px;
    }

    .login-card {
        padding: 30px 22px 25px;
        border-radius: 20px;
    }

    .login-card-heading h2 {
        font-size: 31px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }
    input[type="password"]::-ms-reveal,
    input[type="password"]::-ms-clear {
        display: none;
    }
    .login-input-group input {
        padding-right: 50px;
    }
}