@font-face {
  font-family: "NexaBold";
  src: url("../font/NexaBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "NexaBold1";
  src: url("../font/NexaBold.otf") format("opentype");
  font-style: normal;
}

@font-face {
  font-family: "NexaRegular";
  src: url("../font/NexaRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Nexa-Regular-Italic";
  src: url("../font/Nexa-Regular-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Nexa-Light-Italic";
  src: url("../font/Nexa-Light-Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Nexa-Bold-Italic";
  src: url("../font/Nexa-Bold-Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Nexa-Light";
  src: url("../font/Nexa-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "AakritiRegular";
  src: url("../font/AakritiRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "AAKRITIBOLD";
  src: url("../font/AAKRITIBOLD.TTF") format("truetype");
  font-style: normal;
}

:root {
  --pc-bg: #eef7f1;
  --pc-surface: #ffffff;
  --pc-border: #dfeee4;
  --pc-primary: #1d743b;
  --pc-primary-dark: #17592e;
  --pc-primary-tint: #e5f3ea;
  --pc-text: #324549;
  --pc-muted: #6c8578;
  --pc-muted-2: #8ea298;
  --pc-radius-lg: 18px;
  --pc-radius-md: 12px;
  --pc-radius-pill: 999px;
  --pc-shadow: 0 2px 10px rgba(18, 63, 44, 0.06);
  --pc-font-head: "NexaBold", sans-serif;
  --pc-font-body: "NexaRegular", sans-serif;
  --pc-font-bold: "NexaBold1", sans-serif;
}

.premium-calc-wrapper {
  font-family: var(--pc-font-body);
  color: var(--pc-text);
  background: var(--pc-bg);
  min-height: calc(100vh - 152px);
  padding: 18px 0;
  box-sizing: border-box;
}

.page-wrapper:has(.premium-calc-wrapper) {
  height: auto;
  min-height: calc(100vh - 152px);
  overflow: visible;
}

/* When the detail page is visible, restore normal scrolling on the page-wrapper */
.page-wrapper:has(.quotation-detail-page:not([style*="display: none"])) {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.premium-calc-wrapper * {
  box-sizing: border-box;
}

.premium-calc-wrapper h1,
.premium-calc-wrapper h2,
.premium-calc-wrapper h4 {
  font-family: var(--pc-font-head);
  margin: 0;
}

/* ---------- three column layout ---------- */
.pc-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 300px);
  grid-template-rows: minmax(0, 1fr);
  gap: 22px;
  width: 100%;
  max-width: 1750px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
  min-height: calc(100vh - 188px);
}

@media (max-width: 1100px) {
  .pc-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- shared card shell ---------- */
.pc-card {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-lg);
  box-shadow: var(--pc-shadow);
}

/* =========================================================
   LEFT — Filters (visual companion panel; not wired to any
   controller logic since none exists in the source snippet —
   safe to leave static or wire up separately)
   ========================================================= */
.pc-filters {
  padding: 20px 18px 26px;
  position: sticky;
  top: 20px;
}

.pc-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pc-filters-head h2 {
  font-size: 20px;
  font-weight: 800;
}

.pc-filters-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-filters-reset {
  border: none;
  background: none;
  color: #22a851;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

/* Close button for the off-canvas mobile filters sidebar; hidden on desktop */
.pc-filters-close {
  display: none;
  border: none;
  background: none;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--pc-muted);
  cursor: pointer;
}

/* Button that opens the mobile filters sidebar; hidden on desktop */
.pc-filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pc-border);
  background: var(--pc-surface);
  color: var(--pc-text);
  font-family: var(--pc-font-bold);
  font-size: 13.5px;
  border-radius: var(--pc-radius-pill);
  padding: 9px 16px;
  cursor: pointer;
}

.pc-filter-toggle-btn i {
  color: var(--pc-primary);
}

/* Backdrop behind the off-canvas mobile filters sidebar; hidden on desktop */
.pc-filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 42, 30, 0.45);
  z-index: 100001;
}

.pc-filter-group {
  margin-bottom: 20px;
}

.pc-filter-group > label {
  display: block;
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 10px;
  color: var(--pc-text);
}

.pc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-md);
  padding: 9px 12px;
  color: var(--pc-muted);
  font-size: 13.5px;
}

