/* ================================================================
   DFY Meetings brand layer
   Loaded last so the operational UI keeps its behavior while adopting
   the public site's visual system and a unified premium motion language.
   ================================================================ */

:root {
  --primary-color: #ff905a;
  --primary-hover: #f17b43;
  --secondary-color: #65c9d1;
  --secondary-hover: #43b8c2;
  --brand-navy: #0b4973;
  --brand-heading: #394063;
  --brand-charcoal: #424144;
  --brand-mist: #eef9fa;
  --brand-coral-wash: #fff1e9;
  --background-gradient: #fff1e9;
  --surface-color: rgba(255, 250, 247, 0.7);
  --text-color: #424144;
  --text-light: #6d6d73;
  --element-border-color: rgba(11, 73, 115, 0.12);
  --secondary-bg: rgba(255, 255, 255, 0.52);
  --secondary-border-color: rgba(11, 73, 115, 0.18);
  --success-color: #4aa485;
  --success-text: #24745b;
  --success-bg: rgba(101, 201, 209, 0.15);
  --success-border: rgba(74, 164, 133, 0.3);
  --warning-bg: rgba(255, 144, 90, 0.13);
  --warning-text: #a94c20;
  --danger-color: #dc5d63;
  --danger-hover: #c74b52;
  --checker-glow-color: rgba(101, 201, 209, 0.24);
  --glass-bg-color: rgba(255, 252, 249, 0.46);
  --glass-border-color: rgba(255, 255, 255, 0.82);
  --glass-blur: 24px;
  --glass-radius: 20px;
  --glass-noise-opacity: 0.018;
  --popup-glass-bg: rgba(255, 252, 249, 0.82);
  --popup-glass-border: rgba(255, 255, 255, 0.9);
  --popup-glass-blur: 18px;
  --popup-glass-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.58),
    inset 0 1px 1px rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(88, 59, 53, 0.065),
    0 26px 70px -16px rgba(88, 59, 53, 0.3),
    0 0 46px rgba(255, 144, 90, 0.06);
  --glass-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.68),
    inset 0 1px 1px rgba(255, 255, 255, 0.92),
    0 2px 4px rgba(88, 59, 53, 0.045),
    0 18px 48px -12px rgba(88, 59, 53, 0.22),
    0 0 42px rgba(255, 144, 90, 0.055);
  --chart-color-1: #ff905a;
  --chart-color-2: #65c9d1;
  --chart-color-3: #394063;
  --chart-color-4: #4aa485;
  --premium-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --premium-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --animation-speed-fast: 220ms;
  --animation-speed-normal: 480ms;
  --animation-speed-slow: 760ms;
  --animation-curve-smooth: var(--premium-ease-soft);
  --animation-curve-bouncy: var(--premium-ease);
}

body[data-theme="dark"] {
  --primary-color: #ff9d6d;
  --primary-hover: #ffb08a;
  --secondary-color: #73d2da;
  --secondary-hover: #8bdde3;
  --background-gradient: #0b354e;
  --surface-color: #0b3953;
  --text-color: #f6fbfc;
  --text-light: #bdd2dc;
  --element-border-color: rgba(185, 224, 228, 0.14);
  --secondary-bg: rgba(14, 70, 101, 0.7);
  --secondary-border-color: rgba(138, 207, 214, 0.22);
  --glass-bg-color: rgba(9, 48, 73, 0.9);
  --glass-border-color: rgba(174, 224, 228, 0.15);
  --glass-shadow: 0 28px 80px rgba(0, 18, 33, 0.44), 0 2px 10px rgba(0, 18, 33, 0.25);
  --success-bg: rgba(101, 201, 209, 0.14);
  --success-border: rgba(101, 201, 209, 0.3);
  --success-text: #9ce1e6;
  --warning-bg: rgba(255, 144, 90, 0.14);
  --warning-text: #ffc2a4;
}

