:root {
  --white: rgba(255, 255, 255, 1);
  --black: rgba(0, 0, 0, 1);
  --sky-blue: rgba(76, 141, 255, 1);
  --night-sky: rgba(9, 43, 94, 1);
  --thundercloud: rgba(108, 131, 168, 1);
  --pool-blue: rgba(47, 205, 255, 1);
  --light-blue: rgba(237, 244, 255, 1);


  --gray-25: rgba(253, 253, 253, 1);
  --gray-50: rgba(250, 250, 250, 1);
  --gray-100: rgba(245, 245, 245, 1);
  --gray-200: rgba(233, 234, 235, 1);
  --gray-300: rgba(213, 215, 218, 1);
  --gray-400: rgba(164, 167, 174, 1);
  --gray-500: rgba(113, 118, 128, 1);
  --gray-600: rgba(83, 88, 98, 1);
  --gray-700: rgba(65, 70, 81, 1);
  --gray-800: rgba(37, 43, 55, 1);
  --gray-900: rgba(24, 29, 39, 1);
  --gray-950: rgba(24, 29, 39, 1);

  --sunny-orange-25: rgba(254, 251, 245, 1);
  --sunny-orange-50: rgba(254, 246, 235, 1);
  --sunny-orange-100: rgba(253, 238, 215, 1);
  --sunny-orange-200: rgba(251, 221, 175, 1);
  --sunny-orange-300: rgba(249, 203, 134, 1);
  --sunny-orange-400: rgba(247, 186, 94, 1);
  --sunny-orange-500: rgba(245, 169, 54, 1);
  --sunny-orange-600: rgba(196, 135, 43, 1);
  --sunny-orange-700: rgba(147, 101, 32, 1);
  --sunny-orange-800: rgba(98, 68, 22, 1);
  --sunny-orange-900: rgba(49, 34, 11, 1);
  --sunny-orange-950: rgba(37, 25, 8, 1);

  --blurple-25: rgba(246, 245, 254, 1);
  --blurple-50: rgba(238, 235, 253, 1);
  --blurple-100: rgba(221, 216, 251, 1);
  --blurple-200: rgba(187, 177, 246, 1);
  --blurple-300: rgba(153, 137, 242, 1);
  --blurple-400: rgba(119, 98, 237, 1);
  --blurple-500: rgba(85, 59, 233, 1);
  --blurple-600: rgba(68, 47, 186, 1);
  --blurple-700: rgba(51, 35, 140, 1);
  --blurple-800: rgba(34, 24, 93, 1);
  --blurple-900: rgba(17, 12, 47, 1);
  --blurple-950: rgba(13, 9, 35, 1);

  --error-25: rgba(255, 251, 250, 1);
  --error-50: rgba(254, 243, 242, 1);
  --error-100: rgba(254, 228, 226, 1);
  --error-200: rgba(254, 205, 202, 1);
  --error-300: rgba(253, 162, 155, 1);
  --error-400: rgba(249, 112, 102, 1);
  --error-500: rgba(240, 68, 56, 1);
  --error-600: rgba(217, 45, 32, 1);
  --error-700: rgba(180, 35, 24, 1);
  --error-800: rgba(145, 32, 24, 1);
  --error-900: rgba(122, 39, 26, 1);
  --error-950: rgba(85, 22, 12, 1);

  --success-25: rgba(246, 254, 249, 1);
  --success-50: rgba(236, 253, 243, 1);
  --success-100: rgba(220, 250, 230, 1);
  --success-200: rgba(169, 239, 197, 1);
  --success-300: rgba(117, 224, 167, 1);
  --success-400: rgba(71, 205, 137, 1);
  --success-500: rgba(23, 178, 106, 1);
  --success-600: rgba(7, 148, 85, 1);
  --success-700: rgba(6, 118, 71, 1);
  --success-800: rgba(8, 93, 58, 1);
  --success-900: rgba(7, 77, 49, 1);
  --success-950: rgba(5, 51, 33, 1);


  --display-2xl: 3.75rem;
  --display-xl: 3rem;
  --display-lg: 2.25rem;
  --display-md: 1.875rem;
  --display-sm: 1.5rem;
  --display-xs: 1.25rem;

  --text-xl: 1.125rem;
  --text-lg: 1rem;
  --text-md: 0.875rem;
  --text-sm: 0.75rem;
  --text-xs: 0.625rem;
}

.main_heading {
  font-size: clamp(18px, 8vw, 44px);
  font-weight: 800;
  color: #092b5e;
  line-height: 1.1;
  margin-bottom: 16px;
}

