/**
 * Driver Marketplace Nigeria — Component Styles
 * Cards, Tables, Forms, Modals, Badges, Budget Progress
 */

/* Metric Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand), transparent);
}

.metric-card.success::before {
  background: linear-gradient(90deg, var(--color-success), transparent);
}

.metric-card.warning::before {
  background: linear-gradient(90deg, var(--color-warning), transparent);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.metric-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-icon {
  font-size: 1.15rem;
  opacity: 0.8;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-subtext {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.metric-subtext .highlight {
  color: var(--color-success);
  font-weight: 600;
}

/* Sections & Panels */
.section-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-medium);
}

.btn-success {
  background: var(--color-success);
  color: #ffffff;
}

.btn-danger {
  background: var(--color-danger);
  color: #ffffff;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Vehicle Class Selector Grid */
.vehicle-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.vehicle-card-option {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(30, 41, 59, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.vehicle-card-option:hover {
  background: rgba(51, 65, 85, 0.5);
  border-color: var(--border-medium);
}

.vehicle-card-option.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-brand);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.vehicle-card-option .v-icon {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.vehicle-card-option .v-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.vehicle-card-option .v-rate {
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Cost Breakdown Card */
.cost-breakdown-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  color: var(--text-secondary);
}

.breakdown-row.total {
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Driver Cards Grid */
.drivers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.driver-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.driver-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.driver-card-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.driver-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.driver-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}

.zir-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-surface);
}

.driver-main-info {
  flex: 1;
}

.driver-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.driver-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.driver-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.driver-verifications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.v-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.v-tag.verified {
  background: var(--color-success-bg);
  color: #34d399;
  border: 1px solid var(--color-success-border);
}

.v-tag.info {
  background: var(--color-info-bg);
  color: #38bdf8;
  border: 1px solid var(--color-info-border);
}

.driver-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.4);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  text-align: center;
}

.stat-item .val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-item .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.driver-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.driver-rate-display {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
}