html,
body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background-color: #fff1e9;
  background-image: radial-gradient(circle, rgba(106, 72, 65, 0.026) 0.55px, transparent 0.75px);
  background-size: 4px 4px;
  color: var(--text-color);
}

body[data-theme="dark"] {
  background-color: #0b354e;
  background-image: radial-gradient(circle, rgba(230, 249, 250, 0.032) 0.55px, transparent 0.75px);
  background-size: 4px 4px;
}

#binary-canvas {
  display: none;
}

.main-content-wrapper::before,
.main-content-wrapper::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.main-content-wrapper::before {
  top: clamp(34px, 8vh, 92px);
  left: clamp(-132px, -6vw, -72px);
  width: clamp(280px, 25vw, 420px);
  height: clamp(280px, 25vw, 420px);
  background: rgba(101, 201, 209, 0.235);
  border-radius: 48% 52% 67% 33% / 41% 40% 60% 59%;
  transform: rotate(18deg);
  filter: drop-shadow(0 24px 48px rgba(69, 183, 193, 0.12));
}

.main-content-wrapper::after {
  right: clamp(-92px, -4vw, -52px);
  bottom: clamp(20px, 5vh, 58px);
  width: clamp(180px, 17vw, 280px);
  height: clamp(180px, 17vw, 280px);
  background: rgba(255, 144, 90, 0.21);
  border-radius: 64% 36% 42% 58% / 54% 61% 39% 46%;
  transform: rotate(-14deg);
  filter: drop-shadow(0 24px 48px rgba(241, 123, 67, 0.115));
}

.container {
  max-width: 1240px;
  height: 91vh;
  max-height: 940px;
  border-radius: 30px;
  background: var(--surface-color);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 32px 100px rgba(104, 67, 58, 0.16),
    0 0 70px rgba(255, 144, 90, 0.055);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
  isolation: isolate;
}

#wizard-container,
#status-page {
  background: rgba(255, 252, 249, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.56),
    inset 0 1px 1px rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(91, 60, 54, 0.05),
    0 34px 105px -28px rgba(91, 60, 54, 0.34),
    0 0 80px rgba(255, 144, 90, 0.075),
    0 0 56px rgba(101, 201, 209, 0.045);
  -webkit-backdrop-filter: blur(34px) saturate(155%);
  backdrop-filter: blur(34px) saturate(155%);
}

#wizard-container::before,
#status-page::before {
  opacity: 0.014;
}

body[data-theme="dark"] .container {
  border-color: rgba(138, 207, 214, 0.17);
  box-shadow: 0 34px 100px rgba(0, 15, 27, 0.55);
}

.glass-effect-card {
  isolation: isolate;
  background: var(--glass-bg-color);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(155%);
  backdrop-filter: blur(var(--glass-blur)) saturate(155%);
  border: 1px solid var(--glass-border-color);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

.glass-effect-card::before,
.tooltip-content::before,
#chartjs-tooltip::before {
  display: block;
}

/* Brand header */
.header.brand-header {
  min-height: 68px;
  padding: 0.5rem 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(11, 73, 115, 0.1);
  background: rgba(255, 252, 249, 0.66);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

body[data-theme="dark"] .header.brand-header {
  background: #0a3a54;
  border-color: rgba(155, 215, 220, 0.13);
}

.brand-logo {
  width: 59px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(11, 73, 115, 0.12));
}

.brand-title-group {
  min-width: 0;
}

.header.brand-header h2,
body[data-theme="dark"] .header.brand-header h2 {
  margin: 0;
  color: var(--brand-heading);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-size: clamp(1.18rem, 2vw, 1.52rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-shadow: none;
}

body[data-theme="dark"] .header.brand-header h2 {
  color: #f6fbfc;
}

.brand-title-group p {
  margin: 0.12rem 0 0;
  color: var(--text-light);
  font-size: 0.76rem;
  font-weight: 600;
}

.theme-toggle {
  top: 0.8rem;
  right: 1.15rem;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 73, 115, 0.12);
  box-shadow: 0 7px 20px rgba(11, 73, 115, 0.1);
}

