@charset "UTF-8";

:root {
    --auth-bg: #f5f2ea;
    --auth-card: #ffffff;
    --auth-text: #2c2c2c;
    --auth-accent: #c24d2c;
    --auth-muted: #6b6b6b;
    --auth-border: #e0d8cc;
}

body {
    margin: 0;
    font-family: "Philosopher", "Times New Roman", serif;
    color: var(--auth-text);
    background: radial-gradient(1200px 600px at 20% 0%, #fff4df 0%, var(--auth-bg) 45%, #f3efe8 100%);
}

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

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--auth-card);
    border: 1px solid var(--auth-border);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 32px 28px;
}

.auth-title {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: 0.5px;
}

.auth-subtitle {
    margin: 0 0 24px;
    color: var(--auth-muted);
    font-size: 14px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.auth-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    font-size: 15px;
    background: #fffaf2;
}

.auth-button {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background: var(--auth-accent);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.auth-link {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
}

.auth-link a {
    color: var(--auth-accent);
    text-decoration: none;
}

.auth-alert {
    padding: 10px 12px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff3f0;
    border: 1px solid #f0b9aa;
    color: #9b2c18;
    font-size: 14px;
}
.auth-alert-success {
    background: #eef8ef;
    border-color: #b8ddc0;
    color: #1f6b37;
}

.auth-error {
    margin-top: 6px;
    color: #9b2c18;
    font-size: 12px;
}
