* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #172033;
    background:
        radial-gradient(circle at 20% 15%, rgba(211, 171, 94, .16), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(30, 54, 88, .10), transparent 30%),
        #f5f6f8;
}

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

.login-card {
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(19, 38, 65, .08);
    border-radius: 28px;
    padding: 42px 42px 34px;
    box-shadow:
        0 30px 80px rgba(16, 34, 58, .12),
        0 4px 14px rgba(16, 34, 58, .05);
}

.brand-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, #182a45, #27466f);
    box-shadow: 0 12px 28px rgba(24, 42, 69, .24);
}

.brand {
    text-align: center;
}

.brand h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 38px;
    line-height: 1;
    font-weight: 600;
    color: #172a47;
}

.brand strong {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #b18a46;
}

.subtitle {
    margin: 25px 0 28px;
    text-align: center;
    color: #7b8390;
    font-size: 14px;
}

label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #39465a;
}

.field {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 52px;
    margin-bottom: 19px;
    padding: 0 16px;
    border: 1px solid #dfe3e9;
    border-radius: 14px;
    background: #fafbfc;
    transition: .2s ease;
}

.field:focus-within {
    border-color: #b79658;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(183, 150, 88, .10);
}

.field span {
    font-size: 10px;
    color: #b79658;
}

.field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    color: #172033;
}

.field input::placeholder {
    color: #a5abb4;
}

button {
    width: 100%;
    height: 54px;
    margin-top: 4px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #172a47, #294b76);
    box-shadow: 0 12px 26px rgba(23, 42, 71, .20);
    transition: transform .15s ease, box-shadow .15s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(23, 42, 71, .25);
}

.alert {
    margin: -7px 0 20px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #f2c7c7;
    background: #fff3f3;
    color: #b23b3b;
    font-size: 13px;
}

footer {
    margin-top: 29px;
    padding-top: 22px;
    border-top: 1px solid #edf0f3;
    text-align: center;
    color: #a1a6ae;
    font-size: 11px;
    letter-spacing: .5px;
}

@media (max-width: 520px) {
    .login-page {
        padding: 16px;
    }

    .login-card {
        padding: 34px 24px 28px;
        border-radius: 22px;
    }

    .brand h1 {
        font-size: 34px;
    }
}
