/* MTC LMS front-end */
.mtc-wrap{max-width:1180px;margin:30px auto;padding:0 18px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17202a}
.mtc-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:34px;border-radius:18px;background:linear-gradient(135deg,#6A1B9A,#8E44AD);color:#fff;margin-bottom:26px}
.mtc-hero h1,.mtc-course-header h1{font-size:clamp(30px,5vw,46px);line-height:1.05;margin:8px 0}
.mtc-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;opacity:.8}
.mtc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 34px}
.mtc-stat{padding:22px;border:1px solid #e4e8eb;border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.04)}
.mtc-stat strong{display:block;font-size:30px}.mtc-stat span{color:#667085}
.mtc-course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin:18px 0 35px}
.mtc-course-card{overflow:hidden;background:#fff;border:1px solid #e4e8eb;border-radius:16px;box-shadow:0 7px 24px rgba(0,0,0,.05)}
.mtc-course-card img{width:100%;height:170px;object-fit:cover}.mtc-course-body{padding:20px}.mtc-course-body h3{font-size:20px;margin:10px 0}
.mtc-badge{display:inline-block;padding:5px 9px;border-radius:99px;background:#F3E8F8;color:#6A1B9A;font-size:12px;font-weight:700}
.mtc-btn{display:inline-block;border:0;border-radius:9px;background:#6A1B9A;color:#fff!important;text-decoration:none!important;padding:11px 17px;font-weight:700;cursor:pointer}.mtc-btn:hover{background:#4A126B}
.mtc-btn.small{padding:7px 12px;font-size:13px}.mtc-result{margin:10px 0;font-weight:700}
.mtc-course-header{padding:34px;border-radius:18px;background:#f1f8f4;margin-bottom:24px}.mtc-meta{display:flex;gap:10px;flex-wrap:wrap}.mtc-meta span{padding:8px 12px;background:#fff;border-radius:8px}
.mtc-content{background:#fff;margin-bottom:25px}.mtc-lessons{border:1px solid #e4e8eb;border-radius:14px;overflow:hidden}.mtc-lesson-row{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #edf0f2}.mtc-lesson-row:last-child{border-bottom:0}
.mtc-number{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#F3E8F8;color:#6A1B9A;margin-right:10px;font-weight:800}.mtc-locked{color:#98a2b3}
.mtc-table{border:1px solid #e4e8eb;border-radius:12px;overflow:hidden}.mtc-row{display:grid;grid-template-columns:2fr 1fr 1fr;padding:14px 18px;border-bottom:1px solid #edf0f2}.mtc-row.head{font-weight:800;background:#f7f9fa}
@media(max-width:700px){.mtc-grid{grid-template-columns:1fr}.mtc-hero{padding:24px;display:block}.mtc-hero .mtc-btn{margin-top:18px}.mtc-row{grid-template-columns:1.5fr 1fr}.mtc-row span:last-of-type{display:none}}

.mtc-module-front{margin:18px 0}.mtc-module-front-head{background:#f3e8f8;border:1px solid #ead7f0;padding:14px 18px;border-radius:12px 12px 0 0;color:#4A126B}.mtc-module-front>p{margin:0;padding:10px 18px;background:#faf7fc;border-left:1px solid #ead7f0;border-right:1px solid #ead7f0}

.mtc-student-portal{max-width:1100px;margin:30px auto}.mtc-portal-hero{background:#6A1B9A;color:#fff;border-radius:18px;padding:32px}.mtc-portal-hero h1{color:#fff;margin:8px 0}.mtc-portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:20px}.mtc-portal-course{background:#fff;border:1px solid #e4e8eb;border-radius:14px;padding:20px}.mtc-portal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mtc-portal-stats div{background:#f3e8f8;border-radius:9px;padding:12px;text-align:center}.mtc-portal-stats strong{display:block;color:#6A1B9A;font-size:22px}.mtc-portal-stats span{font-size:12px}.mtc-portal-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.mtc-portal-links a{background:#6A1B9A;color:#fff;padding:8px 11px;border-radius:7px;text-decoration:none}

.mtc-portal-records{margin-top:22px;background:#fff;border:1px solid #e4e8eb;border-radius:14px;padding:20px}.mtc-portal-records a{display:inline-block;background:#6A1B9A;color:#fff;padding:10px 14px;border-radius:8px;text-decoration:none;margin:5px}
