﻿:root {
  --primary: #d62839;
  --primary-dark: #971b28;
  --dark: #0b1220;
  --muted: #5f6f86;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --border: rgba(11, 18, 32, 0.08);
  --shadow: 0 20px 45px rgba(7, 16, 33, 0.12);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background: #fff;
}

.large-capacity-transfer-choice {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(214, 40, 57, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(214, 40, 57, 0.08), rgba(21, 117, 255, 0.06));
  box-shadow: 0 10px 28px rgba(7, 16, 33, 0.08);
  animation: capacity-choice-reveal 0.28s ease both;
}

.large-capacity-transfer-choice .form-check {
  margin: 0;
}

.large-capacity-transfer-choice .form-check-label {
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.large-capacity-transfer-choice small {
  display: block;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
  color: var(--muted);
  line-height: 1.5;
}

.admin-customer-supplied-data-disk {
  padding: 0.9rem;
  border: 1px solid rgba(185, 28, 28, 0.28);
  border-radius: 12px;
  background: rgba(254, 226, 226, 0.52);
}

.admin-customer-supplied-data-disk .form-label,
.admin-customer-supplied-data-disk .form-select {
  color: #b91c1c;
}

.admin-customer-supplied-data-disk .form-select:disabled,
.admin-customer-supplied-data-disk .form-control:disabled {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.3);
  background-color: rgba(255, 255, 255, 0.62);
  opacity: 0.62;
}

.admin-customer-disk-note {
  display: block;
  margin-top: 0.55rem;
  color: #b91c1c;
  font-weight: 700;
  line-height: 1.45;
}

.portal-transfer-disk-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(21, 117, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(21, 117, 255, 0.08), rgba(85, 232, 255, 0.08));
}

.portal-transfer-disk-notice > i {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: #1575ff;
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 117, 255, 0.28);
}

.portal-transfer-disk-notice strong {
  display: block;
  margin-bottom: 0.25rem;
}

.portal-transfer-disk-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-transfer-disk-notice.is-company-supplied {
  border-color: rgba(214, 40, 57, 0.3);
  background: rgba(254, 226, 226, 0.55);
}

.portal-transfer-disk-notice.is-company-supplied > i {
  background: #d62839;
  box-shadow: 0 8px 18px rgba(214, 40, 57, 0.25);
}

.portal-transfer-disk-notice .portal-transfer-disk-minimum {
  margin-top: 0.4rem;
  color: #b91c1c;
  font-weight: 700;
}

@keyframes capacity-choice-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interactive recovery-device topology */
.device-select-main {
  --network-blue: #1575ff;
  --network-cyan: #55e8ff;
  --network-ink: #07182d;
  display: flex;
  flex-direction: column;
}

.device-select-main > .request-choice-note {
  order: 0;
}

.recovery-hub-card {
  position: relative;
  order: 1;
  width: 100%;
  height: clamp(300px, 38vw, 410px);
  padding: 0;
  border: 1px solid rgba(75, 184, 255, 0.3);
  border-radius: 28px;
  background: #061426;
  color: #fff;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  box-shadow:
    0 30px 70px rgba(2, 18, 41, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateZ(0);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.recovery-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 8, 20, 0.02) 42%, rgba(0, 8, 20, 0.9) 100%),
    radial-gradient(circle at 50% 88%, rgba(28, 128, 255, 0.28), transparent 42%);
}

.recovery-hub-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  z-index: 4;
  width: 2px;
  height: 42px;
  background: linear-gradient(180deg, var(--network-cyan), rgba(21, 117, 255, 0));
  box-shadow: 0 0 18px 4px rgba(85, 232, 255, 0.9);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.recovery-hub-card:hover,
.recovery-hub-card:focus-visible {
  border-color: rgba(85, 232, 255, 0.78);
  box-shadow:
    0 38px 85px rgba(2, 31, 70, 0.34),
    0 0 0 5px rgba(21, 117, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
}

.recovery-hub-card:focus-visible {
  outline: 3px solid rgba(85, 232, 255, 0.8);
  outline-offset: 4px;
}

.device-select-main.network-active .recovery-hub-card::after {
  transform: translateX(-50%) scaleY(1);
}

.recovery-hub-ambient {
  position: absolute;
  inset: -40%;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(28, 128, 255, 0.13),
    transparent 38%,
    rgba(85, 232, 255, 0.1),
    transparent 72%
  );
  animation: recoveryAmbientSpin 16s linear infinite;
}

.recovery-hub-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  transform-origin: 50% 54%;
  animation: hardDriveWobble 7s ease-in-out infinite;
  will-change: transform;
}

.recovery-hub-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.35s ease, scale 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.recovery-hub-card:hover .recovery-hub-image,
.recovery-hub-card:focus-visible .recovery-hub-image {
  filter: saturate(1.12) brightness(1.06);
  scale: 1.025;
}

.recovery-hub-copy {
  position: absolute;
  left: clamp(1.15rem, 3vw, 2.15rem);
  bottom: clamp(1rem, 2.4vw, 1.8rem);
  z-index: 3;
  display: grid;
  gap: 0.22rem;
  max-width: calc(100% - 9rem);
  text-shadow: 0 3px 20px rgba(0, 5, 17, 0.8);
}

.recovery-hub-copy span,
.recovery-hub-copy strong,
.recovery-hub-copy small {
  display: block;
}

.recovery-hub-kicker {
  color: var(--network-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.recovery-hub-copy strong {
  font-size: clamp(1.2rem, 2.35vw, 1.85rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.recovery-hub-copy small {
  color: rgba(225, 241, 255, 0.72);
  font-size: clamp(0.75rem, 1.1vw, 0.88rem);
}

.recovery-hub-action {
  position: absolute;
  right: clamp(1.1rem, 3vw, 2rem);
  bottom: clamp(1rem, 2.4vw, 1.6rem);
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(85, 232, 255, 0.44);
  border-radius: 50%;
  background: rgba(5, 33, 65, 0.78);
  color: var(--network-cyan);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 7px rgba(21, 117, 255, 0.08),
    0 0 28px rgba(21, 117, 255, 0.34);
  backdrop-filter: blur(10px);
}

.recovery-hub-action > span {
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(85, 232, 255, 0.34);
  border-radius: 50%;
  animation: recoveryAmbientSpin 9s linear infinite reverse;
}

.recovery-hub-action i {
  font-size: 1.05rem;
}

.device-select-main.network-active .recovery-hub-action {
  background: rgba(15, 109, 221, 0.9);
  color: #fff;
  box-shadow:
    0 0 0 7px rgba(21, 117, 255, 0.12),
    0 0 38px rgba(85, 232, 255, 0.56);
}

.device-network-stage {
  position: relative;
  order: 2;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-18px);
  transition:
    max-height 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.45s ease,
    opacity 0.3s ease,
    transform 0.55s ease,
    visibility 0s linear 1.15s;
}

.device-network-stage.is-open {
  max-height: 900px;
  margin-top: 1rem;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  transform: translateY(0);
  transition:
    max-height 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.45s ease,
    opacity 0.3s ease,
    transform 0.55s ease,
    visibility 0s linear 0s;
}

.device-cable-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 610px;
  pointer-events: none;
  overflow: visible;
}

.device-cable-bases path {
  fill: none;
  stroke: rgba(33, 122, 255, 0.6);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}

.device-cable-bases path::selection,
.device-cable-energy path::selection {
  background: transparent;
}

.device-network-stage.is-open .device-cable-bases path {
  animation: deviceCableDraw 1.25s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.device-network-stage.is-open .device-cable-bases path:nth-child(2) {
  animation-delay: 0.1s;
}

.device-network-stage.is-open .device-cable-bases path:nth-child(3) {
  animation-delay: 0.2s;
}

.device-network-stage.is-open .device-cable-bases path:nth-child(4) {
  animation-delay: 0.3s;
}

.device-network-stage.is-open .device-cable-bases path:nth-child(5) {
  animation-delay: 0.4s;
}

.device-network-stage.is-open .device-cable-bases path:nth-child(6) {
  animation-delay: 0.5s;
}

.device-cable-energy path {
  fill: none;
  stroke: var(--network-cyan);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 0.025 0.075;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.device-network-stage.is-open .device-cable-energy path {
  opacity: 0.95;
  animation: deviceCableCurrent 0.7s linear infinite;
  transition: opacity 0.25s ease 1.25s;
}

.device-network-stage.is-open .device-cable-energy path:nth-child(even) {
  animation-direction: reverse;
  animation-duration: 0.86s;
}

.device-cable-nodes circle {
  fill: #061a34;
  stroke: var(--network-cyan);
  stroke-width: 4;
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(85, 232, 255, 0.9));
}

.device-network-stage.is-open .device-cable-nodes circle {
  animation: deviceNodeArrive 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s forwards;
}

.device-network-stage.is-open .device-cable-nodes circle:nth-child(2) {
  animation-delay: 1.2s;
}

.device-network-stage.is-open .device-cable-nodes circle:nth-child(3) {
  animation-delay: 1.3s;
}

.device-network-stage.is-open .device-cable-nodes circle:nth-child(4) {
  animation-delay: 1.4s;
}

.device-network-stage.is-open .device-cable-nodes circle:nth-child(5) {
  animation-delay: 1.5s;
}

.device-network-stage.is-open .device-cable-nodes circle:nth-child(6) {
  animation-delay: 1.6s;
}

.device-network-stage .device-choice-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 92px 1rem;
  padding-top: 166px;
}

.device-network-stage .device-choice-card {
  position: relative;
  min-height: 190px;
  border-color: rgba(21, 117, 255, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 255, 0.98));
  box-shadow:
    0 18px 44px rgba(6, 35, 73, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 0.45s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.device-network-stage .device-choice-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 16px;
  height: 16px;
  border: 3px solid #82ddff;
  border-radius: 50%;
  background: #071b36;
  box-shadow:
    0 0 0 5px rgba(21, 117, 255, 0.1),
    0 0 16px rgba(85, 232, 255, 0.8);
  transform: translateX(-50%);
}

.device-network-stage.is-open .device-choice-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.device-network-stage.is-open .device-choice-card:nth-child(1) {
  transition-delay: 1.05s, 1.05s, 0s, 0s, 0s;
}

.device-network-stage.is-open .device-choice-card:nth-child(2) {
  transition-delay: 1.15s, 1.15s, 0s, 0s, 0s;
}

.device-network-stage.is-open .device-choice-card:nth-child(3) {
  transition-delay: 1.25s, 1.25s, 0s, 0s, 0s;
}

.device-network-stage.is-open .device-choice-card:nth-child(4) {
  transition-delay: 1.35s, 1.35s, 0s, 0s, 0s;
}

.device-network-stage.is-open .device-choice-card:nth-child(5) {
  transition-delay: 1.45s, 1.45s, 0s, 0s, 0s;
}

.device-network-stage.is-open .device-choice-card:nth-child(6) {
  transition-delay: 1.55s, 1.55s, 0s, 0s, 0s;
}

.device-network-stage.is-open.is-ready .device-choice-card {
  transition-delay: 0s !important;
}

.device-network-stage .device-choice-card:hover,
.device-network-stage .device-choice-card:focus-visible {
  border-color: rgba(21, 117, 255, 0.58);
  background: linear-gradient(145deg, #fff, #eaf6ff);
  box-shadow:
    0 24px 52px rgba(8, 57, 121, 0.17),
    0 0 0 4px rgba(21, 117, 255, 0.08);
  transform: translateY(-8px) scale(1.015);
}

.device-network-stage .device-choice-card:focus-visible {
  outline: 2px solid var(--network-blue);
  outline-offset: 3px;
}

.device-network-stage .device-choice-card.selected {
  border-color: rgba(21, 117, 255, 0.72);
  background: linear-gradient(145deg, #f8fcff, #dcedff);
  box-shadow:
    0 24px 56px rgba(8, 74, 158, 0.2),
    inset 0 0 0 1px rgba(85, 232, 255, 0.25);
}

.device-network-stage .device-choice-card.selected > .device-choice-visual {
  --device-accent: #fff;
  --device-highlight: #91f3ff;
  --device-soft: rgba(255, 255, 255, 0.13);
  border-color: rgba(85, 232, 255, 0.48);
  background: linear-gradient(145deg, #0b56bc, #1597e8);
  box-shadow: 0 15px 30px rgba(21, 117, 255, 0.28);
}

.device-network-stage .device-choice-card[hidden] {
  display: none !important;
}

.device-network-stage.is-selection-collapsed .device-cable-map {
  display: none;
}

.device-network-stage.is-selection-collapsed .device-choice-grid {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
  gap: 0;
  padding-top: 1rem;
}

.device-network-stage.is-selection-collapsed .device-choice-card::before,
.device-network-stage.is-selection-collapsed .device-choice-card::after {
  display: none;
}

.device-choice-toolbar {
  position: relative;
  z-index: 3;
  display: none;
  justify-content: center;
  margin-top: 1rem;
}

.device-select-main.has-device-selected .device-choice-toolbar {
  display: flex;
}

.device-choice-toggle {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid rgba(21, 117, 255, 0.3);
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #eaf6ff);
  color: #0b56bc;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 57, 121, 0.12);
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.device-choice-toggle:hover,
.device-choice-toggle:focus-visible {
  border-color: rgba(21, 117, 255, 0.68);
  box-shadow: 0 14px 30px rgba(8, 57, 121, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.device-choice-toggle:focus-visible {
  outline: 2px solid var(--network-blue);
  outline-offset: 3px;
}

.device-choice-toggle i {
  color: var(--network-blue);
}

.device-choice-visual--server {
  --device-accent: #285ab8;
  --device-highlight: #13b8e4;
  --device-soft: #e8f1ff;
}

.selected-device-panel {
  position: relative;
  order: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  max-height: 0;
  margin: 0;
  padding: 0 1.45rem;
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(5, 27, 54, 0.98), rgba(9, 55, 104, 0.96));
  color: #fff;
  box-shadow: 0 22px 52px rgba(3, 29, 67, 0.2);
  opacity: 0;
  overflow: hidden;
  transform: translateY(18px);
  transition:
    max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.4s ease,
    padding 0.4s ease,
    opacity 0.35s ease,
    transform 0.45s ease,
    border-color 0.35s ease;
}

.selected-device-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(85, 232, 255, 0.05) 50%, transparent 51%),
    radial-gradient(circle at 0 50%, rgba(21, 117, 255, 0.32), transparent 42%);
}

.device-select-main.has-device-selected .selected-device-panel {
  max-height: 280px;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-color: rgba(85, 232, 255, 0.25);
  opacity: 1;
  overflow: visible;
  transform: translateY(0);
}

.selected-device-icon {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(85, 232, 255, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 30px rgba(85, 232, 255, 0.07),
    0 14px 30px rgba(0, 8, 24, 0.22);
}

.selected-device-icon .device-choice-visual {
  --device-accent: #b9efff;
  --device-highlight: #5ee8ff;
  --device-soft: rgba(85, 232, 255, 0.1);
  width: 78px;
  height: 66px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--device-accent);
  box-shadow: none;
}

.selected-device-icon .device-choice-visual svg {
  width: 72px;
  height: 56px;
}

.selected-device-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.selected-device-copy > span {
  color: var(--network-cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.selected-device-copy h3 {
  margin: 0.2rem 0 0.25rem;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 820;
}

.selected-device-copy p {
  margin: 0;
  color: rgba(220, 239, 255, 0.7);
  font-size: 0.9rem;
}

.selected-device-signal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 38px;
}

.selected-device-signal i {
  display: block;
  width: 5px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--network-cyan), var(--network-blue));
  box-shadow: 0 0 12px rgba(85, 232, 255, 0.65);
  animation: selectedDeviceSignal 1.1s ease-in-out infinite alternate;
}

.selected-device-signal i:nth-child(1) {
  height: 15px;
}

.selected-device-signal i:nth-child(2) {
  height: 28px;
  animation-delay: -0.4s;
}

.selected-device-signal i:nth-child(3) {
  height: 21px;
  animation-delay: -0.75s;
}

.diagnosis-stage-label {
  order: 4;
  display: none;
  margin: 1.75rem 0 0.85rem;
}

.device-select-main.has-device-selected .diagnosis-stage-label {
  display: grid;
  gap: 0.18rem;
  animation: selectedPanelIn 0.4s ease both;
}

.diagnosis-stage-label span {
  color: var(--network-blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagnosis-stage-label strong {
  color: #122033;
  font-size: 1.08rem;
}

.device-select-main > .diagnosis-choice-grid {
  order: 5;
  display: none;
}

.device-select-main.has-device-selected > .diagnosis-choice-grid {
  display: grid;
  animation: selectedPanelIn 0.5s ease both;
}

.device-select-main > .diagnosis-choice-footnote {
  order: 6;
  display: none;
}

.device-select-main.has-device-selected > .diagnosis-choice-footnote {
  display: block;
}

.device-select-main > .diagnosis-choice-error {
  order: 7;
}

.device-select-main .diagnosis-choice-card {
  min-height: 230px;
  border-color: rgba(21, 117, 255, 0.14);
  border-radius: 20px;
  padding: 1.45rem 1.45rem 1.35rem 8.6rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(6, 35, 73, 0.09);
}

.device-select-main .diagnosis-choice-card:hover,
.device-select-main .diagnosis-choice-card.selected {
  border-color: rgba(21, 117, 255, 0.54);
  background: linear-gradient(145deg, #fff, #edf7ff);
  box-shadow: 0 22px 48px rgba(8, 57, 121, 0.15);
  transform: translateY(-6px);
}

.device-select-main .diagnosis-choice-card > .diagnosis-choice-heading {
  padding: 0;
}

.device-select-main .diagnosis-choice-card .diagnosis-choice-visual {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 116px;
  height: 116px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.16;
  transform: translateY(-50%);
}

.device-select-main .diagnosis-choice-card:hover .diagnosis-choice-visual,
.device-select-main .diagnosis-choice-card.selected .diagnosis-choice-visual {
  --diagnosis-accent: #176ec9;
  --diagnosis-highlight: #30c5ec;
  --diagnosis-soft: rgba(21, 117, 255, 0.12);
  background: transparent;
  color: var(--diagnosis-accent);
  box-shadow: none;
  opacity: 0.22;
  transform: translateY(-50%) scale(1.06);
}

.device-select-main .diagnosis-choice-card .diagnosis-choice-visual--express,
.device-select-main .diagnosis-choice-card:hover .diagnosis-choice-visual--express,
.device-select-main .diagnosis-choice-card.selected .diagnosis-choice-visual--express {
  --diagnosis-accent: #bf5a15;
  --diagnosis-highlight: #e64b4b;
  --diagnosis-soft: rgba(230, 75, 75, 0.1);
}

.device-select-main .diagnosis-choice-visual svg {
  width: 108px;
  height: 92px;
}

.device-select-main .diagnosis-choice-check {
  border-color: rgba(21, 117, 255, 0.25);
}

.device-select-main .diagnosis-choice-card.selected .diagnosis-choice-check {
  border-color: var(--network-blue);
  background: radial-gradient(circle, var(--network-blue) 0 42%, #fff 46%);
}

.device-select-main .diagnosis-choice-card strong {
  color: #0a1930;
}

.device-select-main .diagnosis-choice-card small,
.device-select-main .diagnosis-choice-tax {
  color: #6f8095;
}

.device-select-main .diagnosis-choice-line {
  color: #30445f;
}

@keyframes hardDriveWobble {
  0%,
  100% {
    transform: perspective(1200px) rotateX(0deg) rotateY(-1.2deg) translateY(0);
  }
  24% {
    transform: perspective(1200px) rotateX(0.5deg) rotateY(1.4deg) translateY(-3px);
  }
  52% {
    transform: perspective(1200px) rotateX(-0.6deg) rotateY(0.6deg) translateY(1px);
  }
  78% {
    transform: perspective(1200px) rotateX(0.35deg) rotateY(-1.4deg) translateY(-2px);
  }
}

@keyframes recoveryAmbientSpin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes deviceCableDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes deviceCableCurrent {
  to {
    stroke-dashoffset: -0.1;
  }
}

@keyframes deviceNodeArrive {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes selectedPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes selectedDeviceSignal {
  to {
    height: 36px;
    opacity: 0.55;
  }
}

@media (max-width: 991.98px) {
  .device-network-stage.is-open {
    max-height: 1250px;
  }

  .device-cable-map {
    display: none;
  }

  .device-network-stage .device-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
    padding-top: 2.5rem;
  }

  .device-network-stage .device-choice-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -2.55rem;
    width: 2px;
    height: 2.1rem;
    background: linear-gradient(180deg, rgba(85, 232, 255, 0), var(--network-blue));
    box-shadow: 0 0 12px rgba(85, 232, 255, 0.75);
  }
}

@media (max-width: 767.98px) {
  .recovery-hub-card {
    height: 300px;
    border-radius: 22px;
  }

  .recovery-hub-image {
    object-position: center;
  }

  .recovery-hub-copy {
    max-width: calc(100% - 6.5rem);
  }

  .recovery-hub-action {
    width: 48px;
    height: 48px;
  }

  .device-network-stage.is-open {
    max-height: 1750px;
  }

  .device-network-stage .device-choice-grid {
    grid-template-columns: 1fr;
  }

  .selected-device-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .selected-device-signal {
    display: none;
  }

  .device-select-main .diagnosis-choice-card {
    padding-left: 7.25rem;
  }

  .device-select-main .diagnosis-choice-card .diagnosis-choice-visual {
    left: 0.45rem;
    width: 98px;
    height: 98px;
  }

  .device-select-main .diagnosis-choice-visual svg {
    width: 90px;
    height: 78px;
  }
}

@media (max-width: 575.98px) {
  .recovery-hub-card {
    height: 270px;
  }

  .recovery-hub-copy strong {
    line-height: 1.12;
  }

  .recovery-hub-copy small {
    display: none;
  }

  .selected-device-panel {
    gap: 0.85rem;
  }

  .selected-device-icon {
    width: 72px;
    height: 72px;
    border-radius: 19px;
  }

  .selected-device-icon .device-choice-visual,
  .selected-device-icon .device-choice-visual svg {
    width: 62px;
    height: 52px;
  }

  .device-select-main .diagnosis-choice-card {
    min-height: 250px;
    padding: 1.3rem 1.2rem 1.25rem 6.4rem;
  }

  .device-select-main .diagnosis-choice-card .diagnosis-choice-visual {
    left: 0.1rem;
    width: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recovery-hub-card,
  .recovery-hub-image,
  .device-network-stage,
  .device-network-stage .device-choice-card,
  .selected-device-panel {
    transition-duration: 0.01ms !important;
  }

  .recovery-hub-ambient,
  .recovery-hub-image-wrap,
  .recovery-hub-action > span,
  .device-network-stage.is-open .device-cable-bases path,
  .device-network-stage.is-open .device-cable-energy path,
  .device-network-stage.is-open .device-cable-nodes circle,
  .selected-device-signal i {
    animation: none !important;
  }

  .device-network-stage.is-open .device-cable-bases path {
    stroke-dashoffset: 0;
  }

  .device-network-stage.is-open .device-cable-energy path,
  .device-network-stage.is-open .device-cable-nodes circle {
    opacity: 1;
    transform: scale(1);
  }
}

img,
video,
iframe {
  max-width: 100%;
}

main,
main > section,
main .container,
main .row,
.site-header,
.site-footer {
  min-width: 0;
}

main * {
  min-width: 0;
}

main :where(h1, h2, h3, h4, h5, h6, p, li, label, a, button, span, strong, small),
.site-header :where(a, button, span),
.site-footer :where(h5, h6, p, li, a, span) {
  hyphens: auto;
  overflow-wrap: break-word;
}

main :where(.btn, button) {
  max-width: 100%;
  white-space: normal;
}

a {
  text-decoration: none;
}

.top-bar {
  background: linear-gradient(90deg, #081120 0%, #15253f 100%);
  padding: 0.75rem 0;
}

.header-cta {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition: 0.25s ease;
}

.header-cta.primary,
.btn-danger {
  background: linear-gradient(135deg, var(--primary) 0%, #ff5a6d 100%);
  border: none;
  box-shadow: 0 12px 24px rgba(214, 40, 57, 0.2);
}

.header-cta.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.header-cta:hover,
.btn-danger:hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--dark);
}

.brand-logo small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #132340 0%, #d62839 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
}

/* Corporate about page */
.about-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #070b12;
  color: #fff;
}

.about-hero-media,
.about-hero-shade {
  position: absolute;
  inset: 0;
}

.about-hero-media {
  background-image: url("/images/about-data-crypto-forensics.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.about-hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.96) 0%, rgba(7, 12, 20, 0.88) 34%, rgba(7, 12, 20, 0.42) 68%, rgba(7, 12, 20, 0.74) 100%),
    linear-gradient(0deg, rgba(7, 11, 18, 0.72), rgba(7, 11, 18, 0.08));
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-breadcrumb {
  margin-bottom: 4rem;
}

.about-breadcrumb .breadcrumb-item,
.about-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.78);
}

.about-breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.about-hero-content {
  max-width: 760px;
  padding-bottom: 3rem;
}

.about-eyebrow,
.about-section-kicker {
  display: inline-flex;
  align-items: center;
  color: #d62839;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-hero-content .about-eyebrow {
  color: #ffb4bc;
}

.about-hero-content h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-hero-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.about-hero-actions,
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.about-proof-band {
  background: linear-gradient(135deg, #f7c948 0%, #f4b63f 44%, #d99222 100%);
  color: #111827;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-proof-grid div {
  min-height: 126px;
  padding: 1.6rem;
  border-right: 1px solid rgba(17, 24, 39, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-proof-grid div:first-child {
  border-left: 1px solid rgba(17, 24, 39, 0.14);
}

.about-proof-grid strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.about-proof-grid span {
  color: rgba(17, 24, 39, 0.76);
}

.about-intro-section h2,
.about-process-section h2,
.about-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
}

.about-lead {
  font-size: 1.18rem;
  color: #192236;
  line-height: 1.8;
}

.about-expertise-section .section-heading p {
  max-width: 760px;
}

.about-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-expertise-panel {
  min-height: 100%;
  padding: 2rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 38px rgba(7, 16, 33, 0.1);
}

.about-expertise-panel-dark {
  background: #101723;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.about-panel-icon,
.about-values-grid i {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d62839;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.about-expertise-panel h3,
.about-process-step h3,
.about-values-grid h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.about-expertise-panel p {
  color: #5f6c82;
  line-height: 1.75;
}

.about-expertise-panel-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.about-expertise-panel ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.about-expertise-panel li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #243047;
}

.about-expertise-panel-dark li {
  color: rgba(255, 255, 255, 0.86);
}

.about-expertise-panel li i {
  color: #d62839;
  margin-top: 0.2rem;
}

.about-process-section {
  background: #fff;
}

.about-process-section p {
  color: #5f6c82;
  line-height: 1.75;
}

.about-process-list {
  display: grid;
  gap: 1rem;
}

.about-process-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1.25rem;
  padding: 1.45rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(7, 16, 33, 0.08);
}

.about-process-step span {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #101723;
  color: #ffb4bc;
  font-weight: 800;
}

.about-visual-section {
  padding: 0 0 5rem;
  background: linear-gradient(180deg, #fff 0%, #f5f7fb 100%);
}

.about-visual-shell {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0b111c;
  min-height: 420px;
}

.about-visual-shell img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.about-visual-caption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  max-width: 640px;
  color: #fff;
  padding-right: 2rem;
}

.about-visual-caption span {
  display: inline-block;
  color: #ffb4bc;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08rem;
  margin-bottom: 0.75rem;
}

.about-visual-caption h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-values-grid article {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(7, 16, 33, 0.08);
}

.about-values-grid p {
  color: #5f6c82;
  margin-bottom: 0;
}

.about-cta {
  padding: 0 0 5rem;
  background: #fff;
}

.about-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 8px;
  background: #f4f7fb;
  border: 1px solid var(--border);
}

.about-cta-inner p {
  max-width: 780px;
  color: #5f6c82;
  margin-bottom: 0;
}

.team-hero {
  padding: 3rem 0 5rem;
  background: #0b111c;
  color: #fff;
  overflow: hidden;
}

.team-breadcrumb {
  margin-bottom: 3rem;
}

.team-breadcrumb .breadcrumb-item,
.team-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.72);
}

.team-breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.team-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.team-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.8;
}

.team-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.team-hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 28, 0.05), rgba(11, 17, 28, 0.28));
  pointer-events: none;
}

.team-hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.team-capability-section .section-heading p {
  max-width: 780px;
}

.team-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-capability-grid article {
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(7, 16, 33, 0.08);
}

.team-capability-grid i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #111827;
  background: linear-gradient(135deg, #f7c948 0%, #d99222 100%);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.team-capability-grid h3,
.team-method-section h2,
.team-cta-inner h2 {
  font-weight: 800;
}

.team-capability-grid p,
.team-method-section p,
.team-cta-inner p {
  color: #5f6c82;
  line-height: 1.75;
}

.team-method-list {
  display: grid;
  gap: 0.9rem;
}

.team-method-list div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(7, 16, 33, 0.07);
}

.team-method-list strong {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0b111c;
  color: #f7c948;
}

.team-method-list span {
  color: #243047;
  font-weight: 600;
}

.team-cta {
  padding: 0 0 5rem;
  background: #f4f7fb;
}

.team-cta-inner {
  padding: 2.4rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #101723 0%, #202b3d 62%, #d62839 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.team-cta-inner p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.team-cta-copy {
  min-width: 0;
}

.team-cta-copy h2 {
  margin-bottom: 0.8rem;
  overflow-wrap: break-word;
}

.team-cta-inner > .btn {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .about-hero {
    min-height: 620px;
  }

  .about-hero-shade {
    background: linear-gradient(90deg, rgba(3, 7, 13, 0.96) 0%, rgba(7, 12, 20, 0.88) 58%, rgba(7, 12, 20, 0.62) 100%);
  }

  .about-proof-grid,
  .about-expertise-grid,
  .about-values-grid,
  .about-cta-inner,
  .team-capability-grid,
  .team-cta-inner {
    grid-template-columns: 1fr;
  }

  .about-proof-grid div,
  .about-proof-grid div:first-child {
    border-left: 1px solid rgba(17, 24, 39, 0.14);
    border-right: 1px solid rgba(17, 24, 39, 0.14);
    border-bottom: 1px solid rgba(17, 24, 39, 0.14);
  }

  .about-cta-actions {
    margin-top: 0;
  }

  .team-hero-image img {
    height: 420px;
  }

  .team-cta-inner > .btn {
    justify-self: start;
  }
}

@media (max-width: 575.98px) {
  .about-hero {
    min-height: 640px;
    align-items: flex-end;
  }

  .about-breadcrumb {
    margin-bottom: 2rem;
  }

  .about-hero-content {
    padding-bottom: 2rem;
  }

  .about-hero-actions .btn,
  .about-cta-actions .btn,
  .team-hero-actions .btn,
  .team-cta-inner > .btn {
    width: 100%;
  }

  .about-process-step,
  .team-method-list div {
    grid-template-columns: 1fr;
  }

  .about-visual-shell img {
    height: 460px;
  }

  .about-visual-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding-right: 0;
  }

  .team-hero-image img {
    height: 360px;
  }
}

