
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: #f5f7fb;
    color: #1f2937;

    font-family: Arial, "Malgun Gothic", sans-serif;
}

.login-card {
    width: 100%;
    max-width: 420px;

    padding: 38px;

    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}

.login-logo {
    display: block;
    margin-bottom: 22px;

    color: #2459a6;
    text-align: center;

    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}

h1 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 27px;
}

.subtitle {
    margin: 0 0 28px;
    color: #6b7280;
    text-align: center;
    font-size: 14px;
}

.field {
    margin-bottom: 19px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

input {
    width: 100%;
    height: 46px;
    padding: 0 13px;

    border: 1px solid #d1d5db;
    border-radius: 7px;

    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.error,
.success {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.5;
}

.error {
    background: #fef2f2;
    color: #b91c1c;
}

.success {
    background: #eff6ff;
    color: #1d4ed8;
}

.submit-btn {
    width: 100%;
    height: 48px;
    margin-top: 5px;

    border: 0;
    border-radius: 7px;

    background: #2563eb;
    color: #fff;

    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background: #1d4ed8;
}

.links {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 22px;
    }
}