body[data-theme="dark"] .theme-toggle {
  color: #e8f8f9;
  background: rgba(16, 74, 103, 0.86);
}

.theme-toggle:hover,
body[data-theme="dark"] .theme-toggle:hover {
  background: var(--secondary-color);
  color: #073653;
  transform: translateY(-1px) scale(1.04);
}

/* Wizard viewport and page transitions */
.wizard-content,
.status-live-view {
  background: transparent;
}

body[data-theme="dark"] .wizard-content,
body[data-theme="dark"] .status-live-view {
  background: transparent;
}

#wizard-track {
  transition: transform 720ms var(--premium-ease);
  will-change: transform;
}

.wizard-step {
  padding-top: 0.25rem;
}

.wizard-step .step-title {
  color: var(--brand-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

body[data-theme="dark"] .wizard-step .step-title {
  color: #f2fafb;
}

.wizard-step .subtitle {
  color: var(--text-light);
  line-height: 1.55;
}

/* Apple-inspired navigation bubble */
.sticky-wizard-header,
body[data-theme="dark"] .sticky-wizard-header {
  position: sticky;
  inset: auto auto auto auto;
  left: auto;
  top: 0.7rem;
  margin: 0 auto 1rem;
  overflow: hidden;
  isolation: isolate;
  transform: none;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  transition: none;
  will-change: opacity, transform;
  z-index: 20;
}

body[data-theme="dark"] .sticky-wizard-header {
  background-color: rgba(4, 34, 51, 0.5);
  border-color: rgba(195, 235, 238, 0.22);
  box-shadow:
    0 18px 44px rgba(0, 20, 33, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 15, 25, 0.34);
}

.sticky-wizard-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3e%3cfilter id='noise'%3e%3cfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3e%3c/filter%3e%3crect width='100%25' height='100%25' filter='url(%23noise)'/%3e%3c/svg%3e");
  opacity: var(--glass-noise-opacity);
}

.sticky-wizard-header.header-visible {
  top: 0.7rem;
}

.step-indicator {
  position: relative;
  z-index: 1;
  padding: 3px;
  isolation: isolate;
}

.step-item {
  min-height: 34px;
  padding: 3px 9px;
  color: rgba(57, 64, 99, 0.64);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 360ms ease;
}

.step-item.active,
body[data-theme="dark"] .step-item.active {
  color: #fff;
}

.step-item.completed {
  color: #3daab4;
}

.step-icon {
  width: 21px;
  height: 21px;
}

.step-icon .material-symbols-outlined {
  font-size: 21px;
  transition: opacity 280ms ease, transform 600ms var(--premium-ease);
}

.step-label {
  transition: max-width 640ms var(--premium-ease), opacity 280ms ease 90ms, transform 620ms var(--premium-ease);
}

.step-indicator-active-bg {
  top: 3px;
  height: calc(100% - 6px);
  background: linear-gradient(145deg, #ff9f72 0%, #ff834a 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(255, 111, 49, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform-origin: center;
  transition: opacity 360ms ease;
  will-change: transform, width;
}

.step-indicator-active-bg.pill-ready {
  transition: opacity 360ms ease;
}

.sticky-wizard-header:not(.premium-pill-revealed) .step-item .step-label {
  opacity: 0;
}

.sticky-wizard-header.premium-pill-revealed .step-item.active .step-label {
  opacity: 1;
}

/* Forms */
label {
  color: var(--brand-heading);
  font-weight: 800;
}

body[data-theme="dark"] label {
  color: #edf9fa;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="number"],
textarea,
select,
.input-trigger {
  min-height: 46px;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 13px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 7px 20px -16px rgba(87, 58, 52, 0.32);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
  transition: border-color 240ms ease, box-shadow 420ms var(--premium-ease), transform 420ms var(--premium-ease), background-color 240ms ease;
}

body[data-theme="dark"] input[type="text"],
body[data-theme="dark"] input[type="url"],
body[data-theme="dark"] input[type="email"],
body[data-theme="dark"] input[type="number"],
body[data-theme="dark"] textarea,
body[data-theme="dark"] select,
body[data-theme="dark"] .input-trigger {
  color: #f4fbfc;
  background: rgba(12, 58, 85, 0.86);
  border-color: rgba(138, 207, 214, 0.17);
  box-shadow: none;
}

input:focus,
textarea:focus,
select:focus,
.input-trigger:not(.disabled):hover {
  outline: none;
  border-color: rgba(101, 201, 209, 0.88);
  box-shadow: 0 0 0 4px rgba(101, 201, 209, 0.14), 0 10px 25px rgba(11, 73, 115, 0.07);
  transform: translateY(-1px);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary-color);
}

.checkbox-label,
.radio-label {
  border-radius: 15px;
  transition: background-color 240ms ease, border-color 240ms ease, transform 460ms var(--premium-ease), box-shadow 460ms var(--premium-ease);
}

.checkbox-label:hover,
body[data-theme="dark"] .checkbox-label:hover,
.radio-label:hover,
body[data-theme="dark"] .radio-label:hover {
  background: rgba(101, 201, 209, 0.08);
  transform: translateY(-1px);
}

.radio-label:has(input[type="radio"]:checked),
body[data-theme="dark"] .radio-label:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, rgba(101, 201, 209, 0.14), rgba(255, 255, 255, 0.72));
  border-color: rgba(101, 201, 209, 0.55);
  box-shadow: 0 12px 30px rgba(11, 73, 115, 0.08);
}