.brand-logo-image {
  display: block;
  width: 190px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.main-navigation .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 1rem 0.95rem !important;
}

.mega-menu {
  border: 0;
  padding: 1.25rem;
  min-width: 580px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 1.5rem;
}

.mega-menu-grid > * {
  min-width: 0;
}

.mega-menu-grid h6 {
  font-weight: 700;
}

.mega-menu-grid p {
  color: var(--muted);
  margin: 0;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mega-links a,
.footer-links a,
.footer-sitemap a {
  color: var(--dark);
  transition: 0.2s ease;
}

.mega-links a {
  min-width: 0;
  line-height: 1.35;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.mega-links a:hover,
.footer-links a:hover,
.footer-sitemap a:hover {
  color: var(--primary);
}

.hero-section,
.page-hero {
  padding: 2rem 0 0;
}

.hero-slide,
.page-hero-content {
  border-radius: 30px;
  padding: 4rem;
  color: #fff;
  overflow: hidden;
}

.hero-slide-primary {
  background: radial-gradient(circle at top left, #1b3a63 0%, #081120 48%, #d62839 100%);
}

.hero-slide-dark {
  background: radial-gradient(circle at top right, #29395b 0%, #0a111f 55%, #101b31 100%);
}

.hero-slide-crypto {
  background: radial-gradient(circle at bottom right, #001233 0%, #050b14 60%, #17325e 100%);
  border-bottom: 2px solid #00d2ff;
}

.hero-slide-accent,
.page-hero-content {
  background: linear-gradient(135deg, #0c1830 0%, #1f3d6c 40%, #d62839 100%);
}

.hero-kicker,
.section-heading span {
  display: inline-block;
  color: #ffb4bc;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-slide h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
}

.hero-slide h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.hero-slide p,
.page-hero-content p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.hero-highlight-card,
.sidebar-card,
.content-panel,
.form-shell,
.map-placeholder,
.cta-card,
.stat-card,
.blog-card,
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-highlight-card {
  padding: 2rem;
  color: var(--dark);
}

.hero-highlight-card ul,
.icon-list,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-highlight-card li,
.icon-list li,
.footer-contact li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.section-space {
  padding: 5rem 0;
}

.section-muted {
  background: var(--surface-soft);
}

.section-dark {
  background: #09111e;
}

.section-dark .section-heading h2 {
  color: #fff;
}

.section-dark .blog-card h3 {
  color: var(--dark);
}

.section-dark .blog-card p {
  color: var(--muted);
}

.section-dark .blog-card a {
  color: var(--primary);
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
}

.reference-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.reference-item,
.stat-card {
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.service-card,
.blog-card,
.form-shell,
.sidebar-card,
.content-panel,
.cta-card,
.map-placeholder {
  padding: 2rem;
}

.contact-map-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-map-frame {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.contact-map-details {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
}

.contact-map-details > i {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-map-details > div {
  min-width: 0;
  flex: 1;
}

.contact-map-details strong,
.contact-map-details span {
  display: block;
}

.contact-map-details span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-map-details a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.contact-map-details a:hover {
  color: var(--primary-dark);
}

@media (max-width: 575.98px) {
  .contact-map-frame {
    min-height: 270px;
  }

  .contact-map-details {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contact-map-details a {
    width: 100%;
    padding-left: 1.95rem;
  }
}

.service-card {
  display: block;
  height: 100%;
  color: var(--dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px rgba(7, 16, 33, 0.18);
}

.turnstile-field {
  max-width: 500px;
}

.request-turnstile-field {
  margin-left: auto;
}

.service-card i {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.4rem;
  background: linear-gradient(145deg, #132340, #d62839);
}

.service-card span,
.blog-card a {
  color: var(--primary);
  font-weight: 600;
}

.why-us-list {
  display: grid;
  gap: 1rem;
}

.why-us-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-us-item i,
.icon-list i,
.footer-contact i,
.map-placeholder i {
  color: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.stats-grid.stats-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.blog-card.light {
  background: #fff;
}

.blog-card .badge {
  background: rgba(214, 40, 57, 0.1);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero-content h1 {
  font-weight: 800;
}

.form-control,
.form-select {
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(11, 18, 32, 0.12);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(214, 40, 57, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(214, 40, 57, 0.12);
}

.support-note {
  margin-top: 1rem;
  color: var(--muted);
}

.site-footer {
  background: #09111e;
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

.site-footer h5,
.site-footer h6 {
  color: #fff;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-sitemap a,
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.6rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
  .mega-menu {
    min-width: auto;
  }

  .mega-menu-grid,
  .mega-links,
  .reference-strip,
  .footer-sitemap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .hero-slide,
  .page-hero-content {
    padding: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .top-bar .container,
  .footer-bottom,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .reference-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* â”€â”€ Image Components â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.hero-slide-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(7, 16, 33, 0.3);
  line-height: 0;
}

.hero-slide-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.page-hero-image-strip {
  padding: 0 0 2rem;
}

.page-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: var(--shadow);
}

.content-image-panel {
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}

.content-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: var(--shadow);
}

.blog-topic-section {
  background: #fff;
  padding: 4rem 0 2rem;
}

.blog-topic-intro,
.blog-list-header,
.blog-service-link-header {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.blog-topic-intro span,
.blog-list-header span,
.blog-service-link-header span {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.blog-topic-intro h2,
.blog-list-header h2,
.blog-service-link-header h2 {
  color: var(--dark);
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.blog-topic-intro p,
.blog-service-link-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.blog-topic-grid,
.blog-service-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-topic-card {
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  background: #f8fafc;
}

.blog-topic-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 205, 0, 0.16);
  margin-bottom: 1rem;
}

.blog-topic-card h3 {
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.blog-topic-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

.blog-list-section {
  padding-top: 2.5rem;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  color: #536173;
  font-size: 0.82rem;
  font-weight: 650;
  margin: 0.85rem 0 0.8rem;
}

.blog-card-meta span,
.blog-card-expert {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.blog-card-meta i,
.blog-card-expert i {
  color: var(--primary);
}

.blog-card-expert {
  color: #1c2736;
  font-size: 0.86rem;
  font-weight: 750;
  margin: 1rem 0 0.75rem;
}

.blog-service-link-section {
  background: #f7f9fc;
  padding: 4rem 0;
}

.blog-service-link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-service-link-card {
  position: relative;
  display: block;
  min-height: 150px;
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  color: var(--dark);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(7, 16, 33, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.blog-service-link-card:hover {
  color: var(--dark);
  border-color: rgba(255, 205, 0, 0.65);
  transform: translateY(-3px);
}

.blog-service-link-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 850;
  margin-bottom: 0.5rem;
}

.blog-service-link-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  padding-right: 1.5rem;
}

.blog-service-link-card > i {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: var(--primary);
}

.blog-card-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  line-height: 0;
}

.blog-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumb {
  transform: scale(1.03);
}

.seo-faq-section {
  background: #f7f9fc;
  padding: 4rem 0;
}

.seo-faq-header {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.seo-faq-header span {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.seo-faq-header h2 {
  color: var(--dark);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  margin: 0;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.seo-faq-item {
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(7, 16, 33, 0.06);
}

.seo-faq-item h3 {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.seo-faq-item p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

.why-us-image-block {
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}

.why-us-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: var(--shadow);
}

@media (max-width: 991.98px) {
  .hero-slide-img,
  .page-hero-img {
    height: auto;
  }

  .why-us-img {
    height: 180px;
  }

  .seo-faq-grid {
    grid-template-columns: 1fr;
  }

  .blog-topic-grid,
  .blog-service-link-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-slide-img {
    height: auto;
    object-fit: contain;
  }

  .stats-grid,
  .stats-grid.stats-grid-three {
    grid-template-columns: 1fr;
  }

  .why-us-image-block {
    display: none;
  }

  .page-hero-img {
    height: 180px;
  }

  .blog-thumb {
    height: 160px;
  }

  .blog-topic-grid,
  .blog-service-link-grid {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ WhatsApp Components â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.whatsapp-float,
.instagram-float {
  position: fixed;
  right: 1.75rem;
  z-index: 1050;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float {
  bottom: 1.75rem;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.instagram-float {
  bottom: 6rem;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 72%, #515bd4 100%);
  box-shadow: 0 6px 20px rgba(221, 42, 123, 0.42);
}

.whatsapp-float:hover,
.instagram-float:hover {
  color: #fff;
  transform: scale(1.1);
}

.whatsapp-float:hover {
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.instagram-float:hover {
  box-shadow: 0 10px 28px rgba(221, 42, 123, 0.58);
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-whatsapp:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-1px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-1px);
}

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #25d366;
  transition: color 0.2s ease;
}

.footer-whatsapp-link:hover {
  color: #1da851;
}

.footer-whatsapp-link i {
  color: #25d366;
}

@media (max-width: 767.98px) {
  .whatsapp-float,
  .instagram-float {
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .whatsapp-float {
    bottom: 1.25rem;
  }

  .instagram-float {
    bottom: 5.25rem;
  }
}

/* â”€â”€ Blog Detail Page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.blog-hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: radial-gradient(circle at 70% 35%, #24446f 0%, #0c1830 48%, #071021 100%);
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-hero-bg--contain {
  object-fit: contain;
  object-position: 82% center;
  padding: 2rem 4vw 2rem 38vw;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 16, 33, 0.9) 0%, rgba(7, 16, 33, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.blog-hero-content-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.blog-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-category-badge {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-date {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-hero-title {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.blog-author-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.blog-author-hero strong {
  display: block;
  font-size: 0.95rem;
}

.blog-author-hero small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.blog-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #132340, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.blog-breadcrumb-bar {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.blog-breadcrumb-bar .breadcrumb {
  margin: 0;
}

.blog-breadcrumb-bar .breadcrumb a {
  color: var(--primary);
}

.blog-breadcrumb-bar .breadcrumb-item.active {
  color: var(--muted);
}

.blog-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: var(--muted);
}

/* Article */
.blog-detail {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--dark);
}

.blog-intro-card {
  background: var(--surface-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.blog-intro-card p {
  margin: 0;
}

.blog-content-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.blog-content-img--contain {
  object-fit: contain;
  padding: 2rem;
  background: linear-gradient(145deg, #eef3f8, #fff);
}

.blog-divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

.blog-section {
  margin-bottom: 1.5rem;
}

.blog-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.blog-section-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.blog-section-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #132340, var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(214, 40, 57, 0.25);
}

/* Blog Lists */
.blog-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.blog-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}

.blog-list li:last-child {
  border-bottom: none;
}

.blog-list-warning li i {
  color: #f59e0b;
  margin-top: 0.2rem;
  min-width: 18px;
}

.blog-list-success li i {
  color: #16a34a;
  margin-top: 0.2rem;
  min-width: 18px;
}

.blog-list-check li i {
  color: var(--primary);
  margin-top: 0.2rem;
  min-width: 18px;
}

/* Highlight Boxes */
.blog-highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.blog-highlight-box i {
  color: #f59e0b;
  margin-top: 0.15rem;
  min-width: 18px;
  font-size: 1rem;
}

.blog-highlight-box--blue {
  background: rgba(59, 130, 246, 0.07);
  border-color: rgba(59, 130, 246, 0.2);
}

.blog-highlight-box--blue i {
  color: #3b82f6;
}

.blog-highlight-box--red {
  background: rgba(214, 40, 57, 0.06);
  border-color: rgba(214, 40, 57, 0.2);
}

.blog-highlight-box--red i {
  color: var(--primary);
}

/* CTA Card in Article */
.blog-cta-card {
  background: linear-gradient(135deg, #0c1830 0%, #1f3d6c 60%, #d62839 100%);
  border-radius: 24px;
  padding: 2.5rem;
  color: #fff;
  margin: 2.5rem 0;
}

.blog-cta-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.blog-cta-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.blog-cta-card p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
}

/* Author Card */
.blog-author-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2.5rem;
}

.blog-author-avatar-lg {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, #132340, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}

.blog-author-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.blog-author-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-author-date {
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.blog-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.blog-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-sidebar-title i {
  color: var(--primary);
}

/* Related posts list */
.blog-related-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.blog-related-list li {
  border-bottom: 1px solid var(--border);
}

.blog-related-list li:last-child {
  border-bottom: none;
}

.blog-related-list a {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  color: var(--dark);
  transition: color 0.2s ease;
}

.blog-related-list a:hover {
  color: var(--primary);
}

.blog-related-thumb {
  width: 60px;
  height: 52px;
  min-width: 60px;
  border-radius: 10px;
  overflow: hidden;
}

.blog-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.blog-related-info {
  flex: 1;
}

.blog-related-category {
  display: block;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  margin-bottom: 0.2rem;
}

.blog-related-info strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.blog-sidebar-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.blog-sidebar-all-link:hover {
  gap: 0.65rem;
  color: var(--primary-dark);
}

/* CTA Sidebar */
.blog-sidebar-cta {
  background: linear-gradient(135deg, #0c1830 0%, #1f3d6c 60%);
  border-color: transparent;
  color: #fff;
}

.blog-sidebar-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.blog-sidebar-cta h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.blog-sidebar-tip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.blog-sidebar-tip-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.blog-sidebar-tip-list li i {
  color: #f87171;
  font-size: 0.8rem;
}

.blog-sidebar-cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
}

/* Service sidebar card */
.blog-sidebar-service {
  padding: 0;
  overflow: hidden;
}

.blog-sidebar-service-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.blog-sidebar-service-body {
  padding: 1.25rem 1.5rem;
}

.blog-sidebar-service-body h6 {
  font-weight: 700;
  margin: 0.5rem 0 0.4rem;
}

.blog-sidebar-service-body p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.blog-sidebar-service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.blog-sidebar-service-link:hover {
  gap: 0.65rem;
  color: var(--primary-dark);
}

@media (max-width: 991.98px) {
  .blog-hero {
    height: 340px;
  }

  .blog-hero-title {
    font-size: 1.5rem;
  }

  .blog-content-img {
    height: 220px;
  }
}

@media (max-width: 767.98px) {
  .blog-hero {
    height: 280px;
  }

  .blog-cta-card {
    text-align: center;
  }

  .blog-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .blog-author-card {
    flex-direction: column;
  }

  .blog-content-img {
    height: 180px;
  }
}

/* â”€â”€ Veri Kurtarma Index â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.vk-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.vk-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vk-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(7, 16, 33, 0.18);
}

.vk-step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(214, 40, 57, 0.3);
}

.vk-step-content h6 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.vk-step-content p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.vk-advantage-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  height: 100%;
  transition: transform 0.25s ease, background 0.25s ease;
}

.vk-advantage-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.vk-advantage-card i {
  color: var(--primary);
}

.vk-advantage-card p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .vk-steps {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ Wizard Form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.wizard-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 2.25rem;
}

.wizard-step-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.wizard-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
}

.wizard-step-item.active .wizard-step-circle {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(214, 40, 57, 0.3);
}

.wizard-step-item.completed .wizard-step-circle {
  background: #16a34a;
  color: #fff;
}

.wizard-step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s ease;
  line-height: 1.3;
}

.wizard-step-item.active .wizard-step-label {
  color: var(--primary);
}

.wizard-step-item.completed .wizard-step-label {
  color: #16a34a;
}

.wizard-step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 0.6rem;
  transition: background 0.35s ease;
  border-radius: 2px;
}

.wizard-step-connector.completed {
  background: #16a34a;
}

.wizard-content {
  display: none;
}

.wizard-content.active {
  display: block;
}

.device-select-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.request-step-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.request-step-heading span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c5520b;
  color: #fff;
  font-weight: 800;
}

.request-step-heading h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.request-choice-note {
  border: 1px solid rgba(214, 40, 57, 0.14);
  background: linear-gradient(135deg, #fff 0%, #fff7f4 100%);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.35rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.6;
}

.diagnosis-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.diagnosis-choice-card {
  position: relative;
  min-height: 190px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 1.45rem 1.65rem;
  text-align: left;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(7, 16, 33, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.diagnosis-choice-card:hover,
.diagnosis-choice-card.selected {
  border-color: rgba(214, 40, 57, 0.42);
  box-shadow: 0 18px 36px rgba(7, 16, 33, 0.12);
  transform: translateY(-2px);
}

.diagnosis-choice-card.selected {
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.diagnosis-choice-card strong,
.diagnosis-choice-card small,
.diagnosis-choice-card span {
  display: block;
}

.diagnosis-choice-card strong {
  padding-right: 2.2rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.diagnosis-choice-card small,
.diagnosis-choice-tax {
  color: #7b8798;
  font-size: 0.82rem;
}

.diagnosis-choice-card > .diagnosis-choice-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 2.2rem;
}

.diagnosis-choice-card .diagnosis-choice-copy {
  display: block;
  min-width: 0;
}

.diagnosis-choice-card .diagnosis-choice-copy strong {
  padding-right: 0;
}

.diagnosis-choice-card .diagnosis-choice-copy small {
  display: block;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.diagnosis-choice-card .diagnosis-choice-visual {
  --diagnosis-accent: #22735f;
  --diagnosis-highlight: #11a665;
  --diagnosis-soft: #e8f6f1;
  width: 72px;
  height: 62px;
  flex: 0 0 72px;
  border: 1px solid color-mix(in srgb, var(--diagnosis-accent) 16%, white);
  border-radius: 19px;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.98) 0 18%, transparent 44%),
    linear-gradient(145deg, var(--diagnosis-soft), #fff 78%);
  color: var(--diagnosis-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -1px 0 rgba(11, 18, 32, 0.07), 0 12px 24px rgba(7, 16, 33, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.diagnosis-choice-visual--express {
  --diagnosis-accent: #a95418;
  --diagnosis-highlight: #e14745;
  --diagnosis-soft: #fff0e4;
}

.diagnosis-choice-visual svg {
  width: 62px;
  height: 48px;
  overflow: visible;
  transition: transform 0.25s ease;
}

.diagnosis-shape-soft {
  fill: var(--diagnosis-soft);
}

.diagnosis-shape-surface {
  fill: #fff;
  stroke: currentColor;
  stroke-width: 1.8;
}

.diagnosis-shape-outline,
.diagnosis-shape-line,
.diagnosis-shape-speed {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagnosis-shape-speed {
  stroke-width: 2.5;
}

.diagnosis-shape-highlight {
  fill: var(--diagnosis-highlight);
}

.diagnosis-shape-highlight-line {
  fill: none;
  stroke: var(--diagnosis-highlight);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagnosis-choice-card:hover .diagnosis-choice-visual {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: inset 0 -1px 0 rgba(11, 18, 32, 0.05), 0 16px 28px color-mix(in srgb, var(--diagnosis-accent) 20%, transparent);
}

.diagnosis-choice-card:hover .diagnosis-choice-visual svg {
  transform: scale(1.04);
}

.diagnosis-choice-card.selected .diagnosis-choice-visual {
  --diagnosis-accent: #fff;
  --diagnosis-highlight: #ffe176;
  --diagnosis-soft: rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, #bd1f32 0%, #ef5264 100%);
  border-color: rgba(214, 40, 57, 0.38);
  color: #fff;
  box-shadow: 0 14px 28px rgba(214, 40, 57, 0.25);
}

.diagnosis-choice-card.selected .diagnosis-shape-surface {
  fill: rgba(255, 255, 255, 0.14);
}

@media (max-width: 575.98px) {
  .diagnosis-choice-card > .diagnosis-choice-heading {
    align-items: flex-start;
  }

  .diagnosis-choice-card .diagnosis-choice-visual {
    width: 62px;
    height: 56px;
    flex-basis: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diagnosis-choice-card .diagnosis-choice-visual,
  .diagnosis-choice-visual svg {
    transition: none;
  }
}

.diagnosis-choice-price {
  margin: 1.15rem 0 1rem;
  color: #b94f12;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.diagnosis-choice-price-free {
  color: #05a34a;
  font-size: 1.85rem;
}

.diagnosis-choice-tax {
  margin-top: -0.45rem;
  margin-bottom: 1rem;
}

.diagnosis-choice-line {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  color: #334155;
  font-size: 0.86rem;
  margin-top: 0.55rem;
}

.diagnosis-choice-line i {
  width: 16px;
  color: #05a34a;
}

.diagnosis-choice-line .fa-bolt {
  color: #b94f12;
}

.diagnosis-choice-footnote {
  margin: -0.55rem 0 1.25rem;
  color: #64748b;
  font-size: 0.78rem;
}

.diagnosis-choice-check {
  position: absolute;
  right: 1.35rem;
  top: 1.35rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #d8dee8;
  background: #fff;
}

.diagnosis-choice-card.selected .diagnosis-choice-check {
  border-color: var(--primary);
  background: radial-gradient(circle, var(--primary) 0 42%, #fff 46%);
}

.device-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.device-choice-card {
  min-height: 190px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 1.2rem 1.15rem;
  text-align: left;
  color: var(--dark);
  box-shadow: 0 12px 28px rgba(7, 16, 33, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.device-choice-card:hover,
.device-choice-card.selected {
  border-color: rgba(214, 40, 57, 0.42);
  box-shadow: 0 18px 36px rgba(7, 16, 33, 0.12);
  transform: translateY(-2px);
}

.device-choice-card.selected {
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.device-choice-card strong,
.device-choice-card span {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
}

.device-choice-card strong {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.device-choice-card span {
  color: #516071;
  font-size: 0.88rem;
  line-height: 1.45;
}

.device-choice-card > .device-choice-visual {
  --device-accent: #3d6c9e;
  --device-highlight: #e54858;
  --device-soft: #eaf2fa;
  width: 72px;
  height: 58px;
  margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--device-accent) 15%, white);
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.98) 0 18%, transparent 42%),
    linear-gradient(145deg, var(--device-soft), #fff 78%);
  color: var(--device-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: inset 0 -1px 0 rgba(11, 18, 32, 0.07), 0 11px 24px rgba(7, 16, 33, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.device-choice-visual--ssd {
  --device-accent: #7655a6;
  --device-highlight: #d93f70;
  --device-soft: #f0ebf8;
}

.device-choice-visual--raid {
  --device-accent: #187789;
  --device-highlight: #e14c5a;
  --device-soft: #e7f5f7;
}

.device-choice-visual--usb {
  --device-accent: #a96128;
  --device-highlight: #db3f50;
  --device-soft: #fff1e5;
}

.device-choice-visual--phone {
  --device-accent: #2f7a68;
  --device-highlight: #d93f50;
  --device-soft: #e7f5f0;
}

.device-choice-visual svg {
  width: 62px;
  height: 48px;
  overflow: visible;
  transition: transform 0.25s ease;
}

.device-shape-soft {
  fill: var(--device-soft);
}

.device-shape-surface {
  fill: #fff;
  stroke: currentColor;
  stroke-width: 1.8;
}

.device-shape-outline,
.device-shape-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.device-shape-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

.device-shape-highlight {
  fill: var(--device-highlight);
}

.device-shape-contact {
  fill: none;
  stroke: #d5a63b;
  stroke-width: 2;
  stroke-linecap: round;
}

.device-choice-card:hover > .device-choice-visual {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: inset 0 -1px 0 rgba(11, 18, 32, 0.05), 0 16px 28px color-mix(in srgb, var(--device-accent) 20%, transparent);
}

.device-choice-card:hover > .device-choice-visual svg {
  transform: scale(1.04);
}

.device-choice-card.selected > .device-choice-visual {
  --device-accent: #fff;
  --device-highlight: #ffe176;
  --device-soft: rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, #bd1f32 0%, #ef5264 100%);
  border-color: rgba(214, 40, 57, 0.35);
  color: #fff;
  box-shadow: 0 14px 28px rgba(214, 40, 57, 0.26);
}

.device-choice-card.selected .device-shape-surface {
  fill: rgba(255, 255, 255, 0.13);
}

@media (prefers-reduced-motion: reduce) {
  .device-choice-card > .device-choice-visual,
  .device-choice-visual svg {
    transition: none;
  }
}

.raid-disk-count-field {
  display: none !important;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}

.raid-disk-count-field.active {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

.raid-disk-count-field label {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.device-choice-card .raid-disk-count-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  width: 100%;
  min-height: 54px;
  overflow: hidden;
  border: 1px solid rgba(214, 40, 57, 0.28);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.raid-disk-count-control:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(214, 40, 57, 0.12);
}

.raid-disk-count-field input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.raid-disk-count-field input::-webkit-inner-spin-button,
.raid-disk-count-field input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.device-choice-card .raid-disk-count-stepper {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  border-left: 1px solid rgba(214, 40, 57, 0.22);
  background: #f8fafc;
}

.raid-disk-count-step {
  display: grid;
  min-width: 46px;
  min-height: 27px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b91c2c;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.raid-disk-count-step + .raid-disk-count-step {
  border-top: 1px solid rgba(214, 40, 57, 0.18);
}

.raid-disk-count-step:hover,
.raid-disk-count-step:focus-visible {
  background: rgba(214, 40, 57, 0.1);
  color: var(--primary);
  outline: none;
}

.raid-disk-count-step:active {
  background: rgba(214, 40, 57, 0.18);
}

.raid-disk-count-step:disabled {
  color: #b8c1cd;
  cursor: not-allowed;
  background: transparent;
}

.device-choice-card .raid-disk-count-step > span {
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

@media (hover: none), (pointer: coarse) {
  .device-choice-card .raid-disk-count-control {
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 80px;
  }

  .raid-disk-count-field input {
    min-height: 78px;
    font-size: 1.1rem;
  }

  .raid-disk-count-step {
    min-width: 52px;
    min-height: 40px;
    font-size: 1.3rem;
  }
}

.request-overview-card {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(240px, 1.45fr) minmax(170px, 1fr);
  align-items: stretch;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 16, 33, 0.09);
  overflow: hidden;
}

.request-overview-block {
  padding: 1.15rem 1.2rem;
  border-right: 1px solid var(--border);
  min-width: 0;
}

.request-overview-block span {
  display: block;
  color: #aeb7c4;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03rem;
}

.request-overview-block strong {
  display: block;
  margin-top: 0.25rem;
  color: #475569;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.request-overview-note {
  display: block;
  margin-top: 0.35rem;
  color: #8b96a8;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 18rem;
}

.request-overview-price {
  color: var(--primary);
}

.request-overview-costs {
  margin-top: 0;
  padding: 1.05rem 1.2rem;
  background: #f8fafc;
  border-right: 1px solid var(--border);
  min-width: 0;
}

.request-overview-costs div {
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(96px, auto);
  align-items: baseline;
  gap: 0.75rem;
}

.request-overview-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.request-overview-costs div + div {
  margin-top: 1rem;
}

.request-overview-costs span {
  color: #516071;
  font-size: 0.85rem;
  line-height: 1.25;
}

.request-overview-costs strong {
  min-width: 96px;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.request-overview-total {
  align-items: center;
  padding: 1.05rem 1.2rem;
  min-width: 0;
}

.request-overview-total > span {
  font-size: 0.75rem;
  font-weight: 800;
}

.request-overview-total div {
  text-align: right;
  min-width: 0;
}

.request-overview-total strong {
  display: block;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.request-overview-total small {
  display: block;
  color: #8d97a6;
  margin-top: 0.35rem;
  line-height: 1.25;
}

.device-selection-nav {
  justify-content: flex-end;
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 1199.98px) {
  .diagnosis-choice-grid {
    grid-template-columns: 1fr;
  }

  .device-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .request-overview-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-overview-block,
  .request-overview-costs {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 991.98px) {
  .device-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Failure section */
.failure-section {
  display: none;
}

.failure-section.active {
  display: block;
}

.failure-section-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* Radio card */
.radio-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.75rem;
  background: var(--surface);
  user-select: none;
}

.radio-card:hover {
  border-color: rgba(214, 40, 57, 0.4);
  background: rgba(214, 40, 57, 0.03);
}

.radio-card.selected {
  border-color: var(--primary);
  background: rgba(214, 40, 57, 0.06);
  box-shadow: 0 2px 12px rgba(214, 40, 57, 0.12);
}

.radio-card input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.radio-card-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
}

.radio-card-body {
  flex: 1;
}

.radio-card-body .radio-card-text {
  flex: none;
}

.failure-note-field {
  display: none;
}

.failure-note-field.active {
  display: block;
}

/* Price badge */
.price-badge {
  background: #d1fae5;
  color: #065f46;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01rem;
}

.price-badge-warning {
  background: #fef3c7;
  color: #92400e;
}

/* Summary card */
.summary-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
}

.summary-table td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.summary-table tr:last-child td {
  border-bottom: none;
}

.summary-table td:first-child {
  color: var(--muted);
  width: 38%;
  font-size: 0.88rem;
}

.summary-table td:last-child {
  font-weight: 600;
  font-size: 0.95rem;
}

.request-consent-check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.75rem;
  color: var(--dark);
  font-size: 0.95rem;
}

.request-consent-check .form-check-input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  border-color: rgba(11, 18, 32, 0.25);
}

.request-consent-check .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.request-consent-check .invalid-feedback {
  flex-basis: 100%;
  margin-left: 1.8rem;
}

.legal-download-hint {
  flex-basis: 100%;
  margin-left: 1.8rem;
  font-size: 0.88rem;
}

.legal-download-card,
.legal-access-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(192, 57, 43, 0.22);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.045);
}

.legal-download-card {
  margin-bottom: 1rem;
}

.legal-download-card p,
.legal-access-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.legal-access-card h2 {
  width: 100%;
  margin: 0;
  font-size: 1.15rem;
}

.request-info-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.request-info-note p {
  margin-bottom: 1rem;
}

.request-info-note p:last-child {
  margin-bottom: 0;
}

.portal-create-card {
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.5rem;
}

.portal-create-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.portal-create-heading span,
.portal-kicker {
  color: var(--primary);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.portal-create-heading h6 {
  font-weight: 800;
  margin: 0.15rem 0 0;
}

.portal-create-heading i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(214, 40, 57, 0.1);
  color: var(--primary);
}

.portal-create-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.portal-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.35fr);
  gap: 1.25rem;
}

.portal-login-panel,
.portal-status-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.portal-login-panel h2 {
  font-weight: 800;
  margin: 0.25rem 0 0.65rem;
}

.portal-login-panel p,
.portal-empty-state p,
.portal-current-stage p,
.portal-roadmap-item p {
  color: var(--muted);
}

.portal-case-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.portal-case-header div {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
}

.portal-case-header span,
.portal-current-stage span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-case-header strong {
  display: block;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.portal-current-stage {
  background: linear-gradient(135deg, #0c1830 0%, #1f3d6c 58%, #d62839 100%);
  border-radius: 14px;
  color: #fff;
  margin-bottom: 1.25rem;
  padding: 1.35rem;
}

.portal-current-stage span,
.portal-current-stage p,
.portal-current-stage small {
  color: rgba(255, 255, 255, 0.82);
}

.portal-current-stage h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.3rem 0 0.5rem;
}

.portal-roadmap {
  display: grid;
  gap: 0.8rem;
}

.portal-roadmap-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fff;
}

.portal-roadmap-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
}

.portal-roadmap-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.portal-roadmap-item p {
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.portal-roadmap-item.completed .portal-roadmap-icon {
  background: #d1fae5;
  color: #065f46;
}

.portal-roadmap-item.current {
  border-color: rgba(214, 40, 57, 0.45);
  box-shadow: 0 10px 24px rgba(214, 40, 57, 0.1);
}

.portal-roadmap-item.current .portal-roadmap-icon {
  background: rgba(214, 40, 57, 0.1);
  color: var(--primary);
}

.portal-empty-state {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.portal-empty-state > i {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.portal-empty-state h3 {
  font-weight: 800;
}

.portal-preview-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.portal-preview-steps span {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.7rem;
}

.admin-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.06), transparent 25rem),
    #f4f7fb;
}

.admin-login-card,
.admin-table-shell,
.admin-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.admin-app-body {
  min-width: 320px;
  margin: 0;
  background: #f3f6fa;
  color: #172033;
}

.admin-app-body.admin-sidebar-lock {
  overflow: hidden;
}

.admin-app-shell {
  min-height: 100vh;
}

.admin-app-sidebar {
  position: fixed;
  z-index: 1040;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: 252px;
  min-height: 100vh;
  padding: 1.15rem 0.9rem 0.9rem;
  overflow-y: auto;
  background: linear-gradient(180deg, #182334 0%, #111b2a 100%);
  box-shadow: 12px 0 32px rgba(15, 23, 42, 0.12);
  color: #fff;
}

.admin-app-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.5rem 0.55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
}

.admin-app-brand:hover {
  color: #fff;
}

.admin-app-brand-mark {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.admin-app-brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.admin-app-brand strong,
.admin-app-brand small,
.admin-app-user strong,
.admin-app-user small {
  display: block;
}

.admin-app-brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.admin-app-brand small {
  margin-top: 0.1rem;
  color: #f87171;
  font-size: 0.62rem;
  font-weight: 650;
}

.admin-app-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0.35rem 0.8rem;
  padding: 0.85rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-app-avatar {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #ec4899);
  color: #fff;
}

.admin-app-user span:last-child {
  min-width: 0;
}

.admin-app-user strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-app-user small {
  margin-top: 0.15rem;
  color: #94a3b8;
  font-size: 0.62rem;
}

.admin-app-nav {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 0;
}

.admin-app-nav-label {
  margin: 0.9rem 0.7rem 0.35rem;
  color: #64748b;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-app-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 43px;
  padding: 0.7rem 0.8rem;
  border-radius: 9px;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 650;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-app-nav a:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
}

.admin-app-nav a.active {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.16));
  box-shadow: inset 3px 0 0 #60a5fa;
  color: #fff;
}

.admin-app-nav i,
.admin-app-logout i {
  width: 18px;
  color: #94a3b8;
  text-align: center;
}

.admin-app-nav a.active i {
  color: #60a5fa;
}

.admin-app-logout {
  margin-top: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-app-logout button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #f87171;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: left;
}

.admin-app-logout button:hover {
  background: rgba(239, 68, 68, 0.1);
}

.admin-app-logout i {
  color: #f87171;
}

.admin-app-workspace {
  min-height: 100vh;
  margin-left: 252px;
}

.admin-app-topbar {
  position: sticky;
  z-index: 1020;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 68px;
  padding: 0.7rem 1.6rem;
  border-bottom: 1px solid #e5eaf1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.admin-app-topbar > div {
  min-width: 0;
}

.admin-app-topbar span,
.admin-app-topbar strong {
  display: block;
}

.admin-app-topbar > div span {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-app-topbar > div strong {
  overflow: hidden;
  color: #172033;
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-app-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
}

.admin-app-topbar-site {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-app-topbar-site span {
  display: inline;
}

.admin-app-topbar-site:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

.admin-app-content {
  min-height: calc(100vh - 68px);
}

.admin-app-content .section-space {
  min-height: calc(100vh - 68px);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.admin-app-backdrop {
  position: fixed;
  z-index: 1035;
  inset: 0;
  display: none;
  width: 100%;
  border: 0;
  background: rgba(15, 23, 42, 0.58);
}

.admin-index-page {
  min-height: calc(100vh - 68px);
  padding: 1.5rem;
}

.admin-index-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.admin-index-kicker {
  display: block;
  margin-bottom: 0.3rem;
  color: #4f46e5;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-index-heading h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.admin-index-heading p {
  max-width: 760px;
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.78rem;
}

.visitor-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.visitor-periods a {
  padding: 0.45rem 0.7rem;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.visitor-periods a.active,
.visitor-periods a:hover {
  border-color: #4f46e5;
  background: #4f46e5;
  color: #fff;
}

.visitor-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.visitor-analytics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.visitor-metric-card { padding: 1rem; border: 1px solid #e4e9f0; border-radius: 13px; background: #fff; box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045); }
.visitor-metric-card h2 { margin: 0 0 0.65rem; color: #1e293b; font-size: 0.9rem; font-weight: 800; }
.visitor-metric-card p { margin: 0; color: #94a3b8; font-size: 0.78rem; }
.visitor-metric { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.42rem 0; border-top: 1px solid #eef2f7; color: #64748b; font-size: 0.76rem; }
.visitor-metric strong { color: #111827; }
.visitor-daily-card { margin-top: 0.9rem; }
.visitor-recent-card { margin-top: 0.9rem; }
.visitor-recent-scroll { max-height: 520px; overflow-y: auto; }
.visitor-recent-scroll thead th { position: sticky; top: 0; z-index: 1; background: #f8fafc; }

@media (max-width: 900px) {
  .visitor-stats, .visitor-analytics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .visitor-stats, .visitor-analytics-grid { grid-template-columns: 1fr; }
  .admin-index-heading { align-items: flex-start; flex-direction: column; }
}

.admin-index-heading .btn {
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 750;
}

.admin-index-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.admin-index-stats article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #e4e9f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
}

.admin-stat-icon {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.admin-stat-icon-total {
  background: #eef2ff;
  color: #4f46e5;
}

.admin-stat-icon-active {
  background: #eff6ff;
  color: #2563eb;
}

.admin-stat-icon-complete {
  background: #ecfdf5;
  color: #059669;
}

.admin-index-stats small,
.admin-index-stats strong {
  display: block;
}

.admin-index-stats small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 700;
}

.admin-index-stats strong {
  margin-top: 0.1rem;
  color: #172033;
  font-size: 1.2rem;
  font-weight: 850;
}

.admin-index-filter-card,
.admin-index-table-card {
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

.admin-index-filter-card {
  margin-bottom: 1rem;
  padding: 0.85rem;
}

.admin-index-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfe5ed;
  border-radius: 10px;
  background: #fbfcfe;
}

.admin-index-search > i {
  margin-left: 0.9rem;
  color: #94a3b8;
}

.admin-index-search input {
  min-width: 0;
  height: 42px;
  padding: 0 0.8rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font-size: 0.75rem;
}

.admin-index-search button {
  align-self: stretch;
  min-width: 72px;
  border: 0;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-index-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.admin-index-filters button {
  padding: 0.42rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f1f4f8;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 750;
}

.admin-index-filters button:hover {
  color: #4338ca;
}

.admin-index-filters button.active {
  border-color: #4f46e5;
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.2);
}

.admin-index-table-card {
  overflow: hidden;
}

.admin-index-table-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e7ebf1;
}

.admin-index-table-caption strong,
.admin-index-table-caption span {
  display: block;
}

.admin-index-table-caption strong {
  color: #172033;
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-index-table-caption span {
  margin-top: 0.12rem;
  color: #94a3b8;
  font-size: 0.62rem;
}

.admin-index-table-caption b {
  color: #4f46e5;
}

.admin-index-crypto-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6d28d9;
  font-size: 0.68rem;
  font-weight: 750;
}

.admin-index-table-scroll {
  overflow-x: auto;
}

.admin-index-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

.admin-index-table th,
.admin-index-table td {
  padding: 0.75rem 0.7rem;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
}

.admin-index-table th {
  background: #f8fafc;
  color: #697386;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-index-table td {
  color: #334155;
  font-size: 0.68rem;
}

.admin-index-table tbody tr:hover {
  background: #fafbff;
}

.admin-index-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-index-table strong,
.admin-index-table small {
  display: block;
}

.admin-index-table strong {
  color: #253046;
  font-size: 0.69rem;
  font-weight: 700;
}

.admin-index-table small {
  margin-top: 0.12rem;
  color: #8a94a6;
  font-size: 0.58rem;
}

.admin-index-case-code {
  color: #3730a3;
  font-weight: 850;
  white-space: nowrap;
}

.admin-index-case-code:hover {
  color: #db2777;
}

.admin-index-stage,
.admin-index-payment {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-index-stage {
  border: 1px solid #bae6fd;
  background: #e0f2fe;
  color: #0369a1;
}

.admin-index-payment {
  border: 1px solid #fde68a;
  background: #fef9c3;
  color: #a16207;
}

.admin-index-date {
  color: #64748b !important;
  font-size: 0.62rem !important;
  white-space: nowrap;
}

.admin-index-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.admin-index-actions a,
.admin-index-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #eef2ff;
  color: #4f46e5;
}

.admin-index-actions a.edit {
  background: #ecfeff;
  color: #0891b2;
}

.admin-index-actions button.delete {
  background: #fff1f2;
  color: #e11d48;
}

.admin-index-actions a:hover,
.admin-index-actions button:hover {
  background: #4f46e5;
  color: #fff;
}

.admin-index-actions button.delete:hover {
  background: #e11d48;
  color: #fff;
}

.admin-delete-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.admin-delete-modal .modal-body {
  padding: 1.7rem 1.7rem 1.2rem;
  text-align: center;
}

.admin-delete-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: #fff1f2;
  color: #e11d48;
  font-size: 1.35rem;
}

.admin-delete-modal h2 {
  margin: 0 0 0.65rem;
  color: #172033;
  font-size: 1.15rem;
  font-weight: 850;
}

.admin-delete-modal p {
  margin: 0 auto 1rem;
  max-width: 430px;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.65;
}

.admin-delete-modal p strong {
  color: #312e81;
}

.admin-delete-modal-customer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e7ebf1;
  border-radius: 10px;
  background: #f8fafc;
  text-align: left;
}

.admin-delete-modal-customer span {
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-delete-modal-customer strong {
  color: #334155;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: right;
}

.admin-delete-modal-warning {
  padding: 0.75rem 0.9rem;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  background: #fff1f2;
  color: #9f1239;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.55;
  text-align: left;
}

.admin-delete-modal .modal-footer {
  gap: 0.5rem;
  padding: 1rem 1.7rem 1.35rem;
  border-top: 1px solid #edf0f4;
}

.admin-delete-modal .modal-footer .btn {
  min-width: 130px;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-index-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2.5rem 1rem;
  color: #94a3b8;
  text-align: center;
}

.admin-index-empty i {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.admin-index-empty strong {
  color: #475569;
  font-size: 0.82rem;
}

.admin-index-empty span {
  font-size: 0.68rem;
}

.admin-case-container {
  max-width: 1520px;
  margin: 0 auto;
}

.admin-case-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-case-toolbar > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
}

.admin-case-toolbar-label {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-case-toolbar strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.admin-case-toolbar .btn {
  border-radius: 10px;
  font-weight: 700;
  padding: 0.65rem 1rem;
}

.admin-case-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 174px;
  margin-bottom: 1.4rem;
  padding: 2rem 2.25rem;
  border-radius: 22px;
  background: linear-gradient(118deg, #173ea5 0%, #5b21b6 48%, #db2777 100%);
  box-shadow: 0 24px 60px rgba(49, 46, 129, 0.2);
  color: #fff;
}

.admin-case-hero::before,
.admin-case-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.admin-case-hero::before {
  width: 280px;
  height: 280px;
  top: -190px;
  right: 18%;
}

.admin-case-hero::after {
  width: 190px;
  height: 190px;
  right: -70px;
  bottom: -115px;
}

.admin-case-hero-copy,
.admin-case-hero-statuses {
  position: relative;
  z-index: 1;
}

.admin-case-hero-kicker {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-case-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.admin-case-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.admin-case-identity span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-case-identity i {
  color: rgba(255, 255, 255, 0.68);
}

.admin-case-hero-statuses {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.admin-case-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 320px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  color: #172554;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: right;
}

.admin-case-status-chip-payment {
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
}

.admin-recovery-warning {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 320px;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: right;
}

.admin-recovery-warning-normal { background: #dcfce7; color: #166534; }
.admin-recovery-warning-caution { background: #fef3c7; color: #92400e; }
.admin-recovery-warning-critical {
  background: #fee2e2;
  color: #b91c1c;
  animation: recovery-warning-pulse 1s ease-in-out infinite;
}

@keyframes recovery-warning-pulse {
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.16); opacity: 0.7; }
}

.admin-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  align-items: start;
  gap: 1.4rem;
}

.admin-case-main,
.admin-case-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
}

.admin-workflow-card,
.admin-side-card,
.admin-case-save-card {
  border-color: rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
}

.admin-workflow-card {
  padding: 1.55rem;
}

.admin-card-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8edf4;
}

.admin-card-heading h2,
.admin-detail-card .admin-card-heading h2:not(:first-child) {
  margin: 0;
  padding: 0;
  border: 0;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 850;
}

.admin-card-heading p {
  margin: 0.2rem 0 0;
  color: #718096;
  font-size: 0.78rem;
  line-height: 1.4;
}

.admin-card-icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.05rem;
}

.admin-card-icon-customer {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.admin-card-icon-device {
  background: linear-gradient(135deg, #4338ca, #7c3aed);
}

.admin-card-icon-diagnosis {
  background: linear-gradient(135deg, #db2777, #f43f5e);
}

.admin-card-icon-price {
  background: linear-gradient(135deg, #059669, #22c55e);
}

.admin-card-icon-operation {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.admin-card-icon-approval {
  background: linear-gradient(135deg, #0891b2, #14b8a6);
}

.admin-workflow-card .form-label {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 750;
  margin-bottom: 0.45rem;
}

.admin-workflow-card .form-control,
.admin-workflow-card .form-select,
.admin-workflow-card .input-group-text {
  border-color: #dbe3ee;
  border-radius: 10px;
}

.admin-workflow-card .form-control,
.admin-workflow-card .form-select {
  background-color: #fbfdff;
}

.admin-workflow-card .form-control:focus,
.admin-workflow-card .form-select:focus {
  background-color: #fff;
  border-color: #818cf8;
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.12);
}

.admin-workflow-card .admin-diagnosis-section {
  background: #f8fafc;
  border-color: #e5eaf1;
}

.admin-side-card {
  padding: 1.35rem;
}

.admin-side-card h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: #172033;
}

.admin-side-card h2::before {
  content: "";
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f46e5, #ec4899);
}

.admin-side-card .btn {
  border-radius: 10px;
  font-weight: 750;
}

.admin-case-summary-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.admin-case-summary-list > div {
  padding: 0.8rem 0.9rem;
  border: 1px solid #e7ebf2;
  border-radius: 11px;
  background: #f8fafc;
}

.admin-case-summary-list > div:nth-child(1) {
  background: #eff6ff;
}

.admin-case-summary-list > div:nth-child(2) {
  background: #f0fdf4;
}

.admin-case-summary-list > div:nth-child(3) {
  background: #faf5ff;
}

.admin-case-summary-list > div:nth-child(4) {
  background: #fffbeb;
}

.admin-case-summary-list dt {
  margin-bottom: 0.18rem;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-case-summary-list dd {
  margin: 0;
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 750;
}

.admin-case-save-card {
  position: sticky;
  z-index: 20;
  bottom: 1rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.admin-case-save-card .btn {
  min-width: 150px;
  border-radius: 10px;
  font-weight: 800;
}

.admin-login-card h1,
.admin-toolbar h1 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0.25rem 0 1rem;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-toolbar p {
  color: var(--muted);
  margin: 0;
}

.admin-back-link {
  color: var(--primary);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.admin-table-shell {
  overflow-x: auto;
  padding: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-table td {
  font-size: 0.9rem;
}

.admin-table small {
  color: var(--muted);
  display: block;
  margin-top: 0.25rem;
}

.admin-customer-link {
  color: var(--dark);
  font-weight: 800;
}

.admin-customer-link:hover {
  color: var(--primary);
}

.admin-stage-badge,
.admin-payment-badge {
  display: inline-flex;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
}

.admin-stage-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.admin-payment-badge {
  background: #fef3c7;
  color: #92400e;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.25rem;
}

.admin-detail-card h2 {
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
}

.admin-detail-card h2:not(:first-child) {
  margin-top: 1.75rem;
}

.admin-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-form-actions {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.admin-offer-modal .modal-body {
  background: #f8fafc;
  padding: 0.75rem;
}

.admin-offer-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: block;
  height: min(72vh, 820px);
  width: 100%;
}

.admin-diagnosis-section {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.admin-form-grid,
.admin-price-grid {
  display: grid;
  gap: 1rem;
  margin-left: 0;
  margin-right: 0;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-price-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}

.admin-form-grid > *,
.admin-price-grid > * {
  flex: initial;
  margin-top: 0;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

.admin-form-grid > .col-12,
.admin-form-grid > .admin-field-wide {
  grid-column: 1 / -1;
}

.admin-form-grid > .col-md-6 {
  grid-column: span 1;
}

.admin-form-grid > .admin-diagnosis-a1,
.admin-form-grid > .admin-diagnosis-recovery {
  grid-column: 1 / 2;
}

.admin-form-grid > .admin-diagnosis-offer-price,
.admin-form-grid > .admin-diagnosis-by {
  grid-column: 2 / 3;
}

.admin-price-grid > .col-md-4 {
  grid-column: span 4;
}

.admin-price-grid > .col-md-6 {
  grid-column: span 6;
}

.admin-price-grid > .col-12 {
  grid-column: 1 / -1;
}

.admin-form-grid .form-label,
.admin-price-grid .form-label {
  color: #020617;
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.admin-form-grid .form-control,
.admin-form-grid .form-select,
.admin-price-grid .form-control,
.admin-price-grid .form-select {
  border-color: #d6dbe3;
  border-radius: 12px;
  min-height: 3.35rem;
}

.admin-price-grid .admin-inline-check {
  align-self: end;
}

.admin-form-grid > .admin-diagnosis-a1 {
  align-self: end;
}

.admin-form-grid > .admin-diagnosis-a1::before {
  content: "";
  display: block;
  height: calc(1.35em + 0.55rem);
}

.admin-inline-check {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
}

.admin-inline-check .form-check-input {
  flex: 0 0 auto;
  margin: 0;
}

.admin-inline-check .form-check-label {
  line-height: 1.35;
}

.admin-warning-check {
  border-color: rgba(245, 158, 11, 0.32);
  background: #fffbeb;
}

.shipment-email-preview {
  min-height: 680px;
}

.shipment-password-field {
  background: #fff7f6;
  color: #7f1d1d;
  font-family: Consolas, "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.admin-conditional-field {
  display: none;
}

.admin-conditional-field.active {
  display: block;
}

.diagnosis-textarea {
  min-height: 180px;
  line-height: 1.65;
}

.admin-history-list {
  display: grid;
  gap: 0.75rem;
}

.admin-history-list div {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}

.admin-history-list strong,
.admin-history-list span {
  display: block;
}

.admin-history-list span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.admin-history-list p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0.45rem 0 0;
}

.legal-content h2 {
  margin-top: 1.9rem;
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
}

.legal-content ul {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Wizard nav buttons row */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.wizard-nav .btn-outline-secondary {
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-color: var(--border);
  color: var(--dark);
}

.wizard-nav .btn-outline-secondary:hover {
  background: var(--surface-soft);
  border-color: var(--muted);
}

@media (max-width: 991.98px) {
  .admin-app-sidebar {
    width: min(82vw, 280px);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }

  .admin-app-shell.sidebar-open .admin-app-sidebar {
    transform: translateX(0);
  }

  .admin-app-workspace {
    margin-left: 0;
  }

  .admin-app-menu-toggle {
    display: inline-flex;
  }

  .admin-app-backdrop {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .admin-app-shell.sidebar-open .admin-app-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 1099.98px) {
  .admin-case-layout {
    grid-template-columns: 1fr;
  }

  .admin-case-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .admin-app-topbar {
    min-height: 62px;
    padding: 0.6rem 0.85rem;
  }

  .admin-app-topbar-site span {
    display: none;
  }

  .admin-app-content {
    min-height: calc(100vh - 62px);
  }

  .admin-index-page {
    padding: 1rem 0.8rem;
  }

  .admin-index-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-index-heading .btn {
    width: 100%;
  }

  .admin-index-stats {
    grid-template-columns: 1fr;
  }

  .admin-index-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-index-search button {
    grid-column: 1 / -1;
    min-height: 38px;
  }

  .admin-index-table-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-case-container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .admin-case-toolbar,
  .admin-case-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-case-toolbar .btn {
    width: 100%;
  }

  .admin-case-hero {
    min-height: 0;
    padding: 1.5rem;
    border-radius: 16px;
  }

  .admin-case-identity,
  .admin-case-hero-statuses {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .admin-case-status-chip {
    justify-content: flex-start;
    max-width: none;
    text-align: left;
  }

  .admin-case-main,
  .admin-case-sidebar {
    display: flex;
  }

  .admin-workflow-card,
  .admin-side-card {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .admin-card-heading {
    align-items: flex-start;
  }

  .admin-case-save-card {
    bottom: 0.5rem;
  }

  .admin-case-save-card .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .wizard-step-label {
    display: none;
  }

  .wizard-step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .device-select-layout {
    grid-template-columns: 1fr;
  }

  .device-choice-grid {
    grid-template-columns: 1fr;
  }

  .diagnosis-choice-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid,
  .admin-price-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid > *,
  .admin-price-grid > *,
  .admin-form-grid > .col-md-6,
  .admin-form-grid > .admin-diagnosis-a1,
  .admin-form-grid > .admin-diagnosis-recovery,
  .admin-form-grid > .admin-diagnosis-offer-price,
  .admin-form-grid > .admin-diagnosis-by,
  .admin-price-grid > .col-md-4,
  .admin-price-grid > .col-md-6 {
    grid-column: 1 / -1;
  }

  .admin-form-grid > .admin-diagnosis-a1::before {
    display: none;
  }

  .request-overview-card {
    grid-template-columns: 1fr;
  }

  .request-overview-block,
  .request-overview-costs {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .request-overview-costs {
    margin-top: 0;
  }

  .radio-card {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .price-badge {
    margin-left: 2.5rem;
    font-size: 0.72rem;
  }

  .wizard-nav {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .wizard-nav > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .portal-shell,
  .portal-case-header {
    grid-template-columns: 1fr;
  }

  .portal-login-panel,
  .portal-status-panel {
    padding: 1.25rem;
  }

  .admin-toolbar,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    flex-direction: column;
  }
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 1.75rem;
  min-width: 10.4rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 2px;
  background: #fff;
}

.language-select {
  width: 100%;
  border: 0;
  background: transparent;
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  outline: 0;
  cursor: pointer;
}

.language-flag {
  position: relative;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 0.9rem;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  line-height: 1;
}

.language-flag-nl {
  background: linear-gradient(to bottom, #ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66% 100%);
}

.language-flag-tr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23e30a17'/%3E%3Ccircle cx='12.4' cy='10' r='5.2' fill='%23fff'/%3E%3Ccircle cx='14' cy='10' r='4.15' fill='%23e30a17'/%3E%3Cpolygon fill='%23fff' points='19.75,10 17.55,10.68 17.57,8.38 16.22,10.24 14.04,9.5 15.39,11.36 14.01,13.2 16.2,12.5 17.51,14.39 17.53,12.09' transform='rotate(-18 17 11)'/%3E%3C/svg%3E");
}

.language-flag-tr::before {
  content: none;
}

.language-flag-tr::after {
  content: none;
}

.language-flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23fff' stroke-width='13'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23C8102E' stroke-width='8'/%3E%3C/svg%3E");
}

.language-flag-de {
  background: linear-gradient(to bottom, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.language-flag-fr {
  background: linear-gradient(to right, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66% 100%);
}

@media (max-width: 1199.98px) {
  .language-switcher {
    margin-top: 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .language-switcher {
    width: 100%;
    min-width: 0;
  }
}

/* Sumuri-inspired home template */
:root {
  --template-yellow: #ffcc00;
  --template-charcoal: #282b33;
  --template-black: #000;
  --template-gray: #45484f;
}

.site-header-template {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--template-charcoal);
}

.site-header-template .nav-shell {
  position: static;
  background: var(--template-charcoal);
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header-template .navbar {
  min-height: 92px;
  padding: 0;
}

.site-header-template .brand-logo {
  color: #fff;
  min-width: 210px;
}

.site-header-template .brand-logo:hover {
  color: #fff;
}

.site-header-template .brand-logo strong {
  color: #fff;
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.site-header-template .brand-logo small {
  color: var(--template-yellow);
  font-size: 0.75rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.site-header-template .brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 4px 16px 16px 4px;
  background: var(--template-yellow);
  color: #050505;
  box-shadow: none;
  position: relative;
}

.site-header-template .brand-mark::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 8px;
  width: 8px;
  height: 38px;
  border-radius: 0 8px 8px 0;
  background: var(--template-yellow);
}

.site-header-template .brand-logo-image {
  width: 210px;
  height: 74px;
}

.site-header-template .main-navigation {
  align-items: center;
  margin-left: auto;
}

.site-header-template .main-navigation .nav-link {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 1rem 0.85rem !important;
}

.site-header-template .main-navigation .nav-link:hover,
.site-header-template .main-navigation .nav-link:focus,
.site-header-template .navbar .dropdown-toggle::after {
  color: var(--template-yellow);
}

.site-header-template .mega-menu {
  border-radius: 8px;
  width: 760px;
  max-width: calc(100vw - 2rem);
}

.template-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
  white-space: nowrap;
}

.template-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 4px;
  padding: 0.72rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
}

.template-action-button.secondary {
  background: var(--template-gray);
}

.template-action-button.crypto {
  background: #0d5795;
}

.template-action-button.primary {
  background: var(--template-yellow);
  color: #050505;
}

.template-action-button:hover {
  background: #fff;
  color: #050505;
}

.mobile-menu-button {
  color: var(--template-yellow);
}

.home-template-hero {
  position: relative;
  padding: 0;
  background: var(--template-black);
  overflow: hidden;
}

.home-template-hero .container-fluid,
.home-template-hero .hero-carousel,
.home-template-hero .carousel-inner,
.home-template-hero .carousel-item,
.home-template-hero .hero-slide {
  min-height: calc(100vh - 92px);
}

.home-template-hero .hero-slide {
  display: flex;
  align-items: center;
  position: relative;
  padding: 5rem 0 7rem;
  border-radius: 0;
  background: transparent !important;
  color: #fff;
  overflow: hidden;
}

.hero-dot-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  opacity: 0.33;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.72) 0 4px, transparent 5px),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px);
  background-size: 46px 46px, 92px 92px;
  background-position: -16px 0, 18px 22px;
  transform: perspective(760px) rotateX(58deg) rotateZ(8deg) translate(-18%, -4%);
  transform-origin: left top;
  pointer-events: none;
}

.home-template-hero .hero-slide-image-wrap {
  position: relative;
  overflow: visible;
  max-width: min(100%, 680px);
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  isolation: isolate;
}

.home-template-hero .hero-slide-image-wrap::before {
  content: "";
  position: absolute;
  inset: 7% 0 2%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 66% 52%, rgba(30, 132, 255, 0.3) 0%, rgba(30, 132, 255, 0.12) 32%, transparent 66%),
    radial-gradient(ellipse at 48% 76%, rgba(255, 208, 0, 0.14) 0%, transparent 52%);
  filter: blur(34px);
  opacity: 0.9;
  transform: scale(1.04);
}

.home-template-hero .hero-slide-image-wrap::after {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--template-black) 0%, transparent 16%, transparent 84%, var(--template-black) 100%),
    linear-gradient(180deg, var(--template-black) 0%, transparent 18%, transparent 82%, var(--template-black) 100%);
  opacity: 0.46;
  mix-blend-mode: multiply;
}

.home-template-hero .hero-slide-img {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.94;
  mix-blend-mode: screen;
  filter: saturate(0.92) contrast(0.92) brightness(1.02) drop-shadow(0 30px 46px rgba(0, 0, 0, 0.42));
  -webkit-mask-image: radial-gradient(ellipse at 58% 54%, #000 0%, #000 54%, rgba(0, 0, 0, 0.74) 68%, rgba(0, 0, 0, 0.22) 82%, transparent 96%);
  mask-image: radial-gradient(ellipse at 58% 54%, #000 0%, #000 54%, rgba(0, 0, 0, 0.74) 68%, rgba(0, 0, 0, 0.22) 82%, transparent 96%);
}

.home-template-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.home-template-hero .hero-kicker {
  color: var(--template-yellow);
  letter-spacing: 0.08rem;
  margin-bottom: 1rem;
}

.home-template-hero .hero-slide h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.home-template-hero .hero-slide h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.55rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.home-template-hero .hero-slide p {
  color: #fff;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.3;
  max-width: 680px;
  margin: 0 auto;
}

.home-template-hero .hero-actions {
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.home-template-hero .hero-actions .btn {
  min-width: 150px;
  border-radius: 3px;
  padding: 0.82rem 1.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: none;
}

.home-template-hero .btn-danger,
.site-header-template .btn-danger,
.template-footer .newsletter-form button {
  background: var(--template-yellow);
  border: 1px solid var(--template-yellow);
  color: #050505;
}

.home-template-hero .btn-danger:hover,
.template-footer .newsletter-form button:hover {
  background: #fff;
  border-color: #fff;
  color: #050505;
}

.home-template-hero .btn-outline-light {
  background: var(--template-gray);
  border-color: var(--template-gray);
  color: #fff;
}

.home-template-hero .btn-outline-light:hover {
  background: #5c6068;
  border-color: #5c6068;
  color: #fff;
}

.home-template-hero .carousel-control-prev,
.home-template-hero .carousel-control-next {
  width: 56px;
  opacity: 0.9;
}

.section-heading span,
.service-card span,
.blog-card a,
.stat-card strong {
  color: #d7a900;
}

.service-card i {
  background: var(--template-charcoal);
  color: var(--template-yellow);
}

.template-footer {
  background: var(--template-black);
  color: #fff;
  padding: 3.4rem 0 0;
}

.template-footer .container {
  max-width: 1360px;
}

.template-footer .row {
  justify-content: space-between;
}

.template-footer .row > .col-lg-4:first-child {
  flex: 0 0 31%;
  max-width: 31%;
}

.template-footer .row > .col-lg-4:nth-child(2) {
  flex: 0 0 45%;
  max-width: 45%;
}

.template-footer .row > .col-lg-4:nth-child(3) {
  flex: 0 0 18%;
  max-width: 18%;
}

.template-footer h5,
.template-footer h6,
.template-footer p,
.template-footer li,
.template-footer a {
  color: #fff;
}

.template-footer-brand {
  align-items: flex-start;
}

.footer-logo-image {
  width: 150px;
  height: 92px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  margin-top: -0.7rem;
}

.template-footer .brand-mark {
  background: var(--template-yellow);
  color: #050505;
  box-shadow: none;
}

.template-footer .footer-contact li {
  margin-bottom: 0.55rem;
}

.template-footer .footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.template-footer .footer-contact i,
.template-footer .social-links i {
  color: var(--template-yellow);
}

.template-footer .social-links {
  margin-top: 1.7rem;
}

.template-footer .social-links a {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  font-size: 1.1rem;
  gap: 0.65rem;
}

.template-footer .footer-sitemap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.template-footer .footer-sitemap > div {
  min-width: 0;
}

.template-footer .footer-sitemap h6 {
  margin-bottom: 0.7rem;
}

.template-footer .footer-sitemap h6 a {
  font-weight: 700;
  color: #fff;
}

.template-footer .footer-sitemap a,
.template-footer .footer-links a {
  color: #fff;
}

.template-footer .footer-sitemap div > a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.35;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.template-footer .footer-sitemap a:hover,
.template-footer .footer-links a:hover {
  color: var(--template-yellow);
}

.newsletter-form {
  display: flex;
  margin: 1.1rem 0 1rem;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 0;
  padding: 0 0.8rem;
}

.newsletter-form button {
  height: 36px;
  border-radius: 0;
  padding: 0 1.2rem;
  font-size: 0.86rem;
}

.footer-action-list {
  display: grid;
  gap: 0.65rem;
}

.footer-action-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  color: #fff;
}

.footer-action-list i {
  color: var(--template-yellow);
  width: 18px;
  text-align: center;
}

.template-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.footer-legal-links {
  justify-content: center;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  text-align: center;
}

.template-footer-links a {
  display: inline;
  margin: 0;
}

.template-footer-links a:not(:last-child)::after {
  content: "|";
  color: #fff;
  margin-left: 0.5rem;
}

.template-footer-bottom {
  margin-top: 3.8rem;
  padding: 0.85rem 1rem;
  background: #070707;
  border-top: 0;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1399.98px) {
  .site-header-template .navbar-collapse {
    padding: 1rem 0;
  }

  .site-header-template .main-navigation {
    align-items: flex-start;
  }

  .site-header-template .mega-menu {
    width: 100%;
    max-width: none;
  }

  .template-header-actions {
    margin-left: 0;
    margin-top: 0.8rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 1199.98px) {
  .site-header-template .navbar-collapse {
    padding: 1rem 0;
  }

  .site-header-template .main-navigation {
    align-items: flex-start;
  }

  .site-header-template .mega-menu {
    width: 100%;
    max-width: none;
  }

  .template-header-actions {
    margin-left: 0;
    margin-top: 0.8rem;
    flex-wrap: wrap;
  }

  .template-footer .footer-sitemap {
    grid-template-columns: 1fr;
  }

  .template-footer .row > .col-lg-4:first-child,
  .template-footer .row > .col-lg-4:nth-child(2),
  .template-footer .row > .col-lg-4:nth-child(3) {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .home-template-hero .container-fluid,
  .home-template-hero .hero-carousel,
  .home-template-hero .carousel-inner,
  .home-template-hero .carousel-item,
  .home-template-hero .hero-slide {
    min-height: auto;
  }

  .home-template-hero .hero-slide {
    padding: 3.5rem 0 4.5rem;
  }

  .home-template-hero .hero-slide-img {
    width: min(108%, 620px);
    max-height: 330px;
  }
}

@media (max-width: 767.98px) {
  .site-header-template .navbar {
    min-height: 74px;
  }

  .site-header-template .brand-logo {
    min-width: auto;
  }

  .template-header-actions {
    flex-wrap: wrap;
  }

  .home-template-hero .hero-actions {
    align-items: stretch !important;
    gap: 0.8rem;
    width: 100%;
  }

  .home-template-hero .hero-actions .btn {
    width: 100%;
  }

  .hero-dot-field {
    width: 150%;
    opacity: 0.22;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* Database recovery detail page */
.database-hero .page-hero-content {
  background: linear-gradient(135deg, #0b111d 0%, #1b2d4c 48%, #d62839 100%);
}

.database-article {
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.database-article .container {
  display: grid;
  gap: 1.6rem;
}

.database-article .content-panel {
  border-radius: 14px;
}

.database-article h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.database-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.database-article p {
  color: #334155;
  line-height: 1.78;
}

.database-intro {
  border-left: 5px solid var(--primary);
}

.database-image-panel {
  margin: 0;
  background: #050505;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.database-image-panel img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.database-image-panel--side {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.database-image-panel--side img {
  object-fit: contain;
}

.database-feature-grid,
.database-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.database-feature-grid div,
.database-methods article {
  background: #f8fafc;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.database-feature-grid div::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  margin-right: 0.65rem;
}

.database-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
  margin: 1.2rem 0 0;
}

.database-list li {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: #334155;
}

.database-steps {
  counter-reset: db-step;
  display: grid;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.database-steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.3rem;
  background: #f8fafc;
  border-radius: 12px;
  color: #334155;
}

.database-steps li::before {
  counter-increment: db-step;
  content: counter(db-step);
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.database-cta {
  text-align: center;
  background: linear-gradient(135deg, #0c1830 0%, #1f3d6c 60%, #d62839 100%);
  color: #fff;
  border: 0;
}

.database-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 991.98px) {
  .database-feature-grid,
  .database-methods {
    grid-template-columns: 1fr;
  }
}

/* Crypto forensics landing page */
.crypto-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050b17;
}

.crypto-hero-image,
.crypto-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.crypto-hero-image {
  object-fit: cover;
  object-position: center;
}

.crypto-hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 10, 23, 0.98) 0%, rgba(4, 10, 23, 0.9) 37%, rgba(4, 10, 23, 0.32) 68%, rgba(4, 10, 23, 0.12) 100%),
    linear-gradient(0deg, rgba(4, 10, 23, 0.75) 0%, transparent 45%);
}

.crypto-hero-content {
  position: relative;
  z-index: 2;
}

.crypto-hero-copy {
  max-width: 720px;
  padding: 5.5rem 0;
}

.crypto-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.crypto-eyebrow--dark {
  color: #1769aa;
}

.crypto-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.65rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.crypto-hero-copy > p {
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 680px;
}

.crypto-hero-actions,
.crypto-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.crypto-hero-actions .btn,
.crypto-button-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.8rem 1.45rem;
  font-weight: 700;
}

.crypto-hero-actions .crypto-portal-button {
  background: var(--template-yellow);
  border: 1px solid var(--template-yellow);
  color: #050505;
  box-shadow: none;
}

.crypto-hero-actions .crypto-portal-button:hover {
  background: #fff;
  border-color: #fff;
  color: #050505;
}

.crypto-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.crypto-button-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.crypto-hero-safety {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.8rem;
  margin-top: 2rem;
}

.crypto-hero-safety i {
  color: #38bdf8;
}

.crypto-safety-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #64748b;
}

.crypto-trust-strip {
  background: #081326;
  border-top: 1px solid rgba(125, 211, 252, 0.12);
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
}

.crypto-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.crypto-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.35rem;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.crypto-trust-item:last-child {
  border-right: 0;
}

.crypto-trust-item > i {
  color: #38bdf8;
  font-size: 1.05rem;
  margin-top: 0.15rem;
}

.crypto-trust-item strong,
.crypto-trust-item span {
  display: block;
}

.crypto-trust-item strong {
  color: #f8fafc;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.crypto-trust-item span {
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.5;
}

.crypto-section {
  padding: 6rem 0;
}

.crypto-portal-section,
.crypto-evidence-section {
  background: #f5f8fc;
}

.crypto-portal-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.crypto-portal-copy {
  padding: clamp(2rem, 4vw, 4rem);
}

.crypto-portal-copy h2,
.crypto-section-heading h2,
.crypto-evidence-section h2,
.crypto-final-cta h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}

.crypto-lead,
.crypto-section-heading > p {
  color: #526175;
  line-height: 1.75;
  font-size: 1rem;
}

.crypto-portal-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.7rem 0;
}

.crypto-portal-status > div {
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: #f8fafc;
}

.crypto-portal-status span,
.crypto-portal-status strong {
  display: block;
}

.crypto-portal-status span {
  color: #748196;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.crypto-portal-status strong {
  color: #12233f;
  font-size: 0.88rem;
}

.crypto-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f67ad;
  font-weight: 700;
}

.crypto-pilot-notice,
.crypto-credit-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 1.2rem;
}

.crypto-pilot-notice i,
.crypto-credit-notice i {
  color: #0f67ad;
  margin-top: 0.2rem;
}

.crypto-portal-visual {
  min-height: 100%;
  background: #071325;
}

.crypto-portal-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.crypto-portal-features {
  margin-top: 3.5rem;
}

.crypto-portal-features > h3 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.crypto-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.crypto-feature-card,
.crypto-service-card,
.crypto-credit-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.crypto-feature-icon,
.crypto-service-icon,
.crypto-credit-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #0e2d55, #0f7bc5);
  box-shadow: 0 10px 22px rgba(15, 103, 173, 0.22);
  margin-bottom: 1rem;
}

.crypto-feature-card h4,
.crypto-service-card h3,
.crypto-credit-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.crypto-feature-card p,
.crypto-service-card p,
.crypto-credit-card p {
  color: #64748b;
  font-size: 0.87rem;
  line-height: 1.65;
  margin: 0;
}

.crypto-section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.crypto-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.crypto-service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.crypto-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 103, 173, 0.28);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
}

.crypto-service-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #0f67ad;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 1rem;
}

.crypto-process-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(14, 116, 194, 0.24), transparent 28%),
    linear-gradient(145deg, #050b17, #0b1c35 65%, #10284b);
}

.crypto-section-heading--light h2 {
  color: #fff;
}

.crypto-section-heading--light p {
  color: #aebbd0;
}

.crypto-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.crypto-process-card {
  position: relative;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.crypto-process-card > span {
  display: block;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1.6rem;
}

.crypto-process-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.crypto-process-card p {
  color: #9eacc1;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}

.crypto-evidence-image {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.crypto-evidence-image img {
  width: 100%;
  min-height: 470px;
  object-fit: cover;
  display: block;
}

.crypto-evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.crypto-evidence-list article {
  display: flex;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.crypto-evidence-list i {
  color: #0f67ad;
  margin-top: 0.2rem;
}

.crypto-evidence-list strong,
.crypto-evidence-list span {
  display: block;
}

.crypto-evidence-list strong {
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.crypto-evidence-list span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}

.crypto-credit-section {
  background: #fff;
}

.crypto-credit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.crypto-credit-card {
  position: relative;
  padding: 2rem;
}

.crypto-credit-card.featured {
  color: #fff;
  background: linear-gradient(145deg, #08162b, #12335c);
  border-color: transparent;
  transform: translateY(-10px);
  box-shadow: 0 28px 65px rgba(8, 22, 43, 0.25);
}

.crypto-credit-card.featured h3 {
  color: #fff;
}

.crypto-credit-card.featured p,
.crypto-credit-card.featured li {
  color: #b9c6d8;
}

.crypto-credit-badge {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  border-radius: 999px;
  background: #d5a743;
  color: #071021;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-credit-label {
  display: block;
  color: #0f67ad;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.crypto-credit-card.featured .crypto-credit-label {
  color: #7dd3fc;
}

.crypto-credit-card ul {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
}

.crypto-credit-card li {
  display: flex;
  gap: 0.55rem;
  color: #526175;
  font-size: 0.84rem;
  padding: 0.42rem 0;
}

.crypto-credit-card li i {
  color: #17a164;
  margin-top: 0.15rem;
}

.crypto-credit-notice {
  max-width: 860px;
  margin: 1.8rem auto 0;
  justify-content: center;
  text-align: center;
}

.crypto-final-cta {
  padding: 0 0 6rem;
  background: #fff;
}

.crypto-final-cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(214, 40, 57, 0.38), transparent 28%),
    linear-gradient(135deg, #071021, #102a4f);
  box-shadow: 0 28px 65px rgba(7, 16, 33, 0.22);
}

.crypto-final-cta h2 {
  color: #fff;
}

.crypto-final-cta p {
  color: #b9c6d8;
  max-width: 720px;
  line-height: 1.7;
  margin: 0;
}

.crypto-final-actions {
  min-width: max-content;
  margin-top: 0;
}

@media (max-width: 1199.98px) {
  .crypto-trust-grid,
  .crypto-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-trust-item:nth-child(2) {
    border-right: 0;
  }

  .crypto-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .crypto-hero {
    min-height: 620px;
  }

  .crypto-hero-image {
    object-position: 68% center;
  }

  .crypto-portal-shell {
    grid-template-columns: 1fr;
  }

  .crypto-portal-visual {
    order: -1;
  }

  .crypto-portal-visual img {
    min-height: 360px;
  }

  .crypto-service-grid,
  .crypto-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-credit-card.featured {
    transform: none;
  }

  .crypto-final-cta-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .crypto-final-actions {
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .crypto-hero {
    min-height: 680px;
    align-items: flex-end;
  }

  .crypto-hero-image {
    object-position: 72% center;
  }

  .crypto-hero-overlay {
    background: linear-gradient(0deg, rgba(4, 10, 23, 0.99) 0%, rgba(4, 10, 23, 0.82) 68%, rgba(4, 10, 23, 0.38) 100%);
  }

  .crypto-hero-copy {
    padding: 8rem 0 3rem;
  }

  .crypto-hero h1 {
    font-size: 2.35rem;
  }

  .crypto-section {
    padding: 4rem 0;
  }

  .crypto-trust-grid,
  .crypto-feature-grid,
  .crypto-service-grid,
  .crypto-process-grid,
  .crypto-credit-grid,
  .crypto-evidence-list,
  .crypto-portal-status {
    grid-template-columns: 1fr;
  }

  .crypto-trust-item,
  .crypto-trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .crypto-trust-item:last-child {
    border-bottom: 0;
  }

  .crypto-portal-copy {
    padding: 1.6rem;
  }

  .crypto-portal-visual img {
    min-height: 250px;
  }

  .crypto-evidence-image img {
    min-height: 300px;
  }

  .crypto-final-actions,
  .crypto-final-actions .btn,
  .crypto-final-actions .crypto-button-secondary {
    width: 100%;
  }
}

/* Crypto client portal */
.crypto-portal-page-hero,
.crypto-dashboard-hero {
  padding: 4.8rem 0 4rem;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(14, 116, 194, 0.34), transparent 28%),
    linear-gradient(145deg, #050b17, #0b1d36 70%, #102c52);
}

.crypto-portal-page-hero h1,
.crypto-dashboard-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.crypto-portal-page-hero p,
.crypto-dashboard-hero p {
  color: #afbed2;
  max-width: 780px;
  line-height: 1.75;
  margin: 0;
}

.crypto-portal-page {
  padding: 4.5rem 0 6rem;
  background: #f4f7fb;
}

.crypto-application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 1.5rem;
  align-items: start;
}

.crypto-form-card,
.crypto-application-aside,
.crypto-login-shell,
.crypto-dashboard-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.09);
}

.crypto-form-card {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.crypto-form-section {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin: 0 0 1.4rem;
  border-bottom: 1px solid #e7ebf1;
}

.crypto-form-section:not(:first-of-type) {
  margin-top: 3rem;
}

.crypto-form-section > span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #0e2d55, #0f7bc5);
  font-size: 0.78rem;
  font-weight: 800;
}

.crypto-form-section h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.crypto-form-section p {
  color: #64748b;
  font-size: 0.86rem;
  margin: 0;
}

.crypto-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.crypto-form-grid label,
.crypto-login-form label {
  display: block;
  color: #23344d;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.crypto-form-wide {
  grid-column: 1 / -1;
}

.crypto-form-card .form-control,
.crypto-form-card .form-select,
.crypto-login-form .form-control {
  min-height: 48px;
  border-color: #dbe2ea;
  border-radius: 10px;
}

.crypto-mono-input {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.84rem;
}

.crypto-wallet-inputs {
  display: grid;
  gap: 0.65rem;
}

.crypto-wallet-inputs > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
}

.crypto-wallet-inputs > div > span {
  color: #0f67ad;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.crypto-field-note,
.crypto-submit-note {
  display: block;
  color: #718096;
  font-size: 0.76rem;
  line-height: 1.55;
  margin-top: 0.55rem;
}

.crypto-submit-note {
  max-width: 680px;
  margin-bottom: 0;
}

.crypto-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #536176;
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 1.5rem 0 0.5rem;
}

.crypto-consent input {
  margin-top: 0.25rem;
}

.crypto-submit-button {
  min-height: 52px;
  padding-inline: 1.5rem;
}

.crypto-application-aside {
  overflow: hidden;
  position: sticky;
  top: 105px;
}

.crypto-application-aside img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.crypto-application-aside > div {
  padding: 1.5rem;
}

.crypto-application-aside h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.crypto-application-aside ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.crypto-application-aside li {
  display: flex;
  gap: 0.6rem;
  color: #5d6a7d;
  font-size: 0.84rem;
  line-height: 1.55;
  padding: 0.45rem 0;
}

.crypto-application-aside li i {
  color: #15965d;
  margin-top: 0.2rem;
}

.crypto-application-aside a,
.crypto-login-help a {
  color: #0f67ad;
  font-weight: 700;
}

.crypto-login-page {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(14, 116, 194, 0.25), transparent 30%),
    #071021;
}

.crypto-login-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  max-width: 1080px;
  margin: auto;
}

.crypto-login-visual {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.crypto-login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 10, 23, 0.97), rgba(4, 10, 23, 0.12) 75%);
}

.crypto-login-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crypto-login-visual > div {
  position: relative;
  z-index: 2;
  padding: 2.3rem;
}

.crypto-login-visual h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.crypto-login-visual p {
  color: #b4c1d3;
  margin: 0;
}

.crypto-login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.crypto-login-form h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.crypto-login-help {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #64748b;
  font-size: 0.84rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #e5eaf0;
}

.crypto-dashboard-hero .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.crypto-dashboard-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.crypto-dashboard-page {
  padding: 0 0 6rem;
  background: #f4f7fb;
}

.crypto-dashboard-alert {
  transform: translateY(-1.2rem);
  border: 0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.crypto-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  transform: translateY(-2rem);
}

.crypto-dashboard-summary article {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 17px;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
}

.crypto-dashboard-summary span,
.crypto-dashboard-summary strong {
  display: block;
}

.crypto-dashboard-summary span {
  color: #718096;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.crypto-dashboard-summary strong {
  color: #14243d;
  font-size: 1rem;
  margin-top: 0.35rem;
}

.crypto-credit-summary {
  background: linear-gradient(145deg, #0b1e39, #124a7b) !important;
}

.crypto-credit-summary span {
  color: #9dc5e5;
}

.crypto-credit-summary strong {
  color: #fff;
  font-size: 1.65rem;
}

.crypto-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.5fr);
  gap: 1.25rem;
}

.crypto-investigation-workspace {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: clamp(1.3rem, 3vw, 2rem);
  margin: -0.7rem 0 1.25rem;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.crypto-investigation-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.crypto-investigation-heading > div > span {
  color: #0f67ad;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.crypto-investigation-heading h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.25rem 0 0;
}

.crypto-wallet-scope {
  min-width: 92px;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: #0b1e39;
  text-align: center;
}

.crypto-wallet-scope small,
.crypto-wallet-scope strong {
  display: block;
}

.crypto-wallet-scope small {
  color: #a8c1d8;
  font-size: 0.68rem;
}

.crypto-wallet-scope strong {
  font-size: 1.2rem;
}

.crypto-investigation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.crypto-investigation-grid article {
  position: relative;
  min-height: 210px;
  border: 1px solid #e4eaf1;
  border-radius: 17px;
  padding: 1.25rem;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f7fafc);
}

.crypto-investigation-grid article > span {
  position: absolute;
  right: 1rem;
  top: 0.7rem;
  color: #dce5ee;
  font-size: 2.2rem;
  font-weight: 900;
}

.crypto-investigation-grid article > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #0e2d55, #0f7bc5);
}

.crypto-investigation-grid h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 1rem 0 0.5rem;
}

.crypto-investigation-grid p {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}

.crypto-wallet-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.crypto-wallet-list code {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  overflow: hidden;
  border-radius: 9px;
  padding: 0.65rem 0.8rem;
  color: #334155;
  background: #f1f5f9;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-wallet-list i {
  color: #0f67ad;
}

.crypto-dashboard-main,
.crypto-dashboard-sidebar {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.crypto-dashboard-card {
  padding: 1.5rem;
}

.crypto-dashboard-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5eaf0;
}

.crypto-dashboard-card-header span,
.crypto-dashboard-card > span {
  color: #0f67ad;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.crypto-dashboard-card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.2rem 0 0;
}

.crypto-dashboard-card-header small {
  color: #7b8798;
  font-size: 0.75rem;
}

.crypto-update-timeline {
  padding-top: 1rem;
}

.crypto-update-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.8rem;
  padding-bottom: 1.4rem;
}

.crypto-update-timeline article:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  bottom: 0;
  width: 1px;
  background: #cbd5e1;
}

.crypto-update-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 0.3rem;
  border: 3px solid #d9efff;
  border-radius: 50%;
  background: #0f67ad;
}

.crypto-update-timeline time {
  color: #8290a3;
  font-size: 0.72rem;
}

.crypto-update-timeline h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0.2rem 0 0.35rem;
}

.crypto-update-timeline p {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.6;
  margin: 0;
}

.crypto-upload-form {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding-top: 1rem;
}

.crypto-file-picker {
  flex: 1;
  min-width: 0;
  border: 1px dashed #b8c3d1;
  border-radius: 10px;
  padding: 0.65rem;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}

.crypto-file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.crypto-file-picker-button {
  flex: 0 0 auto;
  border: 1px solid #9aa7b8;
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
  background: #fff;
  color: #0b1f3a;
  font-weight: 600;
}

.crypto-file-picker-name {
  min-width: 0;
  overflow: hidden;
  color: #334155;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-upload-note {
  display: block;
  color: #8390a2;
  margin: 0.75rem 0 1rem;
}

.crypto-file-list {
  display: grid;
  gap: 0.6rem;
}

.crypto-file-list > p,
.crypto-ledger-list > p {
  color: #7b8798;
  font-size: 0.84rem;
  margin: 0;
}

.crypto-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #e5eaf0;
  border-radius: 11px;
  padding: 0.75rem;
  color: #23344d;
}

.crypto-file-info {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: #23344d;
}

.crypto-file-info > i {
  color: #0f67ad;
}

.crypto-file-list strong,
.crypto-file-list small {
  display: block;
}

.crypto-file-list strong {
  font-size: 0.82rem;
}

.crypto-file-list small {
  color: #8491a2;
  font-size: 0.72rem;
}

.crypto-file-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.crypto-file-actions form {
  margin: 0;
}

.crypto-file-actions a,
.crypto-file-actions button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #23344d;
  cursor: pointer;
}

.crypto-file-actions a:hover {
  background: #eaf3fb;
  color: #0f67ad;
}

.crypto-file-actions button:hover {
  background: #fdebed;
  color: #c6283d;
}

.crypto-work-request {
  background: linear-gradient(145deg, #08162b, #11375f);
  color: #fff;
  border-color: transparent;
}

.crypto-work-request h2 {
  color: #fff;
}

.crypto-work-request p {
  color: #aab9cd;
  font-size: 0.84rem;
}

.crypto-work-request textarea {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.crypto-package-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}

.crypto-package-list form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border: 1px solid #e1e7ee;
  border-radius: 11px;
  padding: 0.75rem;
}

.crypto-package-list strong,
.crypto-package-list span {
  display: block;
}

.crypto-package-list strong {
  font-size: 0.83rem;
}

.crypto-package-list span {
  color: #64748b;
  font-size: 0.75rem;
}

.crypto-package-list button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: #fff;
  background: #0f67ad;
  font-size: 0.75rem;
  font-weight: 700;
}

.crypto-dashboard-card > small {
  color: #8390a2;
  font-size: 0.73rem;
}

.crypto-ledger-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.crypto-ledger-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.7rem;
  align-items: start;
}

.crypto-ledger-list > div > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
}

.crypto-ledger-list .positive {
  color: #117144;
  background: #daf5e8;
}

.crypto-ledger-list .negative {
  color: #a52b38;
  background: #fde6e9;
}

.crypto-ledger-list strong,
.crypto-ledger-list small {
  display: block;
}

.crypto-ledger-list strong {
  font-size: 0.78rem;
  line-height: 1.45;
}

.crypto-ledger-list small {
  color: #8290a3;
  font-size: 0.7rem;
}

.crypto-purchase-page {
  min-height: calc(100vh - 90px);
  padding: 4.5rem 0 6rem;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(15, 123, 197, 0.3), transparent 27%),
    radial-gradient(circle at 90% 5%, rgba(198, 40, 61, 0.18), transparent 24%),
    #071021;
}

.crypto-purchase-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.crypto-purchase-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.crypto-purchase-logout-form {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.crypto-purchase-header h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0.9rem 0;
}

.crypto-purchase-header > p {
  color: #b3c2d5;
  line-height: 1.75;
}

.crypto-purchase-case {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.crypto-purchase-case span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: #a8bbd1;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
}

.crypto-purchase-case strong {
  color: #fff;
}

.crypto-purchase-alert {
  border: 0;
  margin-bottom: 1.3rem;
}

.crypto-purchase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.crypto-purchase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.4rem;
  color: #10233f;
  background: #fff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.crypto-purchase-card.featured {
  border-color: #58b8f1;
  transform: translateY(-10px);
  box-shadow: 0 26px 65px rgba(15, 123, 197, 0.3);
}

.crypto-purchase-badge {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  color: #071021;
  background: #f3c458;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-purchase-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #0d315b, #0f7bc5);
}

.crypto-purchase-credits {
  color: #0f67ad;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 1.2rem;
}

.crypto-purchase-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0.25rem 0 0.65rem;
}

.crypto-purchase-card > p {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.55;
}

.crypto-package-facts {
  display: grid;
  gap: 0.55rem;
  border-block: 1px solid #e7edf3;
  padding: 0.85rem 0;
  margin: 0.25rem 0 1rem;
}

.crypto-package-facts > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.45rem;
  color: #617086;
  font-size: 0.72rem;
  line-height: 1.45;
}

.crypto-package-facts i {
  color: #0f67ad;
  margin-top: 0.15rem;
}

.crypto-package-facts strong {
  display: block;
  color: #21344e;
}

.crypto-purchase-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0;
}

.crypto-purchase-card ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem;
}

