:root {
    --navy: #071f37;
    --navy2: #0c385d;
    --blue: #0b8fc0;
    --cyan: #32c7eb;
    --ink: #102d45;
    --muted: #72879a;
    --line: #dce6ed;
    --bg: #f2f6f8;
}

* { box-sizing: border-box; }

.premium-cursor-active,
.premium-cursor-active * { cursor: none !important; }

html,
body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: Arial, sans-serif;
}

button,
input { font: inherit; }

.premium-aircraft-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 27px;
    height: 27px;
    overflow: visible;
    opacity: 0;
    color: #2dd2f4;
    filter: drop-shadow(0 2px 2px rgba(1, 26, 48, .5));
    pointer-events: none !important;
    user-select: none;
    will-change: transform;
    transform: translate3d(-100px, -100px, 0);
    transition: opacity .08s linear;
}

.premium-aircraft-cursor.is-active { opacity: 1; }

.premium-aircraft-cursor path {
    fill: currentColor;
    stroke: #fff;
    stroke-width: 2.4;
    transform: rotate(-45deg);
    transform-box: fill-box;
    transform-origin: center;
}

.login {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(430px, .65fr);
    min-height: 100vh;
}

.loginVisual {
    position: relative;
    min-height: 100vh;
    padding: 44px 5vw;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 72% 25%, rgba(36, 194, 232, .2), transparent 32%),
        linear-gradient(135deg, #061a2f, #0a3a60 65%, #0788b2);
}

.loginVisual::after {
    content: "";
    position: absolute;
    right: -320px;
    bottom: -380px;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(255, 255, 255, .025),
        0 0 0 180px rgba(255, 255, 255, .018);
}

.edairLarge {
    width: 215px;
    height: 85px;
    object-fit: contain;
    object-position: left;
    filter: brightness(0) invert(1);
}

.welcome {
    position: relative;
    z-index: 2;
    margin-top: 11vh;
}

.welcome h1 {
    margin: 18px 0;
    font: 400 clamp(48px, 5vw, 76px) / 1.08 Georgia, serif;
}

.institutions {
    position: absolute;
    bottom: 11vh;
    left: 5vw;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 46px;
}

.clothScene {
    position: relative;
    width: 245px;
    height: 154px;
    contain: layout paint style;
    isolation: isolate;
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .32));
    transform: rotate(-1deg);
    transform-origin: left center;
}

.clothScene canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.crest {
    width: 162px;
    height: 162px;
    padding-left: 34px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    object-fit: contain;
}

.loginForm {
    display: grid;
    place-items: center;
    padding: 60px;
    background: #f7f9fa;
}

.loginForm form { width: min(100%, 470px); }

.eyebrow {
    margin: 0;
    color: #56d7f4;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .2em;
}

.loginForm h2 {
    margin: 12px 0 8px;
    font: 500 42px Georgia, serif;
}

.loginForm form > p:not(.eyebrow) {
    margin: 0 0 35px;
    color: var(--muted);
    font-size: 14px;
}

.loginForm label {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 800;
}

.loginForm input {
    height: 56px;
    padding: 0 17px;
    border: 1px solid #d3dfe7;
    border-radius: 11px;
    outline: 0;
    background: #fff;
}

.loginForm input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(11, 143, 192, .1);
}

.loginForm button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 56px;
    margin-top: 28px;
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(90deg, #087fad, #10a8d5);
    box-shadow: 0 14px 30px rgba(8, 132, 176, .22);
    font-weight: 900;
}

.forgot {
    display: block;
    margin: 18px auto;
    border: 0;
    color: #158bb6;
    background: none;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

@media (pointer: coarse) {
    .premium-cursor-active,
    .premium-cursor-active * { cursor: auto !important; }
    .premium-aircraft-cursor { display: none; }
}

@media (max-width: 1050px) {
    .login { grid-template-columns: 1fr; }
    .loginVisual { min-height: 590px; }
    .loginForm { min-height: 620px; }
    .institutions {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 55px;
    }
}

@media (max-width: 700px) {
    .loginVisual { padding: 28px 24px; }
    .edairLarge { width: 170px; }
    .welcome h1 { font-size: 42px; }
    .clothScene {
        width: 190px;
        height: 120px;
    }
    .crest {
        width: 90px;
        height: 90px;
    }
    .loginForm { padding: 45px 24px; }
}