body[data-theme="dark"] .radio-label:has(input[type="radio"]:checked) {
  background: rgba(20, 75, 98, 0.92);
}

/* Checker cards */
.checker-card-grid {
  gap: 0.72rem;
  margin-bottom: 1rem;
}

.checker-card,
body:not([data-theme="dark"]) .checker-card,
body[data-theme="dark"] .checker-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  box-sizing: border-box;
  min-height: 78px;
  padding: 0.7rem 0.9rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 26px -16px rgba(86, 57, 52, 0.3),
    0 0 24px rgba(101, 201, 209, 0.035);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transform-style: preserve-3d;
  transition: transform 620ms var(--premium-ease), border-color 300ms ease, box-shadow 620ms var(--premium-ease), background-color 300ms ease;
  will-change: transform;
}

body[data-theme="dark"] .checker-card {
  background: rgba(12, 59, 85, 0.82);
  border-color: rgba(138, 207, 214, 0.13);
  box-shadow: 0 8px 22px rgba(0, 22, 37, 0.2);
}

.checker-card::after,
.status-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(101, 201, 209, 0.16), transparent 44%);
  transition: opacity 400ms ease;
}

.checker-card:hover::after,
.status-card:hover::after {
  opacity: 1;
}

.checker-card > *,
.status-card > * {
  position: relative;
  z-index: 1;
}

.checker-card:hover,
body:not([data-theme="dark"]) .checker-card:hover,
body[data-theme="dark"] .checker-card:hover {
  border-color: rgba(101, 201, 209, 0.46);
  box-shadow: 0 18px 42px rgba(11, 73, 115, 0.11);
}

.checker-card.selected,
body:not([data-theme="dark"]) .checker-card.selected,
body[data-theme="dark"] .checker-card.selected {
  background: linear-gradient(135deg, rgba(234, 251, 252, 0.64), rgba(255, 242, 235, 0.76));
  border-color: rgba(255, 144, 90, 0.68);
  box-shadow: 0 15px 36px rgba(255, 144, 90, 0.14), inset 0 0 0 1px rgba(255, 144, 90, 0.08);
}

body[data-theme="dark"] .checker-card.selected {
  background: rgba(24, 74, 96, 0.96);
}

.checker-card .icon {
  width: 38px;
  height: 38px;
  margin-right: 0.8rem;
  color: var(--brand-navy);
  background: rgba(101, 201, 209, 0.13);
  border-radius: 11px;
  transition: color 260ms ease, background-color 260ms ease, transform 620ms var(--premium-ease), box-shadow 620ms var(--premium-ease);
}

