/* Tutoring v2 shared UI helpers (Tailwind via CDN; keep minimal custom CSS) */

:root{
  --tl-shadow: 0 1px 2px rgba(15,23,42,.06), 0 18px 40px -18px rgba(15,23,42,.22);
  --tl-shadow-hover: 0 1px 2px rgba(15,23,42,.06), 0 28px 60px -24px rgba(15,23,42,.28);
}

.tl-animate-in{
  animation: tlFadeUp .35s cubic-bezier(.16,1,.3,1) both;
}
@keyframes tlFadeUp{
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tl-glass{
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tl-page-bg {
  position: relative;
  isolation: isolate;
}
.tl-page-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 40vw;
  min-width: 280px;
  max-width: 620px;
  height: 100vh;
  top: 0;
  right: -16vw;
  left: auto;
  transform: skewX(-12deg);
  transform-origin: top right;
  background-image: linear-gradient(120deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.06));
}
.tl-page-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(900px 520px at 18% 12%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(700px 420px at 78% 8%, rgba(59, 130, 246, 0.10), transparent 58%),
    radial-gradient(640px 420px at 60% 22%, rgba(14, 165, 233, 0.08), transparent 60%);
  opacity: 0.85;
  mask-image: radial-gradient(130% 85% at 50% 0%, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(130% 85% at 50% 0%, #000 62%, transparent 100%);
}

.tl-card{
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(255,255,255,.92);
  box-shadow: var(--tl-shadow);
}

.tl-card:hover{
  box-shadow: var(--tl-shadow-hover);
}

.tl-focus{
  outline: none;
}
.tl-focus:focus-visible{
  box-shadow: 0 0 0 4px rgba(59,130,246,.22);
}

.tl-btn-primary{
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  border: 1px solid rgba(37,99,235,.15);
  box-shadow: 0 10px 24px -12px rgba(37,99,235,.55);
}
.tl-btn-primary:hover{
  filter: brightness(1.02);
  box-shadow: 0 18px 34px -16px rgba(37,99,235,.62);
}

.tl-btn-ghost{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(148,163,184,.35);
}
.tl-btn-ghost:hover{
  border-color: rgba(59,130,246,.35);
}

.tl-text-grad{
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tl-kicker{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 11px;
}

.tl-divider{
  height: 1px;
  background: linear-gradient(to right, rgba(148,163,184,.15), rgba(59,130,246,.25), rgba(148,163,184,.15));
}

.medal-shimmer{
  background: linear-gradient(135deg, #d92d20 0%, #b42318 100%);
  position: relative;
  overflow: hidden;
}
.medal-shimmer::after{
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 46%, rgba(255, 255, 255, 0.10) 50%, transparent 54%);
  opacity: 0.7;
  animation: tlMedalShimmer 3s infinite;
}
@keyframes tlMedalShimmer{
  0% { transform: translate(-50%, -50%) rotate(45deg); }
  100% { transform: translate(50%, 50%) rotate(45deg); }
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

