/* =========================================================
   UTANG WISE - REGISTER PAGE
   FULLSCREEN VERSION
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #062347;
    --navy-dark: #041A35;
    --gold: #E5A129;
    --gold-light: #FABC4F;
    --cream: #FFF4DF;
    --white: #FFFFFF;
    --gray: #707A89;
    --border: #D8DEE7;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family: "DM Sans", sans-serif;

    color: var(--navy);
    background: var(--white);
}


/* =========================================================
   PAGE
========================================================= */

.register-page {
    width: 100%;
    min-height: 100vh;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.register-card {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(500px, 1fr)
        minmax(500px, 1fr);

    align-items: start;

    background: var(--white);

    border: none;
    border-radius: 0;
    box-shadow: none;
}


/* =========================================================
   LEFT PANEL
========================================================= */

.register-left {
    position: sticky;
    top: 0;

    height: 100vh;
    min-height: 100vh;

    overflow: hidden;

    padding:
        42px
        clamp(55px, 7vw, 110px)
        35px;

    color: var(--white);

    background:
        linear-gradient(
            145deg,
            var(--navy),
            var(--navy-dark)
        );
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;

    gap: 14px;
}

.brand-logo {
    width: 70px;
    height: 70px;

    flex-shrink: 0;

    display: block;

    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;

    justify-content: center;
}

.brand-text h2 {
    margin: 0;

    color: var(--white);

    font-family: "Playfair Display", serif;

    font-size: 26px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .3px;
}

.brand-text span {
    display: block;

    margin-top: 7px;

    color: var(--gold-light);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================================================
   LEFT MESSAGE
========================================================= */

.left-message {
    position: relative;
    z-index: 7;

    margin-top: clamp(45px, 6vh, 68px);
}

.left-message h1 {
    max-width: 520px;

    color: var(--white);

    font-family: "Playfair Display", serif;

    font-size: clamp(44px, 4vw, 60px);
    font-weight: 700;

    line-height: 1.08;
}

.left-message p {
    max-width: 410px;

    margin-top: 18px;

    color: rgba(255, 255, 255, .94);

    font-size: 15px;

    line-height: 1.6;
}

.gold-line {
    width: 65px;
    height: 5px;

    margin-top: 18px;

    border-radius: 100px;

    background: var(--gold-light);
}


/* =========================================================
   ILLUSTRATION AREA
========================================================= */

.illustration-area {
    position: absolute;

    left: 50%;
    bottom: 30px;

    width: min(570px, 92%);
    height: 355px;

    transform: translateX(-50%);

    z-index: 2;
}


/* =========================================================
   CREAM BACKGROUND SHAPE
========================================================= */

.cream-shape {
    position: absolute;

    width: 480px;
    height: 260px;

    left: 50%;
    bottom: 0;

    transform:
        translateX(-50%)
        rotate(-2deg);

    background: var(--cream);

    border-radius:
        48% 52% 43% 57% /
        55% 44% 56% 45%;
}


/* =========================================================
   SHIELD / LOCK
========================================================= */

.shield-icon {
    position: absolute;

    width: 90px;
    height: 105px;

    top: 15px;
    right: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        4px solid
        rgba(229, 161, 41, .28);

    border-radius:
        42px 42px
        50px 50px;

    color:
        rgba(229, 161, 41, .45);

    z-index: 6;
}

.shield-icon .material-symbols-outlined {
    font-size: 46px;
}


/* =========================================================
   PERSON ILLUSTRATION
========================================================= */

.woman-placeholder {
    position: absolute;

    width: 410px;
    height: 335px;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    z-index: 4;
}


/* HAIR */

.hair {
    position: absolute;

    width: 150px;
    height: 180px;

    left: 80px;
    top: 0;

    background: #061B38;

    border-radius:
        80px 80px
        55px 55px;

    z-index: 2;
}


/* FACE */

.face {
    position: absolute;

    width: 90px;
    height: 108px;

    left: 110px;
    top: 38px;

    background: #F2C59F;

    border-radius: 48%;

    z-index: 3;
}


/* BODY */

.body {
    position: absolute;

    width: 220px;
    height: 190px;

    left: 35px;
    top: 140px;

    background: #DDB565;

    border-radius:
        75px 75px
        15px 15px;
}


/* =========================================================
   LAPTOP
========================================================= */

.laptop {
    position: absolute;

    width: 220px;
    height: 135px;

    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #102F5A;

    border-radius: 8px 8px 3px 3px;

    transform: skew(-7deg);

    color: var(--gold-light);

    font-family: "Playfair Display", serif;

    font-size: 25px;
    font-style: italic;

    z-index: 5;
}

.laptop span {
    transform: skew(7deg);
}


/* =========================================================
   DECORATIVE LINES
========================================================= */

.decor-line {
    position: absolute;

    width: 11px;

    border-radius: 100px;

    background: rgba(229, 161, 41, .85);

    z-index: 6;
}

.decor-line-one {
    height: 145px;

    left: 25px;
    bottom: 0;

    transform: rotate(-16deg);
}

.decor-line-two {
    height: 95px;

    left: 68px;
    bottom: 0;

    transform: rotate(18deg);
}


/* =========================================================
   RIGHT PANEL
========================================================= */

.register-right {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding:
        28px
        clamp(60px, 8vw, 130px)
        40px;

    background: var(--white);
}


/* =========================================================
   FORM CONTAINER
========================================================= */

.form-container {
    width: 100%;
    max-width: 560px;
}


/* =========================================================
   FORM HEADING
========================================================= */

.form-heading {
    margin-bottom: 18px;
}

.form-heading h1 {
    color: var(--navy);

    font-family: "Playfair Display", serif;

    /* SMALLER + MORE BALANCED */
    font-size: 44px;
    font-weight: 700;

    line-height: 1.05;
}

.form-heading p {
    margin-top: 7px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   APPLYING AS
========================================================= */

.account-type-group {
    margin-bottom: 16px;
}

.account-type-label {
    display: block;

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 700;
}

.account-type-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}


/* =========================================================
   ACCOUNT TYPE CARD
========================================================= */

.account-type-card {
    position: relative;

    min-height: 92px;

    display: flex;
    align-items: center;

    padding:
        14px
        40px
        14px
        16px;

    border: 1.5px solid var(--border);
    border-radius: 12px;

    background: var(--white);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.account-type-card:hover {
    border-color:
        rgba(229, 161, 41, .65);

    background: #FFFCF6;
}

.account-type-card > input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   ACCOUNT CARD CONTENT
========================================================= */

.account-card-content {
    display: flex;
    align-items: center;

    gap: 13px;
}

.account-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--navy);
}

.account-icon .material-symbols-outlined {
    font-size: 35px;
}

.account-info {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.account-info strong {
    color: var(--navy);

    font-size: 15px;
}

.account-info span {
    color: #7B8795;

    font-size: 11px;

    line-height: 1.35;
}


/* =========================================================
   CUSTOM RADIO
========================================================= */

.radio-design {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 20px;
    height: 20px;

    border: 2px solid #C8D0DA;
    border-radius: 50%;

    background: var(--white);
}

.radio-design::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: var(--gold);

    transform:
        translate(-50%, -50%)
        scale(0);

    transition:
        transform .15s ease;
}

.account-type-card:has(input:checked) {
    border-color: var(--gold);

    background:
        linear-gradient(
            135deg,
            #FFFDF8,
            #FFF7E8
        );

    box-shadow:
        0 0 0 2px
        rgba(229, 161, 41, .08);
}

.account-type-card
input:checked ~ .radio-design {
    border-color: var(--gold);
}

.account-type-card
input:checked ~ .radio-design::after {
    transform:
        translate(-50%, -50%)
        scale(1);
}


/* =========================================================
   FORM ROWS
========================================================= */

/* FIRST + LAST NAME = SIDE BY SIDE */

.name-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;
}