body[data-theme="dark"] .checker-card .icon {
  color: #a9e5e9;
}

.checker-card:hover .icon {
  transform: translateY(-2px) scale(1.035);
}

.checker-card.selected .icon,
.checker-card.selected:hover .icon {
  color: #fff;
  background: linear-gradient(145deg, #ff9f72, #ff8248);
  box-shadow: 0 9px 20px rgba(255, 128, 71, 0.25);
  transform: scale(1.1) rotate(0deg);
}

.checker-card .title {
  color: var(--brand-heading);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.18;
}

body[data-theme="dark"] .checker-card .title {
  color: #f3fbfc;
}

.checker-card .description {
  color: var(--text-light);
  font-size: 0.77rem;
  line-height: 1.32;
}

.selection-summary,
#summary,
.management-level-selector {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 17px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 30px -22px rgba(91, 60, 54, 0.3);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
}

body[data-theme="dark"] .selection-summary,
body[data-theme="dark"] #summary,
body[data-theme="dark"] .management-level-selector {
  background: rgba(14, 61, 84, 0.82);
}

#summary {
  border-left: 4px solid var(--primary-color);
}

.seniority-pill,
.management-level-pill {
  overflow: hidden;
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 73, 115, 0.14);
  border-radius: 999px;
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease, transform 500ms var(--premium-ease), box-shadow 500ms var(--premium-ease);
}

body[data-theme="dark"] .seniority-pill,
body[data-theme="dark"] .management-level-pill {
  color: #dff7f8;
  background: rgba(13, 64, 91, 0.82);
}

.seniority-pill:hover,
.management-level-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 201, 209, 0.58);
}

.seniority-pill.active,
.management-level-pill.active {
  color: #fff;
  background: linear-gradient(145deg, #ff9e70, #ff8146);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(255, 128, 70, 0.22);
}

.pipeline-node {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(11, 73, 115, 0.11);
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(11, 73, 115, 0.055);
  transition: transform 520ms var(--premium-ease), border-color 260ms ease, box-shadow 520ms var(--premium-ease);
}

body[data-theme="dark"] .pipeline-node {
  background: rgba(12, 59, 85, 0.84);
}

.pipeline-node:hover {
  transform: translateY(-2px) scale(1.005);
  border-color: rgba(101, 201, 209, 0.48);
  box-shadow: 0 15px 32px rgba(11, 73, 115, 0.1);
}

/* Bring older inline-configured GetLeads controls into the same system. */
#getleadsIcpPrompt,
#getleadsIcpLimit,
#getleads-size-min,
#getleads-size-max,
#getleads-max-contacts-per-company,
#add-getleads-job-title-input,
#add-getleads-location-input,
#add-getleads-industry-input,
#add-getleads-tech-input,
#getleads-person-description {
  color: var(--text-color) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(11, 73, 115, 0.15) !important;
  border-radius: 12px !important;
}

body[data-theme="dark"] #getleadsIcpPrompt,
body[data-theme="dark"] #getleadsIcpLimit,
body[data-theme="dark"] #getleads-size-min,
body[data-theme="dark"] #getleads-size-max,
body[data-theme="dark"] #getleads-max-contacts-per-company,
body[data-theme="dark"] #add-getleads-job-title-input,
body[data-theme="dark"] #add-getleads-location-input,
body[data-theme="dark"] #add-getleads-industry-input,
body[data-theme="dark"] #add-getleads-tech-input,
body[data-theme="dark"] #getleads-person-description {
  color: #f4fbfc !important;
  background: rgba(12, 58, 85, 0.86) !important;
  border-color: rgba(138, 207, 214, 0.17) !important;
}

#getleads-filters-preview {
  background: linear-gradient(135deg, rgba(101, 201, 209, 0.08), rgba(255, 255, 255, 0.74)) !important;
  border-color: rgba(101, 201, 209, 0.2) !important;
  border-radius: 18px !important;
}

