/* =====================================================================
   COORDINATE GEOMETRY — Class 10 Maths Notes
   All diagrams are STATIC (no animations / no replay controls).
   Shared layout classes (.notes-page-wrap, .notes-toc, .topic-section, etc.)
   inherit from /css/notes-content.css.
   ===================================================================== */

/* Diagram Wrappers */
.coord-diagram-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 22px auto;
  max-width: 460px;
}

.coord-diagram-wrapper svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
}

.coord-diagram-caption {
  margin-top: 8px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}

/* Proof Container Box */
.proof-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
}

.proof-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  margin-bottom: 8px;
}

/* Quadrilateral Property Grid */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.quad-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.quad-card h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.quad-card p {
  margin: 0 0 10px 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
}

.quad-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #1e293b;
}

.quad-checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.quad-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* SVG Line & Geometry Elements */
.coord-axis {
  stroke: #0f172a;
  stroke-width: 2;
  marker-end: url(#arrow);
}

.coord-grid-line {
  stroke: #e2e8f0;
  stroke-width: 1;
}

.coord-segment {
  stroke: #2563eb;
  stroke-width: 2.4;
}

.coord-segment-hyp {
  stroke: #dc2626;
  stroke-width: 2.4;
}

.coord-construction {
  stroke: #64748b;
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}

.coord-shape-fill {
  fill: rgba(37, 99, 235, 0.06);
  stroke: #0f172a;
  stroke-width: 2;
  stroke-linejoin: round;
}

.coord-dot {
  fill: #0f172a;
}

.coord-dot-accent {
  fill: #2563eb;
}

.coord-right-angle {
  fill: none;
  stroke: #0f172a;
  stroke-width: 1.5;
}

/* SVG Typography */
.coord-text {
  font-size: 13.5px;
  font-weight: 600;
  fill: #1e293b;
}

.coord-text-accent {
  font-size: 13.5px;
  font-weight: 700;
  fill: #2563eb;
}

.coord-text-red {
  font-size: 13.5px;
  font-weight: 700;
  fill: #dc2626;
}

.coord-text-muted {
  font-size: 12.5px;
  font-weight: 500;
  fill: #64748b;
}