.rc-slider {
  position: relative;
  width: 100%;
  height: 14px;
  padding: 5px 0;
  border-radius: 6px;
  touch-action: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider-rail {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #e9e9e9;
  border-radius: 6px;
}
.rc-slider-track,
.rc-slider-tracks {
  position: absolute;
  height: 4px;
  background-color: #abe2fb;
  border-radius: 6px;
}
.rc-slider-track-draggable {
  z-index: 1;
  box-sizing: content-box;
  background-clip: content-box;
  border-top: 5px solid rgba(0, 0, 0, 0);
  border-bottom: 5px solid rgba(0, 0, 0, 0);
  transform: translateY(-5px);
}
.rc-slider-handle {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  background-color: #fff;
  border: solid 2px #96dbfa;
  border-radius: 50%;
  cursor: pointer;
  cursor: -webkit-grab;
  cursor: grab;
  opacity: 0.8;
  user-select: none;
  touch-action: pan-x;
}
.rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
  border-color: #57c5f7;
  box-shadow: 0 0 0 5px #96dbfa;
}
.rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging-delete {
  opacity: 0;
}
.rc-slider-handle:focus {
  outline: none;
  box-shadow: none;
}
.rc-slider-handle:focus-visible {
  border-color: #2db7f5;
  box-shadow: 0 0 0 3px #96dbfa;
}
.rc-slider-handle-click-focused:focus {
  border-color: #96dbfa;
  box-shadow: unset;
}
.rc-slider-handle:hover {
  border-color: #57c5f7;
}
.rc-slider-handle:active {
  border-color: #57c5f7;
  box-shadow: 0 0 5px #57c5f7;
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.rc-slider-mark {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  font-size: 12px;
}
.rc-slider-mark-text {
  position: absolute;
  display: inline-block;
  color: #999;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}
.rc-slider-mark-text-active {
  color: #666;
}
.rc-slider-step {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
}
.rc-slider-dot {
  position: absolute;
  bottom: -2px;
  width: 8px;
  height: 8px;
  vertical-align: middle;
  background-color: #fff;
  border: 2px solid #e9e9e9;
  border-radius: 50%;
  cursor: pointer;
}
.rc-slider-dot-active {
  border-color: #96dbfa;
}
.rc-slider-dot-reverse {
  margin-right: -4px;
}
.rc-slider-disabled {
  background-color: #e9e9e9;
}
.rc-slider-disabled .rc-slider-track {
  background-color: #ccc;
}
.rc-slider-disabled .rc-slider-handle,
.rc-slider-disabled .rc-slider-dot {
  background-color: #fff;
  border-color: #ccc;
  box-shadow: none;
  cursor: not-allowed;
}
.rc-slider-disabled .rc-slider-mark-text,
.rc-slider-disabled .rc-slider-dot {
  cursor: not-allowed !important;
}
.rc-slider-vertical {
  width: 14px;
  height: 100%;
  padding: 0 5px;
}
.rc-slider-vertical .rc-slider-rail {
  width: 4px;
  height: 100%;
}
.rc-slider-vertical .rc-slider-track {
  bottom: 0;
  left: 5px;
  width: 4px;
}
.rc-slider-vertical .rc-slider-track-draggable {
  border-top: 0;
  border-right: 5px solid rgba(0, 0, 0, 0);
  border-bottom: 0;
  border-left: 5px solid rgba(0, 0, 0, 0);
  transform: translateX(-5px);
}
.rc-slider-vertical .rc-slider-handle {
  position: absolute;
  z-index: 1;
  margin-top: 0;
  margin-left: -5px;
  touch-action: pan-y;
}
.rc-slider-vertical .rc-slider-mark {
  top: 0;
  left: 18px;
  height: 100%;
}
.rc-slider-vertical .rc-slider-step {
  width: 4px;
  height: 100%;
}
.rc-slider-vertical .rc-slider-dot {
  margin-left: -2px;
}
.rc-slider-tooltip-zoom-down-enter,
.rc-slider-tooltip-zoom-down-appear {
  display: block !important;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  animation-play-state: paused;
}
.rc-slider-tooltip-zoom-down-leave {
  display: block !important;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  animation-play-state: paused;
}
.rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
.rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
  animation-name: rcSliderTooltipZoomDownIn;
  animation-play-state: running;
}
.rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
  animation-name: rcSliderTooltipZoomDownOut;
  animation-play-state: running;
}
.rc-slider-tooltip-zoom-down-enter,
.rc-slider-tooltip-zoom-down-appear {
  transform: scale(0, 0);
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
.rc-slider-tooltip-zoom-down-leave {
  animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
@keyframes rcSliderTooltipZoomDownIn {
  0% {
    transform: scale(0, 0);
    transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    transform: scale(1, 1);
    transform-origin: 50% 100%;
  }
}
@keyframes rcSliderTooltipZoomDownOut {
  0% {
    transform: scale(1, 1);
    transform-origin: 50% 100%;
  }
  100% {
    transform: scale(0, 0);
    transform-origin: 50% 100%;
    opacity: 0;
  }
}
.rc-slider-tooltip {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: visible;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider-tooltip * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider-tooltip-hidden {
  display: none;
}
.rc-slider-tooltip-placement-top {
  padding: 4px 0 8px 0;
}
.rc-slider-tooltip-inner {
  min-width: 24px;
  height: 24px;
  padding: 6px 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background-color: #6c6c6c;
  border-radius: 6px;
  box-shadow: 0 0 4px #d9d9d9;
}
.rc-slider-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
  bottom: 4px;
  left: 50%;
  margin-left: -4px;
  border-width: 4px 4px 0;
  border-top-color: #6c6c6c;
}

/* ROI Calculator Component Styles */
.roi-wrapper {
  max-width: var(--content-width--default);
  margin-left: auto;
  margin-right: auto;
}
.roi-card {
  display: flex;
  position: relative;

  &.processing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 200;
    border-radius: inherit;
    align-items: center;
  }

  &.processing::after {
    content: '';
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -30px 0 0 -30px;
    border: 6px solid #0066ff;
    border-bottom: 6px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    animation: loading 0.9s linear infinite;
    z-index: 201;
  }
}
.roi-form {
  border: 1px solid var(--_colors---neutral--grey-2);
  border-bottom: none;
  border-radius: var(--border-radius--10);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;

  padding: var(--_spacing---px--30);
  grid-column-gap: var(--_spacing---px--30);
  grid-row-gap: var(--_spacing---px--30);
  background-color: var(--_colors---primary--slate);
  flex-flow: column;
  flex: 1;
  display: flex;
}
@media screen and (min-width: 768px) {
  .roi-form {
    border-top: 1px solid var(--_colors---neutral--grey-2);
    border-top-left-radius: var(--border-radius--10);
    border-bottom-left-radius: var(--border-radius--10);
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}
.roi-results {
  border: 1px solid var(--_colors---neutral--grey-2);
  border-radius: var(--border-radius--10);
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: flex;
  padding: var(--_spacing---px--40) var(--_spacing---px--30)
    var(--_spacing---px--30);
  grid-column-gap: var(--_spacing---px--64);
  grid-row-gap: var(--_spacing---px--64);
  gap: 0;
  flex-flow: column;
  flex: 1;
  background-color: white;
}
@media screen and (min-width: 768px) {
  .roi-results {
    border: 1px solid var(--_colors---neutral--grey-2);
    border-left: none;
    border-radius: var(--border-radius--10);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}
.roi-field-title {
  margin-bottom: var(--_spacing---px--12);
  font-size: var(--_typography---font-size--body-large);
  font-weight: 700;
  text-align: left;
}
.roi-field-skeleton {
  height: var(--_spacing---px--48);
  border-radius: var(--border-radius--8);
  background-image: repeating-linear-gradient(
    90deg,
    var(--_colors---neutral--grey-1),
    #e4eaef4f 50%,
    var(--_colors---neutral--grey-1)
  );
  pointer-events: auto;
  transition: background-position 0.2s;
}
.roi-submit {
  border: 2px solid var(--_colors---primary--blue);
  border-radius: var(--border-radius--8);
  background-color: var(
    --_colors---components--button--secondary--background-color
  );
  color: var(--_colors---primary--dark-blue);
  text-align: center;
  width: 100%;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 15px;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  transition-property: border-color, background-color;
  transition-duration: .2s, .2s;
  transition-timing-function: ease, ease;
}
.roi-submit:hover {
  background-color: var(--_colors---primary--blue);
  color: white;
}
.roi-pre-cta {
  margin-bottom: 10px;
  text-align: center;
}
.roi-cta {
  border-radius: var(--border-radius--8);
  background-color: var(--_colors---primary--blue);
  color: white;
  text-align: center;
  width: 100%;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 15px;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  box-sizing: border-box;
  transition-property: border-color, background-color;
  transition-duration: .2s, .2s;
  transition-timing-function: ease, ease;
}
.roi-cta:hover {
  background-color: var(--_colors---primary--blue-hover-40);
}
.roi-stats {
  grid-column-gap: var(--_spacing---px--12);
  grid-row-gap: var(--_spacing---px--12);
  flex-flow: column;
  display: flex;
}
.roi-results-cta {
  margin-top: 36px;
}
.roi-stats-title {
  font-size: var(--_typography---font-size--body-large);
  text-align: center;
  font-weight: 700;
}
.roi-stats-number {
  color: var(--_colors---primary--blue);
  font-size: var(--_typography---font-size--h2);
  text-align: center;
}
.roi-stats-group {
  border-top: 1px solid var(--_colors---neutral--grey-2);
  margin-top: 55px;
  margin-bottom: 50px;
}
.roi-stats-group-item {
  padding-top: var(--_spacing---px--12);
  padding-bottom: var(--_spacing---px--20);
  border-bottom: 1px solid var(--_colors---neutral--grey-2);
  justify-content: space-between;
  align-items: baseline;
  display: flex;
}
.roi-item-title {
  font-size: var(--_typography---font-size--body-small);
}
.roi-item-value {
  font-size: var(--_typography---font-size--h4);
}
.roi-disclaimer {
  margin-top: var(--_spacing---px--30);
  font-size: var(--_typography---font-size--caption);
}
/* ROI Calculator Input Styles */
.roi-field-input {
  height: 48px;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  background: white;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.roi-field-input:focus {
  border-color: var(--_colors---primary--blue, #146aff);
  box-shadow: 0 0 0 3px rgba(20, 106, 255, 0.1);
}
/* Slider + Input Groups */
.roi-slider-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  position: relative;
}
.roi-slider {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--_colors---neutral--grey-1, #e4eaef);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.roi-input-fixed {
  width: 137px;
  flex-shrink: 0;
  position: relative;
}
.roi-input-with-unit {
  position: relative;
  display: inline-block;
}
.roi-input-with-unit .roi-field-input {
  padding-right: 2.5rem;
}
.roi-unit {
  font-weight: 600;
  color: #6b7280;
  font-size: 1.1rem;
  white-space: nowrap;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.roi-unit-prefix {
  left: 12px;
  right: auto;
}
.roi-company-size-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.roi-slider-container {
  width: 100%;
  position: relative;
  padding-top: 30px;
}
.roi-slider-wrapper {
  position: relative;
  width: 100%;
  padding-top: 30px;
}
.roi-slider-wrapper-no-label {
  position: relative;
  width: 100%;
}
.roi-slider-value-min {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  pointer-events: none;
}
.roi-slider-value-max {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  pointer-events: none;
}
.roi-min-max-inputs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}
.roi-range-separator {
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}
/* Autocomplete Styles */
.roi-autocomplete-container {
  position: relative;
  width: 100%;
}
.roi-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}
.roi-autocomplete-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s ease;
  text-align: left;
}
.roi-autocomplete-item:hover,
.roi-autocomplete-item.focused {
  background-color: #f8fafc;
}
.roi-autocomplete-item.focused {
  background-color: #e0f2fe;
  outline: 2px solid var(--_colors---primary--blue, #146aff);
  outline-offset: -2px;
}
.roi-autocomplete-item:last-child {
  border-bottom: none;
}
/* Pills Container */
.roi-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.roi-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  background: var(--_colors---primary--blue, #146aff);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.roi-pill-remove {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  line-height: 0.5;
  padding: 0;
  margin-left: 0px;
  margin-top: 2px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.roi-pill-remove:hover {
  opacity: 1;
}
/* Full Width Select */
.roi-select-full {
  width: 100%;
}
/* Multi-select Dropdown Styles */
.roi-multiselect-wrapper {
  position: relative;
  width: 100%;
}
.roi-multiselect-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
  min-height: 48px;
  box-sizing: border-box;
}
.roi-multiselect-trigger:hover {
  border-color: #9ca3af;
}
.roi-multiselect-trigger:focus-within,
.roi-multiselect-trigger:focus {
  border-color: var(--_colors---primary--blue, #146aff);
  box-shadow: 0 0 0 3px rgba(20, 106, 255, 0.1);
  outline: none;
}
.roi-multiselect-text {
  flex: 1;
  color: #374151;
  font-size: 1rem;
  text-align: left;
}
/* Placeholder styles for input fields */
.roi-field-input::placeholder {
  color: rgba(17, 40, 52, 0.5) !important;
  opacity: 1;
}
.roi-field-input::-webkit-input-placeholder {
  color: rgba(17, 40, 52, 0.5) !important;
  opacity: 1;
}
.roi-field-input::-moz-placeholder {
  color: rgba(17, 40, 52, 0.5) !important;
  opacity: 1;
}
.roi-field-input:-ms-input-placeholder {
  color: rgba(17, 40, 52, 0.5) !important;
  opacity: 1;
}
/* Placeholder state for multiselect when showing "Select all that apply" */
.roi-multiselect-text.placeholder {
  color: rgba(17, 40, 52, 0.5);
}
.roi-multiselect-arrow {
  transition: transform 0.2s;
  transform-origin: center;
  color: #6b7280;
  font-size: 12px;
  margin-left: 8px;
  width: 14px;
  height: 14px;
}
.roi-multiselect-arrow.open {
  transform: rotate(180deg);
}
.roi-multiselect-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 10;
}
.roi-multiselect-option {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.15s;
  user-select: none;
}
.roi-multiselect-option:hover,
.roi-multiselect-option.focused {
  background-color: #f3f4f6;
}
.roi-multiselect-option.focused {
  background-color: #e0f2fe;
  outline: 2px solid var(--_colors---primary--blue, #146aff);
  outline-offset: -2px;
}
.roi-multiselect-checkbox {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: var(--_colors---primary--blue, #146aff);
}
.roi-multiselect-label {
  flex: 1;
  color: #374151;
  user-select: none;
  text-align: left;
}
/* RC Slider Custom Styling */
.roi-rc-slider {
  width: 100% !important;
}
.roi-rc-slider .rc-slider-track {
  height: 4px !important;
  background-color: var(--_colors---primary--blue, #146aff) !important;
  border-radius: 2px !important;
}
.roi-rc-slider .rc-slider-rail {
  height: 4px !important;
  background-color: var(--_colors---neutral--grey-1, #e4eaef) !important;
  border-radius: 2px !important;
}
.roi-rc-slider .rc-slider-handle {
  width: 14px !important;
  height: 14px !important;
  background-color: white !important;
  border: 4px solid var(--_colors---primary--blue, #146aff) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  margin-top: -5px !important; /* Center vertically */
  opacity: 1 !important;
  outline: none !important;
}
.roi-rc-slider .rc-slider-handle:hover,
.roi-rc-slider .rc-slider-handle:focus,
.roi-rc-slider .rc-slider-handle:active {
  border-color: var(--_colors---primary--blue, #146aff) !important;
  box-shadow: 0 0 0 8px rgba(20, 106, 255, 0.16) !important;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: 4px solid #146aff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
input[type='range']::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: 4px solid #146aff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Firefox styling */
input[type='range']::-moz-range-track {
  background: #e4eaef;
  height: 4px;
  border-radius: 2px;
  border: none;
}
input[type='range']::-moz-range-progress {
  background: #146aff;
  height: 4px;
  border-radius: 2px;
}
/* Webkit browsers */
input[type='range']::-webkit-slider-track {
  background: #e4eaef;
  height: 4px;
  border-radius: 2px;
  border: none;
}
/* Webkit progress value (limited support) */
input[type='range']::-webkit-progress-value {
  background: #146aff;
}
/* Loading spinner animation */
@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media screen and (max-width: 768px) {
  .roi-card  {
    flex-direction: column;
  }

  .roi-form {
    order: 1;
  }

  .roi-results {
    order: 2;
  }
}

