:root{--bg:#ffffff; --panel:#ffffff; --text:#111827; --muted:#6b7280; --brand:#2563eb; --border:#e5e7eb}
*{box-sizing:border-box} html,body{height:100%}
body{margin:0; font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif; background:var(--bg); color:var(--text); display:flex; align-items:center; justify-content:center; min-height:100vh; padding:24px 16px}
h1{margin:0 0 8px; font-size:26px; font-weight:800; text-align:center} p{margin:6px 0 16px; color:var(--muted); text-align:center}
form{width:min(480px,92vw); margin-top:12px; background:var(--panel); border:1px solid var(--border); border-radius:14px; padding:20px; box-shadow:0 8px 24px rgba(0,0,0,.06)}
input{width:100%; padding:12px 14px; margin-top:12px; border:1px solid var(--border); border-radius:10px; background:#fff; color:var(--text); outline:none; transition:border-color .15s, box-shadow .15s; font-size:15px}
input::placeholder{color:#9ca3af} input:focus{border-color:var(--brand); box-shadow:0 0 0 3px rgba(37,99,235,.15); background:#fff}
button,.btn{width:100%; margin-top:16px; padding:12px 14px; border:none; border-radius:12px; cursor:pointer; font-size:16px; font-weight:700; background:var(--brand); color:#fff; transition:filter .15s, transform .02s; text-decoration:none; display:inline-block; text-align:center}
button:hover,.btn:hover{filter:brightness(1.03)} button:active,.btn:active{transform:translateY(1px)}
.links{margin-top:12px; display:flex; gap:12px; flex-wrap:wrap; justify-content:center} .links a{color:#1d4ed8; text-decoration:none; border-bottom:1px dashed transparent} .links a:hover{border-bottom-color:#1d4ed8}
[dir="rtl"] input{text-align:right}
