* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #fafafa;
    color: #09090b;
}

.container {
    width: 100%;
    max-width: 380px;
}

.card {
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    padding: 32px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.06);
}

h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitle {
    color: #71717a;
    margin-top: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #3f3f46;
}

input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #09090b;
    transition: all 0.15s ease;
}

input:focus {
    outline: none;
    border-color: #18181b;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

.field {
    margin-bottom: 18px;
}

button {
    width: 100%;
    border: none;
    background: #18181b;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

button:hover {
    background: #27272a;
}

button:active {
    transform: translateY(1px);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
}
