:root {
  --bs-primary: #1E293B;
  --bs-info: #155dfc;
  --rdt-clay-700: #626973;
  --bs-primary-rgb: 30, 41, 59;
  --bs-border-color: #E2E8F0;
  --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%23b5bec9'/%3E%3C/svg%3E");
}

.modal {
  --bs-modal-border-radius: 16px;
  --bs-modal-inner-border-radius: 16px;
}

.text-info {
  color: var(--bs-info) !important;
}

.bg-clay {
  background-color: var(--bs-primary);
}

.text-clay {
  color: var(--bs-primary);
}

.text-clay-700 {
  color: var(--rdt-clay-700);
}

.bg-registration {
  background-color: #FFD200;
}

.bg-background {
  background-color: #F7F8FA !important;
}

.bg-light {
  background-color: #FAFAFA !important;
}

.bg-glass {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid white;
}

.mark, mark {
  --bs-highlight-bg: #fbe19b;
}

/* Use .btn.btn-* (specificity 0,2,0) to beat Bootstrap's .btn (0,1,0) and any
   runtime-injected styles at (0,1,0), ensuring consistent font and line-height. */
.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-tertiary {
  --bs-btn-border-radius: 10px;
  --bs-btn-padding-y: 0;
  --bs-btn-padding-x: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  /* Transparent 1px border keeps primary's box model the same height as secondary's
     visible 1px border, preventing a size mismatch between the two variants. */
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: #2d3b52;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: transparent;
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: transparent;
}

.btn-secondary {
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-bg: transparent;
  --bs-btn-color: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
}

.btn-tertiary {
  --bs-btn-border-color: #E8E8E8;
  --bs-btn-bg: white;
  --bs-btn-color: #6B7280;
  --bs-btn-hover-border-color: #E8E8E8;
  --bs-btn-hover-bg: #ebebeb;
}

.rdt-h2-medium {
  color: #1F2937;
  font-size: 29px;
  font-weight: 500;
  line-height: 44px;
  opacity: 0.8;
  margin: 0 0 8px 0;
  letter-spacing: 0.15px;
}

.fs-7 {
    font-size: 14px;
}

.fs-8 {
  font-size: 12px;
}

.fs-9 {
  font-size: 11px;
}

mark {
  background-color: #ffd700;
  padding: 0.125rem 0.25rem;
  border-radius: 2px;
  font-weight: 500;
  animation: rdt-highlight-pulse 0.6s ease-in-out;
}

@keyframes rdt-highlight-pulse {
  0%, 100% {
    background-color: #ffd700;
  }
  50% {
    background-color: #ffed4e;
  }
}

/* Standard clickable text link - uses custom info color */
.rdt-link {
  color: var(--bs-info);
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.rdt-link:hover {
  opacity: 0.7;
}

/* White link variant for dark backgrounds */
.rdt-link-white {
  color: white;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.rdt-link-white:hover {
  opacity: 1;
}

.rdt-link-grey {
  color: #6B7280;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.rdt-link-grey:hover {
  opacity: 0.7;
}

/* Clickable grid row hover state */
.rdt-row-clickable {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.rdt-row-clickable:hover {
  background-color: #f8f9fa;
}
