/* css/teacher.css — ustoz kabineti, ustozlar ro'yxati, sinflar va topshiriqlar */
/* ---------- Ustozlik (P4): kabinet, ustozlar ro'yxati, sertifikat ---------- */
.tcard{display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:18px 14px; box-shadow:var(--shadow)}
.tcard .pf-av{width:54px; height:54px; font-size:22px}
.tcard > b{font-family:var(--display); font-size:18px}
.tcard .pf-sub{color:var(--muted); font-size:12.5px}
.cert-badge{display:inline-block; margin-top:6px; padding:3px 10px; border-radius:20px;
  font-size:11.5px; font-weight:600; border:1px solid transparent}
.cert-badge.ok{background:var(--ok-wash); color:var(--ok); border-color:var(--ok)}
.cert-badge.warn{background:var(--accent-wash); color:var(--accent); border-color:var(--accent)}
.cert-badge.bad{background:var(--err-wash); color:var(--err); border-color:var(--err)}
.tstars{display:flex; align-items:center; justify-content:center; gap:7px; margin:12px 0 2px;
  color:var(--accent); font-size:15px; letter-spacing:1px}
.tstars b{color:var(--ink); font-family:var(--display); font-size:17px}
.tstars .pf-sub{color:var(--muted); font-size:12px; letter-spacing:0}
.tstats{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:12px}
.tstats .stat{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm);
  padding:10px 6px; text-align:center}
.tstats .stat b{display:block; font-family:var(--display); font-size:19px}
.tstats .stat span{font-size:9.5px; letter-spacing:.4px; color:var(--faint); font-weight:600}
.tlist{background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:13px; margin-bottom:11px; box-shadow:var(--shadow)}
.trow{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.trow .pf-av{width:34px; height:34px; font-size:15px}
.trow > b{font-family:var(--display); font-size:15.5px}
.trow .pf-sub{color:var(--muted); font-size:12px}
.trow .cert-badge{margin-top:0; margin-left:auto}
.tlist .note{margin:7px 0 0; font-size:12.5px; color:var(--muted)}
.tlist .rate-btn{font-size:12.5px; min-height:34px}
.tmsg .verdict{margin-top:8px}
.tchk{display:flex; align-items:center; gap:9px; margin:2px 0 12px; font-size:13.5px; color:var(--muted)}
.tchk input{width:17px; height:17px; accent-color:var(--primary)}
textarea.inp{resize:vertical; font-family:var(--body); min-height:64px; line-height:1.45}
input[type="file"].inp{padding:9px; font-size:12.5px}

/* ---------- Sinflar va topshiriqlar (P5) ---------- */
.tcode{display:inline-block; margin:8px 0 2px; padding:6px 16px; border-radius:10px;
  font-family:var(--mono); font-size:22px; font-weight:600; letter-spacing:3px;
  background:var(--primary-wash); color:var(--primary-deep)}
.covr{background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:14px; box-shadow:var(--shadow)}
.covr .fld{margin-bottom:10px}
.covr .note{margin:8px 0 0}
.tlist .row2 .inp{min-height:38px}
