/* Hamyar Movafagh 3.3.15 - private reports, planning, scheduled group tests. */
@font-face{font-family:HM3315Vazir;src:url('fonts/vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
.hm-admin :is(.hm3315-group-admin,.hm3314-admin-orders),.hm-student :is(.hm3315-group,.hm3315-my-results,.hm3315-achievements,.hm3315-note-complete),.hm3315-report-page{font-family:HM3315Vazir,Vazirmatn,Tahoma,sans-serif}
/* Payment confirmations deliberately look different from checkbox controls. */
.hm3315-solid-check,.hm3315-circle-check{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:linear-gradient(145deg,#078d73,#1ec69e);color:#fff!important;font-family:HM3315Vazir,sans-serif;font-size:18px;font-weight:950;border:2px solid #f2fff9;box-shadow:0 4px 12px #11876b36}
.hm3315-circle-check{width:40px;height:40px;font-size:21px;box-shadow:0 5px 16px #008f8530}
.hm3315-export-controls{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin:16px 0!important;padding:14px 17px;border:1px solid #9accf4;border-radius:17px;background:linear-gradient(120deg,#e8f4ff,#e9f9ff)}
.hm3315-export-controls .hm3315-export{min-height:45px;display:inline-flex;align-items:center;background:linear-gradient(115deg,#0955a7,#1289d6)!important;border-color:#0a70b7!important;color:#fff!important;border-radius:12px!important;font-family:HM3315Vazir,sans-serif!important;font-size:13px!important;font-weight:900!important;padding:7px 18px!important;box-shadow:0 6px 15px #14569c24}
.hm3315-export-controls>span{font-size:12px;color:#365f86;line-height:1.8}
.hm3314-admin-orders .hm-330-order-status.is-paid,.hm3314-admin-orders .hm-330-order-status.is-success{display:inline-flex;align-items:center;gap:6px;padding:6px 11px!important;border-radius:999px!important;color:#087457!important;background:#e0f9ed!important;border:1px solid #a1dabb!important;font-weight:900;box-shadow:0 3px 10px #098a6512}
.hm3314-admin-orders .hm3314-state-paid{background:linear-gradient(90deg,#fafffe,#fff)!important}
.hm3314-admin-orders .hm3314-state-pending{background:#fffdfa!important}
/* Premium podium: rank numerals, readable names and a clear color distinction. */
.hm-admin .hm-results-podium{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:14px!important;direction:rtl}
.hm-admin .hm-results-podium-card{position:relative;isolation:isolate;overflow:hidden;display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:13px;row-gap:6px;align-items:center;min-height:145px!important;border:1px solid #bad6fa!important;border-radius:24px!important;padding:20px!important;background:linear-gradient(145deg,#f2f8ff,#fff)!important;box-shadow:0 13px 30px #114c8921!important;order:initial!important}
.hm-admin .hm-results-podium-card:after{content:'';position:absolute;top:-55px;left:-55px;width:160px;height:160px;border-radius:50%;background:#ffffff55;z-index:-1}
.hm-admin .hm-results-podium-card.hm-results-podium-1{order:1!important;background:linear-gradient(130deg,#07396b,#086bba,#1ba3db)!important;border-color:#0d80cd!important;color:#fff!important;transform:translateY(-5px)}
.hm-admin .hm-results-podium-card.hm-results-podium-2{order:2!important;background:linear-gradient(145deg,#dbe8fa,#f9fcff)!important;border-color:#a6c7ee!important}
.hm-admin .hm-results-podium-card.hm-results-podium-3{order:3!important;background:linear-gradient(145deg,#fff0dd,#fffaf3)!important;border-color:#e9caaa!important}
.hm-admin .hm-results-podium .hm3315-medal{width:70px;height:70px;display:grid;place-items:center;flex:none;border-radius:22px;font:900 37px HM3315Vazir,sans-serif!important;background:linear-gradient(145deg,#ffdf75,#f4a522);color:#653809!important;border:2px solid #fff9d7;box-shadow:0 8px 17px #995e1940}
.hm-admin .hm-results-podium-2 .hm3315-medal{background:linear-gradient(145deg,#fff,#bacce2);color:#305376!important;border-color:#fff}
.hm-admin .hm-results-podium-3 .hm3315-medal{background:linear-gradient(145deg,#f8ca98,#cf8b59);color:#62350b!important;border-color:#ffe6c7}
.hm-admin .hm-results-podium-card>div{min-width:0!important;display:grid;gap:6px}
.hm-admin .hm-results-podium-card strong{font-family:HM3315Vazir,sans-serif!important;font-size:clamp(14px,1.6vw,20px)!important;font-weight:950!important;overflow-wrap:anywhere;color:#14446e!important}
.hm-admin .hm-results-podium-card small{font-size:13px!important;font-weight:800!important}
.hm-admin .hm-results-podium-card>b{grid-column:1/-1;justify-self:end;padding:4px 14px;border-radius:99px;background:#ffffffaa;color:#0f5ba4;font:900 22px HM3315Vazir,sans-serif!important}
.hm-admin .hm-results-podium-1 :is(strong,small){color:#fff!important}
.hm-admin .hm-results-podium-1>b{color:#073b6e!important}
/* Student result cards. */
.hm3315-my-results{border-radius:26px!important;background:linear-gradient(155deg,#f7fbff,#eaf4ff)!important;border:1px solid #b6d9fb!important;box-shadow:0 13px 34px #195ca51c;margin:19px 0}
.hm3315-section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.hm3315-section-title span{font-size:12px;font-weight:900;color:#0876bc}.hm3315-section-title h2{font:900 clamp(22px,2.9vw,32px) HM3315Vazir,sans-serif!important;color:#103f73!important;margin:3px 0!important}
.hm3315-section-title p{font-size:13px;color:#56738d}.hm3315-count{background:#e0f7ef;color:#087554!important;border-radius:99px;padding:8px 15px;border:1px solid #b2e1cc;font-size:12px!important}
.hm3315-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.hm3315-result-tile{display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid #cedff2;border-radius:19px;background:#fff;box-shadow:0 7px 19px #205a9b10;min-width:0}
.hm3315-result-top{display:flex;justify-content:space-between;gap:7px;align-items:center;color:#60788d;font-size:12px}
.hm3315-result-top>span{border-radius:40px;padding:4px 10px;background:#e9f2ff;color:#12589c;font-weight:800}
.hm3315-result-tile h3{font:850 17px/1.8 HM3315Vazir,sans-serif!important;margin:0!important;color:#183f66!important}
.hm3315-result-value{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.hm3315-result-value strong{font-size:32px;color:#0867b1}.hm3315-result-value small{color:#60788d}
.hm3315-result-bar{height:10px;background:#e7effa;overflow:hidden;border-radius:99px}.hm3315-result-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#22c6a7,#0877ce)}
.hm3315-result-stats{display:flex;flex-wrap:wrap;gap:8px}.hm3315-result-stats span{font-size:11px;font-weight:700;padding:5px 9px;background:#f0f7fd;border-radius:9px;color:#385c7e}
.hm3315-result-tile>a{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;background:linear-gradient(115deg,#0c5ab1,#028fce);color:#fff!important;text-decoration:none;border-radius:13px;font-weight:900;margin-top:auto;min-height:43px}
/* Rich printable report. */
.hm3315-report-page{background:radial-gradient(circle at 20% 0,#d5eaff,transparent 36%),#f0f5fb!important}
.hm3315-report-page .hm-main{max-width:970px!important}
.hm3315-report-hero{position:relative;overflow:hidden;border-radius:26px;padding:clamp(25px,4vw,44px);background:linear-gradient(120deg,#073775,#0d69b5,#08a3d0);color:#fff;margin:15px 0 22px;box-shadow:0 14px 32px #145a9e31}
.hm3315-report-hero:after{content:'✦';position:absolute;font-size:180px;left:8%;top:-60px;color:#ffffff14;pointer-events:none}
.hm3315-report-hero span{color:#acf3fa;font:800 14px HM3315Vazir,sans-serif}.hm3315-report-hero h1{color:#fff!important;font:950 clamp(25px,3.7vw,39px)/1.5 HM3315Vazir,sans-serif!important;margin:10px 0!important}
.hm3315-report-hero p{color:#e8f6ff;font-size:15px!important}.hm3315-report-seal{display:inline-flex;border:1px solid #a7ffdb;background:#ffffff1c;border-radius:999px;padding:8px 18px;font-size:13px;font-weight:900;color:#cbffdf}
.hm3315-report-page .hm-report-section,.hm3315-report-page .hm-report-overview,.hm3315-report-page .hm-card{border-radius:20px!important;border-color:#c6e0f5!important;box-shadow:0 8px 19px #13538f12}
.hm3315-report-page .hm-result-chart,.hm3315-report-page .hm-score-ring{filter:drop-shadow(0 7px 10px #186bb133)}
@media print{.hm3315-report-hero{background:#eff6ff!important;color:#173d6e!important;box-shadow:none!important}.hm3315-report-hero h1,.hm3315-report-hero p{color:#173d6e!important}}
/* Note achievement. */
.hm3315-note-complete{margin:18px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border:1px solid #9cdec8;border-radius:20px;background:linear-gradient(112deg,#e8fff7,#f5fbff);box-shadow:0 8px 21px #108e6820}
.hm3315-note-complete>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hm3315-note-complete strong{font:900 16px HM3315Vazir,sans-serif;color:#0b6b53}.hm3315-note-complete p{font-size:12px!important;color:#557569;margin:0!important}.hm3315-note-complete button{background:linear-gradient(130deg,#018b74,#17b6a3)!important;border-radius:12px!important;color:white!important;font-weight:850!important}.hm3315-note-complete button:disabled{opacity:1;background:#bbdbcf!important;color:#0c6a4c!important}
.hm3315-achievements{background:linear-gradient(150deg,#eafff7,#fff)!important;border-color:#a5e3d2!important;border-radius:22px!important;margin:17px 0}.hm3315-achievements-list{padding:0!important;margin:14px 0 0!important;list-style:none!important;display:grid;gap:10px}
.hm3315-achievements-list li{display:flex;align-items:center;gap:13px;padding:13px;border:1px solid #c8eadf;border-radius:15px;background:#fff}
.hm3315-achievements-list li>div{flex:1;min-width:0}.hm3315-achievements-list strong{font-size:13px;color:#134e47;line-height:2}.hm3315-achievements-list small{display:block;font-size:11px;color:#657e77}.hm3315-achievements-list a{font-weight:850;font-size:12px;white-space:nowrap}
/* Planner PDF download. */
.hm3315-planner-pdf{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:linear-gradient(125deg,#eaf5ff,#f1fdff)!important;border-color:#b4dff4!important;border-radius:23px!important;margin-top:18px!important}
.hm3315-planner-pdf h2{font-size:22px!important;margin:4px 0}.hm3315-planner-pdf p{font-size:13px!important;color:#436883;max-width:600px}
.hm3315-planner-pdf>button{background:linear-gradient(120deg,#0c67be,#0899d0)!important;color:#fff!important;font-weight:900!important;border-radius:13px!important}.hm3315-planner-pdf>p{width:100%;margin:0!important}
/* Group tests timetable. */
.hm3315-group{max-width:1100px!important;min-height:70vh}.hm3315-banner{border-radius:27px;background:linear-gradient(115deg,#063873,#0f72ba,#12afc9);padding:clamp(22px,4vw,42px);color:#fff;margin:20px 0 28px;box-shadow:0 18px 35px #1556a72d}
.hm3315-banner span{color:#a4fbfb;font:800 13px HM3315Vazir,sans-serif}.hm3315-banner h1{font:950 clamp(25px,4vw,37px) HM3315Vazir,sans-serif!important;color:#fff!important;margin:12px 0!important}.hm3315-banner p{color:#e7f6ff;font-size:15px}
.hm3315-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hm3315-event{min-width:0;border:1px solid #c8dff5;border-radius:22px;background:#fff;padding:23px;box-shadow:0 10px 24px #155eaa16;display:flex;flex-direction:column;gap:10px}
.hm3315-event-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:#52708c}.hm3315-state{display:inline-flex;border:1px solid #b5dcf8;border-radius:50px;background:#e4f4ff;color:#0b6bba;padding:5px 11px;font-weight:900}
.hm3315-event h2{font:900 20px/1.7 HM3315Vazir,sans-serif!important;margin:7px 0!important;color:#123d6e!important}.hm3315-event p{font-size:12px!important;color:#58768e}
.hm3315-countdown{font:900 clamp(15px,2vw,19px) HM3315Vazir,sans-serif;color:#0a6eb0;text-align:center;padding:14px 9px;border:1px solid #d0e9f9;border-radius:13px;background:#eff9ff;line-height:2;direction:rtl}
.hm3315-join{display:block;text-decoration:none;text-align:center;padding:13px 15px;border-radius:14px;background:linear-gradient(120deg,#0864ba,#039bce);color:#fff!important;font-weight:900;margin-top:auto}.hm3315-wait{margin-top:auto;display:block;text-align:center;color:#6b8296;padding:11px;background:#f5f8fb;border-radius:11px}
.hm3315-group-admin{font-family:HM3315Vazir,Vazirmatn,sans-serif}.hm3315-group-admin .hm-card{margin:18px 0}.hm3315-schedule-form{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:12px}.hm3315-schedule-form label{display:grid;gap:7px;font-size:13px;font-weight:800}.hm3315-schedule-form select,.hm3315-schedule-form input{width:100%;min-height:42px;border:1px solid #b8d1eb;border-radius:10px;padding:7px}
@media(max-width:760px){.hm-admin .hm-results-podium{grid-template-columns:1fr!important}.hm-admin .hm-results-podium-card.hm-results-podium-1{transform:none}.hm3315-results-grid,.hm3315-event-grid{grid-template-columns:1fr}.hm3315-schedule-form{grid-template-columns:1fr}.hm3315-note-complete>button{width:100%}.hm3315-achievements-list li{flex-wrap:wrap}.hm3315-export-controls>a{width:100%;justify-content:center}.hm3315-report-hero{padding:23px}}