.pc-search i {
  color: var(--pc-muted-2);
}

.pc-search input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 13.5px;
  font-family: var(--pc-font-body);
  background: transparent;
}

.pc-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pc-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  cursor: pointer;
}
.pc-checklist input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 16px;
  height: 16px;
  padding: 0;

  border: 1.5px solid #15b64b;
  border-radius: 3px;
  background: #fff;

  position: relative;
  cursor: pointer;
}

.pc-checklist input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;

  width: 8px;
  height: 8px;

  background: #15b64b;
  border-radius: 1px;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pc-insurer-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pc-select,
.pc-input {
  width: 100%;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-md);
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: var(--pc-font-body);
  color: var(--pc-text);
  background: var(--pc-surface);
}

.pc-filter-divider {
  border: none;
  border-top: 1px solid #005f20;
  margin: 4px 0 20px;
}

/* =========================================================
   MAIN COLUMN
   ========================================================= */
.pc-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pc-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 2.5rem;
}

.policy-plans {
  overflow-y: visible;
  overflow-x: hidden;
  padding-right: 8px;
}

.pc-main-header .main-title {
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-count-badge {
  background: var(--pc-primary-tint);
  color: var(--pc-primary);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--pc-radius-pill);
  padding: 3px 11px;
}

.pc-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pc-border);
  background: var(--pc-surface);
  border-radius: var(--pc-radius-md);
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--pc-muted);
}

.pc-sort strong {
  color: var(--pc-text);
}

/* legacy heading row from the original grid layout — kept
   available but hidden by default since the new list layout
   shows this info per-card instead */
.insurance-compare-title {
  display: none !important;
}

/* insurer group: logo strip + its plan cards, flattened into
   the vertical list the reference design uses */
.insurance-compare-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 14px !important;
}

.pc-insurer-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 4px;
}

.insurance-compare-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.insurance-compare-logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--pc-border);
  background: var(--pc-surface);
}

.insurance-compare-logo h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--pc-muted);
}

.insurance-compare-logo hr {
  display: none;
}

/* plan card */
.insurance-compare-card {
  border: 1px solid var(--pc-border) !important;
  border-radius: var(--pc-radius-lg) !important;
  box-shadow: var(--pc-shadow) !important;
  padding: 0px !important;
  background: var(--pc-surface);
  z-index: 1;
}

.insurance-compare-card .card-body {
  padding: 22px 24px !important;
}

.pc-plan-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.compare-radio {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.compare-radio p {
  margin: 0;
  font-weight: 500;
  color: #0e3826;
}
.compare-radio input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 16px;
  height: 16px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  background: #fff;

  position: relative;
  cursor: pointer;
}

.compare-radio input[type="checkbox"]:checked {
  border-color: #ccc;
  background: #fff;
}

.compare-radio input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pc-primary);

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pc-plan-row:has(.pc-featured) {
  padding-top: 30px;
}

.pc-featured {
  padding: 7px 20px;
  border-radius: var(--pc-radius-pill);
  display: flex;
  gap: 10px;
  justify-content: center;
  background: #dcf7e9;
  position: absolute;
  top: 11px;
}

.featured-image {
  position: absolute;
  width: 105px;
  top: 9px;
  right: 28px;
}

.featured-image img {
  width: 100%;
  object-fit: contain;
}

.pc-featured h1 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pc-primary);
}

.pc-featured i {
  color: #1c573e;
  font-size: 15px;
}

.pc-plan-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0.5 1 260px;
  min-width: 220px;
}

.pc-plan-image-container {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  border: 1px solid var(--pc-border);
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  padding: 12px;
}

.pc-plan-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.pc-plan-identity-text h2.content-title {
  font-family: var(--pc-font-head);
  font-size: 23px;
  font-weight: 800;
  color: var(--pc-primary-dark);
  margin-bottom: 10px;
}

.pc-plan-tagline {
  font-size: 13px;
  color: var(--pc-muted);
  margin: 0 0 6px;
}

.pc-plan-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pc-plan-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--pc-muted);
  font-weight: 600;
}

