* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f6fb;
    color: #1f2937;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    padding: 34px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.auth-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.auth-header h1 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 30px;
}

.auth-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: #334155;
}

.form-group input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px;
    font-size: 16px;
    outline: none;
}

.form-group input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px #e0f2fe;
}

.auth-btn {
    border: none;
    background: #0ea5e9;
    color: white;
    padding: 15px 20px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.auth-btn:hover {
    background: #0284c7;
}

.auth-message {
    margin: 0;
    text-align: center;
    font-weight: 700;
    min-height: 22px;
}

.auth-message.error {
    color: #dc2626;
}

.auth-message.success {
    color: #16a34a;
}

.auth-footer {
    margin: 24px 0 0;
    text-align: center;
    color: #64748b;
}

.auth-footer a {
    color: #0284c7;
    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    .auth-card {
        padding: 24px;
    }

    .auth-header h1 {
        font-size: 26px;
    }
}
.auth-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 18px;
    border-radius: 20px;
    object-fit: cover;
}