*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background:
        linear-gradient(rgba(17, 24, 39, .72), rgba(17, 24, 39, .78)),
        linear-gradient(135deg, #26323e, #121820);
}

body {
    min-height: 100vh;
    margin: 0;
    color: #17212d;
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
    background:
        linear-gradient(rgba(17, 24, 39, .72), rgba(17, 24, 39, .78)),
        linear-gradient(135deg, #26323e, #121820);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.login-shell {
    width: min(420px, 100%);
    padding: 34px 34px 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: #2f3a46;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
}

.brand-eyebrow {
    margin: 0 0 4px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.login-brand h1 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
}

.login-form {
    display: grid;
    gap: 12px;
}

.form-row {
    display: grid;
    gap: 6px;
}

.form-row label {
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.form-row input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cfd6df;
    border-radius: 5px;
    color: #111827;
    background: #fff;
    font-size: 14px;
    outline: none;
}

.form-row input:focus {
    border-color: #2f3a46;
    box-shadow: 0 0 0 3px rgba(47, 58, 70, .12);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 6px;
    color: #667085;
    font-size: 12px;
}

.check-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
}

.check-line input {
    width: 14px;
    height: 14px;
}

.login-button {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #212529;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}

.login-button:hover {
    background: #343a40;
}

.login-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.login-info div {
    min-height: 56px;
    padding: 9px 10px;
    border: 1px solid #e1e6ec;
    border-radius: 6px;
    background: #f8fafc;
}

.login-info strong,
.login-info span {
    display: block;
}

.login-info strong {
    margin-bottom: 4px;
    color: #667085;
    font-size: 11px;
}

.login-info span {
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
}

.login-notice {
    margin: 16px 0 0;
    color: #7b8794;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 480px) {
    .login-shell {
        padding: 26px 20px 22px;
    }

    .login-brand h1 {
        font-size: 22px;
    }

    .login-info {
        grid-template-columns: 1fr;
    }
}

.login-denied {
    color: #b42318;
    font-weight: 700;
}