.driver-rate-display span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table th {
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: rgba(51, 65, 85, 0.2);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-in_transit {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-on_duty {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-completed {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-paid {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Budget Progress Bar */
.budget-progress-container {
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--radius-full);
  height: 10px;
  overflow: hidden;
  margin: 0.75rem 0;
  position: relative;
}

.budget-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.budget-progress-bar.warning-threshold {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.budget-alert-banner {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #fbbf24;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

/* Native Modal Dialogs */
dialog {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  background: #0f172a;
  color: var(--text-primary);
  padding: 0;
  max-width: 620px;
  width: 90vw;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  margin: auto;
}

dialog::backdrop {
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(8px);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.5);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
  pointer-events: none;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  max-width: 400px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  pointer-events: auto;
  animation: slideIn 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left: 4px solid var(--color-success); }
.toast.warning { border-left: 4px solid var(--color-warning); }
.toast.info { border-left: 4px solid var(--color-info); }
.toast.danger { border-left: 4px solid var(--color-danger); }

.toast-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toast-message {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* Accessibility & Utility Classes (Phase 4, 5, 6 - B-07, B-08, B-14, B-15, B-16) */
.btn-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid var(--color-danger-border);
}

.btn-danger:hover {
  background: var(--color-danger);
  color: #ffffff;
}

.btn-link {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--color-success);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-link:hover {
  color: #34d399;
}

.btn-link:focus-visible,
.vehicle-card-option:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.form-error-banner {
  background: var(--color-danger-bg);
  border: 1px solid var(--color-danger-border);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 200ms ease-out;
}

.surface-inset {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.surface-elevated {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   EPIC 4: ANIMATIONS, SPARKLINES, NOTIFICATION CENTER & ELITE POLISH
   ========================================================================== */

/* Sparkline Animation */
.sparkline-svg {
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.2));
}

.sparkline-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawSparkline 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawSparkline {
  to {
    stroke-dashoffset: 0;
  }
}

.sparkline-dot {
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { r: 3px; opacity: 1; }
  50% { r: 4.5px; opacity: 0.7; }
}

/* Header Buttons & Language Toggle */
.lang-toggle-btn {
  transition: all var(--transition-normal);
}

.lang-toggle-btn:hover {
  background: rgba(99, 102, 241, 0.2) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  transform: translateY(-1px);
}

.lang-toggle-btn.active-pidgin {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #34d399 !important;
}

/* Notification Center */
.notif-tab {
  background: none;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.notif-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.notif-tab.active {
  background: var(--color-brand);
  color: #ffffff;
}

.notif-item-card {
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.notif-item-card:hover {
  transform: translateX(3px);
  border-color: rgba(99, 102, 241, 0.4);
}

/* OTP Digits Input Focus */
.otp-digit:focus {
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  outline: none;
}

/* Native Dialog Polish with Glassmorphism */
dialog {
  background: transparent;
  border: none;
  padding: 0;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
}

dialog::backdrop {
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.6);
  color: var(--text-primary);
  overflow: hidden;
  animation: modalPopIn 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Interactive Button Press Physics */
.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.97);
}

/* Amber Budget Warning Pulse */
.metric-card.warning::before {
  animation: amberPulse 2.5s infinite;
}

@keyframes amberPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ==========================================================================
   EPIC 5: TELEMATICS RADAR, MATCHING SLIDERS, CALENDAR & EXAM PROGRESSION
   ========================================================================== */

/* Radar Canvas Sweep Overlay */
.radar-sweep {
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  position: relative;
}

.radar-sweep::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform-origin: top left;
  background: linear-gradient(45deg, rgba(56, 189, 248, 0.2) 0%, transparent 50%);
  animation: radarRotate 4s linear infinite;
}

@keyframes radarRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.vehicle-pulsing-marker {
  animation: vehiclePulse 1.5s infinite ease-in-out;
  filter: drop-shadow(0 0 8px #38bdf8);
}

@keyframes vehiclePulse {
  0%, 100% { r: 9px; opacity: 1; }
  50% { r: 12px; opacity: 0.7; }
}

/* Weight Sliders */
.weight-slider {
  -webkit-appearance: none;
  height: 6px;
  border-radius: 99px;
  background: #1e293b;
  outline: none;
  transition: background 0.2s;
}

.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-brand);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  border: 2px solid #ffffff;
}

.weight-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-brand);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  border: 2px solid #ffffff;
}

/* Exam Option Card Transitions */
.exam-option-card:hover {
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

/* Calendar Day Card Hover */
.calendar-day-card {
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.calendar-day-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   EPIC 6: THEMES, FUEL WALLET, IMPACT ZONES & OFFLINE RESILIENCE
   ========================================================================== */

/* Light Theme Overrides (US-113) */
body.theme-light {
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-sidebar: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-subtle: #cbd5e1;
  --border-strong: #94a3b8;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body.theme-light .top-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #e2e8f0;
}

body.theme-light .surface-elevated,
body.theme-light .metric-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.theme-light .data-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
}

/* High-Contrast In-Cab Sunlight Theme (US-113) */
body.theme-high-contrast {
  --bg-primary: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #141414;
  --bg-sidebar: #000000;
  --text-primary: #ffffff;
  --text-secondary: #facc15;
  --text-muted: #e2e8f0;
  --border-subtle: #ffffff;
  --border-strong: #facc15;
  background-color: #000000;
  color: #ffffff;
}

body.theme-high-contrast .surface-elevated,
body.theme-high-contrast .metric-card {
  background: #050505;
  border: 2px solid #ffffff;
}

body.theme-high-contrast .btn-primary {
  background: #facc15;
  color: #000000;
  font-weight: 900;
}

/* 2D Impact Zone Blueprint Nodes */
.impact-zone-btn:hover circle {
  fill: #ef4444 !important;
  filter: drop-shadow(0 0 10px #ef4444);
  transform: scale(1.1);
  transform-origin: center;
  transition: all 0.2s ease;
}