.pc-plan-meta i {
  color: var(--pc-primary);
  font-size: 12px;
}

.pc-plan-price-col {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 999;
}

.insurance-compare-card-heading {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.insurance-compare-card-heading img {
  display: none;
}

.insurance-compare-card-heading .main-title {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--pc-font-bold);
  color: #195232;
  white-space: nowrap;
  margin-bottom: 2px;
}

.pc-policy-type {
  display: inline-block;
  width: 180px;
  font-size: 17px;
  font-weight: 700;
  color: var(--pc-primary);
  border: 1px solid var(--pc-primary);
  padding: 8px 0;
  border-radius: 10px;
  text-align: center;
  margin-top: 10px;
}

.insurance-compare-card .btn-primary {
  background: var(--pc-primary);
  border: none;
  border-radius: var(--pc-radius-pill);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 28px;
  width: auto !important;
  transition: background 0.15s ease;
}

.insurance-compare-card .btn-primary:hover {
  background: var(--pc-primary-dark);
}

.insurance-compare-card .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pc-primary);
  text-decoration: none;
  margin-top: 4px;
}

.insurance-compare-card .arrow-link i {
  font-size: 11px;
}

.insurance-compare-card hr {
  border-color: var(--pc-border);
  margin: 16px 0;
}

/* collapsible "Covers" section */
.insurance-feature-collapse .accordion-item {
  border: none;
}

.insurance-feature-collapse .accordion-button {
  background: none !important;
  box-shadow: none !important;
  font-size: 13.5px;
  color: var(--pc-text);
}

.insurance-feature-collapse .accordion-button::after {
  filter: grayscale(1) brightness(0.4);
}

