/* =========================================================
   STYLE SPÉCIFIQUE - SÉANCE 1 : Types scalaires & fonctions arithmétiques
   Laboratoire de calcul et repère cartésien 2D (SVG)
   ========================================================= */

.cartesian-container {
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.cartesian-svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.grid-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.axis-line {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 2;
}

.vector-line {
  stroke: #38bdf8;
  stroke-width: 2.5;
  stroke-dasharray: 4;
  animation: dash 1s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -8;
  }
}

.point-dot {
  fill: #f43f5e;
  stroke: #ffffff;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px #f43f5e);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
