* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #1f2937;
    font-family: Arial, sans-serif;
}

h1 {
    margin: 0;
    color: #ffffff;
    font-size: 32px;
}

form,
body > p {
    width: 100%;
    max-width: 420px;
    margin: 0;
    padding: 24px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

label {
    display: block;
    margin-bottom: 18px;
    color: #374151;
    font-weight: 700;
}

input {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

button {
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body > p {
    text-align: center;
}

form + p,
h1 + p {
    margin-top: 0;
}

@media (max-width: 520px) {
    body {
        padding: 16px;
    }

    h1 {
        font-size: 26px;
        text-align: center;
    }

    form,
    body > p {
        padding: 20px;
    }
}