.sub_heading {
  font-size: clamp(16px, 5vw, 36px);
  color: #092b5e;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.sub_heading_bold {
  font-size: clamp(16px, 5vw, 36px);
  color: #092b5e;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.over_head {
  color: #092b5e;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 2rem;
}

.over_para {
  color: #3a557d;
  font-size: clamp(14px, 2.5vw, 17px);
}

.over_heading {
  color: #092b5e;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 2rem;
}

.over_paragraph {
  color: #3a557d;
  font-size: clamp(14px, 2.5vw, 15px);
}

.insurance__name {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #414651;
}

.insurance_subtext {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #535862;
}

/* button */
.surebird_btn {
  font-size: clamp(16px, 2.5vw, 18px);
  white-space: nowrap;
  font-weight: 600;
  background-color: #553BE9;
  padding: 10px 16px;
  color: var(--white);
  cursor: pointer;
  line-height: 26px;
  border: none;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.surebird_btn:hover {
  background-color: #442FBA;
}

.surebird_btn lightning-icon {
  margin-left: 10px;
  --sds-c-icon-color-foreground-default: var(--white);
}

.surebird_login_btn {
  font-weight: 600;
  line-height: 24px;
  color: #414651 !important;
  font-size: clamp(16px, 2.5rem, 18px);
  white-space: nowrap;
  padding: 10px 16px;
  background-color: var(--white);
  border: 1px solid #D5D7DA;
}

/* input */

.surebird_input {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-wrap: wrap;
}

.surebird_input label {
  font-size: 14px;
  width: fit-content;
  font-weight: 500;
  line-height: 20px;
  color: #344054;
}

.surebird_input input {
  border: none;
  box-shadow: 0 0 0 1px #D5D7DA inset;
  padding: 12px 14px;
  font-size: 16px;
  color: #414651;
  outline: none;
  width: 100%;
  transition: border-color 0.1s ease-in-out;
  background: var(--white);
}

.surebird_input input:focus {
  box-shadow: 0 0 0 2px #F5A936 inset;
}

.surebird_input input::placeholder {
  color: #717680;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Radio*/
.surebird_radio_section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 30px;
}

.surebird_radio_heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* question text */
.surebird_radio_sub_heading {
  margin: 0;
  color: #363636;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  ;
}

/* tooltip wrapper (icon + hidden text) */
.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

/* tooltip text (hidden by default) */
.tooltiptext {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  width: 250px;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  white-space: normal;
  background: #2d2d2d;
  color: #fff;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.2;
  padding: 8px 10px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: opacity 0.12s ease, visibility 0.12s;
  pointer-events: none;
}

/* small arrow pointing down toward the icon */
.tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #2d2d2d transparent transparent transparent;
}

/* show tooltiptext on hover OR keyboard focus (accessibility) */
.tooltip:hover .tooltiptext,
.tooltip:focus-within .tooltiptext,
.tooltip:active .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* --- radio surebird_radio_option styling (keeps existing semantics) --- */
.surebird_radio_options {
  display: flex;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.surebird_radio_option {
  position: relative;
}

/* hide native radio but keep it accessible */
.surebird_radio_option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* styled labels like screenshot */
.surebird_radio_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 56px;
  padding: 0 20px;
  border: 3px solid var(--gray-300);
  background: var(--white);
  white-space: nowrap;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-700);
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.12s ease-in-out;
}

.surebird_radio_option input[type="radio"]:focus+.surebird_radio_label,
.surebird_radio_label:hover {
  border-color: #bfbfbf;
}

.surebird_radio_option input[type="radio"]:checked+.surebird_radio_label {
  border-color: var(--blurple-500);
  color: var(--blurple-500);
  background: var(--blurple-50);
  /* box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.08) inset; */
}

.surebird_radio_options {
  display: flex;
  gap: 12px;
  width: 100%;
  flex-wrap: nowrap;
}

.surebird_radio_section:has(.risico-label) .surebird_radio_options {
  flex-wrap: wrap;
}

.surebird_radio_section:has(.risico-label) .surebird_radio_option {
  flex: 1 1 calc(50% - 12px);
  box-sizing: border-box;
}

.surebird_radio_section:has(.risico-label) .risico-label {
  width: 100%;
}

.surebird_radio_section:has(.three-label) .surebird_radio_options {
  flex-wrap: wrap;
}

.surebird_radio_section:has(.three-label) .surebird_radio_option {
  flex: 1 1 calc(33.333% - 12px);
  box-sizing: border-box;
}

.surebird_radio_section:has(.three-label) .three-label {
  width: 100%;
}

.dropdown-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  cursor: pointer;
}