/* =========================================================
   UTANG WISE - LOGIN PAGE
   FULLSCREEN VERSION
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #062347;
    --dark-navy: #041A35;
    --gold: #E5A129;
    --light-gold: #FABC4F;
    --cream: #FFF4DF;

    --white: #FFFFFF;
    --text: #062347;
    --muted: #718096;
    --border: #D8DEE7;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #FFFFFF;
    color: var(--text);
}


/* =========================================================
   PAGE
========================================================= */

.login-page {
    width: 100%;
    min-height: 100vh;

    padding: 0;
    margin: 0;
}


/* =========================================================
   MAIN LOGIN LAYOUT
========================================================= */


.login-card {
    width: 100%;
    min-height: 100vh;

    display: block;

    background: #FFFFFF;

    border: none;
    border-radius: 0;
    box-shadow: none;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.login-visual {
    position: fixed;
    top: 0;
    left: 0;

    width: 50%;
    height: 100vh;

    padding:
        42px
        clamp(55px, 7vw, 110px)
        35px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #062347 0%,
            #041A35 100%
        );

    color: #FFFFFF;

    overflow: hidden;

    z-index: 1;
}

/* =========================================================
   BRAND
========================================================= */

.brand {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;

    gap: 14px;
}


/* NEW UW WALLET LOGO */

.brand-logo {
    width: 70px;
    height: 70px;

    flex-shrink: 0;

    display: block;

    object-fit: contain;
}


/* BRAND TEXT */

.brand-name {
    display: flex;
    flex-direction: column;

    justify-content: center;
}

.brand-name h2 {
    margin: 0;

    color: var(--white);

    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .3px;
}

.brand-name span {
    margin-top: 7px;

    color: var(--light-gold);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.visual-content {
    position: relative;
    z-index: 2;

    flex: 1;

    display: flex;
    flex-direction: column;

    padding-top: clamp(55px, 8vh, 100px);
}

.visual-content > h1 {
    position: relative;
    z-index: 5;

    color: var(--white);

    font-family: "Playfair Display", serif;
    font-size: clamp(44px, 4.2vw, 66px);
    font-weight: 700;

    line-height: 1.12;
}

.visual-content > p {
    position: relative;
    z-index: 5;

    margin-top: 20px;

    max-width: 430px;

    color: rgba(255, 255, 255, .94);

    font-size: 16px;

    line-height: 1.65;
}

.gold-line {
    position: relative;
    z-index: 5;

    width: 65px;
    height: 5px;

    margin-top: 20px;

    border-radius: 999px;

    background: var(--light-gold);
}


/* =========================================================
   LEFT ILLUSTRATION
========================================================= */

.login-illustration {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: min(570px, 90%);
    height: 390px;

    transform: translateX(-50%);
}


/* CREAM BACKGROUND SHAPE */

.illustration-bg {
    position: absolute;

    left: 50%;
    bottom: 20px;

    width: 440px;
    height: 280px;

    transform: translateX(-50%);

    border-radius:
        48% 52% 43% 57% /
        55% 44% 56% 45%;

    background: var(--cream);
}


/* =========================================================
   PERSON
========================================================= */

.person {
    position: absolute;

    left: 48%;
    bottom: 0;

    width: 220px;
    height: 300px;

    transform: translateX(-50%);

    z-index: 3;
}


/* HEAD */

.person-head {
    position: absolute;

    top: 0;
    left: 50%;

    width: 130px;
    height: 145px;

    transform: translateX(-50%);

    border-radius:
        50% 50% 45% 45%;

    background: #062347;
}


/* FACE */

.person-head::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 26px;

    width: 77px;
    height: 96px;

    transform: translateX(-50%);

    border-radius: 48%;

    background: #F1C49C;
}


/* BODY */

.person-body {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 205px;
    height: 190px;

    transform: translateX(-50%);

    border-radius:
        85px 85px 15px 15px;

    background: #DDB467;
}


/* =========================================================
   LAPTOP
========================================================= */

.laptop {
    position: absolute;

    right: 10px;
    bottom: 9px;

    width: 225px;
    height: 128px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: skew(-7deg);

    border-radius: 7px 7px 3px 3px;

    background: #0C2D59;

    box-shadow:
        0 8px 15px
        rgba(0, 0, 0, .10);
}

.laptop span {
    transform: skew(7deg);

    color: var(--light-gold);

    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-style: italic;
}


/* =========================================================
   SECURITY DECORATION
========================================================= */

.security-icon {
    position: absolute;

    top: 80px;
    right: 35px;

    width: 86px;
    height: 86px;

    z-index: 5;

    display: grid;
    place-items: center;

    border: 4px solid rgba(229, 161, 41, .32);
    border-radius: 32px;

    color: rgba(229, 161, 41, .50);

    background: rgba(255, 244, 223, .06);
}

.security-icon .material-symbols-outlined {
    font-size: 38px;
}


/* =========================================================
   DECORATIVE LINES
========================================================= */

.login-visual::before,
.login-visual::after {
    content: "";

    position: absolute;

    z-index: 1;

    border-radius: 999px;

    background: rgba(229, 161, 41, .75);

    transform-origin: center;
}

