/* TinkerSpace Exam — custom styles on top of Tailwind CDN */

.toast-wrap{position:fixed;top:1rem;right:1rem;z-index:9999;display:flex;flex-direction:column;gap:.5rem}
.toast{padding:.7rem 1rem;border-radius:.6rem;color:#fff;font-size:.875rem;box-shadow:0 8px 24px rgba(0,0,0,.15);animation:slideIn .25s ease}
.toast.ok{background:#16a34a}.toast.err{background:#dc2626}.toast.info{background:#4f46e5}
@keyframes slideIn{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:none}}

/* Exam option cards */
.opt{cursor:pointer;transition:.15s}
.opt:hover{border-color:#4f46e5;background:#eef2ff}
.opt.locked{cursor:not-allowed;opacity:.85}
.opt.chosen{border-color:#4f46e5;background:#eef2ff;box-shadow:0 0 0 2px #c7d2fe}

/* Timer ring */
.timer-ring{transition:stroke-dashoffset 1s linear, stroke .3s}

/* Certificate print */
@media print{
  .no-print{display:none !important}
  body{background:#fff !important}
  .cert-page{box-shadow:none !important;margin:0 !important}
  @page{size:A4 landscape;margin:0}
}