body[data-theme="dark"] #getleads-filters-preview {
  background: linear-gradient(135deg, rgba(101, 201, 209, 0.08), rgba(11, 55, 81, 0.78)) !important;
}

#icp-suggestion,
#place-type-suggestion {
  background: rgba(255, 252, 249, 0.48) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  border-radius: 13px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 12px 32px -20px rgba(91, 60, 54, 0.32),
    0 0 26px rgba(101, 201, 209, 0.055);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

#btn-preview-getleads-filters {
  color: var(--brand-navy) !important;
  background: rgba(101, 201, 209, 0.11) !important;
  border-color: rgba(101, 201, 209, 0.4) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

#btn-add-getleads-job-title,
#btn-add-getleads-location,
#btn-add-getleads-industry,
#btn-add-getleads-tech,
#accept-place-type-btn,
#accept-icp-btn {
  color: #fff !important;
  background: linear-gradient(145deg, #ffa276, #ff8247) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* GetLeads Selective Enrichment */
.selective-enrichment-panel {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(11, 73, 115, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 12%, rgba(101, 201, 209, 0.13), transparent 32%),
    radial-gradient(circle at 92% 88%, rgba(255, 137, 82, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 42px rgba(11, 73, 115, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
}

.selective-enrichment-heading strong,
.selective-enrichment-section > label,
.selective-field-toolbar label {
  display: block;
  color: var(--brand-navy);
  font-weight: 800;
}

.selective-enrichment-heading small,
.selective-enrichment-section > small,
.selective-field-toolbar small,
.selective-enrichment-note {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-light);
}

.selective-enrichment-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 73, 115, 0.1);
}

.selective-source-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.55rem;
  margin-bottom: 0;
}

.selective-field-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.selective-field-actions {
  display: flex;
  gap: 0.45rem;
}

.selective-field-pills {
  gap: 0.5rem;
}

.getleads-selective-pill {
  padding: 0.38rem 0.72rem;
  text-decoration: none !important;
  opacity: 1 !important;
}

.getleads-selective-pill.is-incompatible {
  display: none;
}

.selective-enrichment-note {
  margin-top: 0.7rem;
  font-style: italic;
}

@media (max-width: 760px) {
  .selective-source-options {
    grid-template-columns: 1fr;
  }

  .selective-field-toolbar {
    flex-direction: column;
  }
}

/* Buttons and tactile feedback */
button,
.button {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  box-shadow: none;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 520ms var(--premium-ease), box-shadow 520ms var(--premium-ease);
}

button:hover,
.button:hover {
  transform: translateY(-2px);
}

button:active,
.button:active,
button.secondary:active,
.button.secondary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

