* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #1358d8;
    --blue-dark: #0b2d77;
    --cyan: #18b9f2;
    --ink: #102033;
    --muted: #66758a;
    --line: rgba(16, 32, 51, .12);
    --panel: rgba(255, 255, 255, .88);
    --shadow: 0 26px 70px rgba(13, 44, 112, .20);
}

body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(720px 420px at 8% 14%, rgba(24, 185, 242, .26), transparent 58%),
        radial-gradient(640px 420px at 92% 10%, rgba(19, 88, 216, .18), transparent 58%),
        linear-gradient(135deg, #eef7ff 0%, #f8fbff 47%, #eef5ff 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

body::before {
    width: 42vw;
    height: 42vw;
    left: -18vw;
    bottom: -22vw;
    background: rgba(19, 88, 216, .10);
}

body::after {
    width: 36vw;
    height: 36vw;
    right: -16vw;
    top: 28vh;
    background: rgba(24, 185, 242, .13);
}

.login-shell {
    width: min(1180px, calc(100vw - 40px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: 28px;
    align-items: center;
    padding: 36px 0;
}

.hero-panel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(12, 62, 166, .96), rgba(19, 139, 226, .92)),
        #1358d8;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: auto -90px -130px 14%;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    z-index: -1;
}

.hero-panel::after {
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    right: -76px;
    top: 82px;
    border: 28px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    z-index: -1;
}

.brand-chip {
    position: absolute;
    top: 26px;
    left: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.brand-chip img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 94px 42px 0;
    color: #fff;
}

.eyebrow,
.form-kicker {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow {
    color: rgba(255, 255, 255, .74);
}

.hero-copy h1 {
    max-width: 480px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy p:last-child {
    max-width: 460px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .80);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.mascot-stage {
    position: absolute;
    right: -20px;
    bottom: -12px;
    width: min(590px, 80%);
}

.diti-mascot {
    width: 100%;
    max-height: 590px;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 34px 34px rgba(3, 18, 51, .32));
}

.login-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

form {
    width: min(100%, 430px);
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: 0 22px 60px rgba(13, 44, 112, .14);
    backdrop-filter: blur(18px);
}

.form-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    text-align: left;
}

.diti-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .20);
}

.form-kicker {
    color: var(--blue);
}

.title {
    color: var(--ink);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(239, 68, 68, .22);
    border-radius: 14px;
    background: rgba(254, 226, 226, .76);
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.input-div {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    min-height: 58px;
    margin: 16px 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.input-div.focus {
    border-color: rgba(19, 88, 216, .58);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(19, 88, 216, .10);
}

.i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(19, 88, 216, .72);
}

.i i {
    font-size: 16px;
    transition: color .2s ease;
}

.input-div.focus .i i {
    color: var(--blue);
}

.input-div > div {
    position: relative;
    height: 58px;
}

.input-div h5 {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #7a8798;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    transition: .18s ease;
}

.input-div.focus h5 {
    top: 13px;
    color: var(--blue);
    font-size: 11px;
}

.input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 18px 14px 4px 0;
    color: var(--ink);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.btn {
    display: block;
    width: 100%;
    height: 54px;
    margin-top: 22px;
    border: 0;
    border-radius: 16px;
    outline: 0;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 18px 30px rgba(19, 88, 216, .25);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(19, 88, 216, .30);
    filter: saturate(1.08);
}

.btn:active {
    transform: translateY(0);
}

@media screen and (max-width: 1020px) {
    .login-shell {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 0;
    }

    .hero-panel {
        min-height: 430px;
    }

    .hero-copy {
        padding: 84px 30px 0;
        max-width: 56%;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .mascot-stage {
        width: min(430px, 54%);
    }

    .login-content {
        padding-bottom: 16px;
    }
}

@media screen and (max-width: 700px) {
    body {
        overflow-y: auto;
    }

    .login-shell {
        width: min(100vw - 24px, 460px);
        min-height: auto;
    }

    .hero-panel {
        min-height: 360px;
        border-radius: 22px;
    }

    .brand-chip {
        top: 18px;
        left: 18px;
    }

    .hero-copy {
        max-width: none;
        padding: 76px 22px 0;
    }

    .hero-copy h1 {
        max-width: 320px;
        font-size: 34px;
    }

    .hero-copy p:last-child {
        max-width: 300px;
        font-size: 14px;
        line-height: 1.55;
    }

    .mascot-stage {
        right: -54px;
        bottom: -22px;
        width: 270px;
        opacity: .88;
    }

    form {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .form-brand {
        gap: 12px;
        margin-bottom: 22px;
    }

    .diti-icon {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .title {
        font-size: 25px;
    }
}
