.im-intro-banner-slot {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  background: #dfff00;
  display: flex;
  flex-direction: column;
  /* Border lives on the slot so a shorter banner cannot draw a mid-seam line */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.im-intro-banner-slot .intro-banner-stack {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.im-intro-banner-slot .intro-banner {
  flex: 1 1 auto;
  min-height: 100%;
  box-sizing: border-box;
  border-bottom: none !important;
}

/* Active nav tab — font must load with blocking style.css (Car skips helvetica-fonts.css) */
@font-face {
  font-family: helveticaNeueBold;
  src: url('/website/fonts/helvetica-neue-5/HelveticaNeueBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@media (max-width: 576px) {
  /* Collapse is position:absolute under .container-fluid — do NOT add banner height to top
     (banner already sits above the header in document flow; adding it again pushes the menu down). */
  .main-header .navbar-collapse {
    top: 51px !important;
    height: calc(100vh - var(--intro-banner-stack-height, 0px) - 51px) !important;
    min-height: calc(100vh - var(--intro-banner-stack-height, 0px) - 51px) !important;
  }

  .main-header .login-button {
    position: static !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 20px 24px !important;
    border-top: 1px solid rgba(74, 74, 74, 0.2) !important;
  }

  .main-header .navbar-collapse.show > .navbar-nav:last-of-type:not(:first-of-type) {
    position: static !important;
    margin-top: 0 !important;
    border-top: 1px solid rgba(74, 74, 74, 0.2);
    width: 100%;
    padding: 20px 24px;
  }
}

/* Overflow-only lock — avoid position:fixed + negative top (stuck lock = blank white page). */
html.scroll-locked,
html.scroll-locked body,
body.scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}


.Toastify__toast-body {
  white-space: normal;
}

.Toastify__toast {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid #9E9E9E;
}

.quotes-tag {
  cursor: help;
}

/* black tooltips design start here  */
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 90%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

/* Tooltip arrow (notch) */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  /* Position the arrow below the tooltip box */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
  /* arrow color */
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* black tooltips design end here  */


.custom-tooltip {
  visibility: hidden;
  opacity: 0;
  width: 320px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 10px 12px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 35%;
  transform: translateX(-50%);
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Small arrow below the tooltip */
.custom-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Show on hover */
.quotes-tag:hover .custom-tooltip {
  visibility: visible;
  opacity: 1;
}
.text-custom-green{
    font-weight: bold;
    color: #75c13af5 !important;
}


/* Featured Seal Design  */
#featured-seal {
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    background: #DBF7FF;
    letter-spacing: 0.5px;
    color: #4A4A4A;
    z-index: 10;
    padding: 2px 8px;
    border-radius: 12px;
}

@media screen and (max-width: 576px) {

  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-right {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: 94%;
    width: 94%;
    margin: 0 !important;
  }
}

@media screen and (max-width: 576px) {
  .tooltip-text {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    bottom: 105%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    left: 70%;
    /* width: 100%; */
    white-space: normal;
  }

  .tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-88%) translateY(0);
  }
}

@media screen and (max-width: 576px) {
  .custom-tooltip {
    width: 200px;
    left: 26%;
    top: 120%;
    bottom: auto;
    transform: translateX(-50%);
    font-size: 12px;
    padding: 8px 10px;
    text-align: left;
  }

  /* Arrow should point UP */
  .custom-tooltip::after {
    top: auto;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;

  }
  /* featured seal on the small screen for the listing page   */
   #featured-seal {
        font-size: 10px;
        top: -0.7rem;
        left: 1.5rem;
        padding: 3px 8px !important;
    }

}

@media screen and (min-width: 1800px) {
  .main-header a.size-16 {
    font-size: 20px !important;
  }
}

/* Global site header — single source of truth for ALL website pages */
header {
  border-bottom: none;
}

.main-header .container-fluid {
  padding: 0;
}

.main-header {
  padding: 1.375rem 2.625rem !important;
  height: 5.313rem;
}