.crypto-purchase-card li {
  display: flex;
  gap: 0.5rem;
  color: #526174;
  font-size: 0.76rem;
  line-height: 1.45;
}

.crypto-purchase-card li i {
  color: #15965d;
  margin-top: 0.17rem;
}

.crypto-package-deliverables {
  display: grid;
  gap: 0.6rem;
  margin: 0.6rem 0 1.25rem;
}

.crypto-package-deliverables > div {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.45rem;
}

.crypto-package-deliverables > div > i {
  color: #15965d;
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.crypto-package-deliverables strong,
.crypto-package-deliverables em {
  display: block;
}

.crypto-package-deliverables strong {
  color: #263950;
  font-size: 0.76rem;
}

.crypto-package-deliverables strong small {
  color: #0f67ad;
  font-size: 0.65rem;
}

.crypto-package-deliverables em {
  color: #718096;
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.45;
  margin-top: 0.12rem;
}

.crypto-purchase-price {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: auto;
}

.crypto-purchase-price span {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.crypto-purchase-price strong {
  font-size: 1.8rem;
}

.crypto-purchase-card form {
  margin-top: 1rem;
}

.crypto-purchase-card button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  padding: 0.7rem;
  color: #fff;
  background: #0f67ad;
  font-size: 0.78rem;
  font-weight: 800;
}

.crypto-purchase-card button:hover {
  background: #0b4f88;
}

.crypto-purchase-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 900px;
  margin: 2rem auto 0;
  color: #9fb0c5;
  font-size: 0.78rem;
  line-height: 1.6;
}

