/* Start custom CSS *//* Keep box + title on the same line */
.ta-row{
  display: flex;
  align-items: center;
  gap: 10px;
}

.ta-title-wrap{
  display: block;
  line-height: 1.2;
  min-width: 0;
}

/* Plan select wrapper: sit above any ASP overlay */
.ta-plan-select{
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 9999;
}

/* Remove the “caret/selection” look you described on click */
.ta-plan-select:focus{
  outline: none;
}

/* Optional: keep accessibility with a subtle focus ring */
.ta-plan-select:focus-visible{
  outline: 2px solid #9ca3af;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Box base style */
.ta-plan-box{
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  background: #38393d;
  border: 1px solid #1f2023;
  box-sizing: border-box;
}

/* Tick: centered via 50%/50% + translate */
.ta-plan-box::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  /* tick dimensions */
  width: 5px;
  height: 9px;

  border: solid transparent;   /* hidden by default */
  border-width: 0 2px 2px 0;

  /* center then rotate */
  transform: translate(-50%, -60%) rotate(45deg);
}

/* Hover preview (only when not selected): light grey tick */
.ta-plan-select:not(.is-selected):hover .ta-plan-box::after{
  border-color: #9ca3af;
}

/* Selected: white tick */
.ta-plan-select.is-selected .ta-plan-box::after{
  border-color: #ffffff;
}

/* Keep selected tick white on hover */
.ta-plan-select.is-selected:hover .ta-plan-box::after{
  border-color: #ffffff;
}

/* This prevents background scrolling when the modal is open */
html.ta-modal-open,
body.ta-modal-open {
  overflow: hidden !important;
}/* End custom CSS */