* {
    box-sizing: border-box;
}

:root {
    --brand-primary: #b96b8c;
    --brand-primary-dark: #8f4f6e;
    --brand-surface: #fff8f6;
    --brand-surface-alt: #f9ecef;
    --brand-text: #3f2a34;
    --brand-muted: #8d6f7d;
    --brand-border: #ecd8df;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background: radial-gradient(circle at top right, #ffeef3 0%, #fdf7f3 45%, #fff 100%);
    color: var(--brand-text);
}

.auth-container {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(160deg, #ffffff 0%, var(--brand-surface) 100%);
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 12px 32px rgba(116, 68, 91, 0.12);
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.brand-logo {
    max-width: 180px;
    height: auto;
}

.auth-card h1 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 700;
}

.subtitle {
    margin: 9px 0 20px;
    color: var(--brand-muted);
}

label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    border: 1px solid var(--brand-border);
    border-radius: 10px;
    padding: 12px 16px;
    background: #ffffff;
    color: var(--brand-text);
    font-size: 1rem;
    font-family: "Montserrat", Arial, sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(185, 107, 140, 0.14);
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 18px;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: "Montserrat", Arial, sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(116, 68, 91, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 8px 18px rgba(143, 79, 110, 0.25);
    filter: brightness(1.05);
}

.btn-block {
    width: 100%;
}

.alert {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.alert-error {
    background: #fff0f3;
    color: #8d314f;
    border: 1px solid #f0c8d6;
}

.register-link {
    margin-top: 16px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--brand-muted);
}

.register-link a {
    color: var(--brand-primary-dark);
    text-decoration: none;
    font-weight: 700;
}

.register-link a:hover {
    text-decoration: underline;
}