/* PASSWORDS = FULL WIDTH / STACKED */

.password-row {
    display: grid;

    grid-template-columns: 1fr;

    gap: 0;
}

.form-group {
    margin-bottom: 11px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   INPUTS
========================================================= */

.input-wrapper {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 15px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 10px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.input-wrapper:focus-within {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(229, 161, 41, .09);
}

.input-wrapper >
.material-symbols-outlined {
    flex-shrink: 0;

    color: #7C8998;

    font-size: 21px;
}

.input-wrapper input {
    flex: 1;

    min-width: 0;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--navy);

    font-family: "DM Sans", sans-serif;

    font-size: 14px;
}

.input-wrapper input::placeholder {
    color: #929CAA;
}


/* =========================================================
   PASSWORD EYE
========================================================= */

.eye-button {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: none;
    outline: none;

    background: transparent;

    color: #748397;

    cursor: pointer;
}

.eye-button:hover {
    color: var(--gold);
}

.eye-button .material-symbols-outlined {
    font-size: 21px;
}


/* =========================================================
   TERMS
========================================================= */

.terms-row {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin:
        0
        0
        12px;
}

.terms-row input {
    width: 17px;
    height: 17px;

    margin-top: 1px;

    flex-shrink: 0;

    accent-color: var(--navy);
}

.terms-row label {
    color: #59616C;

    font-size: 12px;

    line-height: 1.45;
}

.terms-row a {
    color: #CF922A;

    text-decoration: none;
}

.terms-row a:hover {
    text-decoration: underline;
}


/* =========================================================
   CREATE ACCOUNT BUTTON
========================================================= */

.create-account-button {
    width: 100%;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;
    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--navy),
            var(--navy-dark)
        );

    color: var(--white);

    font-family: "DM Sans", sans-serif;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .15s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.create-account-button
.material-symbols-outlined {
    color: var(--gold-light);

    font-size: 23px;
}

