/* ═══════════════ پنل مدرس — آهولرن ═══════════════ */
@font-face{font-family:'IRANSans';src:local('IRANSansX'),local('IRANSans'),local('IRANSansWeb'),local('IRANSansXweb');font-display:swap;}
.aht{--navy:#13294B;--deep:#0B1B33;--card:#10233F;--cream:#FFFBF3;--gold:#C9A24D;--gold-l:#E7C877;--red:#E5484D;--text:#1C2B46;--muted:#6B7A90;--soft:#F6F8FB;--line:#E5EAF2;--tint:#EEF5FE;
font-family:'IRANSans','Vazirmatn',Tahoma,sans-serif;background:var(--soft);color:var(--text);width:100%;}
.aht *{box-sizing:border-box;margin:0;padding:0;}
.aht a{text-decoration:none;color:inherit;}
.aht-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--navy)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:none;border-radius:11px;padding:11px 24px;font-weight:800;font-size:13px;cursor:pointer;font-family:inherit;transition:.25s;}
.aht-btn:hover{opacity:.92;}
.aht-btn.lt{background:#fff!important;color:var(--navy)!important;-webkit-text-fill-color:var(--navy)!important;border:1px solid var(--line)!important;}
.aht-btn:disabled{opacity:.6;cursor:not-allowed;}
.aht-shell{display:flex;min-height:100vh;}
.aht-side{width:272px;flex-shrink:0;background:var(--deep);padding:26px 18px;position:sticky;top:0;height:100vh;overflow-y:auto;}
.aht-brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:17px;font-weight:900;padding:0 10px 20px;border-bottom:1px solid rgba(201,162,77,.35);margin-bottom:16px;}
.aht-brand .lg{width:44px;height:44px;min-width:44px;border-radius:50%;background:var(--card);border:2px solid var(--gold);overflow:hidden;display:flex;align-items:center;justify-content:center;}
.aht-brand .lg img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;}
.aht-brand small{display:block;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:10.5px;font-weight:800;margin-top:4px;}
.aht-group{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:10.5px;font-weight:800;margin:16px 12px 8px;display:block;}
.aht-side nav a{display:flex;align-items:center;gap:12px;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:13.5px;font-weight:700;padding:12px 14px;border-radius:12px;margin-bottom:4px;border:1px solid transparent;transition:.25s;cursor:pointer;}
.aht-side nav a:hover{background:var(--card);}
.aht-side nav a.on{background:var(--navy);border-color:var(--gold);box-shadow:0 8px 20px rgba(0,0,0,.3);}
.aht-side nav a i{margin-right:auto;font-style:normal;background:rgba(255,255,255,.08);border:1px solid #46618C;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:10px;font-weight:800;padding:3px 9px;border-radius:8px;}
.aht-side nav a.out{border:1px solid rgba(229,72,77,.5);justify-content:center;margin-top:16px;}
.aht-main{flex:1;min-width:0;}
.aht-top{display:flex;align-items:center;gap:16px;background:#fff;padding:14px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;flex-wrap:wrap;}
.aht-user{display:flex;align-items:center;gap:12px;}
.aht-user .av{width:46px;height:46px;border-radius:50%;background:var(--navy);color:var(--gold-l);border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:900;}
.aht-user b{font-size:14px;color:var(--navy);display:block;}
.aht-user small{color:var(--muted);font-size:11px;font-weight:700;}
.aht-search{position:relative;flex:1;max-width:440px;}
.aht-search input{width:100%;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:12px 44px 12px 16px;font-size:13px;font-family:inherit;outline:none;color:var(--text);}
.aht-search input:focus{border-color:var(--gold);}
.aht-search span{position:absolute;top:50%;right:14px;transform:translateY(-50%);}
.aht-bell{position:relative;width:44px;height:44px;border-radius:12px;background:var(--soft);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:17px;cursor:pointer;}
.aht-bell u{position:absolute;top:-6px;left:-6px;text-decoration:none;background:var(--red);color:#fff;font-size:10px;font-weight:800;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.aht-date{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:11px 18px;font-size:12px;font-weight:700;color:var(--muted);}
.aht-content{padding:32px 28px 70px;}
.aht-page{display:none;}
.aht-page.on{display:block;animation:ahtFade .4s ease;}
@keyframes ahtFade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.aht-head{margin-bottom:26px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.aht-head h1{font-size:26px;font-weight:900;color:var(--navy);}
.aht-head p{color:var(--muted);font-size:13px;margin-top:8px;}
.aht-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:26px;}
.aht-box-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px;flex-wrap:wrap;}
.aht-box-h h3{font-size:16px;font-weight:900;color:var(--navy);}
.aht-box-h a{font-size:12px;font-weight:800;color:#A87F2C;cursor:pointer;}
.aht-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:26px;}
.aht-stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;position:relative;overflow:hidden;}
.aht-stat::after{content:"";position:absolute;bottom:0;right:0;left:0;height:4px;background:var(--ac,var(--gold));}
.aht-stat .ic{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:14px;background:var(--tint);}
.aht-stat b{font-size:20px;font-weight:900;color:var(--navy);display:block;}
.aht-stat small{color:var(--muted);font-size:11.5px;font-weight:700;}
.aht-stat .up{position:absolute;top:16px;left:16px;background:#E5F6EC;color:#1F8A4C;font-size:10px;font-weight:800;padding:4px 10px;border-radius:50px;}
.aht-chart{display:flex;align-items:flex-end;gap:14px;height:190px;padding-top:20px;}
.aht-bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;justify-content:flex-end;}
.aht-bar i{width:100%;max-width:52px;background:var(--navy);border-radius:10px 10px 0 0;height:0;transition:height 1.1s ease;position:relative;}
.aht-bar.gold i{background:var(--gold);}
.aht-bar i u{position:absolute;top:-24px;right:50%;transform:translateX(50%);text-decoration:none;font-size:10px;font-weight:900;color:var(--navy);white-space:nowrap;}
.aht-bar small{font-size:10.5px;font-weight:800;color:var(--muted);}
.aht-mini{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px dashed var(--line);}
.aht-mini:first-of-type{border-top:none;}
.aht-mini .mi{width:46px;height:46px;border-radius:12px;background:var(--tint);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;}
.aht-mini .mt{flex:1;}
.aht-mini .mt b{font-size:13px;color:var(--navy);display:block;margin-bottom:5px;}
.aht-mini .mt small{color:var(--muted);font-size:11px;font-weight:700;}
.aht-mini .mp{font-size:12.5px;font-weight:900;color:#1F8A4C;white-space:nowrap;}
.aht-not{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-top:1px dashed var(--line);position:relative;}
.aht-not:first-of-type{border-top:none;}
.aht-not .nd{width:38px;height:38px;min-width:38px;border-radius:11px;background:var(--cream);border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;font-size:16px;}
.aht-not p{font-size:12.5px;color:var(--text);font-weight:700;line-height:1.8;}
.aht-not small{color:var(--muted);font-size:10.5px;font-weight:700;}
.aht-not .dotu{position:absolute;left:4px;top:16px;width:9px;height:9px;border-radius:50%;background:var(--red);}
.aht-not.read .dotu{display:none;}
.aht-2col{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;margin-bottom:26px;}
.aht-2col .aht-box{margin:0;}
.aht-table{width:100%;border-collapse:collapse;}
.aht-table th{font-size:11px;color:var(--muted);font-weight:800;text-align:right;padding:10px 12px;border-bottom:1px solid var(--line);}
.aht-table td{font-size:12.5px;font-weight:700;padding:14px 12px;border-bottom:1px dashed var(--line);color:var(--text);}
.aht-table td b{color:var(--navy);}
.aht-ok{background:#E5F6EC;color:#1F8A4C;font-size:10.5px;font-weight:800;padding:5px 14px;border-radius:50px;}
.aht-wait{background:#FDF1E0;color:#C97A18;font-size:10.5px;font-weight:800;padding:5px 14px;border-radius:50px;}
.aht-cgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;}
.aht-ccard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;transition:.3s;}
.aht-ccard:hover{transform:translateY(-6px);border-color:var(--gold);box-shadow:0 18px 40px rgba(19,41,75,.12);}
.aht-ccard .ch{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;}
.aht-ccard .ci2{width:56px;height:56px;border-radius:14px;background:var(--tint);display:flex;align-items:center;justify-content:center;font-size:26px;}
.aht-ccard h4{font-size:16px;font-weight:900;color:var(--navy);margin-bottom:10px;}
.aht-cstats{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:16px;}
.aht-cstats span{font-size:11.5px;font-weight:800;color:var(--muted);}
.aht-cstats span b{color:var(--navy);}
.aht-ccard .btns{display:flex;gap:10px;flex-wrap:wrap;}
.aht-ccard .btns .aht-btn{padding:10px 16px;font-size:12px;}
.aht-money{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px;}
.aht-mcard{border-radius:16px;padding:22px;position:relative;overflow:hidden;}
.aht-mcard.nv{background:var(--deep);border:1px solid var(--gold);color:#fff;}
.aht-mcard.cr{background:var(--cream);border:1px solid var(--gold);}
.aht-mcard.wh{background:#fff;border:1px solid var(--line);}
.aht-mcard small{font-size:11.5px;font-weight:800;display:block;margin-bottom:10px;}
.aht-mcard.nv small{color:#B9C6DC;}
.aht-mcard.cr small,.aht-mcard.wh small{color:var(--muted);}
.aht-mcard b{font-size:20px;font-weight:900;}
.aht-mcard.nv b{color:var(--gold-l);}
.aht-mcard.cr b,.aht-mcard.wh b{color:var(--navy);}
.aht-tk{border:1px solid var(--line);border-radius:16px;margin-bottom:14px;overflow:hidden;background:#fff;}
.aht-tk-h{display:flex;align-items:center;gap:14px;padding:18px 20px;cursor:pointer;flex-wrap:wrap;}
.aht-tk-h .tic{width:42px;height:42px;min-width:42px;border-radius:12px;background:var(--tint);display:flex;align-items:center;justify-content:center;font-size:18px;}
.aht-tk-h .tt{flex:1;min-width:200px;}
.aht-tk-h .tt b{font-size:14px;color:var(--navy);display:block;margin-bottom:5px;}
.aht-tk-h .tt small{color:var(--muted);font-size:11px;font-weight:700;}
.st-open{background:#FDF1E0;color:#C97A18;font-size:10.5px;font-weight:800;padding:6px 14px;border-radius:50px;}
.st-ans{background:#E5F6EC;color:#1F8A4C;font-size:10.5px;font-weight:800;padding:6px 14px;border-radius:50px;}
.st-close{background:#EEF2F8;color:#6B7A90;font-size:10.5px;font-weight:800;padding:6px 14px;border-radius:50px;}
.aht-tk-b{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ease;}
.aht-tk.open .aht-tk-b{grid-template-rows:1fr;}
.aht-tk-b>div{overflow:hidden;}
.aht-tk-body{padding:0 20px 20px;}
.aht-msg{padding:14px 18px;border-radius:14px;font-size:12.5px;line-height:2;margin-bottom:10px;}
.aht-msg b{display:block;font-size:11.5px;margin-bottom:6px;}
.aht-msg.me{background:var(--tint);margin-left:46px;}
.aht-msg.me b{color:#2B62B8;}
.aht-msg.sup{background:var(--cream);border:1px solid rgba(201,162,77,.4);margin-right:46px;}
.aht-msg.sup b{color:#A87F2C;}
.aht-reply{display:flex;gap:10px;margin-top:14px;}
.aht-reply input{flex:1;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:12px 16px;font-size:12.5px;font-family:inherit;outline:none;}
.aht-reply input:focus{border-color:var(--gold);}
.aht-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.aht-f{display:flex;flex-direction:column;gap:8px;}
.aht-f.full{grid-column:1/-1;}
.aht-f label{font-size:12px;font-weight:800;color:var(--navy);}
.aht-f input,.aht-f select,.aht-f textarea{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:12px 16px;font-size:13px;font-family:inherit;outline:none;color:var(--text);transition:.2s;width:100%;}
.aht-f input:focus,.aht-f select:focus,.aht-f textarea:focus{border-color:var(--gold);background:#fff;}
.aht-f textarea{min-height:130px;resize:vertical;}
.aht-prof{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:start;}
.aht-pcard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px 24px;text-align:center;}
.aht-pcard .pav{width:96px;height:96px;border-radius:50%;background:var(--navy);color:var(--gold-l);border:3px solid var(--gold);display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:900;margin:0 auto 16px;}
.aht-pcard h4{font-size:16px;font-weight:900;color:var(--navy);margin-bottom:6px;}
.aht-pcard .role{display:inline-block;background:#FDF1E0;color:#C97A18;font-size:11px;font-weight:800;padding:5px 16px;border-radius:50px;margin-bottom:16px;}
.aht-pinfo{border-top:1px dashed var(--line);padding-top:16px;text-align:right;display:grid;gap:10px;}
.aht-pinfo span{font-size:12px;color:var(--muted);font-weight:700;display:flex;justify-content:space-between;gap:10px;}
.aht-pinfo span b{color:var(--navy);}
.aht-toast{position:fixed;bottom:26px;left:26px;background:var(--deep);color:#fff;border:1px solid var(--gold);border-radius:14px;padding:14px 24px;font-size:13px;font-weight:800;box-shadow:0 16px 40px rgba(0,0,0,.35);z-index:999;opacity:0;transform:translateY(20px);transition:.35s;pointer-events:none;font-family:'IRANSans','Vazirmatn',Tahoma,sans-serif;}
.aht-toast.show{opacity:1;transform:none;}
.aht-empty{text-align:center;padding:60px 20px;color:var(--muted);font-size:14px;font-weight:700;background:#fff;border:1px dashed var(--line);border-radius:16px;}
.aht-empty .e{font-size:48px;display:block;margin-bottom:16px;}
.aht-login{display:flex;align-items:center;justify-content:center;min-height:60vh;padding:40px 20px;}
.aht-login-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:40px;max-width:420px;width:100%;text-align:center;}
.aht-login-box .ic{font-size:48px;display:block;margin-bottom:16px;}
.aht-login-box h3{font-size:20px;font-weight:900;color:var(--navy);margin-bottom:8px;}
.aht-login-box p{color:var(--muted);font-size:13px;margin-bottom:24px;line-height:1.9;}
.aht-loading{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:ahtSpin .8s linear infinite;}
@keyframes ahtSpin{to{transform:rotate(360deg)}}
@media(max-width:1200px){.aht-stats{grid-template-columns:repeat(3,1fr);}.aht-2col{grid-template-columns:1fr;}.aht-cgrid{grid-template-columns:1fr;}.aht-prof{grid-template-columns:1fr;}.aht-money{grid-template-columns:1fr;}}
@media(max-width:900px){
  .aht-shell{flex-direction:column;}
  .aht-side{width:100%;height:auto;position:static;padding:16px;}
  .aht-side nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:8px;}
  .aht-side nav a{white-space:nowrap;margin:0;}
  .aht-stats{grid-template-columns:repeat(2,1fr);}
  .aht-form{grid-template-columns:1fr;}
}