button.primary {
  color: #fff;
  background: linear-gradient(145deg, #ffa276 0%, #ff8247 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(255, 128, 70, 0.22);
}

button.primary:hover {
  background: linear-gradient(145deg, #ffad87 0%, #f5763b 100%);
  box-shadow: 0 15px 30px rgba(255, 128, 70, 0.27);
}

button.secondary,
.button.secondary,
body[data-theme="dark"] button.secondary,
body[data-theme="dark"] .button.secondary {
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(11, 73, 115, 0.55);
}

body[data-theme="dark"] button.secondary,
body[data-theme="dark"] .button.secondary {
  color: #dff7f8;
  background: rgba(11, 60, 87, 0.78);
  border-color: rgba(101, 201, 209, 0.5);
}

button.secondary:hover,
.button.secondary:hover,
body[data-theme="dark"] button.secondary:hover,
body[data-theme="dark"] .button.secondary:hover {
  color: var(--primary-hover);
  background: rgba(255, 144, 90, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(255, 144, 90, 0.1);
}

button:disabled {
  color: #8f959b;
  background: #e7ecee;
  border-color: transparent;
  box-shadow: none;
}

.premium-ripple {
  position: absolute;
  z-index: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(101, 201, 209, 0.26);
  animation: premium-ripple 620ms var(--premium-ease) forwards;
}

@keyframes premium-ripple {
  from { opacity: 0.8; transform: scale(0); }
  to { opacity: 0; transform: scale(22); }
}

.navigation-buttons {
  padding: 0.85rem 2rem;
  background: rgba(255, 252, 249, 0.62);
  border-color: rgba(11, 73, 115, 0.09);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

body[data-theme="dark"] .navigation-buttons {
  background: rgba(8, 47, 72, 0.8);
}

.header::after,
.navigation-buttons::before {
  display: block;
  height: 28px;
}

.header.brand-header::after {
  background: linear-gradient(to bottom, rgba(11, 73, 115, 0.16), rgba(11, 73, 115, 0.045) 48%, transparent);
}

body[data-theme="dark"] .header.brand-header::after {
  background: linear-gradient(to bottom, rgba(0, 18, 30, 0.42), rgba(0, 18, 30, 0.12) 52%, transparent);
}

.navigation-buttons::before {
  background: linear-gradient(to top, rgba(11, 73, 115, 0.14), rgba(11, 73, 115, 0.04) 48%, transparent);
}

body[data-theme="dark"] .navigation-buttons::before {
  background: linear-gradient(to top, rgba(0, 18, 30, 0.38), rgba(0, 18, 30, 0.1) 52%, transparent);
}

/* Dialogs, toasts and tooltips */
.modal-overlay.visible {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.modal-box,
.option-selector-box,
.segmentation-modal-box,
.toast,
.tooltip-content,
#chartjs-tooltip {
  isolation: isolate;
  color: var(--text-color);
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 144, 90, 0.12), transparent 28%),
    radial-gradient(circle at 4% 100%, rgba(101, 201, 209, 0.065), transparent 30%),
    var(--popup-glass-bg);
  border: 1px solid var(--popup-glass-border);
  box-shadow: var(--popup-glass-shadow);
  -webkit-backdrop-filter: blur(var(--popup-glass-blur)) saturate(145%);
  backdrop-filter: blur(var(--popup-glass-blur)) saturate(145%);
}

.modal-box,
.option-selector-box,
.segmentation-modal-box {
  border-radius: 20px;
  transition: transform 620ms var(--premium-ease), opacity 280ms ease;
}

body[data-theme="dark"] .modal-box {
  background: rgba(9, 49, 74, 0.97);
  border-color: rgba(138, 207, 214, 0.18);
}

.modal-overlay.visible .modal-box {
  transform: translateY(0) scale(1);
}

.modal-overlay:not(.visible) .modal-box {
  transform: translateY(22px) scale(0.96);
}

.modal-box h3 {
  color: #dd5c50;
  font-weight: 800;
}

body[data-theme="dark"] .modal-box h3 {
  color: #effbfc;
}

.toast,
.tooltip-content,
#chartjs-tooltip {
  border-radius: 18px;
}

.tooltip-content strong,
#chartjs-tooltip strong {
  color: #dd5c50;
  font-weight: 800;
}

.tooltip-content em {
  color: #676267;
}

.option-selector-box {
  background: rgba(255, 252, 249, 0.56);
}

.option-selector-list {
  padding: 0.2rem;
}

.option-selector-item {
  border: 1px solid transparent;
  border-radius: 11px;
  transition: background-color 220ms ease, border-color 220ms ease, transform 420ms var(--premium-ease);
}

.option-selector-item:hover {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateX(2px);
}

.option-selector-item.selected {
  background: rgba(255, 144, 90, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 7px 18px rgba(255, 124, 63, 0.18);
}

.toast.success {
  background: rgba(237, 252, 248, 0.62);
}

.toast.error {
  background: rgba(255, 241, 239, 0.66);
}

body[data-theme="dark"] .toast,
body[data-theme="dark"] .tooltip-content,
body[data-theme="dark"] #chartjs-tooltip {
  background: rgba(8, 49, 75, 0.96);
  border-color: rgba(138, 207, 214, 0.17);
}

