:root {
  --therink-ink: #eee8fa;
  --therink-blue: #8b5cf6;
  --therink-ice: #0f0a17;
  --therink-border: #2b213d;
  --therink-surface: #0d0914;
  --therink-surface-2: #130d1d;
  --therink-surface-3: #1b1329;
  --therink-muted: #a899bb;
  --bs-body-bg: #07050c;
  --bs-body-color: #eee8fa;
  --bs-secondary-color: #a899bb;
  --bs-border-color: #2b213d;
  --bs-card-bg: #0d0914;
  --bs-card-border-color: #2b213d;
  --bs-tertiary-bg: #130d1d;
  --bs-secondary-bg: #0f0a17;
  --bs-emphasis-color: #f8f4ff;
  --bs-link-color: #b794f4;
  --bs-link-hover-color: #d8b4fe;
}

body {
  background: radial-gradient(circle at top, #1c1230 0%, #0c0814 48%, #050308 100%);
}

.therink-navbar {
  background: linear-gradient(90deg, rgba(6, 4, 11, 0.94) 0%, rgba(18, 11, 30, 0.97) 52%, rgba(31, 18, 50, 0.98) 100%);
  border-bottom-color: rgba(139, 92, 246, 0.22);
}

.therink-navbar .nav-link.active {
  background: rgba(139, 92, 246, 0.18);
}

.therink-navbar .nav-link:hover,
.therink-navbar .nav-link:focus {
  background: rgba(216, 180, 254, 0.1);
}

.therink-navbar-logo {
  filter: drop-shadow(0 0.45rem 0.9rem rgba(0, 0, 0, 0.36)) hue-rotate(128deg) saturate(1.18);
}

.therink-footer {
  background: linear-gradient(180deg, rgba(7, 4, 11, 0.96), rgba(4, 3, 7, 1));
  border-top-color: rgba(139, 92, 246, 0.18);
}

.therink-section-kicker {
  color: #c4b5fd;
}

.therink-section-card {
  border-color: rgba(139, 92, 246, 0.18);
}

.card,
.modal-content {
  background: linear-gradient(180deg, rgba(15, 10, 23, 0.98), rgba(7, 5, 11, 1));
}

.therink-icon-chip,
.therink-action-icon {
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
}

.therink-stat-pill {
  border-color: rgba(139, 92, 246, 0.26);
  background: rgba(139, 92, 246, 0.08);
  color: #eee8fa;
}

.btn-primary {
  --bs-btn-bg: #6d28d9;
  --bs-btn-border-color: #6d28d9;
  --bs-btn-hover-bg: #7c3aed;
  --bs-btn-hover-border-color: #7c3aed;
  --bs-btn-active-bg: #5b21b6;
  --bs-btn-active-border-color: #5b21b6;
}

.btn-success {
  --bs-btn-bg: #86198f;
  --bs-btn-border-color: #86198f;
  --bs-btn-hover-bg: #a21caf;
  --bs-btn-hover-border-color: #a21caf;
}

.badge.text-bg-info {
  color: #1f102f !important;
  background-color: #e9d5ff !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.18);
}

.therink-lab-hero {
  border-color: rgba(139, 92, 246, 0.26);
  background:
    linear-gradient(90deg, rgba(5, 3, 9, 0.94), rgba(18, 11, 30, 0.82), rgba(26, 15, 43, 0.44)),
    url('/images/sharpening-crop.jpg');
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.38);
}

.therink-lab-cta {
  border-color: rgba(216, 180, 254, 0.22);
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.16), rgba(216, 180, 254, 0.09)),
    rgba(11, 7, 18, 0.96);
}