.login-visual::before {
    width: 12px;
    height: 160px;

    left: 60px;
    bottom: 65px;

    transform: rotate(-15deg);
}

.login-visual::after {
    width: 10px;
    height: 105px;

    left: 102px;
    bottom: 64px;

    transform: rotate(17deg);
}


/* =========================================================
   RIGHT SIDE
========================================================= */
.login-form-side {
    position: relative;

    width: 50%;
    min-height: 100vh;

    /* occupy the other half */
    margin-left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        60px
        clamp(60px, 8vw, 130px);

    background: #FFFFFF;

    z-index: 1;
}

/* =========================================================
   FORM WRAPPER
========================================================= */

.login-form-wrapper {
    width: 100%;
    max-width: 520px;
}


/* =========================================================
   HEADING
========================================================= */

.login-heading {
    margin-bottom: 42px;
}

.login-heading h1 {
    color: var(--navy);

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 4vw, 58px);
    font-weight: 700;

    line-height: 1.08;
}

.login-heading p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 17px;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;

    margin-bottom: 10px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.input-box {
    width: 100%;
    height: 68px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 0 20px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--white);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.input-box:focus-within {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(229, 161, 41, .10);
}

.input-box > .material-symbols-outlined {
    flex-shrink: 0;

    color: #7D8C9E;

    font-size: 24px;
}

.input-box input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--navy);

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
}

.input-box input::placeholder {
    color: #94A0AF;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: none;
    outline: none;

    background: transparent;

    color: #71849A;

    cursor: pointer;
}

.password-toggle:hover {
    color: var(--gold);
}

.password-toggle .material-symbols-outlined {
    font-size: 24px;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.forgot-password {
    margin-top: 10px;

    text-align: right;
}

.forgot-password a {
    color: var(--navy);

    font-size: 13px;

    text-decoration: none;
}

.forgot-password a:hover {
    color: var(--gold);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {
    width: 100%;
    height: 66px;

    margin-top: 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: none;
    border-radius: 12px;

    background: var(--navy);

    color: var(--white);

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .15s ease,
        box-shadow .2s ease;
}

.login-btn .material-symbols-outlined {
    color: var(--gold);

    font-size: 25px;
}

.login-btn:hover {
    background: #0A315F;

    box-shadow:
        0 8px 20px
        rgba(6, 35, 71, .15);
}

.login-btn:active {
    transform: translateY(1px);
}


/* =========================================================
   OR DIVIDER
========================================================= */

.or-divider {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 18px;

    margin: 38px 0 30px;
}

.or-divider span {
    height: 1px;

    background: #D9DEE5;
}

.or-divider p {
    color: #758396;

    font-size: 13px;
}


/* =========================================================
   REGISTER LINK
========================================================= */

.register-link {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    color: #7B8796;

    font-size: 14px;
}

.register-link a {
    color: var(--gold);

    font-weight: 600;

    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE - SMALL LAPTOP
========================================================= */

@media (max-width: 1150px) {

  @media (max-width: 900px) {

    .login-card {
        display: block;
    }

    .login-visual {
        position: relative;

        top: auto;
        left: auto;

        width: 100%;
        height: 460px;
        min-height: 460px;

        padding:
            30px
            45px;
    }

    .login-form-side {
        position: relative;

        width: 100%;
        min-height: auto;

        margin-left: 0;

        padding:
            65px
            45px
            80px;
    }

    .login-form-wrapper {
        width: 100%;
        max-width: 560px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {

    .login-visual {
        min-height: 390px;

        padding:
            25px
            25px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-name h2 {
        font-size: 19px;
    }

    .brand-name span {
        margin-top: 5px;

        font-size: 7px;

        letter-spacing: 1.3px;
    }

    .visual-content {
        padding-top: 38px;
    }

    .visual-content > h1 {
        font-size: 38px;
    }

    .visual-content > p {
        margin-top: 14px;

        max-width: 290px;

        font-size: 12px;
    }

    .visual-content > p br {
        display: none;
    }

    .gold-line {
        width: 50px;
        height: 4px;

        margin-top: 15px;
    }

    .login-illustration {
        right: -100px;

        transform: scale(.55);

        transform-origin: bottom right;
    }

    .security-icon {
        display: none;
    }

    .login-form-side {
        padding:
            50px
            25px
            65px;
    }

    .login-heading {
        margin-bottom: 32px;
    }

    .login-heading h1 {
        font-size: 39px;
    }

    .login-heading p {
        margin-top: 8px;

        font-size: 14px;
    }

    .form-group {
        margin-bottom: 21px;
    }

    .input-box {
        height: 60px;

        padding: 0 16px;

        border-radius: 10px;
    }

    .login-btn {
        height: 60px;

        border-radius: 10px;
    }

    .or-divider {
        margin:
            32px
            0
            26px;
    }

    .register-link {
        flex-wrap: wrap;

        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .login-visual {
        min-height: 350px;
    }

    .visual-content > h1 {
        font-size: 34px;
    }

    .login-illustration {
        right: -125px;

        transform: scale(.48);
    }

    .login-form-side {
        padding-left: 20px;
        padding-right: 20px;
    }

    .login-heading h1 {
        font-size: 35px;
    }

}