@charset "utf-8";

:root {
    --lime: #b5f000;
    --lime-dark: #88b700;
    --ink: #101619;
    --text: #182126;
    --muted: #68767e;
    --panel: #ffffff;
    --border: #d8e0e4;
    --field: #f7f9fa;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(181, 240, 0, .13), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(42, 61, 69, .38), transparent 36%),
        #0d1316;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
    font: inherit;
}


.login-message:empty {
    display: none;
}

.login-layout {
    display: grid;
    min-height: 100vh;
    padding: 32px 20px;
    place-content: center;
}

.login-card {
    display: grid;
    width: min(900px, calc(100vw - 40px));
    grid-template-columns: .88fr 1.12fr;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .36);
}

.login-card__brand {
    position: relative;
    display: grid;
    min-height: 510px;
    padding: 46px;
    place-items: start;
    background:
        linear-gradient(145deg, rgba(181, 240, 0, .97), rgba(151, 210, 0, .94)),
        var(--lime);
}

.login-card__brand::after {
    content: "RMS";
    position: absolute;
    right: -12px;
    bottom: -42px;
    color: rgba(16, 22, 25, .08);
    font-size: 190px;
    font-weight: 950;
    letter-spacing: -.09em;
    line-height: 1;
}

.login-card__brand img {
    position: relative;
    z-index: 1;
    width: min(100%, 237px);
    height: auto;
}

.login-card__content {
    display: flex;
    padding: 58px 64px;
    justify-content: center;
    flex-direction: column;
}

.login-card__intro {
    margin-bottom: 34px;
}

.login-eyebrow {
    color: var(--lime-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.login-card h1 {
    margin: 9px 0 8px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -.045em;
    line-height: 1.05;
}

.login-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

#login-form {
    display: grid;
    gap: 18px;
}

.login-field {
    display: grid;
    gap: 7px;
}

.login-field span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.login-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--field);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-field input:focus {
    background: #fff;
    border-color: var(--lime-dark);
    box-shadow: 0 0 0 4px rgba(181, 240, 0, .18);
}

.login-submit {
    display: flex;
    width: 100%;
    height: 50px;
    margin-top: 4px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--lime);
    border: 1px solid var(--lime-dark);
    border-radius: 12px;
    color: var(--ink);
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(136, 183, 0, .18);
    transition: filter .18s ease, transform .18s ease;
}

.login-submit:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

#LoaderShow {
    display: inline-flex;
}

#LoaderShow img {
    width: 18px;
    height: 18px;
}

.login-message {
    display: none;
    padding: 11px 13px;
    background: #fff2f2;
    border: 1px solid #f2caca;
    border-radius: 10px;
    color: #a52222;
    font-size: 12px;
    line-height: 1.45;
}

.login-message:not(:empty) {
    display: block;
}

.login-copyright {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 720px) {
    .login-layout {
        padding: 18px;
    }

    .login-card {
        width: min(100%, 480px);
        grid-template-columns: 1fr;
    }

    .login-card__brand {
        min-height: 118px;
        padding: 30px;
        place-items: center start;
    }

    .login-card__brand::after {
        right: 8px;
        bottom: -26px;
        font-size: 100px;
    }

    .login-card__brand img {
        width: 190px;
    }

    .login-card__content {
        padding: 38px 30px 42px;
    }
}
