/* VicPlan app-specific styles */

body {
  font-family: 'Inter Tight', 'Helvetica Neue', sans-serif;
  background: #FFFFFF;
  color: #000000;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#root { min-height: 100vh; }

/* Utility */
.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #6B6B6B;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
}

/* Cursor + loading dots */
@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: cursorBlink 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.dot-pulse span {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin: 0 2px;
  animation: pulse 1.4s infinite;
}
.dot-pulse span:nth-child(2) { animation-delay: 0.2s; }
.dot-pulse span:nth-child(3) { animation-delay: 0.4s; }

/* Scrollbar — minimal */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #E5E5E5; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #AAAAAA; }

/* Scroll reveal */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 400ms cubic-bezier(0.4, 0, 0.2, 1) both; }

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B6B6B;
  padding: 12px 16px;
  border-bottom: 1px solid #E5E5E5;
}
.data-table td {
  padding: 16px;
  border-bottom: 1px solid #E5E5E5;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }

/* Code-like clause reference */
.clause-ref {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: #0066FF;
  text-decoration: none;
  border-bottom: 1px dashed #0066FF;
  padding-bottom: 1px;
}
.clause-ref:hover { opacity: 0.7; }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  color: #000;
  background: #FFF;
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
}

/* Focus ring */
*:focus-visible {
  outline: 2px solid #0066FF;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles for report */
@media print {
  .no-print { display: none !important; }
  body { background: white; }
}
