body {
    margin: 0;
    padding: 0;
    background: #f4f6f8;
    font-family: Arial, sans-serif;
    color: #1f2937;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 32px;
    box-sizing: border-box;
}

.auth-title {
    margin: 0 0 24px 0;
    font-size: 32px;
    line-height: 1.2;
    color: #111827;
}

.form-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
}

.form-message.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.form-message.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    background: #ffffff;
    color: #111827;
}

.field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.field small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
}

.password-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.password-row input {
    flex: 1;
}

.secondary-button {
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    font-size: 15px;
    white-space: nowrap;
}

.secondary-button:hover {
    background: #f3f4f6;
}

.primary-button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.primary-button:hover {
    background: #1d4ed8;
}

.auth-link-block {
    margin-top: 18px;
    text-align: center;
    font-size: 15px;
}

.auth-link-block a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.auth-link-block a:hover {
    text-decoration: underline;
}