.crypto-purchase-note i {
  color: #58b8f1;
  margin-top: 0.2rem;
}

.crypto-package-program {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: clamp(1.3rem, 3vw, 2rem);
  margin: -0.7rem 0 1.25rem;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.crypto-purchased-package + .crypto-purchased-package {
  border-top: 1px solid #e4eaf1;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.crypto-purchased-package-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.crypto-purchased-package-header > div:first-child > span {
  color: #0f67ad;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-purchased-package-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0.2rem 0 0.35rem;
}

.crypto-purchased-package-header p,
.crypto-package-target {
  color: #64748b;
  font-size: 0.8rem;
  margin: 0;
}

.crypto-package-progress {
  min-width: 90px;
  text-align: right;
}

.crypto-package-progress strong,
.crypto-package-progress span {
  display: block;
}

.crypto-package-progress strong {
  color: #0f67ad;
  font-size: 1.2rem;
}

.crypto-package-progress span {
  color: #7b8798;
  font-size: 0.7rem;
}

.crypto-progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  margin: 1rem 0 0.75rem;
  background: #e8eef4;
}

.crypto-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f67ad, #27a06a);
}

.crypto-package-target {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.crypto-deliverable-list {
  display: grid;
  gap: 0.55rem;
}

.crypto-deliverable {
  border: 1px solid #e2e8ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fbfcfe;
}

.crypto-deliverable.completed {
  border-color: #bde5d1;
  background: #f4fbf7;
}

.crypto-deliverable.in_progress {
  border-color: #afd8f2;
  background: #f4faff;
}

.crypto-deliverable summary {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  cursor: pointer;
}

.crypto-deliverable summary strong {
  font-size: 0.82rem;
}

.crypto-deliverable summary small {
  color: #718096;
  font-size: 0.7rem;
}

.crypto-deliverable-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7b8798;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-deliverable.completed .crypto-deliverable-status {
  color: #168052;
}

.crypto-deliverable.in_progress .crypto-deliverable-status {
  color: #0f67ad;
}

.crypto-deliverable > div {
  border-top: 1px solid #e4eaf1;
  padding: 0.9rem;
}

.crypto-deliverable > div > p,
.crypto-deliverable time {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.55;
}

.crypto-deliverable-note {
  border-left: 3px solid #0f67ad;
  padding: 0.65rem 0.75rem;
  margin: 0.75rem 0;
  background: #eef7fd;
}

.crypto-deliverable-note strong {
  color: #0f67ad;
  font-size: 0.72rem;
}

.crypto-deliverable-note p {
  color: #40546d;
  font-size: 0.78rem;
  margin: 0.2rem 0 0;
}

.crypto-credit-summary small {
  display: block;
  color: #9dc5e5;
  font-size: 0.68rem;
}

.crypto-blockchain-monitor {
  margin: 0 0 2rem;
  border: 1px solid rgba(15, 103, 173, 0.2);
  border-radius: 24px;
  padding: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(15, 103, 173, 0.13), transparent 34%),
    #07182d;
  color: #fff;
  box-shadow: 0 24px 55px rgba(7, 24, 45, 0.2);
}

