@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{font-family:Vazirmatn,Tahoma,sans-serif;color:#202044;background:#f4f5fb}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:linear-gradient(145deg,#f5f6fc,#eceeff)}
.page{width:min(100% - 32px,460px);margin:0 auto;padding:54px 0 24px}
.brand{display:flex;align-items:center;gap:14px;margin:0 8px 28px}
.brand-mark{width:54px;height:54px;border-radius:18px;background:#1c1b5c;color:#fff;display:grid;place-items:center;font-size:29px;font-weight:800;box-shadow:0 8px 22px #1c1b5c25}
h1,h2,p{margin-top:0}
.brand h1{font-size:25px;margin-bottom:2px;color:#1c1b5c}
.brand p,.muted{color:#777895;font-size:13px;margin-bottom:0}
.panel{background:#fff;border:1px solid #e8e9f2;border-radius:22px;padding:26px;box-shadow:0 12px 35px #2020440c}
.panel h2{font-size:19px;margin-bottom:8px;color:#1c1b5c}
form{display:flex;flex-direction:column;margin-top:24px;gap:9px}
label{font-size:13px;font-weight:600;margin-top:7px}
input{width:100%;height:48px;border:1px solid #dedfec;border-radius:12px;padding:0 13px;font:inherit;outline:none;background:#fcfcff}
input:focus{border-color:#5554a1;box-shadow:0 0 0 3px #5554a118}
button{height:48px;border:0;border-radius:12px;background:#1c1b5c;color:#fff;font:inherit;font-weight:700;cursor:pointer;margin-top:12px}
button:disabled{opacity:.6;cursor:wait}
button.secondary{height:40px;padding:0 14px;background:#efeff8;color:#292866;margin:0;font-size:13px}
.message{min-height:20px;margin:4px 0 0;font-size:13px;color:#b42318}
.resident-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.info{margin-top:22px;padding:16px;border-radius:14px;background:#f7f7fc;color:#454568;line-height:2;overflow-wrap:anywhere}
.hidden{display:none}
footer{text-align:center;color:#9293aa;font-size:12px;margin-top:28px}
@media(max-width:420px){.page{padding-top:32px}.panel{padding:21px}}