.insurance-compare-feature {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.insurance-compare-feature li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.insurance-compare-feature li.active {
  color: var(--pc-text);
}

.insurance-compare-feature li.active::before {
  background: var(--pc-primary);
}

.insurance-compare-feature li.inactive {
  color: var(--pc-muted-2);
  text-decoration: line-through;
}

.insurance-compare-feature li.inactive::before {
  background: var(--pc-border);
}

/* coverage / premium mini progress bars */
.insurance-compare-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insurance-compare-progress-inner p {
  font-size: 12.5px;
  color: var(--pc-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.insurance-compare-progress-inner .progress {
  background: var(--pc-primary-tint);
  border-radius: var(--pc-radius-pill);
  overflow: hidden;
}

.insurance-compare-progress-inner .progress-bar {
  background: var(--pc-primary);
}

.offer-ribbon-content {
  background: #f7ce00;
  height: 25px;
  width: auto;
  display: inline-block;
  position: relative;
  line-height: 25px;
  padding: 0 20px;
  font-size: 12px;
  border-radius: 0 20px 20px 0;
  top: -10px;
}

/* Triangle on the LEFT */
.offer-ribbon-content:after {
  content: "";
  height: 0;
  width: 0;
  top: 0;
  left: -30px;
  position: absolute;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 25px solid #f7ce00;
}

/* Triangle on the LEFT */
.offer-ribbon-content:before {
  content: "";
  height: 0;
  width: 0;
  top: 0;
  left: -30px;
  position: absolute;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #f7ce00;
}

.insurance-compare-card .offer-ribbon {
  background: #f7ce00;
  /*color: #FFF;*/
  font-size: 14px !important;
  padding: 7px 20px !important;
  position: absolute !important;
  bottom: 21px !important;
 right: 0px; 
  left: 175px !important;
  border-radius: 20px 0px 0px 20px !important;
}

.insurance-compare-card .compare-message-inline {
  background: #f7ce00;
  /*color: #FFF;*/
  font-size: 14px !important;
  padding: 2px 20px !important;
  position: absolute !important;
  bottom: 133px !important;
  /* right: -12px; */
  left: 175px !important;
  border-radius: 20px 20px 20px 20px !important;
}

.insurance-compare-card .compare-message-inline .offer-ribbon {
  position: relative !important;
  display: inline-block !important;
  /* display: inline-block !important; */
  max-width: 100% !important;
  color: #173b2b;
  white-space: normal;
  line-height: 1.4;
  bottom: auto !important;
  left: auto !important;
}

.insurance-compare-card .compare-message-inline .offer-ribbon::after {
  display: none;
}

.insurance-compare-card .offer-ribbon:after {
  /*position: absolute;
        content: '';
        background-color: #fc5185;
        height: 35px;
        width: 35px;
        top: 3rem;
        right: -23px;
        transform: rotate(45deg);
        z-index: 10;*/
      

  position: absolute;
  /* right: 0px; */
  left: 235px;
  /* top: 0px; */
  bottom: -26px;
  z-index: 9999;
  content: "";
  /* border-bottom: 27px solid #3543ea; */
  border-left: 12px solid #ed757500;
  border-right: 0px solid #23242400;
  border-top: 8px solid #d3b001;
  /* width: 30px; */
  height: 26px;
  z-index: 0;
}

/* "not available" placeholder card */
.insurance-compare-card .text-muted {
  color: var(--pc-muted) !important;
  font-family: var(--pc-font-body);
  font-size: 14px;
  font-weight: 600;
}

/* featured badge on first plan card of the list */
.pc-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pc-primary-tint);
  color: var(--pc-primary);
  font-weight: 700;
  font-size: 12.5px;
  border-radius: var(--pc-radius-pill);
  padding: 5px 12px;
  margin-bottom: 10px;
}

/* notes / alert */
.info-notes-card {
  background: var(--pc-surface) !important;
  border: 1px solid var(--pc-border) !important;
  border-radius: var(--pc-radius-lg) !important;
  font-size: 13px;
  color: var(--pc-muted);
  padding: 18px 22px !important;
  margin-top: 26px !important;
}

.info-notes-card a {
  color: var(--pc-primary);
}

/* =========================================================
   TOP VEHICLE-DETAILS FORM  →  moved visually into the right
   sidebar as "Your Vehicle Details". All inputs/selects, their
   ng-model bindings, disabled state and the Customize /
   Recalculate buttons are unchanged.
   ========================================================= */
.premium-calc-vehicle-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  border: 1px solid var(--pc-border) !important;
  border-radius: var(--pc-radius-lg) !important;
  box-shadow: var(--pc-shadow) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pc-bike-image-container {
  width: 100%;
  height: 200px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  margin-bottom: 42px;
}

.pc-bike-image-container img {
  width: 100%;
  height: 100%;
  border-radius: 12px 12px 0 0;
  object-fit: contain;
}

.pc-vehicle-details {
  position: absolute;
  top: 209px;
  left: -38px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-vehicle-details h4 {
  font-family: var(--pc-font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--pc-primary-dark);
  text-align: center;
  margin: 0;
}

.pc-vehicle-hero h4 {
  position: relative;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.premium-calc-vehicle-card .card-body {
  min-width: 0;
  padding: 18px 20px 22px !important;
  margin-top: -26px;
}

.premium-calc-vehicle-card form.is-readonly {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.premium-calc-vehicle-card .row.align-items-center {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
}

.premium-calc-vehicle-card .row.align-items-center > div[class*="col-"] {
  width: 100%;
  padding: 0;
  max-width: 100%;
  flex: none;
}

.premium-calc-vehicle-card .form-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 0;
  border-bottom: 1px dashed var(--pc-border);
}

.premium-calc-vehicle-card .lable-with-tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.premium-calc-vehicle-card .lable-with-tooltip label {
  font-size: 13px;
  color: var(--pc-muted);
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.premium-calc-vehicle-card .tooltip-img {
  color: var(--pc-muted-2);
  font-size: 12px;
}

.premium-calc-vehicle-card select.is-disabled,
.premium-calc-vehicle-card input.is-disabled {
  border: none;
  background: transparent;
  text-align: right;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--pc-text);
  padding: 0;
  width: min(140px, 42%);
  min-width: 0;
  flex: 0 1 42%;
  max-width: 42%;
  appearance: none;
  -webkit-appearance: none;
}

.premium-calc-vehicle-card select.is-disabled:disabled,
.premium-calc-vehicle-card input.is-disabled:disabled {
  opacity: 1;
  color: var(--pc-text);
}

/* Remove reserved space for webkit date picker indicators on disabled date inputs */
.premium-calc-vehicle-card
  input[type="date"].is-disabled::-webkit-calendar-picker-indicator,
.premium-calc-vehicle-card
  input[type="date"].is-disabled::-webkit-inner-spin-button,
.premium-calc-vehicle-card input[type="date"].is-disabled::-webkit-clear-button,
input[type="date"].is-disabled::-webkit-calendar-picker-indicator,
input[type="date"].is-disabled::-webkit-inner-spin-button,
input[type="date"].is-disabled::-webkit-clear-button {
  display: none !important;
  -webkit-appearance: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.premium-calc-vehicle-card
  input[type="date"].is-disabled::-webkit-datetime-edit,
.premium-calc-vehicle-card
  input[type="date"].is-disabled::-webkit-datetime-edit-fields-wrapper,
input[type="date"].is-disabled::-webkit-datetime-edit,
input[type="date"].is-disabled::-webkit-datetime-edit-fields-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  justify-content: flex-end !important;
}

.premium-calc-vehicle-card .btn-edit,
.premium-calc-vehicle-card .btn-save {
  width: 100% !important;
  border-radius: var(--pc-radius-pill);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px;
  margin-top: 8px;
}

.premium-calc-vehicle-card .btn-edit {
  background: var(--pc-primary-tint);
  color: var(--pc-primary);
  border: none;
}

.premium-calc-vehicle-card .btn-save {
  background: var(--pc-primary);
  border: none;
}

.premium-calc-vehicle-card .btn-save:disabled {
  opacity: 0.5;
}

.premium-calc-vehicle-card .me-5 {
  display: none;
}

/* tooltip popover */
.premium-calc-wrapper .iconWrap {
  position: relative;
  display: inline-flex;
}

.premium-calc-wrapper .iconWrap .tooltip {
  font-family: var(--pc-font-body);
  display: none;
  position: absolute;
  left: 0;
  top: 20px;
  z-index: 40;
  width: 260px;
  background: var(--pc-text);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 400;
}

.premium-calc-wrapper .iconWrap:hover .tooltip {
  display: block;
}

.tooltip-table {
  margin-top: 8px;
  width: 100%;
  font-size: 11px;
  border-collapse: collapse;
}

.tooltip-table th,
.tooltip-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 6px;
  text-align: left;
}

/* =========================================================
   RIGHT SIDEBAR — companion cards (visual additions to match
   the reference; static content, no controller logic implied)
   ========================================================= */
.pc-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  position: sticky;
  top: 20px;
}

.pc-why-card {
  padding: 20px 22px;
}

.pc-why-card h4 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pc-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pc-why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--pc-text);
}

