@font-face{font-family:'Vazirmatn';src:url('fonts/Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('fonts/Vazirmatn-Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}
*{box-sizing:border-box}body{margin:0;font-family:'Vazirmatn',Tahoma,sans-serif;color:#172033}a{text-decoration:none;color:#2563eb}label{display:block;font-weight:700;margin:15px 0 7px}.input{width:100%;padding:12px 14px;border:1px solid #dce3ec;border-radius:12px;font:inherit;background:#fff;outline:0}.input:focus{border-color:#4f46e5;box-shadow:0 0 0 4px #4f46e512}.btn{border:0;background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;border-radius:11px;padding:11px 19px;font:inherit;cursor:pointer;display:inline-block;margin-top:15px;box-shadow:0 7px 18px #4f46e525}.btn.green{background:#059669}.btn.danger{background:#dc2626}.btn.small{padding:7px 11px;font-size:12px;margin-top:0}.full{width:100%}.card{background:#fff;border:1px solid #e7edf4;border-radius:20px;padding:24px;box-shadow:0 12px 35px #17203308;margin-bottom:20px}.public-bg,.admin-bg{background:#f4f7fb}.public{max-width:900px;margin:45px auto;padding:20px}.public-head{text-align:center;margin-bottom:25px}.public-head img{max-width:210px;max-height:100px;object-fit:contain}.brand-mark{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;display:grid;place-items:center;font-size:28px;font-weight:bold;margin:auto}.public-head h1{margin:12px 0 3px}.public-head p,.muted{color:#718096}.search-card{max-width:700px;margin:auto auto 20px}.search-card form,.search-row{display:flex;gap:10px}.search-card .input,.search-row .input{flex:1}.alert{background:#fff1f2;color:#be123c;border:1px solid #fecdd3;padding:12px;border-radius:11px;margin-top:14px}.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;padding:12px;border-radius:11px}.person{display:flex;align-items:center;gap:16px}.person h2{margin:0 0 5px}.avatar{width:82px;height:82px;border-radius:20px;background:#eef2ff;display:grid;place-items:center;font-size:32px;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.certificate{display:flex;justify-content:space-between;align-items:center;border:1px solid #e7edf3;border-radius:13px;padding:14px;margin-top:10px}.certificate small{display:block;color:#718096;margin-top:5px}.inline{display:inline}.public footer,.admin-footer{text-align:center;color:#7b8798;font-size:12px;padding:20px}.public footer span{display:block;margin-top:7px}.admin-layout{min-height:100vh}.sidebar{position:fixed;right:0;top:0;bottom:0;width:255px;background:linear-gradient(180deg,#111827,#18243a);padding:22px 15px;color:#fff}.side-brand{text-align:center;padding:8px 5px 22px;border-bottom:1px solid #ffffff18;margin-bottom:15px}.side-brand img{max-width:140px;max-height:65px;display:block;margin:0 auto 10px;object-fit:contain}.side-brand .mini{width:45px;height:45px;font-size:20px;margin-bottom:10px}.side-brand strong{display:block;font-size:14px}.side-brand small{color:#9ca3af}.sidebar nav a{display:block;color:#cbd5e1;padding:12px 14px;border-radius:12px;margin:4px 0}.sidebar nav a:hover{background:#ffffff12;color:#fff}.admin-main{margin-right:255px;padding:0 30px 20px}.topbar{height:78px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eaf0;margin-bottom:25px}.topbar b{font-size:20px;display:block}.topbar small{color:#8a96a8}.admin-user{background:#fff;padding:8px 13px;border-radius:20px;color:#536174;border:1px solid #e7edf3}.welcome{background:linear-gradient(135deg,#eef2ff,#f8fbff);border:1px solid #e0e7ff;border-radius:22px;padding:26px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.welcome h1{margin:0 0 5px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:20px}.stat{background:#fff;border:1px solid #e7edf3;border-radius:20px;padding:22px}.stat span{font-size:24px}.stat small{display:block;color:#718096;margin-top:12px}.stat strong{font-size:32px;display:block;margin-top:4px}.quick a{display:block;padding:13px;border-bottom:1px solid #eef1f5}.table{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:right;padding:14px;border-bottom:1px solid #edf1f5}.badge{background:#eef2ff;color:#4f46e5;padding:5px 9px;border-radius:20px;font-size:12px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.full-grid{grid-column:1/-1}.setting-logo{display:block;max-width:220px;max-height:110px;object-fit:contain;margin:15px auto}.login-bg{min-height:100vh;background:radial-gradient(circle at top right,#e0e7ff,#f5f7fb 55%);display:grid;place-items:center}.login-card{width:min(430px,calc(100% - 30px));background:#fff;border:1px solid #e7edf3;border-radius:24px;padding:35px;box-shadow:0 25px 70px #17203318;text-align:center}.login-card .brand-mark{margin:0 auto 15px}.login-card p{color:#718096}.form-card{min-height:100%}@media(max-width:800px){.sidebar{width:70px}.side-brand strong,.side-brand small,.sidebar nav a{font-size:0}.side-brand img{max-width:45px}.sidebar nav a{text-align:center}.admin-main{margin-right:70px;padding:0 14px}.stats,.grid2{grid-template-columns:1fr}.welcome{display:block}.search-card form,.search-row{flex-direction:column}.certificate{align-items:flex-start;gap:10px;flex-direction:column}}
.section-title{font-weight:900;font-size:15px;margin:28px 0 10px;padding-right:10px;border-right:4px solid #4f46e5}
.page-actions{display:flex;gap:8px;justify-content:flex-start;margin-bottom:15px}
.btn.secondary{background:#eef2f7;color:#344054;box-shadow:none}
.btn.secondary:hover{background:#e2e8f0}
h1,h2,h3,strong,b,.topbar b,.stat strong{font-weight:900}

.site-footer{text-align:center;padding:28px 10px;margin-top:28px;border-top:1px solid #e7edf3;color:#667085}.site-footer strong{display:block;color:#344054;margin-bottom:6px}.side-brand img{background:#fff;border-radius:12px;padding:5px}.public-head img{display:block;margin:0 auto 12px}
