/* ═══════════════ پنل دانشجو — آهولرن (نسخه کامل چندصفحه‌ای) ═══════════════ */
@font-face{font-family:'IRANSans';src:local('IRANSansX'),local('IRANSans'),local('IRANSansWeb'),local('IRANSansXweb');font-display:swap;}
.ahs{--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%;}
.ahs *{box-sizing:border-box;margin:0;padding:0;}
.ahs a{text-decoration:none;color:inherit;}
.ahs-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;}
.ahs-btn:hover{opacity:.92;}
.ahs-btn.lt{background:#fff!important;color:var(--navy)!important;-webkit-text-fill-color:var(--navy)!important;border:1px solid var(--line)!important;}
.ahs-shell{display:flex;min-height:100vh;}
/* ═══ سایدبار ═══ */
.ahs-side{width:272px;flex-shrink:0;background:var(--deep);padding:26px 18px;position:sticky;top:0;height:100vh;overflow-y:auto;}
.ahs-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;}
.ahs-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;}
.ahs-brand .lg img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;}
.ahs-brand small{display:block;color:#fff !important;-webkit-text-fill-color:#fff !important;font-size:10.5px;font-weight:800;margin-top:4px;}
.ahs-group{color:#fff !important;-webkit-text-fill-color:#fff !important;font-size:10.5px;font-weight:800;margin:16px 12px 8px;display:block;}
.ahs-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;}
.ahs-side nav a:hover{color:#fff !important;-webkit-text-fill-color:#fff !important;background:var(--card);}
.ahs-side nav a.on{background:var(--navy);color:#fff !important;-webkit-text-fill-color:#fff !important;border-color:var(--gold);box-shadow:0 8px 20px rgba(0,0,0,.3);}
.ahs-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;}
.ahs-side nav a.out{color:#fff !important;-webkit-text-fill-color:#fff !important;border:1px solid rgba(229,72,77,.5);justify-content:center;margin-top:16px;}
/* ═══ نوار بالا ═══ */
.ahs-main{flex:1;min-width:0;}
.ahs-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;}
.ahs-user{display:flex;align-items:center;gap:12px;}
.ahs-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;}
.ahs-user b{font-size:14px;color:var(--navy);display:block;}
.ahs-user small{color:var(--muted);font-size:11px;font-weight:700;}
.ahs-search{position:relative;flex:1;max-width:440px;}
.ahs-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);}
.ahs-search input:focus{border-color:var(--gold);}
.ahs-search span{position:absolute;top:50%;right:14px;transform:translateY(-50%);}
.ahs-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;}
.ahs-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;}
.ahs-date{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:11px 18px;font-size:12px;font-weight:700;color:var(--muted);}
/* ═══ محتوا و صفحه‌ها ═══ */
.ahs-content{padding:32px 28px 70px;}
.ahs-page{display:none;}
.ahs-page.on{display:block;animation:ahsFade .4s ease;}
@keyframes ahsFade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.ahs-head{margin-bottom:26px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.ahs-head h1{font-size:26px;font-weight:900;color:var(--navy);}
.ahs-head p{color:var(--muted);font-size:13px;margin-top:8px;}
.ahs-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:26px;}
.ahs-box-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px;flex-wrap:wrap;}
.ahs-box-h h3{font-size:16px;font-weight:900;color:var(--navy);}
.ahs-box-h a{font-size:12px;font-weight:800;color:#A87F2C;cursor:pointer;}
/* آمار */
.ahs-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:26px;}
.ahs-stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;position:relative;overflow:hidden;}
.ahs-stat::after{content:"";position:absolute;bottom:0;right:0;left:0;height:4px;background:var(--ac,var(--gold));}
.ahs-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);}
.ahs-stat b{font-size:22px;font-weight:900;color:var(--navy);display:block;}
.ahs-stat small{color:var(--muted);font-size:11.5px;font-weight:700;}
.ahs-stat .up{position:absolute;top:16px;left:16px;background:#E5F6EC;color:#1F8A4C;font-size:10px;font-weight:800;padding:4px 10px;border-radius:50px;}
/* دوره / ادامه یادگیری */
.ahs-course{display:flex;align-items:center;gap:16px;padding:16px 0;border-top:1px dashed var(--line);flex-wrap:wrap;}
.ahs-course:first-of-type{border-top:none;}
.ahs-course .ci{width:52px;height:52px;border-radius:14px;background:var(--tint);display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;}
.ahs-course .ct{flex:0 0 210px;}
.ahs-course .ct b{font-size:14px;color:var(--navy);display:block;margin-bottom:5px;}
.ahs-course .ct small{color:var(--muted);font-size:11px;font-weight:700;}
.pr{flex:1;height:9px;background:#EEF2F8;border-radius:10px;overflow:hidden;min-width:120px;}
.pr i{display:block;height:100%;background:var(--gold);border-radius:10px;width:0;transition:width 1.2s ease;}
.ahs-course .pc{font-size:13px;font-weight:900;color:#A87F2C;min-width:44px;text-align:center;}
.ahs-2col{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;margin-bottom:26px;}
.ahs-2col .ahs-box{margin:0;}
.ahs-mini{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px dashed var(--line);}
.ahs-mini:first-of-type{border-top:none;}
.ahs-mini .mi{width:48px;height:48px;border-radius:12px;background:var(--tint);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;}
.ahs-mini .mt{flex:1;}
.ahs-mini .mt b{font-size:13.5px;color:var(--navy);display:block;margin-bottom:5px;}
.ahs-mini .mt small{color:var(--muted);font-size:11px;font-weight:700;}
.ahs-not{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-top:1px dashed var(--line);position:relative;}
.ahs-not:first-of-type{border-top:none;}
.ahs-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;}
.ahs-not p{font-size:12.5px;color:var(--text);font-weight:700;line-height:1.8;}
.ahs-not small{color:var(--muted);font-size:10.5px;font-weight:700;}
.ahs-not .dotu{position:absolute;left:4px;top:16px;width:9px;height:9px;border-radius:50%;background:var(--red);}
.ahs-not.read .dotu{display:none;}
/* جدول */
.ahs-table{width:100%;border-collapse:collapse;}
.ahs-table th{font-size:11px;color:var(--muted);font-weight:800;text-align:right;padding:10px 12px;border-bottom:1px solid var(--line);}
.ahs-table td{font-size:12.5px;font-weight:700;padding:14px 12px;border-bottom:1px dashed var(--line);color:var(--text);}
.ahs-table td b{color:var(--navy);}
.ahs-ok{background:#E5F6EC;color:#1F8A4C;font-size:10.5px;font-weight:800;padding:5px 14px;border-radius:50px;}
.ahs-wait{background:#FDF1E0;color:#C97A18;font-size:10.5px;font-weight:800;padding:5px 14px;border-radius:50px;}
/* بنر تخفیف */
.ahs-off{background:var(--cream);border:1px solid var(--gold);border-radius:20px;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;position:relative;}
.ahs-off::before{content:"";position:absolute;inset:8px;border:1px solid rgba(201,162,77,.35);border-radius:14px;pointer-events:none;}
.ahs-off b{color:var(--navy);font-size:16px;font-weight:900;display:block;margin-bottom:8px;}
.ahs-off p{color:var(--muted);font-size:12.5px;}
/* کارت دوره (صفحه دوره‌های من / علاقه‌مندی) */
.ahs-cgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.ahs-ccard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;transition:.3s;position:relative;}
.ahs-ccard:hover{transform:translateY(-6px);border-color:var(--gold);box-shadow:0 18px 40px rgba(19,41,75,.12);}
.ahs-ccard .ch{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;}
.ahs-ccard .ci2{width:56px;height:56px;border-radius:14px;background:var(--tint);display:flex;align-items:center;justify-content:center;font-size:26px;}
.ahs-lvl{background:var(--tint);color:#2B62B8;font-size:10.5px;font-weight:800;padding:5px 14px;border-radius:50px;}
.ahs-ccard h4{font-size:15px;font-weight:900;color:var(--navy);margin-bottom:8px;}
.ahs-ccard .cs{color:var(--muted);font-size:11.5px;font-weight:700;margin-bottom:14px;display:block;}
.ahs-ccard .prow{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.ahs-ccard .prow .pc{font-size:12px;font-weight:900;color:#A87F2C;}
.ahs-ccard .btns{display:flex;gap:10px;}
.ahs-ccard .btns .ahs-btn{flex:1;padding:10px;}
.ahs-favb{position:absolute;top:18px;left:18px;width:38px;height:38px;border-radius:11px;background:#fff;border:1.5px solid var(--red);color:var(--red);display:flex;align-items:center;justify-content:center;font-size:15px;cursor:pointer;transition:.3s;}
.ahs-favb.active{background:var(--red);color:#fff;}
/* مسیر یادگیری پنل */
.ahs-step{display:flex;gap:16px;align-items:flex-start;padding:18px 0;border-top:1px dashed var(--line);}
.ahs-step:first-of-type{border-top:none;}
.ahs-step .sn{width:46px;height:46px;min-width:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:15px;border:2px solid;}
.ahs-step.done .sn{background:var(--navy);color:var(--gold-l);border-color:var(--gold);}
.ahs-step.now .sn{background:#fff;color:var(--navy);border-color:var(--gold);box-shadow:0 0 0 6px rgba(201,162,77,.15);}
.ahs-step.lock .sn{background:var(--soft);color:var(--muted);border-color:var(--line);}
.ahs-step .stx{flex:1;}
.ahs-step .stx b{font-size:14.5px;color:var(--navy);display:block;margin-bottom:6px;}
.ahs-step .stx p{font-size:12px;color:var(--muted);line-height:1.9;}
.ahs-step .stx a{font-size:11.5px;font-weight:800;color:#2B62B8;display:inline-block;margin-top:8px;}
.st-chip{font-size:10.5px;font-weight:800;padding:6px 14px;border-radius:50px;}
.st-chip.done{background:#E5F6EC;color:#1F8A4C;}
.st-chip.now{background:#FDF1E0;color:#C97A18;}
.st-chip.lock{background:#EEF2F8;color:#6B7A90;}
/* تیکت‌ها */
.ahs-tk{border:1px solid var(--line);border-radius:16px;margin-bottom:14px;overflow:hidden;background:#fff;}
.ahs-tk-h{display:flex;align-items:center;gap:14px;padding:18px 20px;cursor:pointer;flex-wrap:wrap;}
.ahs-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;}
.ahs-tk-h .tt{flex:1;min-width:200px;}
.ahs-tk-h .tt b{font-size:14px;color:var(--navy);display:block;margin-bottom:5px;}
.ahs-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;}
.ahs-tk-b{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ease;}
.ahs-tk.open .ahs-tk-b{grid-template-rows:1fr;}
.ahs-tk-b>div{overflow:hidden;}
.ahs-tk-body{padding:0 20px 20px;}
.ahs-msg{padding:14px 18px;border-radius:14px;font-size:12.5px;line-height:2;margin-bottom:10px;}
.ahs-msg b{display:block;font-size:11.5px;margin-bottom:6px;}
.ahs-msg.me{background:var(--tint);margin-left:46px;}
.ahs-msg.me b{color:#2B62B8;}
.ahs-msg.sup{background:var(--cream);border:1px solid rgba(201,162,77,.4);margin-right:46px;}
.ahs-msg.sup b{color:#A87F2C;}
.ahs-reply{display:flex;gap:10px;margin-top:14px;}
.ahs-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;}
.ahs-reply input:focus{border-color:var(--gold);}
/* فرم‌ها */
.ahs-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.ahs-f{display:flex;flex-direction:column;gap:8px;}
.ahs-f.full{grid-column:1/-1;}
.ahs-f label{font-size:12px;font-weight:800;color:var(--navy);}
.ahs-f input,.ahs-f select,.ahs-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%;}
.ahs-f input:focus,.ahs-f select:focus,.ahs-f textarea:focus{border-color:var(--gold);background:#fff;}
.ahs-f textarea{min-height:150px;resize:vertical;}
/* پروفایل */
.ahs-prof{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:start;}
.ahs-pcard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px 24px;text-align:center;}
.ahs-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;}
.ahs-pcard h4{font-size:16px;font-weight:900;color:var(--navy);margin-bottom:6px;}
.ahs-pcard .role{display:inline-block;background:var(--tint);color:#2B62B8;font-size:11px;font-weight:800;padding:5px 16px;border-radius:50px;margin-bottom:16px;}
.ahs-pinfo{border-top:1px dashed var(--line);padding-top:16px;text-align:right;display:grid;gap:10px;}
.ahs-pinfo span{font-size:12px;color:var(--muted);font-weight:700;display:flex;justify-content:space-between;gap:10px;}
.ahs-pinfo span b{color:var(--navy);}
/* توست */
.ahs-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;}
.ahs-toast.show{opacity:1;transform:none;}
/* حالت خالی */
.ahs-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;}
.ahs-empty .e{font-size:48px;display:block;margin-bottom:16px;}
/* ورود به سیستم */
.ahs-login{display:flex;align-items:center;justify-content:center;min-height:60vh;padding:40px 20px;}
.ahs-login-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:40px;max-width:420px;width:100%;text-align:center;}
.ahs-login-box .ic{font-size:48px;display:block;margin-bottom:16px;}
.ahs-login-box h3{font-size:20px;font-weight:900;color:var(--navy);margin-bottom:8px;}
.ahs-login-box p{color:var(--muted);font-size:13px;margin-bottom:24px;line-height:1.9;}
@media(max-width:1200px){.ahs-stats{grid-template-columns:repeat(3,1fr);}.ahs-2col{grid-template-columns:1fr;}.ahs-cgrid{grid-template-columns:repeat(2,1fr);}.ahs-prof{grid-template-columns:1fr;}}
@media(max-width:900px){
  .ahs-shell{flex-direction:column;}
  .ahs-side{width:100%;height:auto;position:static;padding:16px;}
  .ahs-side nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:8px;}
  .ahs-side nav a{white-space:nowrap;margin:0;}
  .ahs-stats{grid-template-columns:repeat(2,1fr);}
  .ahs-cgrid{grid-template-columns:1fr;}
  .ahs-form{grid-template-columns:1fr;}
}
