:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 34px; background: #080706; color: #f8eee2; font: 14px/1.5 Arial, sans-serif; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(100%, 850px); min-width: 0; min-height: 452px; overflow: hidden; border: 1px solid #6d4a2d; border-radius: 22px; background: #0d0d0d; box-shadow: 0 28px 90px rgba(0, 0, 0, .65), 0 0 0 5px rgba(173, 113, 54, .12); }
.auth-brand { display: flex; flex-direction: column; justify-content: end; padding: 62px 32px 34px; background: radial-gradient(circle at 70% 85%, rgba(172, 99, 31, .18), transparent 35%), linear-gradient(145deg, #101010, #070707); border-right: 1px solid #24201c; }
.logo-flame { position: relative; display: grid; place-items: center; width: 136px; height: 136px; margin-bottom: 24px; isolation: isolate; }
.logo-flame::before { content: ""; position: absolute; inset: 1px; z-index: -2; pointer-events: none; border-radius: 50%; background: url('/donenlogo.gif') center / cover no-repeat; opacity: .18; filter: blur(1.5px) saturate(.75); mix-blend-mode: screen; }
.logo-flame::after { content: ""; position: absolute; inset: 10px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255, 174, 70, .2), rgba(210, 62, 23, .08) 48%, transparent 74%); filter: blur(8px); }
.brand-logo { position: relative; z-index: 1; width: 112px; height: 112px; object-fit: contain; margin: 0; filter: drop-shadow(0 5px 12px rgba(255, 104, 25, .28)); }
.eyebrow { color: #c99455; font-size: 11px; letter-spacing: 3px; font-weight: 700; }
h1, h2 { margin: 0; color: #fffaf3; }
h1 { font-size: 39px; letter-spacing: -.5px; }
.auth-brand p { max-width: 290px; margin: 9px 0 0; color: #ad9d8c; overflow-wrap: anywhere; }
.auth-form-panel { padding: 53px 38px 30px; }
h2 { text-align: center; font-size: 22px; }
.auth-subtitle { margin: 3px 0 22px; text-align: center; color: #988a7d; font-size: 13px; }
label { display: block; margin-top: 15px; color: #d8cbbd; font-size: 12px; font-weight: 700; }
.input-wrap { display: flex; align-items: center; gap: 12px; height: 43px; margin-top: 6px; padding: 0 12px; border: 1px solid #352a20; border-radius: 10px; background: #101010; transition: border-color .2s, box-shadow .2s; }
.input-wrap:focus-within { border-color: #bc7b3d; box-shadow: 0 0 0 3px rgba(188, 123, 61, .14); }
.input-wrap i { color: #8b735d; width: 14px; text-align: center; }
input { min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; }
.input-wrap input { flex: 1; width: 100%; min-width: 0; }
input::placeholder { color: #665e57; }
.remember { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: #92877e; font-weight: 400; }
.remember input { accent-color: #c48340; }
button { width: 100%; height: 43px; margin-top: 18px; border: 0; border-radius: 10px; background: linear-gradient(100deg, #c77732, #e5b04e); color: #231407; cursor: pointer; font: inherit; font-weight: 700; }
button i { margin-left: 8px; }
.error { padding: 9px 11px; border: 1px solid #8e4530; border-radius: 8px; background: #321914; color: #f2b6a0; font-size: 12px; }
.auth-link, .auth-switch a { color: #dca55e; text-decoration: none; }
.forgot-link { display: block; margin-top: 15px; text-align: center; font-size: 12px; }
.auth-switch { margin: 17px 0 0; text-align: center; color: #8f8378; font-size: 12px; }
.auth-switch a { font-weight: 700; }
.notice { margin-bottom: 13px; padding: 9px 11px; border: 1px solid #7d6339; border-radius: 8px; background: #21180e; color: #eac687; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .logo-flame::before { animation: none; } }
@media (max-width: 640px) { body { min-height: 100svh; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); place-items: start center; } .auth-shell { grid-template-columns: minmax(0, 1fr); width: 100%; margin: auto 0; } .auth-brand { min-height: 290px; padding: 30px 26px 25px; border-right: 0; border-bottom: 1px solid #24201c; } .logo-flame { width: 116px; height: 116px; margin-bottom: 16px; } .logo-flame::before { font-size: 104px; } .logo-flame::after { inset: 9px; } .brand-logo { width: 92px; height: 92px; } h1 { font-size: 32px; } .auth-form-panel { min-width: 0; padding: 32px 26px 28px; } }