.create-account-button:hover {
    background: #0A315F;

    box-shadow:
        0 8px 20px
        rgba(6, 35, 71, .14);
}

.create-account-button:active {
    transform: translateY(1px);
}


/* =========================================================
   OR SEPARATOR
========================================================= */

.separator {
    display: flex;
    align-items: center;

    gap: 15px;

    margin: 14px 0;
}

.separator span {
    flex: 1;

    height: 1px;

    background: #D9DEE5;
}

.separator p {
    color: #768292;

    font-size: 12px;
}


/* =========================================================
   LOGIN LINK
========================================================= */

.login-text {
    text-align: center;

    color: #747E8A;

    font-size: 13px;
}

.login-text a {
    color: #CE912D;

    font-weight: 600;

    text-decoration: none;
}

.login-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   SHORT DESKTOP / LAPTOP HEIGHT
========================================================= */

@media (min-width: 951px) and (max-height: 800px) {

    .register-left {
        padding-top: 30px;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
    }

    .brand-text h2 {
        font-size: 23px;
    }

    .left-message {
        margin-top: 38px;
    }

    .left-message h1 {
        font-size: 48px;
    }

    .left-message p {
        margin-top: 14px;

        font-size: 14px;
    }

    .gold-line {
        margin-top: 14px;
    }

    .illustration-area {
        bottom: 20px;

        height: 315px;

        transform:
            translateX(-50%)
            scale(.86);

        transform-origin: bottom center;
    }

    .register-right {
        padding-top: 20px;
        padding-bottom: 25px;
    }

    .form-heading {
        margin-bottom: 14px;
    }

    .form-heading h1 {
        font-size: 42px;
    }

    .form-heading p {
        margin-top: 5px;

        font-size: 13px;
    }

    .account-type-group {
        margin-bottom: 12px;
    }

    .account-type-card {
        min-height: 82px;

        padding-top: 10px;
        padding-bottom: 10px;
    }

    .account-icon {
        width: 40px;
        height: 40px;
    }

    .account-icon
    .material-symbols-outlined {
        font-size: 32px;
    }

    .form-group {
        margin-bottom: 9px;
    }

    .input-wrapper {
        height: 50px;
    }

    .create-account-button {
        height: 50px;
    }

    .separator {
        margin: 11px 0;
    }
}


/* =========================================================
   SMALL LAPTOP WIDTH
========================================================= */

@media (max-width: 1200px) {

    .register-card {
        grid-template-columns:
            minmax(420px, .9fr)
            minmax(480px, 1.1fr);
    }

    .register-left {
        padding-left: 55px;
        padding-right: 55px;
    }

    .register-right {
        padding-left: 50px;
        padding-right: 50px;
    }

    .left-message h1 {
        font-size: 49px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .register-card {
        display: block;
    }

    .register-left {
        position: relative;
        top: auto;

        width: 100%;
        height: 470px;
        min-height: 470px;

        padding:
            30px
            45px;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
    }

    .brand-text h2 {
        font-size: 22px;
    }

    .left-message {
        margin-top: 40px;
    }

    .left-message h1 {
        font-size: 45px;
    }

    .left-message p {
        font-size: 14px;
    }

    .illustration-area {
        width: 430px;
        height: 320px;

        left: auto;
        right: -35px;
        bottom: 0;

        transform: scale(.68);

        transform-origin: bottom right;
    }

    .register-right {
        min-height: auto;

        padding:
            60px
            45px
            70px;
    }

    .form-container {
        max-width: 650px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .register-left {
        height: 400px;
        min-height: 400px;

        padding: 25px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-text h2 {
        font-size: 19px;
    }

    .brand-text span {
        margin-top: 5px;

        font-size: 7px;

        letter-spacing: 1.3px;
    }

    .left-message {
        margin-top: 32px;
    }

    .left-message h1 {
        font-size: 37px;
    }

    .left-message p {
        max-width: 270px;

        margin-top: 14px;

        font-size: 12px;
    }

    .gold-line {
        width: 50px;
        height: 4px;

        margin-top: 14px;
    }

    .illustration-area {
        right: -105px;
        bottom: 5px;

        transform: scale(.52);

        transform-origin: bottom right;
    }

    .shield-icon {
        display: none;
    }

    .register-right {
        padding:
            45px
            24px
            60px;
    }

    .form-heading h1 {
        font-size: 38px;
    }

    .form-heading p {
        font-size: 14px;
    }

    .account-type-options {
        grid-template-columns: 1fr;
    }

    .account-type-card {
        min-height: 90px;
    }

    .name-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .password-row {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .register-left {
        height: 360px;
        min-height: 360px;
    }

    .left-message h1 {
        font-size: 33px;
    }

    .illustration-area {
        right: -125px;

        transform: scale(.46);
    }

    .register-right {
        padding-left: 20px;
        padding-right: 20px;
    }

    .form-heading h1 {
        font-size: 34px;
    }
}