/* =========================================================
   AI WALE BHAIYA
   SIGN IN PAGE
   Premium Neumorphism UI
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    color: #15295f;
    background: #e9edf5;
    overflow-x: hidden;
}


/* =========================================================
   BACKGROUND
========================================================= */

.bg-wave {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(255,255,255,.75),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(255,255,255,.65),
            transparent 30%
        ),
        #e9edf5;
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;

    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: center;
}


.brand a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}


.brand-logo {
    display: block;
    width: 145px;
    height: auto;
    object-fit: contain;
}


.signup-group {
    display: flex;
    align-items: center;
    gap: 13px;
}


.signup-text {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #596785;
}


.btn-signup {
    min-height: 42px;
    padding: 0 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border-radius: 24px;

    text-decoration: none;

    color: #15295f;
    background: #e9edf5;

    box-shadow:
        7px 7px 14px rgba(163, 174, 194, .48),
        -7px -7px 14px rgba(255, 255, 255, .95);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.btn-signup:hover {
    transform: translateY(-1px);

    box-shadow:
        9px 9px 17px rgba(163, 174, 194, .52),
        -9px -9px 17px rgba(255, 255, 255, .98);
}


.btn-signup:active {
    transform: translateY(1px);

    box-shadow:
        inset 4px 4px 8px rgba(163, 174, 194, .35),
        inset -4px -4px 8px rgba(255, 255, 255, .95);
}


.btn-signup .icon-user {
    width: 15px;
    height: 15px;
}


/* =========================================================
   PAGE
========================================================= */

.page {
    width: 100%;

    min-height: calc(100vh - 92px);

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding:
        22px
        20px
        70px;
}


/* =========================================================
   MAIN CARD
========================================================= */

.card {
    width: min(570px, 100%);

    padding:
        43px
        45px
        39px;

    border-radius: 28px;

    background: #e9edf5;

    box-shadow:
        18px 18px 38px rgba(163, 174, 194, .52),
        -18px -18px 38px rgba(255, 255, 255, .95);

    text-align: center;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-bottom: 13px;
}


.eyebrow-line {
    width: 27px;
    height: 1px;

    background: #c91d2b;
}


.eyebrow-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #c91d2b;
}


.eyebrow-text {
    font-family: "Inter", sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #14275a;
}


/* =========================================================
   TITLE
========================================================= */

.title {
    font-size: clamp(28px, 4vw, 35px);

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -1.1px;

    color: #14275a;
}


.title .accent {
    color: #c91d2b;
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 13px 0 16px;
}


.divider-line {
    width: 48px;
    height: 1px;

    background: #c91d2b;
    opacity: .7;
}


.divider-diamond {
    width: 7px;
    height: 7px;

    background: #c91d2b;

    transform: rotate(45deg);
}


/* =========================================================
   SUBTITLE
========================================================= */

.subtitle {
    max-width: 430px;

    margin: 0 auto 29px;

    font-family: "Inter", sans-serif;

    font-size: 12px;
    line-height: 1.75;

    color: #65718b;
}


/* =========================================================
   FORM
========================================================= */

.form {
    width: 100%;

    text-align: left;
}


.field {
    width: 100%;

    margin-bottom: 21px;
}


.field label {
    display: block;

    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 700;

    color: #172b61;
}


/* =========================================================
   PASSWORD LABEL
========================================================= */

.password-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.password-label-row label {
    margin-bottom: 8px;
}


.forgot-link {
    margin-bottom: 8px;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    font-weight: 600;

    color: #c91d2b;

    text-decoration: none;
}


.forgot-link:hover {
    text-decoration: underline;
}


/* =========================================================
   INPUT SHELL
========================================================= */

.input-shell {
    position: relative;

    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;

    border-radius: 13px;

    background: #e9edf5;

    box-shadow:
        inset 5px 5px 10px rgba(163, 174, 194, .38),
        inset -5px -5px 10px rgba(255, 255, 255, .92);

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}


.input-shell:focus-within {
    box-shadow:
        inset 4px 4px 9px rgba(163, 174, 194, .32),
        inset -4px -4px 9px rgba(255, 255, 255, .95),
        0 0 0 2px rgba(201, 29, 43, .08);
}


.input-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;

    margin-left: 3px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #c91d2b;

    background: #e9edf5;

    box-shadow:
        5px 5px 10px rgba(163, 174, 194, .42),
        -5px -5px 10px rgba(255, 255, 255, .92);
}


.input-icon svg {
    width: 16px;
    height: 16px;

    display: block;
}


.input-shell input {
    flex: 1;

    width: 100%;
    min-width: 0;

    height: 48px;

    padding:
        0 15px
        0 11px;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: "Inter", sans-serif;

    font-size: 12px;
    font-weight: 500;

    color: #1b2c58;
}


