﻿@import url('./fonts/fonts.css');
:root { color-scheme: light; font-family: 'Be Vietnam Pro', system-ui, sans-serif; color: #1B1624; background: #F9F6F3; --ease: cubic-bezier(.2,.7,.2,1); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #F9F6F3; font-size: 15px; line-height: 1.55; }
.auth-shell { width: min(100% - 32px, 420px); margin: 0 auto; padding: 56px 0; }
.auth-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font: 700 21px/1.3 'Playfair Display', Georgia, serif; letter-spacing: -.03em; animation: rise 420ms var(--ease) both; }
.auth-brand::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #FD976D; }
.auth-card { border-radius: 10px; background: white; padding: 24px; box-shadow: 0 1px 2px rgba(27,22,36,.04), 0 6px 18px rgba(27,22,36,.05); animation: rise 480ms 60ms var(--ease) both; }
.auth-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 6px; background: #E3D6FD; }
.auth-icon svg, label svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
h1 { margin: 0; font: 700 clamp(24px, 5vw, 28px)/1.2 'Playfair Display', Georgia, serif; letter-spacing: -.02em; }
.auth-form { display: grid; gap: 14px; }
label { display: grid; gap: 4px; color: #54505B; font-size: 13px; font-weight: 600; }
.label-text { display: inline-flex; align-items: center; gap: 6px; }
label .label-text svg { width: 15px; height: 15px; color: #76737C; }
input[type=email], input[type=password] { width: 100%; min-height: 40px; border: 1px solid rgba(27,22,36,.18); border-radius: 6px; padding: 8px 10px; background: white; color: #1B1624; font: inherit; font-size: 16px; font-weight: 400; transition: border-color 160ms ease, box-shadow 160ms ease; }
input[type=email]:focus, input[type=password]:focus { outline: none; border-color: #1B1624; box-shadow: 0 0 0 3px rgba(201,177,251,.45); }
:focus-visible { outline: 2px solid #1B1624; outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 36px; color: #1B1624; font-weight: 400; font-size: 14px; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: #1B1624; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border: 0; border-radius: 6px; padding: 0 16px; background: #1B1624; color: white; font: 600 15px/1 'Be Vietnam Pro', sans-serif; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease), box-shadow 160ms ease; }
button:hover { background: #3A3343; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(27,22,36,.16); }
button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.secondary-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 12px; color: #1B1624; font-size: 14px; font-weight: 600; text-decoration: none; }
.secondary-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.secondary-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
.secondary-link:hover svg { transform: translateX(3px); }
.validation { color: #CF2E2E; font-size: 13px; font-weight: 400; }
.validation ul { margin: 0; padding-left: 18px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .auth-shell { padding-top: 28px; } .auth-card { padding: 18px 16px; } }
@media (pointer: coarse) { input[type=email], input[type=password] { min-height: 44px; } button { min-height: 46px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