.crypto-monitor-header,
.crypto-monitor-wallet-heading,
.crypto-monitor-meta,
.crypto-monitor-transactions > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.crypto-monitor-header h2 {
  margin: 0.3rem 0;
  font-size: 1.45rem;
  font-weight: 800;
}

.crypto-monitor-header p {
  max-width: 720px;
  margin: 0;
  color: #a8c1d8;
}

.crypto-monitor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffd000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crypto-monitor-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.crypto-monitor-refresh:hover {
  border-color: #ffd000;
  color: #ffd000;
}

.crypto-monitor-refresh.is-loading i {
  animation: crypto-monitor-spin 0.8s linear infinite;
}

.crypto-monitor-meta {
  margin: 1.4rem 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.crypto-monitor-meta > div {
  min-width: 0;
}

.crypto-monitor-meta span,
.crypto-monitor-meta strong {
  display: block;
}

.crypto-monitor-meta span {
  margin-bottom: 0.25rem;
  color: #7899b7;
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crypto-monitor-meta strong {
  overflow: hidden;
  color: #e8f3fc;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-monitor-status.live {
  color: #55d98b;
}

.crypto-monitor-status.warning {
  color: #ffd000;
  white-space: normal;
}

.crypto-monitor-wallets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.crypto-monitor-wallet {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #0c223d;
}

.crypto-monitor-wallet-heading {
  padding: 1rem;
}

.crypto-monitor-wallet-heading code {
  overflow: hidden;
  color: #9dc5e5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-monitor-wallet-heading strong {
  flex: 0 0 auto;
  color: #ffd000;
}

.crypto-monitor-counts {
  padding: 0 1rem 0.8rem;
  color: #7899b7;
  font-size: 0.72rem;
}

.crypto-monitor-transactions {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-monitor-transactions > a {
  justify-content: flex-start;
  padding: 0.8rem 1rem;
  color: #dceaf5;
  text-decoration: none;
}

.crypto-monitor-transactions > a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-monitor-transactions > a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.crypto-monitor-transactions > a > div:nth-child(2) {
  min-width: 0;
}

.crypto-monitor-transactions strong,
.crypto-monitor-transactions small {
  display: block;
}

.crypto-monitor-transactions small {
  color: #7899b7;
  font-size: 0.68rem;
}

.crypto-monitor-direction {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 0.25rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 900;
}

.crypto-monitor-direction.in {
  background: rgba(42, 190, 115, 0.15);
  color: #55d98b;
}

.crypto-monitor-direction.out {
  background: rgba(230, 74, 90, 0.15);
  color: #ff7a88;
}

.crypto-monitor-amount {
  margin-left: auto;
  text-align: right;
}

.crypto-monitor-transactions > p {
  margin: 0;
  padding: 1rem;
  color: #7899b7;
}

.crypto-monitor-notice {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: #7899b7;
}

.crypto-monitor-skeleton {
  grid-column: 1 / -1;
  height: 150px;
  border-radius: 18px;
  background: linear-gradient(90deg, #0c223d 25%, #153554 50%, #0c223d 75%);
  background-size: 200% 100%;
  animation: crypto-monitor-loading 1.3s infinite;
}

.crypto-trace-admin {
  margin-bottom: 1.5rem;
}

.crypto-trace-admin-heading,
.crypto-trace-result-summary,
.crypto-trace-route,
.crypto-trace-evidence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.crypto-trace-admin-heading {
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.crypto-trace-admin-heading h2 {
  margin: 0.25rem 0;
}

.crypto-trace-admin-heading p {
  margin: 0;
  color: #64748b;
}

.crypto-trace-security {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: #e8f6ee;
  color: #16794b;
  font-size: 0.72rem;
  font-weight: 700;
}

.crypto-import-workspace {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 1rem;
  background: #f7fbff;
}

.crypto-import-heading,
.crypto-import-batch summary,
.crypto-import-analyze {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.crypto-import-heading span,
.crypto-manual-trace-heading span,
.crypto-source-summary > div:first-child span {
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.crypto-import-heading h3,
.crypto-manual-trace-heading h3,
.crypto-source-summary h3 {
  margin: 0.2rem 0;
}

.crypto-import-heading p,
.crypto-source-summary p {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
}

.crypto-import-heading a,
.crypto-import-upload button,
.crypto-import-analyze button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: #173f70;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.crypto-import-upload {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) auto;
  align-items: end;
  gap: 0.75rem;
}

.crypto-import-upload label,
.crypto-import-analyze label {
  display: grid;
  gap: 0.3rem;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
}

.crypto-import-upload input,
.crypto-import-upload select,
.crypto-import-analyze input,
.crypto-import-analyze select {
  min-height: 39px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  background: #fff;
}

.crypto-import-batch {
  overflow: hidden;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  background: #fff;
}

.crypto-import-batch summary {
  cursor: pointer;
  padding: 0.85rem;
  list-style: none;
}

.crypto-import-batch summary span,
.crypto-import-table td > small,
.crypto-source-summary td small {
  display: block;
}

.crypto-import-batch summary small,
.crypto-import-table small,
.crypto-source-summary small {
  color: #718096;
  font-size: 0.67rem;
}

.crypto-import-counts {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.crypto-import-counts b,
.crypto-import-valid {
  color: #16794b;
}

.crypto-import-counts em,
.crypto-import-invalid {
  color: #b42318;
  font-style: normal;
}

.crypto-import-batch-body {
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid #e2e8f0;
  padding: 0.85rem;
}

.crypto-import-analyze {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.crypto-import-analyze button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.crypto-import-table,
.crypto-source-summary table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.crypto-import-table th,
.crypto-import-table td,
.crypto-source-summary th,
.crypto-source-summary td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
}

.crypto-import-table code,
.crypto-source-summary code {
  display: block;
  max-width: 210px;
  overflow: hidden;
  color: #173f70;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-import-table tr.is-invalid,
.crypto-source-summary tr.is-failed {
  background: #fff4f2;
}

.crypto-import-preview-note {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
}

.crypto-manual-trace-heading {
  margin: 1.25rem 0 0.65rem;
}

.crypto-source-summary {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  border: 1px solid #c7d7ef;
  border-radius: 14px;
  padding: 1rem;
  background: #f8fbff;
}

.crypto-trace-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.crypto-trace-form small {
  display: block;
  margin-top: 0.35rem;
  color: #718096;
  font-size: 0.68rem;
}

.crypto-trace-wide {
  grid-column: span 2;
}

.crypto-trace-all {
  grid-column: 1 / -1;
}

.crypto-trace-all textarea {
  min-height: 102px;
  resize: vertical;
}

.crypto-trace-submit {
  display: flex;
  align-items: flex-end;
}

.crypto-trace-submit .btn {
  width: 100%;
}

.crypto-trace-result-summary {
  margin-top: 1.25rem;
}

.crypto-trace-result-summary article {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem;
}

.crypto-trace-result-summary .crypto-trace-last-wallet {
  flex: 1 1 100%;
  min-width: 100%;
  border-color: #b9ddc8;
  background: #f1fbf5;
}

.crypto-trace-last-wallet strong {
  overflow: hidden;
  color: #12643e;
  font-family: monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-trace-last-wallet small {
  display: block;
  margin-top: 0.25rem;
  color: #557565;
}

.crypto-trace-result-summary span,
.crypto-trace-result-summary strong {
  display: block;
}

.crypto-trace-result-summary span {
  color: #718096;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.crypto-trace-path {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.crypto-trace-path > article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1.7fr) minmax(130px, 0.5fr) minmax(180px, 0.8fr);
  align-items: center;
  gap: 1rem;
  border-left: 4px solid #2576b9;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #f7fbff;
}

.crypto-trace-path > article.terminal {
  border-left-color: #d62839;
  background: #fff5f5;
}

.crypto-trace-depth {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #15243a;
  color: #fff;
  font-weight: 800;
}

.crypto-trace-route {
  min-width: 0;
}

.crypto-trace-route code {
  overflow: hidden;
  max-width: 45%;
  color: #243b53;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-trace-values strong,
.crypto-trace-values span,
.crypto-trace-evidence span,
.crypto-trace-evidence a {
  display: block;
  font-size: 0.72rem;
}

.crypto-trace-values span,
.crypto-trace-evidence > span:not(.crypto-trace-exchange) {
  color: #718096;
}

.crypto-trace-values .crypto-trace-contract {
  margin-top: 0.2rem;
  color: #53677d;
  font-family: monospace;
  font-size: 0.64rem;
}

.crypto-trace-values .crypto-trace-network {
  display: inline-block;
  width: fit-content;
  margin-top: 0.25rem;
  border-radius: 999px;
  padding: 0.16rem 0.4rem;
  color: #fff;
  background: #294a70;
  font-size: 0.58rem;
  font-weight: 900;
}

.crypto-trace-evidence {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.2rem;
}

.crypto-trace-exchange {
  color: #c12737;
  font-weight: 800;
}

.crypto-trace-protocol {
  color: #7052aa !important;
  font-weight: 800;
}

.crypto-trace-protocol.is-warning {
  color: #c12737 !important;
}

.crypto-trace-hits,
.crypto-trace-notes {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  border-radius: 12px;
  padding: 1rem;
}

.crypto-trace-balance-panel {
  margin-top: 1rem;
  border: 1px solid #dce5ee;
  border-radius: 18px;
  padding: 1rem;
  background: #f8fafc;
}

.crypto-trace-balance-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.crypto-trace-balance-heading span {
  color: #19704b;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.crypto-trace-balance-heading h3,
.crypto-trace-balance-heading p {
  margin: 0.15rem 0 0;
}

.crypto-trace-balance-heading p {
  color: #64748b;
  font-size: 0.74rem;
}

.crypto-trace-balance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 0.75rem;
}

.crypto-trace-balance-grid article {
  border: 1px solid #d7e1eb;
  border-left: 4px solid #25805a;
  border-radius: 13px;
  padding: 0.85rem;
  background: #fff;
}

.crypto-trace-balance-grid article.is-empty {
  border-left-color: #d79815;
}

.crypto-trace-balance-grid header {
  display: grid;
  gap: 0.25rem;
}

.crypto-trace-balance-grid header code {
  overflow: hidden;
  color: #52677d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-trace-balance-grid article > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.crypto-trace-balance-grid article > div span {
  color: #708196;
  font-size: 0.65rem;
}

.crypto-trace-balance-grid article > div strong {
  display: block;
  margin-top: 0.15rem;
  color: #14243d;
  font-size: 0.78rem;
}

.crypto-trace-balance-grid footer {
  margin-top: 0.75rem;
  border-top: 1px solid #edf1f5;
  padding-top: 0.65rem;
  color: #607187;
  font-size: 0.69rem;
}

.crypto-trace-balance-grid footer b {
  display: block;
  margin-top: 0.3rem;
  color: #b66312;
}

.crypto-trace-hits {
  background: #fff5f5;
}

.crypto-trace-hits code {
  color: #9b1c2c;
}

.crypto-trace-notes {
  background: #f8fafc;
}

.crypto-trace-notes p {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
}

.crypto-trace-convergence-panel {
  margin-top: 1rem;
  border: 1px solid #ead18a;
  border-radius: 18px;
  padding: 1rem;
  background: #fffbeb;
}

.crypto-trace-convergence-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.crypto-trace-convergence-heading span {
  color: #9a6700;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.crypto-trace-convergence-heading h3,
.crypto-trace-convergence-heading p {
  margin: 0.15rem 0 0;
}

.crypto-trace-convergence-heading p {
  color: #7b6b42;
  font-size: 0.74rem;
}

.crypto-trace-convergence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.75rem;
}

.crypto-trace-convergence-grid article {
  border: 1px solid #ead9a7;
  border-left: 4px solid #e3a008;
  border-radius: 13px;
  padding: 0.85rem;
  background: #fff;
}

.crypto-trace-convergence-grid header,
.crypto-trace-convergence-grid footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
}

.crypto-trace-convergence-grid header b,
.crypto-trace-convergence-grid footer span {
  display: inline-block;
  margin-right: 0.25rem;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  background: #fff2bd;
  color: #775200;
  font-size: 0.65rem;
}

.crypto-trace-convergence-grid h4 {
  margin: 0.7rem 0 0.3rem;
  font-size: 0.95rem;
}

.crypto-trace-convergence-grid code {
  display: block;
  overflow: hidden;
  color: #4b3b12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-trace-convergence-grid p {
  margin: 0.55rem 0;
  color: #6f6242;
  font-size: 0.74rem;
}

.crypto-trace-graph-workspace {
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(118, 151, 187, 0.22);
  border-radius: 22px;
  background: #1d2126;
  box-shadow: 0 24px 54px rgba(10, 25, 44, 0.18);
}

.crypto-graph-investigation-tools {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #dfe7ef;
  background: #111820;
}

.crypto-graph-filter,
.crypto-graph-pathfinder,
.crypto-graph-timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.55rem;
}

.crypto-graph-filter label {
  display: grid;
  gap: 0.25rem;
  color: #9eb0c3;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-graph-filter input,
.crypto-graph-filter select,
.crypto-graph-pathfinder input {
  min-height: 34px;
  border: 1px solid #334355;
  border-radius: 7px;
  padding: 0.35rem 0.5rem;
  color: #f7fafc;
  background: #1b2632;
  font-size: 0.75rem;
}

.crypto-graph-filter button,
.crypto-graph-pathfinder button,
.crypto-graph-timeline button,
.crypto-node-evidence-drawer button {
  min-height: 34px;
  border: 1px solid #3b4c5e;
  border-radius: 7px;
  padding: 0.35rem 0.65rem;
  color: #f7fafc;
  background: #243447;
  font-size: 0.72rem;
  font-weight: 800;
}

.crypto-graph-timeline input {
  flex: 1;
  min-width: 220px;
}

.crypto-graph-timeline span {
  min-width: 150px;
  color: #9eb0c3;
  font-size: 0.72rem;
}

.crypto-graph-investigation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0;
  transition: grid-template-columns 0.2s ease;
}

.crypto-graph-investigation-layout.has-drawer {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.crypto-node-evidence-drawer {
  display: none;
  overflow: auto;
  max-height: 620px;
  border-left: 1px solid #334355;
  color: #dfe7ef;
  background: #111820;
}

.crypto-graph-investigation-layout.has-drawer .crypto-node-evidence-drawer {
  display: block;
}

.crypto-node-evidence-drawer > header,
.crypto-node-evidence-drawer > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.85rem;
  border-bottom: 1px solid #2b3948;
}

.crypto-node-evidence-drawer > footer {
  flex-wrap: wrap;
  border-top: 1px solid #2b3948;
  border-bottom: 0;
}

.crypto-node-evidence-drawer header span {
  color: #6fd29a;
  font-size: 0.63rem;
  font-weight: 900;
}

.crypto-node-evidence-drawer header h4 {
  margin: 0.15rem 0 0;
  color: #fff;
  font-size: 0.95rem;
}

.crypto-node-evidence-drawer [data-drawer-content] {
  padding: 0.9rem;
  font-size: 0.77rem;
}

.crypto-node-evidence-drawer article {
  margin-bottom: 0.65rem;
  border: 1px solid #2d3b4a;
  border-radius: 9px;
  padding: 0.65rem;
  background: #18222d;
}

.crypto-node-evidence-drawer code {
  color: #a7c8e8;
}

.crypto-graph-status {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  max-width: 70%;
  border: 1px solid #334355;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  color: #c9d5e1;
  background: rgba(13, 20, 28, 0.9);
  font-size: 0.68rem;
}

.crypto-trace-graph-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #101a27, #20252d);
}

.crypto-trace-graph-toolbar span,
.crypto-trace-report-actions > div > span {
  color: #54d987;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.crypto-trace-graph-toolbar h3,
.crypto-trace-report-actions h3 {
  margin: 0.2rem 0 0.25rem;
  font-size: 1.15rem;
}

.crypto-trace-graph-toolbar p,
.crypto-trace-report-actions p {
  margin: 0;
  color: #aebdce;
  font-size: 0.82rem;
}

.crypto-trace-graph-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.crypto-trace-graph-actions button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  padding: 0 0.75rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.crypto-trace-graph-actions button:hover {
  border-color: rgba(84, 217, 135, 0.65);
  background: rgba(84, 217, 135, 0.16);
}

.crypto-trace-graph-stage {
  position: relative;
  height: clamp(500px, 61vh, 680px);
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(17, 117, 197, 0.16), transparent 27%),
    radial-gradient(circle at 88% 80%, rgba(40, 185, 101, 0.12), transparent 25%),
    #1d2126;
}

.crypto-trace-graph-stage svg {
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
}

.crypto-graph-edge path {
  fill: none;
  stroke: #2fba62;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.9;
}

.crypto-graph-edge.terminal path {
  stroke: #ff6a47;
}

.crypto-graph-edge.asset-transition path {
  stroke: #a970ff;
  stroke-width: 4;
  stroke-dasharray: 9 6;
}

.crypto-graph-edge.cross-chain-bridge path {
  stroke: #22c7c9;
  stroke-width: 4;
  stroke-dasharray: 12 5;
}

.crypto-graph-edge.bridge-unverified path {
  stroke: #ef4c5b;
  stroke-width: 4;
  stroke-dasharray: 5 6;
}

#cryptoTraceArrow path {
  fill: #2fba62;
}

.crypto-graph-edge rect {
  fill: rgba(13, 18, 24, 0.88);
  stroke: rgba(255, 255, 255, 0.13);
}

.crypto-graph-edge text {
  fill: #f7fafc;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.crypto-graph-node {
  cursor: grab;
  touch-action: none;
}

.crypto-graph-node.dragging {
  cursor: grabbing;
}

.crypto-graph-node .halo {
  fill: rgba(255, 255, 255, 0.08);
}

.crypto-graph-node .core {
  fill: #f8fafc;
  stroke: #07111e;
  stroke-width: 4;
}

.crypto-graph-node.start .core {
  fill: #ffcc19;
}

.crypto-graph-node.exchange .core {
  fill: #ef4c5b;
}

.crypto-graph-node.attributed .core {
  stroke: #d59a00;
  stroke-width: 6;
}

.crypto-graph-node.attribution-verified .core {
  fill: #dff7e8;
  stroke: #25805a;
}

.crypto-graph-node.risk-direct .halo {
  fill: rgba(239, 76, 91, 0.35);
}

.crypto-graph-node.risk-indirect .halo {
  fill: rgba(245, 172, 55, 0.28);
}

.crypto-graph-node.manual .core {
  fill: #dbeafe;
  stroke: #176fbe;
}

.crypto-graph-node.manual.document .core {
  fill: #ede9fe;
  stroke: #7c3aed;
}

.crypto-graph-edge.hidden,
.crypto-graph-node.hidden,
.crypto-graph-manual-edge.hidden {
  display: none;
}

.crypto-graph-edge.path-highlight path {
  stroke: #ffd43b;
  stroke-width: 6;
}

.crypto-graph-edge.mixer-uncertain path {
  stroke: #ef4c5b;
  stroke-dasharray: 3 7;
}

.crypto-graph-edge.swap-combined path {
  stroke: #a970ff;
  stroke-width: 5;
}

.crypto-graph-manual-edge {
  stroke: #6ea8d8;
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.crypto-graph-node .convergence-ring {
  fill: none;
  stroke: #ffc928;
  stroke-width: 5;
  stroke-dasharray: 7 4;
}

.crypto-graph-node .coin-logo {
  pointer-events: none;
}

.crypto-graph-node .coin-logo circle {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.5px;
}

.crypto-graph-node .coin-logo-secondary circle {
  stroke: #101820;
  stroke-width: 2px;
}

.crypto-graph-node .coin-mark {
  fill: #fff;
  font-family: Arial, sans-serif;
  font-weight: 900;
  dominant-baseline: middle;
  pointer-events: none;
}

.crypto-graph-node .address {
  fill: #fff;
  font-size: 15px;
  font-weight: 800;
  paint-order: stroke;
  stroke: #1d2126;
  stroke-width: 5px;
  stroke-linejoin: round;
  pointer-events: none;
}

.crypto-graph-node .sub {
  fill: #9eb0c3;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.crypto-trace-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #dfe7ef;
  background: #171b21;
  font-size: 0.72rem;
  font-weight: 700;
}

.crypto-trace-graph-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.crypto-trace-graph-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f8fafc;
}

.crypto-trace-graph-legend i.start {
  background: #ffcc19;
}

.crypto-trace-graph-legend i.exchange {
  background: #ef4c5b;
}

.crypto-trace-graph-legend i.attribution {
  border: 3px solid #d59a00;
  background: #f8fafc;
}

.crypto-trace-graph-legend i.verified-attribution {
  border: 3px solid #25805a;
  background: #dff7e8;
}

.crypto-trace-graph-legend i.convergence {
  border: 3px solid #ffc928;
  background: transparent;
}

.crypto-trace-graph-legend i.route {
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: #2fba62;
}

.crypto-trace-graph-legend i.bridge {
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: #22c7c9;
}

.crypto-trace-termination-panel {
  margin-top: 1.1rem;
  padding: 1.2rem;
  border: 1px solid #dce5ee;
  border-radius: 18px;
  background: #f7fafc;
}

.crypto-trace-termination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.crypto-trace-termination-grid article {
  border: 1px solid #dce5ee;
  border-left: 5px solid #d59a00;
  border-radius: 13px;
  padding: 0.9rem;
  background: #fff;
}

.crypto-trace-termination-grid article.is-conclusive {
  border-left-color: #25805a;
}

.crypto-trace-termination-grid header,
.crypto-trace-termination-grid footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem;
}

.crypto-trace-termination-grid header span,
.crypto-trace-termination-grid footer {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.crypto-trace-termination-grid code {
  display: block;
  overflow: hidden;
  margin: 0.65rem 0;
  color: #243750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-trace-termination-grid p {
  margin: 0 0 0.7rem;
  color: #44566c;
  font-size: 0.8rem;
}

.crypto-attribution-panel {
  margin-bottom: 1.25rem;
}

.crypto-attribution-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #e1e7ee;
  border-radius: 14px;
  background: #f8fafc;
}

.crypto-attribution-wide {
  grid-column: span 2;
}

.crypto-attribution-all,
.crypto-attribution-action {
  grid-column: 1 / -1;
}

.crypto-attribution-action {
  display: flex;
  justify-content: flex-end;
}

.crypto-attribution-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.crypto-attribution-list > article {
  border: 1px solid #dce5ee;
  border-left: 5px solid #d59a00;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.crypto-attribution-list > article.confidence-verified {
  border-left-color: #25805a;
}

.crypto-attribution-list > article.confidence-rejected {
  border-left-color: #8995a3;
  opacity: 0.78;
}

.crypto-attribution-list header,
.crypto-attribution-list footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.crypto-attribution-list header span,
.crypto-attribution-list header small,
.crypto-attribution-list footer {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.crypto-attribution-list header h3 {
  margin: 0.2rem 0 0;
  color: #14243d;
  font-size: 1rem;
}

.crypto-attribution-list header > div:last-child {
  display: grid;
  text-align: right;
}

.crypto-attribution-list code {
  display: block;
  overflow: hidden;
  margin: 0.75rem 0;
  padding: 0.55rem;
  border-radius: 8px;
  background: #eef2f6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-attribution-list p {
  margin: 0.5rem 0;
  color: #44566c;
  font-size: 0.82rem;
}

.crypto-attribution-list .analyst-note {
  padding: 0.65rem;
  border-left: 3px solid #176fbe;
  background: #f2f7fc;
}

.crypto-attribution-list footer {
  justify-content: flex-start;
  margin-top: 0.8rem;
}

.crypto-attribution-list footer a {
  color: #0f67ad;
}

.crypto-attribution-list footer form {
  margin-left: auto;
}

.crypto-attribution-list footer button {
  border: 0;
  padding: 0;
  color: #b42334;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-trace-report-actions {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(170px, 0.35fr) repeat(3, auto);
  align-items: end;
  gap: 0.85rem;
  margin-top: 1.1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #dce5ee;
  border-radius: 18px;
  background: #f7fafc;
}

.crypto-investigation-operations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.crypto-compact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.crypto-compact-form label {
  display: grid;
  gap: 0.25rem;
  color: #526174;
  font-size: 0.72rem;
  font-weight: 800;
}

.crypto-compact-form .wide,
.crypto-compact-form button {
  grid-column: 1 / -1;
}

.crypto-activity-feed,
.crypto-watchlist-grid {
  display: grid;
  gap: 0.55rem;
  max-height: 360px;
  overflow: auto;
  margin-top: 0.8rem;
}

.crypto-activity-feed article,
.crypto-watchlist-grid > article {
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  padding: 0.7rem;
  background: #f8fafc;
}

.crypto-activity-feed header,
.crypto-watchlist-grid header,
.crypto-watch-alert {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
}

.crypto-activity-feed p,
.crypto-watchlist-grid p {
  margin: 0.35rem 0;
  font-size: 0.76rem;
}

.crypto-activity-feed small,
.crypto-watchlist-grid span {
  color: #718096;
  font-size: 0.67rem;
}

.crypto-watchlist-grid code {
  display: block;
  overflow: hidden;
  margin-top: 0.4rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-watch-alert {
  margin-top: 0.55rem;
  border-left: 3px solid #d59a00;
  padding: 0.55rem;
  background: #fff8dc;
}

.crypto-watch-alert form {
  width: 100%;
  text-align: right;
}

.crypto-watch-alert button {
  border: 0;
  color: #0f67ad;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 900;
}

.crypto-trace-report-actions h3 {
  color: #14243d;
}

.crypto-trace-report-actions > label {
  display: grid;
  gap: 0.35rem;
  color: #27384a;
  font-size: 0.72rem;
  font-weight: 800;
}

.crypto-trace-report-actions form,
.crypto-trace-report-actions form .btn {
  width: 100%;
}

.crypto-trace-report-actions form .btn {
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .crypto-trace-report-actions {
    grid-template-columns: 1fr 1fr;
  }

  .crypto-trace-report-actions > div,
  .crypto-trace-report-actions > label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .crypto-trace-graph-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .crypto-trace-graph-stage {
    height: 520px;
    min-height: 520px;
  }

  .crypto-trace-graph-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .crypto-trace-report-actions {
    grid-template-columns: 1fr;
  }

  .crypto-trace-report-actions > div,
  .crypto-trace-report-actions > label {
    grid-column: auto;
  }
}

@keyframes crypto-monitor-spin {
  to { transform: rotate(360deg); }
}

@keyframes crypto-monitor-loading {
  to { background-position: -200% 0; }
}

.crypto-admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.crypto-admin-summary article {
  border: 1px solid #e1e7ee;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.crypto-admin-summary span,
.crypto-admin-summary strong {
  display: block;
}

.crypto-admin-summary span {
  color: #718096;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.crypto-admin-summary strong {
  color: #14243d;
  font-size: 1.35rem;
  margin-top: 0.25rem;
}

.crypto-admin-package-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4eaf1;
}

.crypto-admin-package-header span {
  color: #0f67ad;
  font-size: 0.72rem;
  font-weight: 800;
}

.crypto-admin-deliverables {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.crypto-admin-deliverable {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(150px, 0.45fr) 100px;
  gap: 0.8rem;
  border: 1px solid #e1e7ee;
  border-radius: 13px;
  padding: 1rem;
  background: #f9fbfd;
}

.crypto-admin-deliverable-title span {
  color: #0f67ad;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crypto-admin-deliverable-title h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0.25rem 0;
}

.crypto-admin-deliverable-title p {
  color: #64748b;
  font-size: 0.75rem;
  margin: 0;
}

.crypto-admin-note,
.crypto-admin-action {
  grid-column: 1 / -1;
}

.crypto-admin-action {
  display: flex;
  justify-content: flex-end;
}

.crypto-admin-wallet {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  padding: 0.65rem;
  margin-bottom: 0.5rem;
  color: #243750;
  background: #eef2f6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .template-action-button.crypto {
    display: none;
  }

  .crypto-purchase-grid,
  .crypto-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .crypto-application-layout,
  .crypto-login-shell,
  .crypto-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .crypto-application-aside {
    position: static;
  }

  .crypto-login-visual {
    min-height: 380px;
  }

  .crypto-dashboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-monitor-wallets {
    grid-template-columns: 1fr;
  }

  .crypto-trace-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-import-upload {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-trace-path > article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .crypto-investigation-grid {
    grid-template-columns: 1fr;
  }

  .crypto-admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-admin-deliverable {
    grid-template-columns: 1fr;
  }

  .crypto-attribution-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crypto-investigation-operations {
    grid-template-columns: 1fr;
  }

  .crypto-admin-note,
  .crypto-admin-action {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .crypto-portal-page-hero,
  .crypto-dashboard-hero {
    padding: 3.5rem 0 3rem;
  }

  .crypto-form-grid,
  .crypto-dashboard-summary {
    grid-template-columns: 1fr;
  }

  .crypto-dashboard-hero .container,
  .crypto-dashboard-card-header,
  .crypto-upload-form {
    align-items: stretch;
    flex-direction: column;
  }

  .crypto-dashboard-summary {
    transform: translateY(-1.3rem);
  }

  .crypto-monitor-header,
  .crypto-monitor-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .crypto-monitor-refresh {
    justify-content: center;
    width: 100%;
  }

  .crypto-import-heading,
  .crypto-import-batch summary,
  .crypto-import-analyze {
    align-items: stretch;
    flex-direction: column;
  }

  .crypto-import-upload,
  .crypto-trace-form {
    grid-template-columns: 1fr;
  }

  .crypto-import-heading a,
  .crypto-import-upload button,
  .crypto-import-analyze button {
    text-align: center;
  }

  .crypto-purchase-toolbar {
    flex-direction: column;
  }

  .crypto-purchase-logout-form,
  .crypto-purchase-logout-form .crypto-dashboard-logout {
    width: 100%;
  }

  .crypto-purchase-logout-form .crypto-dashboard-logout {
    justify-content: center;
  }

  .crypto-trace-admin-heading,
  .crypto-trace-result-summary,
  .crypto-trace-route {
    align-items: stretch;
    flex-direction: column;
  }

  .crypto-trace-form {
    grid-template-columns: 1fr;
  }

  .crypto-attribution-form {
    grid-template-columns: 1fr;
  }

  .crypto-graph-investigation-layout.has-drawer {
    grid-template-columns: 1fr;
  }

  .crypto-node-evidence-drawer {
    max-height: none;
    border-top: 1px solid #334355;
    border-left: 0;
  }

  .crypto-attribution-wide,
  .crypto-attribution-all,
  .crypto-attribution-action {
    grid-column: auto;
  }

  .crypto-trace-wide {
    grid-column: span 1;
  }

  .crypto-trace-route code {
    max-width: 100%;
  }

  .crypto-login-visual {
    min-height: 320px;
  }

  .crypto-login-help {
    flex-direction: column;
  }

  .crypto-investigation-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .crypto-wallet-scope {
    width: 100%;
  }

  .crypto-purchase-grid,
  .crypto-credit-grid {
    grid-template-columns: 1fr;
  }

  .crypto-purchase-card.featured {
    transform: none;
  }

  .crypto-purchased-package-header,
  .crypto-deliverable summary {
    grid-template-columns: 1fr;
  }

  .crypto-purchased-package-header {
    flex-direction: column;
  }

  .crypto-package-progress {
    text-align: left;
  }

  .crypto-admin-summary {
    grid-template-columns: 1fr;
  }
}

/* Referral Partner Portal */
.referral-portal-body {
    min-height: 100vh;
    margin: 0;
    color: #172033;
    background: #f4f7fb;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.referral-portal-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid #dfe6ef;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.referral-portal-header-inner {
    width: min(1380px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.referral-portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #13203a;
    text-decoration: none;
}

.referral-portal-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.referral-portal-brand span,
.referral-portal-brand strong,
.referral-portal-brand small {
    display: block;
}

.referral-portal-brand strong { font-size: 1.05rem; letter-spacing: -.02em; }
.referral-portal-brand small { color: #69758a; font-size: .72rem; }

.referral-portal-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-portal-header nav a,
.referral-portal-header nav button {
    border: 0;
    border-radius: 9px;
    padding: 9px 13px;
    color: #526078;
    background: transparent;
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
}

.referral-portal-header nav a:hover,
.referral-portal-header nav button:hover,
.referral-portal-header nav a.active {
    color: #a71927;
    background: #fff0f1;
}

.referral-portal-header nav form { margin: 0; }
.referral-portal-main { min-height: calc(100vh - 150px); }

.referral-portal-footer {
    width: min(1380px, calc(100% - 40px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #758196;
    font-size: .82rem;
}

.referral-portal-footer a { color: #9e1c29; }

.referral-auth-shell {
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .75fr);
    align-items: center;
    gap: 80px;
    padding: 70px 0;
}

.referral-auth-copy h1,
.referral-page-heading h1,
.referral-dashboard-hero h1,
.referral-agreement-document h1 {
    margin: 10px 0 16px;
    color: #101a2f;
    font-size: clamp(2.1rem, 4vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.referral-auth-copy p { max-width: 650px; color: #5b687e; font-size: 1.08rem; line-height: 1.75; }
.referral-auth-copy ul { display: grid; gap: 11px; margin: 28px 0 0; padding: 0; list-style: none; }
.referral-auth-copy li { position: relative; padding-left: 29px; color: #36445b; font-weight: 650; }
.referral-auth-copy li::before { content: "✓"; position: absolute; left: 0; color: #b3212f; font-weight: 800; }

.referral-kicker {
    display: block;
    color: #b3212f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.referral-auth-card,
.referral-panel,
.referral-table-card,
.referral-metric-grid article,
.referral-agreement-document {
    border: 1px solid #e0e6ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(26, 39, 66, .08);
}

.referral-auth-card { padding: clamp(28px, 4vw, 46px); }
.referral-auth-card h2 { margin: 8px 0 6px; color: #101a2f; font-size: 2rem; font-weight: 760; letter-spacing: -.04em; }
.referral-auth-card > p { margin-bottom: 26px; color: #69758a; }
.referral-auth-card > small { display: block; margin-top: 22px; color: #7a8597; line-height: 1.6; }
.referral-auth-card a { color: #a71927; font-weight: 650; }
.referral-auth-card .form-control,
.referral-form-panel .form-control,
.referral-form-panel .form-select { min-height: 47px; border-color: #d9e0ea; border-radius: 10px; }
.referral-form-panel textarea.form-control { min-height: auto; }
.referral-auth-card .form-control:focus,
.referral-form-panel .form-control:focus,
.referral-form-panel .form-select:focus { border-color: #be5862; box-shadow: 0 0 0 .2rem rgba(179, 33, 47, .1); }
.referral-auth-card .form-label,
.referral-form-panel .form-label { color: #303d52; font-size: .82rem; font-weight: 700; }
.referral-auth-card .text-danger,
.referral-form-panel .text-danger { font-size: .78rem; }

.referral-primary-btn {
    border: 1px solid #a91f2d;
    border-radius: 10px;
    padding: 11px 19px;
    color: #fff;
    background: linear-gradient(135deg, #b92332, #8f1723);
    box-shadow: 0 10px 24px rgba(169, 31, 45, .2);
    font-weight: 750;
}
.referral-primary-btn:hover { color: #fff; background: linear-gradient(135deg, #9d1a27, #78111c); transform: translateY(-1px); }

.referral-page { width: min(1380px, calc(100% - 40px)); margin: 0 auto; padding: 50px 0 70px; }
.referral-narrow-page { max-width: 1120px; }
.referral-page-heading { max-width: 850px; margin-bottom: 30px; }
.referral-page-heading h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.referral-page-heading p { color: #647087; font-size: 1rem; line-height: 1.7; }

.referral-activation-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(370px, .82fr); align-items: start; gap: 24px; }
.referral-form-panel { padding: clamp(24px, 3vw, 38px); }
.referral-form-panel h2 { margin: 32px 0 17px; padding-top: 27px; border-top: 1px solid #e9edf3; color: #18243a; font-size: 1.05rem; font-weight: 780; }
.referral-form-panel h2:first-of-type { margin-top: 24px; }
.referral-form-panel small { display: block; margin-top: 5px; color: #7a8597; }

.referral-readonly-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #e1e7f0; border-radius: 13px; background: #e1e7f0; }
.referral-readonly-summary > div { min-width: 0; padding: 15px 17px; background: #f8fafc; }
.referral-readonly-summary small,
.referral-readonly-summary strong { display: block; }
.referral-readonly-summary small { margin: 0 0 4px; color: #7c8798; font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.referral-readonly-summary strong { overflow-wrap: anywhere; color: #26344a; font-size: .85rem; }

.referral-accept-box,
.referral-consent-box { margin: 26px 0; padding: 18px; border: 1px solid #e2cad0; border-radius: 12px; background: #fff7f8; }
.referral-accept-box .form-check-input,
.referral-consent-box .form-check-input { float: left; margin: 3px 11px 0 0; }
.referral-accept-box label,
.referral-consent-box label { color: #3d4657; font-size: .9rem; line-height: 1.55; }

.referral-agreement-preview { position: sticky; top: 100px; padding: 27px; }
.referral-agreement-localized > h2 { margin: 14px 0 10px; color: #172238; font-size: 1.32rem; line-height: 1.35; }
.referral-agreement-title { display: flex; justify-content: space-between; gap: 15px; color: #7b8699; font-size: .72rem; font-weight: 700; }
.referral-agreement-title a { color: #a91f2d; }
.referral-agreement-preview > h2 { margin: 14px 0 10px; color: #172238; font-size: 1.32rem; line-height: 1.35; }
.referral-legal-parties { color: #687489; font-size: .8rem; line-height: 1.6; }
.referral-legal-parties p { margin: 0 0 6px; }
.referral-agreement-scroll { max-height: 720px; overflow: auto; margin: 20px -5px 18px 0; padding-right: 14px; }
.referral-agreement-scroll section { margin-bottom: 20px; }
.referral-agreement-scroll h3 { color: #273349; font-size: .9rem; font-weight: 780; }
.referral-agreement-scroll p,
.referral-agreement-scroll li { color: #5f6b7f; font-size: .8rem; line-height: 1.65; }
.referral-agreement-scroll p { margin: 0 0 10px; }
.referral-agreement-scroll ul { margin: 0 0 12px; padding-left: 19px; }
.referral-agreement-scroll li { margin-bottom: 5px; }
.referral-legal-note { margin: 0; padding: 13px; border-radius: 9px; color: #72551a; background: #fff8e5; font-size: .75rem; line-height: 1.55; }

.referral-agreement-document { max-width: 900px; padding: clamp(28px, 6vw, 70px); }
.referral-agreement-language-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.referral-agreement-language-nav a { padding: 8px 12px; border: 1px solid #dce2eb; border-radius: 9px; color: #536077; background: #fff; font-size: .78rem; font-weight: 750; text-decoration: none; }
.referral-agreement-language-nav a:hover,
.referral-agreement-language-nav a.active { border-color: #a91f2d; color: #fff; background: #a91f2d; }
.referral-language-readonly { min-height: 38px; padding: 8px 12px; border: 1px solid #e1e6ed; border-radius: 8px; color: #445166; background: #f6f8fb; }
.referral-agreement-document header { padding-bottom: 28px; border-bottom: 1px solid #e3e8f0; }
.referral-agreement-document h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.referral-agreement-document header p,
.referral-agreement-document section p,
.referral-agreement-document section li { color: #5b687d; line-height: 1.78; }
.referral-agreement-document section ul { margin: 10px 0 18px; padding-left: 24px; }
.referral-agreement-document section li { margin-bottom: 7px; }
.referral-agreement-parties p { margin: 0 0 8px; }
.referral-agreement-document section { margin-top: 32px; }
.referral-agreement-document section h2 { color: #1c293f; font-size: 1.15rem; font-weight: 780; }
.referral-agreement-hash { margin-top: 38px; padding: 20px; border-radius: 12px; color: #4e5c72; background: #f2f5f9; font-size: .76rem; line-height: 1.7; }
.referral-agreement-hash span { overflow-wrap: anywhere; }

.referral-dashboard-hero { margin-bottom: 26px; padding: 32px 36px; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; background: radial-gradient(circle at 90% -20%, rgba(255,255,255,.18), transparent 35%), linear-gradient(130deg, #17243b, #263b5d); box-shadow: 0 20px 50px rgba(22, 35, 58, .16); }
.referral-dashboard-hero h1 { margin: 7px 0; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.referral-dashboard-hero p { margin: 0; color: #cad3e2; }
.referral-dashboard-hero .referral-kicker { color: #f19da6; }
.referral-dashboard-hero .referral-primary-btn { flex: 0 0 auto; }

.referral-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.referral-metric-grid article { padding: 22px; box-shadow: none; }
.referral-metric-grid small,
.referral-metric-grid strong,
.referral-metric-grid span { display: block; }
.referral-metric-grid small { color: #788398; font-size: .72rem; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; }
.referral-metric-grid strong { margin: 8px 0 6px; overflow-wrap: anywhere; color: #17233a; font-size: 1.55rem; }
.referral-metric-grid span { color: #7c8799; font-size: .76rem; }

.referral-table-card { overflow: hidden; box-shadow: none; }
.referral-table-heading { padding: 22px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5eaf1; }
.referral-table-heading h2 { margin: 0 0 3px; color: #18243a; font-size: 1.15rem; font-weight: 780; }
.referral-table-heading p { margin: 0; color: #7b8698; font-size: .8rem; }
.referral-table-heading > span { color: #a7202d; font-size: .78rem; font-weight: 750; }
.referral-table { margin: 0; min-width: 1050px; }
.referral-table th { padding: 14px 18px; color: #727e91; background: #f8fafc; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.referral-table td { padding: 16px 18px; color: #4b586d; font-size: .82rem; }
.referral-table td strong { color: #26334a; }
.referral-status { display: inline-flex; border-radius: 99px; padding: 6px 9px; color: #345d50; background: #eaf6f1; font-size: .7rem; font-weight: 750; white-space: nowrap; }
.referral-edit-link { color: #a71d2b; font-weight: 750; text-decoration: none; }
.referral-empty { padding: 55px !important; color: #7d8899 !important; text-align: center; }
.referral-form-actions { margin-top: 30px; display: flex; justify-content: flex-end; gap: 10px; }

/* Referral Partner administration */
.referral-admin-heading-actions { display: flex; align-items: center; gap: 10px; }
.referral-admin-page .admin-index-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.referral-admin-badge { display: inline-flex; border-radius: 99px; padding: 6px 10px; font-size: .68rem; font-weight: 780; white-space: nowrap; }
.referral-admin-badge.active { color: #176249; background: #dff5ec; }
.referral-admin-badge.pending { color: #8b5b0b; background: #fff0cc; }
.referral-admin-badge.disabled { color: #8a3038; background: #fce5e7; }
.referral-admin-badge.log { color: #405774; background: #eaf0f7; }
.referral-admin-row-actions { min-width: 104px; }
.admin-index-actions a.view { background: #eef2ff; color: #4f46e5; }
.admin-index-actions a.view:hover { background: #4f46e5; color: #fff; }
.referral-delete-confirmation { margin-top: 18px; text-align: left; }
.referral-delete-confirmation label { display: block; margin-bottom: 5px; color: #536075; font-size: .76rem; font-weight: 700; }
.referral-delete-confirmation code { display: block; margin-bottom: 9px; overflow-wrap: anywhere; color: #a71d2b; font-size: .75rem; }
.referral-delete-confirmation .form-control { min-height: 43px; border-color: #d9e0e9; border-radius: 9px; }
.referral-partner-delete-modal .modal-footer form { width: 100%; }
.referral-admin-form-page { max-width: 1120px; margin: 0 auto; }
.referral-admin-form-card { padding: 30px; }
.referral-admin-form-card .form-label { color: #3d4a60; font-size: .78rem; font-weight: 730; }
.referral-admin-form-card .form-control,
.referral-admin-form-card .form-select { min-height: 44px; border-radius: 8px; border-color: #dae1eb; }
.referral-country-checks { display: flex; flex-wrap: wrap; gap: 9px; }
.referral-country-checks label { display: inline-flex; align-items: center; gap: 8px; min-width: 150px; border: 1px solid #dfe5ed; border-radius: 9px; padding: 10px 12px; color: #3f4d63; background: #f8fafc; font-size: .8rem; font-weight: 650; }
.referral-permission-grid { margin: 28px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.referral-permission-grid > label { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #e0e6ef; border-radius: 11px; padding: 15px; background: #fafbfd; }
.referral-permission-grid input { margin-top: 3px; }
.referral-permission-grid span,
.referral-permission-grid strong,
.referral-permission-grid small { display: block; }
.referral-permission-grid strong { color: #2d3b52; font-size: .82rem; }
.referral-permission-grid small { margin-top: 3px; color: #778295; font-size: .7rem; line-height: 1.45; }
.referral-admin-form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.referral-local-invite p { margin: 5px 0 10px; }

.referral-admin-identity { margin-bottom: 20px; padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 16px; color: #fff; background: linear-gradient(130deg, #192740, #2d4264); }
.referral-admin-identity > div { min-width: 0; display: flex; align-items: center; gap: 17px; }
.referral-admin-avatar { flex: 0 0 auto; width: 55px; height: 55px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: #a91f2d; font-size: 1.4rem; font-weight: 800; }
.referral-admin-identity h1 { margin: 2px 0 3px; overflow-wrap: anywhere; font-size: 1.55rem; }
.referral-admin-identity p { margin: 0; color: #c7d0df; font-size: .8rem; }
.referral-admin-identity .admin-index-kicker { color: #f0a0a8; }
.referral-admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 18px; }
.referral-admin-main-column,
.referral-admin-side-column { display: grid; gap: 18px; }
.referral-admin-referrals { padding: 27px; }
.referral-admin-empty { padding: 35px; border-radius: 10px; color: #788398; background: #f7f9fc; text-align: center; }
.referral-admin-referral-item { overflow: hidden; margin-top: 10px; border: 1px solid #e1e7ef; border-radius: 11px; }
.referral-admin-referral-item summary { cursor: pointer; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fafbfd; }
.referral-admin-referral-item summary span:first-child,
.referral-admin-referral-item summary strong,
.referral-admin-referral-item summary small { display: block; }
.referral-admin-referral-item summary strong { color: #25334b; font-size: .84rem; }
.referral-admin-referral-item summary small { margin-top: 3px; color: #748095; font-size: .72rem; }
.referral-admin-referral-body { padding: 20px; border-top: 1px solid #e5eaf1; }
.referral-admin-referral-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.referral-admin-referral-body dl div { padding: 12px; border-radius: 8px; background: #f7f9fc; }
.referral-admin-referral-body dt { color: #808a9a; font-size: .67rem; letter-spacing: .05em; text-transform: uppercase; }
.referral-admin-referral-body dd { margin: 5px 0 0; color: #425067; font-size: .77rem; white-space: pre-line; }
.referral-admin-referral-body form { padding-top: 18px; border-top: 1px solid #e5eaf1; }
.referral-admin-facts { margin: 0 0 18px; }
.referral-admin-facts > div { padding: 10px 0; border-bottom: 1px solid #e7ebf1; }
.referral-admin-facts dt { color: #7d8798; font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; }
.referral-admin-facts dd { margin: 3px 0 0; overflow-wrap: anywhere; color: #38465c; font-size: .78rem; }
.referral-audit-heading { display: flex; align-items: center; justify-content: space-between; }
.referral-audit-heading a { color: #a81e2c; font-size: .73rem; font-weight: 730; }
.referral-audit-list { max-height: 620px; overflow: auto; }
.referral-audit-list article { padding: 12px 0; border-bottom: 1px solid #e6ebf1; }
.referral-audit-list strong,
.referral-audit-list span,
.referral-audit-list small { display: block; }
.referral-audit-list strong { color: #334157; font-size: .76rem; text-transform: capitalize; }
.referral-audit-list span { margin-top: 2px; color: #828c9c; font-size: .64rem; }
.referral-audit-list p { margin: 5px 0; color: #5f6c7f; font-size: .7rem; line-height: 1.45; }
.referral-audit-list small { color: #929baa; font-size: .62rem; }
.referral-audit-table { min-width: 1100px; }
.referral-audit-details { max-width: 440px; white-space: normal !important; }

@media (max-width: 1100px) {
    .referral-auth-shell { gap: 40px; }
    .referral-activation-grid,
    .referral-admin-detail-grid { grid-template-columns: 1fr; }
    .referral-agreement-preview { position: static; }
    .referral-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .referral-admin-side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .referral-portal-header-inner,
    .referral-page,
    .referral-auth-shell,
    .referral-portal-footer { width: min(100% - 24px, 1380px); }
    .referral-portal-header-inner { min-height: 66px; }
    .referral-portal-header nav a { display: none; }
    .referral-portal-brand img { width: 36px; height: 36px; }
    .referral-auth-shell { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding: 45px 0; }
    .referral-auth-copy h1 { font-size: 2.6rem; }
    .referral-page { padding-top: 35px; }
    .referral-readonly-summary { grid-template-columns: 1fr; }
    .referral-dashboard-hero { padding: 25px; align-items: flex-start; flex-direction: column; }
    .referral-metric-grid,
    .referral-admin-page .admin-index-stats,
    .referral-permission-grid,
    .referral-admin-side-column,
    .referral-admin-referral-body dl { grid-template-columns: 1fr; }
    .referral-admin-heading-actions { width: 100%; align-items: stretch; flex-direction: column; }
    .referral-admin-heading-actions .btn { width: 100%; }
    .referral-admin-identity { align-items: flex-start; flex-direction: column; }
    .referral-admin-form-card,
    .referral-admin-referrals { padding: 20px; }
    .referral-portal-footer { padding: 20px 0; align-items: flex-start; flex-direction: column; }
}