.input-shell input::placeholder {
    color: #8993a7;
    opacity: 1;
}


.input-shell input:-webkit-autofill,
.input-shell input:-webkit-autofill:hover,
.input-shell input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1b2c58;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    width: 39px;
    min-width: 39px;
    height: 39px;

    margin-right: 5px;

    border: 0;
    outline: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #65718b;

    background: #e9edf5;

    cursor: pointer;

    box-shadow:
        4px 4px 8px rgba(163, 174, 194, .38),
        -4px -4px 8px rgba(255, 255, 255, .92);
}


.password-toggle:hover {
    color: #c91d2b;
}


.password-toggle:active {
    box-shadow:
        inset 3px 3px 6px rgba(163, 174, 194, .32),
        inset -3px -3px 6px rgba(255, 255, 255, .95);
}


.password-toggle svg {
    width: 17px;
    height: 17px;

    display: block;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.remember-row {
    margin-top: -4px;
    margin-bottom: 22px;
}


.remember-label {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    cursor: pointer;

    font-family: "Inter", sans-serif;

    font-size: 11px;

    color: #68738a;
}


.remember-label input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.custom-check {
    width: 16px;
    height: 16px;

    border-radius: 5px;

    background: #e9edf5;

    box-shadow:
        inset 2px 2px 5px rgba(163, 174, 194, .34),
        inset -2px -2px 5px rgba(255, 255, 255, .92);

    position: relative;
}


.remember-label input:checked + .custom-check {
    background: #c91d2b;

    box-shadow:
        2px 2px 5px rgba(163, 174, 194, .32),
        -2px -2px 5px rgba(255, 255, 255, .85);
}


.remember-label input:checked + .custom-check::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 4px;
    height: 8px;

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;

    transform: rotate(45deg);
}


/* =========================================================
   MESSAGE
========================================================= */

.form-message {
    min-height: 0;

    width: 100%;

    margin-bottom: 0;

    border-radius: 10px;

    font-family: "Inter", sans-serif;

    font-size: 11px;

    text-align: center;
}


.form-message:not(:empty) {
    padding: 10px 12px;

    margin-bottom: 15px;

    box-shadow:
        inset 3px 3px 7px rgba(163, 174, 194, .28),
        inset -3px -3px 7px rgba(255, 255, 255, .85);
}


.error-message {
    color: #c91d2b;
}


/* =========================================================
   SIGN IN BUTTON
========================================================= */

.btn-continue {
    width: 100%;
    min-height: 49px;

    border: 0;
    outline: 0;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #fff;

    background:
        linear-gradient(
            180deg,
            #d51f30 0%,
            #b51020 100%
        );

    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        7px 8px 15px rgba(163, 174, 194, .55),
        -5px -5px 10px rgba(255, 255, 255, .78);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}


.btn-continue:hover {
    transform: translateY(-1px);

    box-shadow:
        9px 10px 18px rgba(163, 174, 194, .58),
        -6px -6px 11px rgba(255, 255, 255, .82);
}


.btn-continue:active {
    transform: translateY(1px);

    box-shadow:
        inset 4px 4px 8px rgba(108, 0, 12, .35),
        inset -4px -4px 8px rgba(255, 255, 255, .15);
}


.btn-continue:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}


.btn-continue svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.consent {
    margin-top: 23px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    gap: 7px;

    font-family: "Inter", sans-serif;

    font-size: 9px;
    line-height: 1.55;

    color: #8993a7;

    text-align: center;
}


.icon-shield {
    flex: 0 0 auto;

    width: 13px;
    height: 13px;

    margin-top: 1px;

    color: #c91d2b;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .topbar {
        width: calc(100% - 30px);

        min-height: 78px;
    }


    .brand-logo {
        width: 125px;
    }


    .signup-text {
        display: none;
    }


    .btn-signup {
        min-height: 38px;

        padding: 0 15px;

        font-size: 11px;
    }


    .page {
        min-height: calc(100vh - 78px);

        padding:
            14px
            12px
            40px;
    }


    .card {
        padding:
            34px
            24px
            30px;

        border-radius: 23px;
    }


    .title {
        font-size: 28px;
    }


    .subtitle {
        font-size: 11px;

        margin-bottom: 25px;
    }

}


@media (max-width: 420px) {

    .topbar {
        width: calc(100% - 22px);
    }


    .brand-logo {
        width: 112px;
    }


    .btn-signup {
        padding: 0 13px;
    }


    .card {
        padding:
            30px
            18px
            27px;

        border-radius: 20px;
    }


    .title {
        font-size: 25px;
    }


    .input-icon {
        width: 39px;
        min-width: 39px;
        height: 39px;
    }


    .input-shell {
        min-height: 46px;
    }


    .input-shell input {
        height: 46px;

        font-size: 11px;
    }

}