.pc-why-list i {
  color: var(--pc-primary);
  font-size: 13px;
}

.pc-banner {
  background-image: url("/assets/images/compareBackground.jfif");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  border-radius: var(--pc-radius-lg);
  padding: 33px 34px;
  color: #fff;
  font-family: var(--pc-font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 190px;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}
/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pc-layout {
    height: auto;
  }

  .premium-calc-wrapper,
  .page-wrapper:has(.premium-calc-wrapper) {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .pc-main {
    height: auto;
    overflow: visible;
  }

  .policy-plans {
    flex: none;
    height: auto;
    overflow: visible;
    padding-right: 0;
    overscroll-behavior: auto;
  }

  .pc-filters,
  .pc-right {
    position: static;
  }
}

@media (max-width: 640px) {
  .pc-plan-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .pc-plan-price-col {
    margin-left: 0;
    align-items: flex-start;
    width: 100%;
  }

  .insurance-compare-card .btn-primary {
    width: 100% !important;
  }
}

/* =========================================================
   MOBILE — remove pc-right entirely; filters become an
   off-canvas sidebar opened via .pc-filter-toggle-btn
   ========================================================= */
@media (max-width: 768px) {
  .pc-right {
    display: none !important;
  }

  .pc-filter-toggle-btn {
    display: inline-flex;
  }

  .pc-filters {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 82%;
    max-width: 320px;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 100002;
  }

  .pc-filters-close {
    display: block;
  }

  body.pc-filters-open .pc-filters {
    transform: translateX(0);
  }

  body.pc-filters-open .pc-filters-backdrop {
    display: block;
  }

  body.pc-filters-open {
    overflow: hidden;
  }
}

.pc-covers-dropdown {
  position: relative;
  width: 220px;
}

.pc-covers-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.pc-covers-toggle span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-covers-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.pc-covers-menu span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
}

