/* Extrait de teacher-dashboard.html. Ordre historique : 22. */
.tuto-overlay {
    position: fixed; inset: 0; z-index: 999998;
    background: rgba(10, 9, 16, 0.72);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: tutoFadeIn .25s ease-out both;
  }
  @keyframes tutoFadeIn { from { opacity: 0; } to { opacity: 1; } }
  .tuto-modal {
    width: 100%; max-width: 480px;
    background: var(--bg-card, #1a1825); color: var(--text-primary, #fffffe);
    border: 1px solid var(--border, #2e2b41);
    border-radius: var(--border-radius, 16px);
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    padding: 32px 28px 24px; position: relative;
    animation: tutoPopIn .3s cubic-bezier(.22,1,.36,1) both;
  }
  @keyframes tutoPopIn { from { opacity:0; transform: translateY(16px) scale(.97);} to {opacity:1; transform: translateY(0) scale(1);} }
  .tuto-close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px; border-radius: 10px; border: none;
    background: rgba(255,255,255,.08); color: var(--text-secondary, #a7a9be);
    font-size: 18px; cursor: pointer; transition: background .2s;
  }
  .tuto-close:hover { background: rgba(255,255,255,.16); }
  .tuto-icon { font-size: 56px; text-align: center; margin-bottom: 18px; line-height: 1; }
  .tuto-title { font-size: 21px; font-weight: 800; text-align: center; margin: 0 0 12px; }
  .tuto-text { font-size: 15px; line-height: 1.6; color: var(--text-secondary, #a7a9be); text-align: center; margin: 0 0 26px; min-height: 72px; }
  .tuto-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
  .tuto-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); transition: all .25s; cursor: pointer; border: none; padding: 0; }
  .tuto-dot.active { background: var(--primary, #7c3aed); width: 22px; border-radius: 5px; }
  .tuto-footer { display: flex; flex-direction: column; gap: 14px; }
  .tuto-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary, #a7a9be); cursor: pointer; justify-content: center; }
  .tuto-checkbox input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary, #7c3aed); }
  .tuto-nav { display: flex; gap: 10px; }
  .tuto-btn { flex: 1; padding: 13px 18px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: all .2s; }
  .tuto-btn-primary { background: linear-gradient(135deg, var(--primary,#7c3aed), var(--secondary,#06b6d4)); color: #fff; }
  .tuto-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
  .tuto-btn-ghost { background: rgba(255,255,255,.06); color: var(--text-primary,#fffffe); }
  .tuto-btn-ghost:hover { background: rgba(255,255,255,.12); }
  .tuto-btn-ghost:disabled { opacity: .35; cursor: default; }
  .tuto-reopen {
    position: fixed; left: 20px; bottom: 20px; z-index: 9998;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border,#2e2b41);
    background: var(--bg-card, #1a1825); color: var(--text-primary,#fffffe);
    font-size: 19px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.35);
    display: flex; align-items: center; justify-content: center;
  }
  @media (max-width: 480px) { .tuto-modal { padding: 26px 20px 20px; } .tuto-icon { font-size: 46px; } }
  @media (prefers-reduced-motion: reduce) { .tuto-overlay, .tuto-modal { animation: none !important; } }

/* 01/10/2026 — bulles d'information des onglets (ouvertes après 3 s de survol). */
.bulle-onglet {
  position: fixed; z-index: 1000020; box-sizing: border-box;
  background: #0f172a; color: #f8fafc;
  border: 1px solid #3b82f6; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(2, 6, 23, .45);
  padding: 12px 14px 13px; pointer-events: none;
  font-family: inherit; text-align: left;
  animation: bulleOngletEntree .18s ease-out both;
}
.bulle-onglet__titre { font-size: 14px; font-weight: 800; margin: 0 0 6px; color: #bfdbfe; }
.bulle-onglet__texte { font-size: 13px; line-height: 1.5; margin: 0; color: #f1f5f9; }
.bulle-onglet::after {
  content: ''; position: absolute; left: var(--bulle-fleche, 50%); top: -7px;
  width: 12px; height: 12px; background: #0f172a;
  border-left: 1px solid #3b82f6; border-top: 1px solid #3b82f6;
  transform: translateX(-50%) rotate(45deg);
}
.bulle-onglet--haut::after {
  top: auto; bottom: -7px; border: 0;
  border-right: 1px solid #3b82f6; border-bottom: 1px solid #3b82f6;
}
@keyframes bulleOngletEntree { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bulle-onglet { animation: none; } }