.toast.show {
  animation: premium-toast-in 620ms var(--premium-ease) forwards;
}

@keyframes premium-toast-in {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  65% { opacity: 1; transform: translateY(-2px) scale(1.008); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Status page */
.sticky-progress-card,
.status-card {
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 40px -24px rgba(89, 58, 52, 0.3),
    0 0 32px rgba(101, 201, 209, 0.04);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

body[data-theme="dark"] .sticky-progress-card,
body[data-theme="dark"] .status-card {
  background: rgba(11, 57, 83, 0.85);
  border-color: rgba(138, 207, 214, 0.13);
}

.status-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 620ms var(--premium-ease), border-color 300ms ease, box-shadow 620ms var(--premium-ease);
}

.status-card:hover {
  border-color: rgba(101, 201, 209, 0.38);
  box-shadow: 0 18px 44px rgba(11, 73, 115, 0.1);
}

.status-card h4,
.status-card-header h4 {
  color: var(--brand-heading);
  font-weight: 800;
}

body[data-theme="dark"] .status-card h4,
body[data-theme="dark"] .status-card-header h4 {
  color: #f2fbfc;
}

.progress-container,
.step-progress-container {
  overflow: hidden;
  background: rgba(101, 201, 209, 0.13);
  border-radius: 999px;
}

.progress-bar,
.step-progress-bar {
  background: linear-gradient(90deg, #65c9d1 0%, #ff905a 100%);
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(255, 144, 90, 0.2);
  transition: width 800ms var(--premium-ease);
}

.timeline-marker {
  border-color: rgba(101, 201, 209, 0.34);
  transition: background-color 360ms ease, border-color 360ms ease, color 360ms ease, transform 560ms var(--premium-ease), box-shadow 560ms var(--premium-ease);
}

.timeline-item.running .timeline-marker {
  color: #fff;
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 7px rgba(101, 201, 209, 0.12);
  animation: premium-marker-pulse 2.2s ease-in-out infinite;
}

.timeline-item.completed .timeline-marker {
  color: #fff;
  background: #4aa485;
  border-color: #4aa485;
}

@keyframes premium-marker-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(101, 201, 209, 0.1); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 11px rgba(101, 201, 209, 0.025); }
}

/* Accessibility and responsive behavior */
:focus-visible {
  outline: 3px solid rgba(101, 201, 209, 0.8) !important;
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .main-content-wrapper { padding: 0.55rem; }
  .main-content-wrapper::before {
    top: 7vh;
    left: -108px;
    width: 270px;
    height: 270px;
    background: rgba(101, 201, 209, 0.195);
  }
  .main-content-wrapper::after {
    right: -72px;
    bottom: 3vh;
    width: 170px;
    height: 170px;
    background: rgba(255, 144, 90, 0.175);
  }
  .container { height: 96vh; max-height: none; border-radius: 22px; }
  .header.brand-header {
    min-height: 62px;
    grid-template-columns: auto 1fr;
    padding: 0.45rem 0.8rem;
    gap: 0.7rem;
  }
  .brand-logo { width: 52px; height: 41px; }
  .brand-title-group p { display: none; }
  .sticky-wizard-header.header-visible { top: 0.45rem; }
  .step-item { padding-inline: 7px; }
  .checker-card-grid { grid-template-columns: 1fr; }
  .navigation-buttons { padding: 0.75rem 1rem; }
}

@media (max-width: 520px) {
  .main-content-wrapper::before {
    left: -112px;
    width: 225px;
    height: 225px;
  }
  .main-content-wrapper::after {
    right: -74px;
    width: 145px;
    height: 145px;
  }
  .header.brand-header h2 { font-size: 1.12rem; }
  .step-item { min-height: 34px; padding-inline: 5px; }
  .step-icon { width: 20px; height: 20px; margin-right: 4px; }
  .step-icon .material-symbols-outlined { font-size: 20px; }
  .step-label { font-size: 0.72rem; }
  button, .button { padding: 0.7rem 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
