.login-page {
    width: 100%;
    max-width: 520px;
    margin: 10px auto 20px;
}

.login-logo {
    margin: 4px auto 6px;
    text-align: center;
}

.login-logo img {
    width: auto;
    max-height: 52px;
}

.login-logo h1,
.login-logo h2,
.login-logo h3,
.login-logo p {
    margin-top: 3px;
    margin-bottom: 3px;
}

.login-head {
    margin-bottom: 16px;
    text-align: center;
}

.login-head h1 {
    margin: 0 0 4px;

    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;

    color: #111827;
}

.login-head p {
    margin: 0;

    font-size: 13px;
    line-height: 1.4;

    color: #6b7280;
}

.login-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 15px;
}

.login-form {
    margin: 0;
}

.login-field {
    margin-bottom: 13px;
}

.login-field label {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 600;

    color: #374151;
}

.login-input {
    display: flex;
    align-items: center;

    height: 42px;

    border: 1px solid #d1d5db;
    border-radius: 9px;

    background: #ffffff;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.login-input:focus-within {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .06);
}

.login-input > .material-symbols-outlined {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    flex: 0 0 42px;

    font-size: 19px;

    color: #9ca3af;
}

.login-input input {
    width: 100%;
    height: 100%;

    padding: 0 12px 0 0;

    border: 0;
    outline: none;

    background: transparent;

    font-size: 14px;

    color: #111827;
}

.login-input input::placeholder {
    color: #9ca3af;
}

.login-error {
    margin-top: 4px;

    font-size: 12px;
    line-height: 1.35;

    color: #dc2626;
}

.login-forgot {
    margin-top: -2px;
    margin-bottom: 14px;

    text-align: right;
}

.login-forgot a {
    font-size: 12px;
    font-weight: 500;

    color: #6b7280;

    text-decoration: none;
}

.login-forgot a:hover {
    color: #111827;
}

.login-submit {
    display: block;

    width: 100%;
    height: 42px;

    border: 0;
    border-radius: 9px;

    background: #111827;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}

.login-submit:hover {
    background: #000000;
}

.login-submit:active {
    transform: translateY(1px);
}

.login-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin-top: 15px;
    padding-top: 15px;

    border-top: 1px solid #e5e7eb;

    font-size: 12px;
}

.login-register span {
    color: #6b7280;
}

.login-register a {
    color: #111827;

    font-weight: 600;

    text-decoration: none;
}

.login-register a:hover {
    text-decoration: underline;
}

.login-alert {
    margin-bottom: 12px;
    padding: 10px 12px;

    border-radius: 9px;

    font-size: 12px;
    line-height: 1.4;
}

.login-alert--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.login-alert--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 600px) {

    .login-page {
        margin: 8px auto 16px;
    }

    .login-head h1 {
        font-size: 23px;
    }

    .login-card {
        padding: 16px;
        border-radius: 13px;
    }

}