.main-logo {
  display: block;
  height: 44px;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.main-header .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-header .navbar-nav .nav-item .nav-link {
  padding: 0;
  text-decoration: none !important;
  border-bottom: 0.125rem solid transparent;
}

.main-header .navbar-nav .nav-item.active .nav-link {
  font-family: 'helveticaNeueBold', sans-serif !important;
  font-weight: 700 !important;
  border-bottom-color: rgba(194, 255, 0, 1);
}

.main-header .login-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 10rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-header .login-button .nav-link {
  text-decoration: none;
  border-bottom: 0;
}

.logo-brand-text {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  font-family: "Great Vibes", cursive !important;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  font-size: 1.75rem;
  padding: 0;
}

/* Car hero critical (first paint while car-style.css is deferred) */
.size-56 {
  font-size: 3.5rem;
}

.line-height-64 {
  line-height: 4rem;
}

.insurance-first-content-car {
  width: 100%;
  height: 40.625rem;
  padding-top: 5rem;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  background-image: url(/website/images/car/car-bg-image.svg);
  text-align: center;
}

.insurance-first-content-car .car-heading {
  max-width: 500px;
  margin: 0 auto;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
}

.insurance-first-text-span {
  width: 100%;
  max-width: 17.75rem;
  margin: 1rem auto 3.5rem;
  padding: 0.438rem 0.75rem;
  height: 2.5rem;
}

.insurance-first-text-span img {
  width: 1.063rem;
  height: 1.063rem;
}

@media screen and (max-width: 576px) {
  .size-56 {
    font-size: 1.75rem;
  }

  .line-height-64 {
    line-height: 2rem;
  }

  .insurance-first-content-car {
    height: 100%;
    padding: 65px 20px 0;
    background-image: none;
  }

  .insurance-first-content-car .car-heading {
    font-size: 28px;
    line-height: 32px;
    font-family: 'helveticaNeueMedium', Arial, Helvetica, sans-serif !important;
  }

  .insurance-first-section .back-image-logo {
    width: 100%;
    height: 450px;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .insurance-first-section .back-image-logo__lcp {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .main-header {
    padding: 1.25rem 1.875rem !important;
  }
}

/* WebLayout CSS loading overlay — moved from WebLayout.vue */
.im-web-layout-root {
  position: relative;
  min-height: 100%;
}

.im-layout-css-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

/* Button.vue — moved from scoped styles (avoids render-blocking Vite CSS chunk) */
.custom-button {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 1.875rem !important;
  box-shadow: rgba(194, 255, 0, 0.21) 0px 14px 24px 0px;
  border: 0.063rem solid #4A4A4A !important;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'helveticaNeueLight' !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  line-height: 1 !important;
  box-sizing: border-box;
  text-align: center !important;
}

.custom-button.btn-primary {
  background-color: #C2FF00 !important;
  color: #000 !important;
}

.custom-button.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem !important;
  font-size: 0.85rem !important;
}

.custom-button.btn-normal {
  height: 2.7rem;
  padding: 0 1.5rem !important;
  font-size: 1rem !important;
}

.custom-button.btn-md {
  height: 3rem;
  padding: 0 1.5rem !important;
  font-size: 1rem !important;
}

.custom-button.btn-lg {
  height: 3.5rem;
  padding: 0 2rem !important;
  font-size: 1.1rem !important;
}

.custom-button.btn-thin-long {
  height: 2.5rem !important;
  padding: 0 4rem !important;
  font-size: 1rem !important;
}

.custom-button .custom-button__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.custom-button.cursor-not-allowed {
  cursor: not-allowed !important;
}

.custom-button:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

@media (max-width: 767.98px) {
  .custom-button {
    font-size: 12px !important;
    height: 2rem !important;
    padding: 0 1rem !important;
    white-space: nowrap;
  }

  .custom-button.btn-lg {
    height: 3rem !important;
    padding: 0 1.25rem !important;
    font-size: 1rem !important;
  }

  .custom-button.btn-md {
    height: 2.75rem !important;
    padding: 0 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .custom-button.btn-normal {
    height: 2.55rem !important;
    padding: 0 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .custom-button.btn-sm {
    height: 2rem !important;
    padding: 0 0.75rem !important;
    font-size: 0.8rem !important;
  }

  .custom-button.btn-thin-long {
    height: 2.5rem !important;
    padding: 0 1rem !important;
    font-size: 0.90rem !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .custom-button:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* DotsLoading.vue — moved from scoped styles */
.loading-spinner {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
}

.custom-button .loading-spinner,
.custom-button .custom-button__loading {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto;
}

.spinner-dot {
  display: block;
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  background-color: #000;
  border-radius: 50%;
  animation: im-spinner-bounce 1.4s infinite ease-in-out both;
}

.spinner-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.spinner-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes im-spinner-bounce {
  0%, 80%, 100% {
    transform: scale(0.35);
    opacity: 0.6;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 767.98px) {
  .spinner-dot {
    width: 0.35rem;
    height: 0.35rem;
    min-width: 0.35rem;
    min-height: 0.35rem;
  }

  .insurance-first-bttn .custom-button .spinner-dot {
    width: 0.35rem !important;
    height: 0.35rem !important;
    min-width: 0.35rem !important;
    min-height: 0.35rem !important;
  }

  .loading-spinner {
    gap: 0.25rem;
  }
}

/* WebsiteHeader.vue — tooltip sits below the icon; arrow points up at it */
.main-header .tooltip-text {
  bottom: auto;
  top: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: 240px;
  white-space: nowrap;
  z-index: 1200;
}

.main-header .tooltip-text::after {
  top: auto;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-color: transparent transparent rgba(0, 0, 0, 0.85) transparent;
}

.space-center {
  margin-top: 0;
}

.website-header-social-avatar {
  font-size: 16px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: black;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.main-header .social-avatar {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  border: 1px solid #000;
  background-color: #C2FF00;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  vertical-align: middle;
  overflow: hidden;
}

.main-header .social-avatar__letter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #000;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
}

.bottom-item {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #4A4A4ACC;
  text-decoration: none;
}

.bottom-item img {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto 3px;
}

.bottom-item.active {
  color: #8cc63f;
}

.logout-btton {
  background-color: #C2FF00;
  border: 1px solid black;
}

@media screen and (max-width: 576px) {
  .main-header {
    padding: 0 !important;
    height: auto;
    min-height: 52px;
  }

  .main-header .container-fluid {
    padding: 8px 20px;
    position: relative;
    border-bottom: 1px solid rgba(74, 74, 74, 0.1);
    min-height: 52px;
    align-items: center !important;
  }

  /* Mobile menu hidden until toggled — must not depend on deferred Bootstrap */
  .main-header .navbar-collapse:not(.show) {
    display: none !important;
  }

  .main-header .navbar-collapse {
    width: 100%;
    position: absolute;
    top: 51px;
    right: 0;
    left: 0;
    z-index: 1100;
    border-top: 1px solid rgba(74, 74, 74, 0.2);
    background-color: #fff;
    min-height: calc(100vh - 51px);
    height: calc(100vh - 51px);
  }

  .main-header .navbar-collapse .navbar-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    flex-shrink: 0;
  }

  .main-header .navbar-nav {
    gap: 0;
    border-bottom: 1px solid rgba(74, 74, 74, 0.2);
    justify-content: center !important;
    text-align: center;
  }

  .main-header .navbar-nav .nav-item {
    padding: 26px 20px;
    border-top: 1px solid rgba(74, 74, 74, 0.2);
    text-align: center;
  }

  .main-header .navbar-nav .nav-item.active .nav-link {
    border-bottom: 0;
    font-family: 'helveticaNeueBold', sans-serif !important;
    font-weight: 700 !important;
  }

  .main-header .navbar-nav .nav-item .nav-link {
    color: #4A4A4A !important;
  }

  .main-header .login-button {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 26px 24px;
    margin-top: 0;
    border-bottom: 0;
    border-top: 1px solid rgba(74, 74, 74, 0.2);
  }

  /* Logged-in mobile menu: only social icons — align right like guest row */
  .main-header .login-button:has(> .header-social:only-child) {
    justify-content: flex-end;
  }

  .logo-brand-text {
    font-size: 19px;
    line-height: 24px;
  }

  .main-header .navbar-collapse.show {
    display: block !important;
  }

    .website-header-social-avatar {
        width: 25px;
        height: 25px;
        font-size: 14px;
        line-height: 1;
        background: #000;
        color: #fff;
    }

  .main-header .navbar-toggler {
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none !important;
    box-shadow: none !important;
  }

  .main-header .header-social-name {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .main-header .header-social-name .nav-item {
    padding: 0;
    border-top: 0;
    text-align: start;
  }

  .main-header .header-social-name .nav-item .nav-link {
    color: #000000 !important;
  }

  .main-header .login-button .nav-link .social-avatar {
    align-self: center;
  }

  .main-header .login-button .nav-link {
    line-height: 1.2;
  }

  .main-header .header-social {
    gap: 12px;
    padding: 0;
    justify-content: flex-end;
    margin-top: 0;
  }

  .main-header .nav-item {
    justify-content: center !important;
  }

  .main-header .login-button .nav-item {
    justify-content: flex-start !important;
  }

  .main-header .nav-link {
    text-align: center;
  }

  .main-logo {
    height: 34px;
    max-height: 44px;
    width: auto;
  }

  .bg-green {
    background-color: #C2FF00;
  }
}

.footer h3 {
  color: #FFF;
  margin-bottom: 1.063rem;
  font-size: 0.933rem;
  line-height: 1.125rem;
  text-transform: uppercase;
}

.no-caret::after {
  display: none !important;
}

/* Account dropdown — Vue toggle (no Bootstrap Popper); keep inside viewport */
.header-account-wrap {
  position: relative;
}

.header-account-dropdown.dropdown-menu,
ul.header-account-dropdown {
  position: absolute !important;
  top: calc(100% + 0.5rem) !important;
  right: 0 !important;
  left: auto !important;
  inset-inline-end: 0 !important;
  inset-inline-start: auto !important;
  transform: none !important;
  z-index: 1050 !important;
  display: none;
  float: none !important;
  min-width: 12rem;
  width: max-content;
  max-width: min(16rem, calc(100vw - 1.5rem));
  padding: 0.5rem;
  margin: 0 !important;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.header-account-dropdown.dropdown-menu.show,
ul.header-account-dropdown.show {
  display: block !important;
}

.profile-dropdown .dropdown-item {
  transition: all 0.2s ease-in-out;
}

.profile-dropdown .dropdown-item:hover,
.profile-dropdown .hover-bg:hover {
  background: #f5f7fa !important;
  color: #0d6efd;
}

.profile-dropdown .logout-btn {
  transition: 0.2s ease-in-out;
}

.profile-dropdown .logout-btton:hover {
  background-color: #8cc63f;
  border: 1px solid black;
}

.notification-btn {
  position: relative;
  /* Avoid non-composited color animations flagged by Lighthouse on header login control */
  transition: opacity 0.2s ease;
}

.notification-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #C2FF00;
  color: #000000;
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
  text-align: center;
  border: 1px solid #000000;
}

.footer ul li a.text-decoration-none {
  color: inherit;
}

/* Toast.vue — moved from scoped styles (loads with lazy toast only; styles preloaded via style.css) */
.pending-close {
  padding: 0.375rem;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

.pending-card {
  position: relative;
  background-color: #FFF;
  display: flex;
  align-items: stretch;
  border: none;
  border-radius: 20px;
  padding: 0.5rem;
  box-sizing: border-box;
  margin: 0;
  gap: 14px;
}

.pending-icon-wrap {
  align-self: flex-start;
  padding-top: 2px;
}

.pending-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.pending-content-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pending-description {
  word-break: break-word;
}

.pending-action-wrap,
.pending-close-wrap {
  display: flex;
  align-items: center;
}

.pending-action-wrap {
  flex-shrink: 0;
}

@media screen and (max-width: 576px) {
  .pending-card {
    flex-wrap: wrap;
    gap: 10px;
    padding-right: 44px;
  }

  .pending-content-wrap {
    order: 2;
    width: calc(100% - 34px);
  }

  .pending-action-wrap {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .pending-close-wrap {
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-right {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: 94%;
    width: 94%;
    margin: 0 !important;
  }
}