:root {
    color-scheme: dark;
    font-family: Inter, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(35, 102, 179, .20),
            transparent 58%
        ),
        #09111f;
    color: #eef4ff;
}

.login-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 28px 18px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 38px;
    border: 1px solid #24364d;
    border-radius: 20px;
    background: #111e30;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .30);
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #207be8;
    font-size: 25px;
    font-weight: 800;
}

.brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .06em;
}

.brand-subtitle {
    margin-top: 3px;
    font-size: 11px;
    letter-spacing: .22em;
    color: #93a9c3;
}

.login-heading {
    margin: 38px 0 28px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    color: #55a3ff;
}

h1 {
    margin: 12px 0;
    font-size: 27px;
    letter-spacing: -.025em;
}

.login-heading p {
    margin: 0;
    color: #9caec5;
    font-size: 14px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
}

input {
    width: 100%;
    height: 47px;
    padding: 0 14px;
    border: 1px solid #354a65;
    border-radius: 9px;
    outline: none;
    background: #0b1625;
    color: #fff;
    font: inherit;
    font-size: 14px;
}

input:focus {
    border-color: #398ff6;
    box-shadow: 0 0 0 3px rgba(57,143,246,.15);
}

.login-button {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: none;
    border-radius: 9px;
    background: #237eea;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.login-button:hover {
    background: #398ff6;
}

.login-error {
    margin-bottom: 22px;
    padding: 13px;
    border: 1px solid #9a454d;
    border-radius: 9px;
    background: rgba(180, 52, 65, .12);
    color: #ffb7bd;
    font-size: 13px;
}

.login-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #26374c;
    color: #849ab5;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

.page-footer {
    margin-top: 26px;
    color: #657d99;
    font-size: 11px;
    letter-spacing: .06em;
    text-align: center;
}

.page-footer span {
    padding: 0 7px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 23px;
    }

    h1 {
        font-size: 24px;
    }
}