.pc-covers-menu span i {
  width: 18px;
  text-align: center;
}

/* =========================================================
   Detail / learn-more page — global page-level scrollbar
   ========================================================= */
.quotation-detail-page {
  display: block;
  width: 100%;
  overflow-x: hidden;
}

/* =========================================================
   POLICY DETAIL SIDEBAR  (right-side drawer)
   ========================================================= */

/* Backdrop */
.policy-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 50, 36, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1040;
  transition: opacity 0.3s ease;
}

/* Drawer shell */
.policy-sidebar-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 45vw;
  max-width: 680px;
  min-width: 320px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -6px 0 32px rgba(18, 50, 36, 0.18);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 18px 0 0 18px;
  overflow: hidden;
}

/* Open state */
.policy-sidebar-drawer.policy-sidebar-open {
  transform: translateX(0);
}

/* ---- Header ---- */
.policy-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--pc-border, #dfeee4);
  background: var(--pc-primary, #1d743b);
  color: #fff;
  flex-shrink: 0;
}

.policy-sidebar-header-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.policy-sidebar-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.policy-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  font-family: var(--pc-font-head, sans-serif);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 30vw;
}

.policy-sidebar-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.policy-sidebar-badge.badge-tp {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.policy-sidebar-badge.badge-comp {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.policy-sidebar-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.policy-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ---- Scrollable body ---- */

.policy-sidebar-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  padding-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--pc-primary, #1d743b) #e5f3ea;
}

.policy-sidebar-body::-webkit-scrollbar {
  width: 6px;
}
.policy-sidebar-body::-webkit-scrollbar-track {
  background: #e5f3ea;
}
.policy-sidebar-body::-webkit-scrollbar-thumb {
  background: var(--pc-primary, #1d743b);
  border-radius: 6px;
}

/* Tighten existing premium table inside the sidebar */
.policy-sidebar-body .premium-tbl-wrapper {
  margin-bottom: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.policy-sidebar-body .premium-tbl-wrapper h2.content-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.policy-sidebar-body .premium-table td,
.policy-sidebar-body .premium-table th {
  font-size: 13.5px;
  padding: 8px 10px;
}

/* Snapshot section */
.policy-sidebar-snapshot {
  margin-top: 28px;
}

.policy-sidebar-snapshot h2.content-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.policy-sidebar-snapshot .info-table {
  font-size: 12.5px;
}

.policy-sidebar-snapshot .info-table th,
.policy-sidebar-snapshot .info-table td {
  padding: 7px 9px;
  vertical-align: middle;
}

/* ---- Footer ---- */
.policy-sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--pc-border, #dfeee4);
  background: #f8fdf9;
  flex-shrink: 0;
}

.policy-sidebar-footer .btn-primary {
  background: var(--pc-primary, #1d743b);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  transition:
    background 0.15s ease,
    transform 0.1s ease;
  letter-spacing: 0.2px;
}

.policy-sidebar-footer .btn-primary:hover {
  background: var(--pc-primary-dark, #17592e);
  transform: translateY(-1px);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .policy-sidebar-drawer {
    width: 90vw;
    max-width: none;
    border-radius: 18px 0 0 18px;
  }
}

@media (max-width: 576px) {
  .policy-sidebar-drawer {
    width: 100vw;
    border-radius: 0;
  }

  .policy-sidebar-body {
    padding: 18px 16px;
  }

  .policy-sidebar-title {
    max-width: 55vw;
    font-size: 14px;
  }
}

/* sidebar */

.policy-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.policy-sidebar-overlay-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.policy-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;

  width: 45vw;
  max-width: 90vw;
  height: 100vh;

  background: #fff;

  z-index: 999999;

  transform: translateX(100%);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s ease;

  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);

  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.policy-sidebar-open {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.policy-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 20px 24px;

  border-bottom: 1px solid #e5e5e5;
}

.policy-sidebar-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.policy-sidebar-close {
  width: 38px;
  height: 38px;

  border: none;
  background: transparent;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;

  cursor: pointer;

  transition: background 0.2s ease;
}

.policy-sidebar-close:hover {
  background: #f1f1f1;
}

.policy-sidebar-body {
  flex: 1;
  overflow-y: auto;

  padding: 24px;
}

@media (max-width: 768px) {
  .policy-sidebar {
    width: 85%;
  }
}

@media (max-width: 480px) {
  .policy-sidebar {
    width: 100%;
  }
}

/* INNER DATA */

.snap-content-title {
  font-size: 17px;
  margin-top: 24px;
}

.snap-content-title1 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.snap-table th {
  font-size: 13.5px;
}

.snap-table td {
  font-size: 13.5px;
}

/* the sticky bottom bar */
.policy-sidebar-footer {
  flex-shrink: 0; /* never scrolls, never collapses */
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 14px 20px;
  border-top: 1px solid #e5e5e5;
  background: #fff;

  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

.footer-logo img {
  height: 53px;
  width: auto;
}

.footer-info {
  display: flex;
  gap: 24px;
  flex: 1;
}

.footer-info-item {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  border-left: 1px solid #d1d5db;
  padding-left: 16px;
}

.footer-label {
  font-size: 12px;
  color: #6b6b6b;
}

.footer-value {
  font-size: 14px;
  font-weight: 600;
}

.footer-buy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 480px) {
  .policy-sidebar-footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-buy-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

.action-group {
  display: flex;
  align-items: center;
  gap: 16px; /* spacing between elements */
}

.view-policy-link {
  border-left: 1px solid #d1d5db;
  padding-left: 16px;
  text-decoration: underline;
  color: var(--pc-primary);
}

.view-policy-link:hover {
  color: #0e3826;
}

.container {
  padding: 0px;
}

/* =========================================================
   Compare Card — styles
   Built on the supplied design tokens (--pc-*). Do not
   redefine the tokens here; they live in the global stylesheet.
   ========================================================= */

.pc-compare-wrap {
  font-family: var(--pc-font-body);
  color: var(--pc-text);
  position: absolute;
  top: 88px;
  left: 35%;

  z-index: 100000;
}

.pc-compare-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 9px 22px;
}

/* ---- image row: img vs img (vs img) ------------------- */

.pc-compare-images {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pc-compare-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-compare-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 157px;
}

.pc-compare-img-frame {
  width: 64px;
  height: 44px;
  /* border-radius: var(--pc-radius-md);
  background: var(--pc-primary-tint);
  border: 1px solid var(--pc-border); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pc-compare-img-frame-table {
  width: 64px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  margin-bottom: 10px;
}

.pc-compare-img {
  max-width: 56px;
  /* max-height: 44px; */
  object-fit: contain;
}

.pc-compare-plan .pc-compare-img-frame {
  position: relative;
}

/* .pc-compare-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: var(--pc-radius-pill);
  border: 1px solid var(--pc-border);
  background: var(--pc-surface);
  color: var(--pc-muted);
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.pc-compare-remove:hover,
.pc-compare-remove:focus-visible {
  color: var(--pc-primary-dark);
  border-color: var(--pc-primary);
} */

.pc-compare-label {
  font-family: var(--pc-font-bold);
  font-size: 17px;
  color: var(--pc-primary-dark);
  text-align: center;
  line-height: 1.2;
}

.pc-compare-vs {
  font-family: var(--pc-font-head);
  font-size: 12px;
  color: var(--pc-primary);
  background: var(--pc-primary-tint);
  border-radius: var(--pc-radius-pill);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- compare button ------------------------------------ */

.pc-btn-compare {
  font-family: var(--pc-font-bold);
  font-size: 14px;
  color: #ffffff;
  background: var(--pc-primary);
  border: none;
  border-radius: var(--pc-radius-pill);
  padding: 10px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.pc-btn-compare:hover,
.pc-btn-compare:focus-visible {
  background: var(--pc-primary-dark);
}

.pc-btn-compare:focus-visible {
  outline: 2px solid var(--pc-primary-dark);
  outline-offset: 2px;
}

/* ---- modal ---------------------------------------------- */

.pc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 42, 30, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100001;
}

.pc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: calc(100% - 40px);
  max-width: 909px;
  height: 750px;
  max-height: 85vh;
  overflow-y: auto;

  background: var(--pc-surface);
  border-radius: var(--pc-radius-lg);
  padding: 28px 24px 24px;
  z-index: 9999;
}

.pc-modal::-webkit-scrollbar {
  display: none;
}

.pc-modal {
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.pc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: var(--pc-radius-pill);
  border: 1px solid var(--pc-border);
  background: var(--pc-bg);
  color: var(--pc-muted);
  font-size: 35px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-modal-close:hover,
.pc-modal-close:focus-visible {
  color: var(--pc-primary-dark);
  border-color: var(--pc-primary);
}

.pc-modal-title {
  font-family: var(--pc-font-head);
  font-size: 20px;
  color: var(--pc-text);
  margin: 0 0 18px;
}

.pc-modal-table-wrap {
  overflow-x: auto;
}

.pc-compare-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.pc-compare-table th,
.pc-compare-table td {
  padding: 32px 10px;
  border-bottom: 1.5px solid var(--pc-border);
  text-align: center;
  vertical-align: middle;
  border-left: 1.5px solid var(--pc-border);
}

.pc-compare-table thead th {
  background: var(--pc-bg);
  padding: 33px 10px;
  border-left: 1.5px solid var(--pc-border);
}

.pc-compare-table .pc-feature-col {
  text-align: left;
  font-family: var(--pc-font-bold);
  font-size: 13px;
  color: var(--pc-text);
  width: 38%;
}

.pc-modal-img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}

.pc-modal-plan-name {
  font-family: var(--pc-font-bold);
  font-size: 13px;
  color: var(--pc-text);
}

.pc-compare-table tbody td {
  font-family: var(--pc-font-body);
  font-size: 13px;
  color: var(--pc-text);
}

/* ===== Colored plan header badges (like reference image) ===== */
.pc-plan-head {
  color: #fff;
  font-family: var(--pc-font-bold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: none;
}
.pc-plan-head-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pc-plan-head .pc-modal-plan-name {
  color: var(--pc-text);
  font-size: 13px;
  font-family: var(--pc-font-bold);
}

.pc-modal-plan-name-table {
  color: var(--pc-primary);
  font-size: 13px;
  font-family: var(--pc-font-bold);
}

.pc-modal-plan-name-tableHeading {
  color: var(--pc-text);
  font-size: 18px;
  font-family: var(--pc-font-bold);
}

.pc-plan-color-0 {
  background: #5b6feb;
} /* blue-violet */
.pc-plan-color-1 {
  background: #2fa8e0;
} /* blue */
.pc-plan-color-2 {
  background: #35b36a;
} /* green */
.pc-plan-color-3 {
  background: #f2b705;
} /* yellow */
.pc-plan-color-4 {
  background: #f2942d;
} /* orange */

/* ===== Row striping to match reference image ===== */
.pc-compare-table tbody tr:nth-child(even) {
  background: #1d743b3b;
}

/* ===== Tick / cross icons ===== */
.pc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
}

.pc-icon-tick {
  /* background: rgba(53, 179, 106, 0.15); */
  color: #35b36a;
}

.pc-icon-cross {
  /* background: rgba(230, 60, 60, 0.12); */
  color: #e63c3c;
}
/* ---- responsive ------------------------------------------ */

@media (max-width: 900px) {
  .pc-compare-wrap {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 480px;
  }
}

@media (max-width: 560px) {
  .pc-compare-card {
    flex-direction: column;
    align-items: stretch;
  }

  .pc-compare-images {
    justify-content: center;
  }

  .pc-btn-compare {
    width: 100%;
  }

  .pc-modal {
    padding: 24px 16px 18px;
  }
}

.pc-compare-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.pc-compare-container p {
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-primary-dark);
  margin: 0px;
}
