
.cert-progress-section{padding-top:1.5rem;padding-bottom:1.5rem}.cert-progress-shell{background:linear-gradient(135deg,#fff,#f4f7fb);border:1px solid rgba(11,31,58,.13);border-radius:24px;padding:1.5rem;box-shadow:0 18px 40px rgba(2,10,28,.09)}.cert-progress-head{display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:center}.cert-progress-head h2{margin:.15rem 0 .35rem;color:#0b1f3a}.cert-progress-head p{margin:0;color:#475569}.cert-progress-ring{--progress:0;width:112px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;align-content:center;background:radial-gradient(circle closest-side,#fff 73%,transparent 74% 99%),conic-gradient(#c8a24a calc(var(--progress)*1%),#dbe4ef 0);color:#0b1f3a}.cert-progress-ring strong{font-size:1.45rem}.cert-progress-ring span{font-size:.72rem;font-weight:800;text-transform:uppercase}.cert-progress-bar{height:12px;background:#dbe4ef;border-radius:999px;overflow:hidden;margin:1.25rem 0}.cert-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#c8a24a,#f2d889);border-radius:inherit}.cert-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.cert-stat-grid>div{background:#fff;border:1px solid rgba(11,31,58,.1);border-radius:16px;padding:1rem}.cert-stat-grid strong{display:block;font-size:1.5rem;color:#0b1f3a}.cert-stat-grid span{font-size:.78rem;color:#64748b;font-weight:800}.cert-filter-bar{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1.25rem}.cert-filter{border:1px solid rgba(11,31,58,.18);border-radius:999px;background:#fff;color:#0b1f3a;font-weight:850;padding:.62rem .9rem;cursor:pointer}.cert-filter:hover,.cert-filter:focus,.cert-filter.active{background:#0b1f3a;color:#fff;outline:none}.cert-card-progress{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin:.1rem 0 .9rem}.cert-state-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.4rem .68rem;font-size:.73rem;font-weight:900;letter-spacing:.02em}.cert-state-chip.loading{background:#eef2f7;color:#64748b}.cert-state-chip.not-started{background:#eef2f7;color:#475569}.cert-state-chip.retake{background:#fee2e2;color:#991b1b}.cert-state-chip.pending{background:#fff3cd;color:#7a5200}.cert-state-chip.earned{background:#dcfce7;color:#166534}.cert-score{font-size:.75rem;color:#64748b;font-weight:800}.certification-card[data-cert-state="earned"]{border-color:rgba(34,197,94,.42);box-shadow:0 15px 34px rgba(22,101,52,.10)}.certification-card[data-cert-state="earned"] .cert-badge{filter:drop-shadow(0 12px 18px rgba(22,101,52,.24))}.cert-account-profile-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:1.25rem;padding-top:1.5rem}.cert-next-step{align-self:stretch}.cert-next-step .btn{margin-top:.75rem}.cert-dashboard-table-wrap{overflow-x:auto;border:1px solid rgba(11,31,58,.12);border-radius:18px;background:#fff}.cert-dashboard-table{width:100%;border-collapse:collapse;min-width:900px}.cert-dashboard-table th,.cert-dashboard-table td{padding:.85rem;border-bottom:1px solid rgba(11,31,58,.09);text-align:left;vertical-align:middle}.cert-dashboard-table th{background:#f4f7fb;color:#0b1f3a;font-size:.76rem;text-transform:uppercase;letter-spacing:.03em}.cert-table-name{display:flex;align-items:center;gap:.75rem}.cert-table-name img{width:46px;height:54px;object-fit:contain}.cert-table-name strong,.cert-table-name span{display:block}.cert-table-name span{font-size:.75rem;color:#64748b}.badge-toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap;margin-bottom:1rem}.badge-collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.badge-collection-grid.preview{grid-template-columns:repeat(3,minmax(0,1fr))}.achievement-card{background:#fff;border:1px solid rgba(11,31,58,.13);border-radius:22px;overflow:hidden;box-shadow:0 15px 34px rgba(2,10,28,.08);display:flex;flex-direction:column}.achievement-image-wrap{display:grid;place-items:center;min-height:240px;padding:1rem;background:linear-gradient(180deg,#0b1730,#111c31)}.achievement-image-wrap img{width:178px;height:210px;object-fit:contain;filter:drop-shadow(0 13px 19px rgba(0,0,0,.35));transition:.2s}.achievement-card.locked .achievement-image-wrap img{filter:grayscale(1) opacity(.38)}.achievement-card.pending .achievement-image-wrap img{filter:grayscale(.45) opacity(.76)}.achievement-body{padding:1.15rem;display:flex;flex-direction:column;align-items:flex-start;flex:1}.achievement-body h3{margin:.7rem 0 .35rem}.achievement-body p{margin:.25rem 0 .8rem;color:#475569}.achievement-body dl{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;width:100%;margin:.25rem 0 .85rem}.achievement-body dl div{background:#f4f7fb;border-radius:12px;padding:.55rem}.achievement-body dt{font-size:.68rem;text-transform:uppercase;font-weight:900;color:#64748b}.achievement-body dd{margin:.1rem 0 0;color:#0b1f3a;font-weight:900}.achievement-body .btn{margin-top:auto}.equipment-unlock{color:#166534!important;font-weight:900}.micro-badge.pending{background:#fff3cd;color:#7a5200}.micro-badge-icon img{width:1.2rem;height:1.2rem;object-fit:contain}.micro-badge.earned .micro-badge-icon img{filter:none}.micro-badge.locked .micro-badge-icon img{filter:grayscale(1);opacity:.45}.micro-badge.pending .micro-badge-icon img{filter:grayscale(.4);opacity:.75}.cert-profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.cert-profile-list>div{background:#f4f7fb;border-radius:14px;padding:.75rem}.cert-profile-list dt{font-size:.7rem;text-transform:uppercase;font-weight:900;color:#64748b}.cert-profile-list dd{margin:.15rem 0 0;font-weight:850;color:#0b1f3a}@media(max-width:980px){.cert-stat-grid{grid-template-columns:repeat(2,1fr)}.badge-collection-grid,.badge-collection-grid.preview{grid-template-columns:repeat(2,1fr)}.cert-account-profile-grid{grid-template-columns:1fr}}@media(max-width:640px){.cert-progress-head{grid-template-columns:1fr}.cert-progress-ring{width:96px}.cert-stat-grid,.badge-collection-grid,.badge-collection-grid.preview{grid-template-columns:1fr}.cert-profile-list{grid-template-columns:1fr}.achievement-image-wrap{min-height:210px}}@media print{.site-header,.site-footer,.footer,.cert-account-bar,.badge-toolbar,.hero-actions,.back-to-top{display:none!important}.achievement-card.locked,.achievement-card.pending{display:none!important}.badge-collection-grid{grid-template-columns:repeat(3,1fr)}.achievement-card{break-inside:avoid;box-shadow:none}}

/* Teacher certification accounts and dashboard */
.teacher-certification-page{background:#f3f6fb}.teacher-cert-hero{background:radial-gradient(circle at 88% 12%,rgba(200,162,74,.2),transparent 32%),linear-gradient(135deg,#07162f,#11284f);color:#fff}.teacher-cert-hero h1,.teacher-cert-hero p{color:#fff}.teacher-summary-section{margin-top:-1.75rem;position:relative;z-index:3}.teacher-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.teacher-summary-grid article{display:flex;align-items:center;gap:.85rem;background:#fff;border:1px solid #d9e2ef;border-radius:20px;padding:1.05rem 1.15rem;box-shadow:0 14px 34px rgba(5,25,60,.1)}.teacher-summary-grid article>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#0d2348;color:#e6c458;font-weight:950}.teacher-summary-grid strong,.teacher-summary-grid small{display:block}.teacher-summary-grid strong{font-size:1.55rem;color:#0b1f3a;line-height:1}.teacher-summary-grid small{margin-top:.28rem;color:#607089;font-weight:800}.teacher-dashboard-section{padding-top:2.6rem}.teacher-pending-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.teacher-pending-card{background:#fff;border:1px solid #dce4ef;border-radius:20px;padding:1rem;display:grid;grid-template-columns:62px 1fr auto;gap:.85rem;align-items:center;box-shadow:0 12px 28px rgba(5,25,60,.08)}.teacher-pending-card img{width:58px;height:66px;object-fit:contain;filter:drop-shadow(0 8px 11px rgba(5,25,60,.18))}.teacher-pending-card span,.teacher-pending-card strong,.teacher-pending-card p{display:block}.teacher-pending-card span{font-size:.7rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#87671f}.teacher-pending-card strong{margin:.15rem 0;font-size:1rem;color:#0b1f3a}.teacher-pending-card p{margin:0;color:#64748b;font-size:.8rem}.teacher-empty-state{grid-column:1/-1;background:#fff;border:1px dashed #b9c7dc;border-radius:20px;padding:1.25rem;color:#53627b}.teacher-empty-state p{margin:.35rem 0 0}.teacher-student-directory-card{padding:1.4rem}.teacher-dashboard-tools{display:grid;grid-template-columns:1.6fr .7fr .8fr;gap:.8rem;margin-bottom:1rem}.teacher-dashboard-tools label{font-size:.75rem;font-weight:900;color:#40516b;text-transform:uppercase;letter-spacing:.035em}.teacher-dashboard-tools input,.teacher-dashboard-tools select{display:block;width:100%;margin-top:.35rem;padding:.72rem .78rem;border:1px solid #cad5e4;border-radius:12px;background:#fff;color:#0b1f3a;font:inherit;text-transform:none;letter-spacing:normal}.teacher-dashboard-status{padding:.75rem .9rem;border-radius:14px;background:#eef3fb;color:#29466d;font-weight:800;margin-bottom:.9rem}.teacher-dashboard-status.error{background:#fee2e2;color:#991b1b}.teacher-student-table-wrap{overflow:auto;border:1px solid #d9e2ef;border-radius:18px}.teacher-student-table{width:100%;border-collapse:collapse;min-width:980px;background:#fff}.teacher-student-table th,.teacher-student-table td{padding:.8rem .85rem;border-bottom:1px solid #e6ecf4;text-align:left;vertical-align:middle}.teacher-student-table th{background:#f3f6fb;color:#42516a;font-size:.72rem;text-transform:uppercase;letter-spacing:.045em}.teacher-table-sub{display:block;color:#6a778d;font-size:.74rem;margin-top:.18rem}.approval-pill.pending{background:#fff3cd;color:#7a5200}.teacher-student-dialog{border:0;padding:0;background:transparent;width:min(1180px,94vw);max-height:92vh}.teacher-student-dialog::backdrop{background:rgba(2,10,28,.72);backdrop-filter:blur(5px)}.teacher-dialog-shell{background:#f3f6fb;border-radius:26px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35);max-height:92vh;display:flex;flex-direction:column}.teacher-dialog-header{display:flex;justify-content:space-between;gap:1.25rem;align-items:flex-start;padding:1.35rem 1.5rem;background:linear-gradient(135deg,#081a38,#153d7b);color:#fff}.teacher-dialog-header h2{margin:.2rem 0 .3rem;color:#fff}.teacher-dialog-header p{margin:0;color:#dce7fb}.teacher-dialog-header strong{display:block;margin-top:.45rem;color:#e8ca6b}.teacher-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.12);color:#fff;font-size:1.6rem;cursor:pointer}.teacher-student-badge-grid{padding:1.25rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;overflow-y:auto}.teacher-badge-card{display:grid;grid-template-columns:108px 1fr;background:#fff;border:1px solid #d9e2ef;border-radius:20px;overflow:hidden;min-height:230px}.teacher-badge-card.earned{border-color:rgba(34,197,94,.45)}.teacher-badge-card.pending{border-color:rgba(200,162,74,.58)}.teacher-badge-image{display:grid;place-items:center;background:linear-gradient(180deg,#0c1d3e,#132d58);padding:.7rem}.teacher-badge-image img{width:94px;height:124px;object-fit:contain;filter:drop-shadow(0 10px 13px rgba(0,0,0,.28))}.teacher-badge-card.not-started .teacher-badge-image img,.teacher-badge-card.retake .teacher-badge-image img{filter:grayscale(1) opacity(.42)}.teacher-badge-card.pending .teacher-badge-image img{filter:grayscale(.35) opacity(.82)}.teacher-badge-copy{padding:1rem;display:flex;flex-direction:column;align-items:flex-start}.teacher-badge-copy h3{font-size:1.02rem;margin:.55rem 0 .45rem;color:#0b1f3a}.teacher-badge-copy dl{display:grid;gap:.35rem;width:100%;margin:.2rem 0 .8rem}.teacher-badge-copy dl div{display:flex;justify-content:space-between;gap:.5rem;border-bottom:1px solid #edf1f6;padding-bottom:.28rem}.teacher-badge-copy dt{font-size:.7rem;color:#66758b;font-weight:800}.teacher-badge-copy dd{margin:0;font-size:.72rem;color:#0b1f3a;font-weight:900;text-align:right}.teacher-badge-action{margin-top:auto}.teacher-badge-action span{display:block;font-size:.68rem;color:#8a3b3b;margin-top:.35rem}.teacher-dialog-footer{padding:1rem 1.25rem;border-top:1px solid #d9e2ef;background:#fff;display:flex;justify-content:flex-end}.teacher-auth-section{padding-top:2rem;padding-bottom:4rem}.teacher-auth-section .card{padding:1.45rem}.teacher-auth-secondary{border-top:1px solid #e3e9f2;margin-top:1.2rem;padding-top:1rem}.teacher-auth-secondary p{margin:.1rem 0 .7rem}.teacher-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.cert-auth-form label small{display:block;color:#64748b;font-weight:600;margin-top:.35rem;line-height:1.35}.cert-auth-form code{background:#eef3fb;padding:.12rem .25rem;border-radius:5px}.teacher-access-card{background:linear-gradient(135deg,#081a38,#153d7b);color:#fff;border-radius:24px;padding:1.4rem;margin-top:1.5rem}.teacher-access-card h2,.teacher-access-card p{color:#fff}.teacher-access-card p{max-width:720px}.teacher-access-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem}
@media(max-width:1020px){.teacher-summary-grid{grid-template-columns:repeat(2,1fr)}.teacher-pending-grid{grid-template-columns:repeat(2,1fr)}.teacher-student-badge-grid{grid-template-columns:repeat(2,1fr)}.teacher-dashboard-tools{grid-template-columns:1fr 1fr}.teacher-dashboard-tools label:first-child{grid-column:1/-1}}
@media(max-width:680px){.teacher-summary-grid,.teacher-pending-grid,.teacher-student-badge-grid,.teacher-form-grid,.teacher-dashboard-tools{grid-template-columns:1fr}.teacher-dashboard-tools label:first-child{grid-column:auto}.teacher-pending-card{grid-template-columns:54px 1fr}.teacher-pending-card .btn{grid-column:1/-1}.teacher-badge-card{grid-template-columns:88px 1fr}.teacher-badge-image img{width:76px;height:105px}.teacher-dialog-header{padding:1rem}.teacher-student-badge-grid{padding:.8rem}}
