.planlistContainer .banner .title {
  font-weight: 700;
  font-size: 30px;
  line-height: 32px;
  text-align: center;
  color: #2c2c2c;
}
.planlistContainer .banner .title h1 {
  margin-bottom: 0;
}
.planlistContainer .banner .details {
  margin-top: 4rem;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #747582;
}
@media only screen and (max-width: 991px) {
  .planlistContainer .banner .details {
    margin-top: 2rem;
  }
}
@media only screen and (max-width: 767.9px) {
  .planlistContainer .banner .details {
    margin-top: 1rem;
  }
}
.planlistContainer .plan-heading {
  justify-content: space-between !important;
}
.planlistContainer .plan-heading h4 a {
  color: #2f80ed;
}

.btn-quote {
  background: #666666;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  color: #ffffff !important;
  min-width: 143px;
  display: inline-block;
}
.tab-body-content .short-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #747582;
}
.trip_category_features {
  padding: 20px 0 0 0;
}
.trip_new_highlight_section {
  background-color: #f4f4f4;
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #37465a;
  padding: 0.75rem 1.25rem;
  margin-bottom: 15px;
}
.trip_category_features .static-data_new {
  width: 100%;
  margin-bottom: 0;
}
.trip_category_features .static-data_new dd {
  margin-bottom: 0;
}
.trip_category_features .static-data_new dd > div {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #747582;
}
.trip_category_features .benefits_cnt {
  list-style: none;
  margin-bottom: 1rem;
}
.trip_category_features .benefits_cnt li {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
  color: #37465a;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
}
.trip_category_features .benefits_cnt li .future-content {
  display: inline-table;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #37465a;
}
.trip_category_features .benefits_cnt li strong {
  font-weight: 500;
}
.trip_category_features .benefits_cnt li strong font:not(.notooltip) {
  visibility: hidden;
}
.trip_category_features .benefits_cnt li strong font:not(.notooltip):after {
  content: " ";
  display: block;
}
.trip_category_features .benefits_cnt li .future-svg:not(.none-future) svg {
  width: 20px;
  height: 20px;
}
.trip_category_features .benefits_cnt li .future-svg.exclude-svg {
  margin-right: 2px !important;
}
.trip_category_features .benefits_cnt li .future-svg.exclude-svg svg {
  position: relative;
  left: -6px;
}
.trip_category_features .benefits_cnt li .future-svg.none-future {
  height: 12px;
  line-height: 12px;
}
.trip_category_features .benefits_cnt li .future-svg.none-future svg {
  width: 12px;
  height: 12px;
}
.trip-plan-benefit-details table tr h2 {
  color: #60aa39;
  font-size: 22px;
  margin-top: 0;
  text-align: left;
  line-height: 1;
  margin-bottom: 10px;
  padding: 0;
}
.trip-plan-benefit-details table tr.dblbdr {
  margin-bottom: 10px;
  padding: 0;
  border-bottom: 3px solid #e3e3e3;
}
.trip-plan-benefit-details table tr.dblbdr td {
  margin-bottom: 10px;
  padding: 0;
}
.trip-plan-benefit-details table td {
  padding: 10px 5px;
}

.plan-details-benefits .benefitsRow > div:first-child h4,
.plan-details-benefits .over-view div > div:first-child h4 {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #37465a;
}
.plan-details-benefits .benefitsRow > div:last-child p,
.plan-details-benefits .over-view div > div:last-child p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #37465a;
}
.plan-details-benefits .over-view .card {
  border: none;
}
.plan-details-benefits .over-view .card-body {
  border: 1px solid #dedede !important;
  padding: 0.75rem 1.25rem 0;
}
.plan-details-benefits .over-view .card-body > .row.border-bottom:last-child {
  border-bottom: none !important;
}
.plan-details-benefits #nav-tabContent .faq tr td > p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.plan-details-benefits #nav-tabContent .faq tr td > p:first-child {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 10px;
}

.plan-details-benefits #nav-tabContent .faq ol,
.plan-details-benefits #nav-tabContent .faq ul {
  padding-left: 20px;
}
.plan-details-benefits .additional-content {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #747582;
}
@media (max-width: 767px) {
  .plan-details-benefits .main-headding-2 {
    order: inherit;
    margin-top: 0;
  }
}
.form-group > label {
  display: inline;
}
.btn-back {
  color: #2f80ed;
  font-size: 14px;
  line-height: 22px;
}
.plan_links a {
  color: #2f80ed;
  font-size: 14px;
  line-height: 18px;
}
.plan_links a:not(:last-child):after {
  content: " | ";
  width: 1px;
  height: 100%;
  margin: 0 4px;
  color: #37465a;
}
#ModifyQuoteModal .trip_age_widget .form-group label {
  margin-bottom: 0.1rem;
}
.compare .nav-tabs {
  box-sizing: border-box;
  /*border-radius: 8px;*/
}
.compare .card-tabs .nav-tabs .nav-link {
  font-weight: 600;
  line-height: 17px;
}
.compare .card-tabs .nav-tabs .nav-link.active {
  font-weight: 700;
  color: #ffffff !important;
}
#accordionBenefits.accordion .card-body,
#nav-profile .card-body {
  padding: 0 15px;
  border-left: none !important;
  border-right: none !important;
}
#accordionBenefits.accordion .card-body .benefitsRow h4,
#nav-profile .card-body .overviewRow h4 {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .plan_links a {
    display: block;
    padding: 5px 0;
  }
  .plan_links a:after {
    content: "" !important;
  }
  .buy-buttons a {
    display: block;
    margin-left: 0px !important;
  }
  .buy-buttons a:nth-child(2) {
    margin-top: 1rem !important;
  }
}

/* =============================================
   V4 Plan Listing Page Styles
   ============================================= */

/* Plan List Wrapper */
.v4-card .plan-list-wrapper {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* ---- Plan Cards Grid ---- */
.v4-card .plan-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- Individual Plan Card ---- */
.v4-card .v4-plan-list-card {
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  padding: 20px 24px;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.v4-card .v4-plan-list-card:hover {
  box-shadow: 0 4px 16px rgba(46, 125, 209, 0.08);
  border-color: #d4e3f5;
}

/* Card Header */
.v4-card .v4-plan-list-card .plan-card-header {
  margin-bottom: 12px;
}
.v4-card .v4-plan-list-card .plan-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.v4-card .v4-plan-list-card .plan-card-info {
  flex: 1;
  min-width: 0;
}
.v4-card .v4-plan-list-card .plan-card-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #0b2b46;
  margin-bottom: 4px;
}
.v4-card .v4-plan-list-card .plan-card-name a {
  color: #0b2b46;
  text-decoration: none;
}
.v4-card .v4-plan-list-card .plan-card-name a:hover {
  text-decoration: underline;
}

/* Plan Type Badge (matches quote result page) */
.v4-card .v4-plan-list-card .plan-type-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  margin-left: 10px;
  vertical-align: middle;
}
.v4-card .v4-plan-list-card .plan-type-badge.comprehensive {
  background: rgba(46, 125, 209, 0.11);
  color: #147bd1;
}
.v4-card .v4-plan-list-card .plan-type-badge.limited {
  background: rgba(138, 144, 160, 0.14);
  color: #0f476b;
}
.v4-card .v4-plan-list-card .plan-type-badge.trip {
  background: rgba(46, 125, 209, 0.11);
  color: #147bd1;
}

/* Underwriter info */
.v4-card .v4-plan-list-card .plan-card-underwriter {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #4d7391;
  margin-bottom: 0;
}

/* Plan Ribbon */
.v4-card .v4-plan-list-card .plan-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, #ff8c42, #ff6b35);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* CTA Buttons */
.v4-card .v4-plan-list-card .plan-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.v4-card .v4-plan-list-card .btn-v4-primary {
  display: inline-block;
  background: linear-gradient(135deg, #ff8c42, #ff6b35);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  padding: 9px 20px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  min-width: 100px;
}
.v4-card .v4-plan-list-card .btn-v4-primary:hover {
  opacity: 0.88;
  text-decoration: none;
}
.v4-card .v4-plan-list-card .btn-v4-secondary {
  display: inline-block;
  background: #f5f7fa;
  color: #37465a !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid #dde2ea;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
  min-width: 100px;
}
.v4-card .v4-plan-list-card .btn-v4-secondary:hover {
  background: #eef1f6;
  border-color: #c5cdd9;
  text-decoration: none;
}

/* Notice message (plan disabled) */
.v4-card .v4-plan-list-card .plan-card-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  background: #fff5f5;
  border: 1px solid #fdd;
  border-radius: 8px;
  font-size: 13px;
  color: #d32f2f;
  font-weight: 500;
}
.v4-card .v4-plan-list-card .plan-card-notice .notice-icon svg {
  width: 16px;
  height: 16px;
}

/* Short description (trip cards) */
.v4-card .v4-plan-list-card .plan-card-description {
  margin-bottom: 12px;
}
.v4-card .v4-plan-list-card .plan-card-description p {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #4d7391;
  margin-bottom: 0;
}

/* ---- Plan Features (V3-style inline paragraphs) ---- */
.v4-card .v4-plan-list-card .tab-body-content p {
  font-size: 14px;
  line-height: 22px;
  color: #0f476b;
  margin-bottom: 6px;
}
.v4-card .v4-plan-list-card .tab-body-content .future-svg {
  display: inline-flex;
  vertical-align: middle;
}
.v4-card .v4-plan-list-card .tab-body-content .future-svg svg {
  width: 18px;
  height: 18px;
}
.v4-card .v4-plan-list-card .tab-body-content .tooltip-icon {
  display: inline-flex;
  vertical-align: middle;
}
.v4-card .v4-plan-list-card .tab-body-content .tooltip-icon-svg svg {
  width: 14px;
  height: 14px;
}

.v4-card .v4-plan-list-card .plan-top-feature {
  font-size: 14px;
  line-height: 22px;
  color: #0f476b;
  margin-bottom: 12px;
}

/* Visitor plan feature list */
.v4-card .v4-plan-list-card .v4-plan-feature-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}
.v4-card .v4-plan-list-card .v4-plan-feature-list li {
  font-size: 14px;
  line-height: 22px;
  color: #0f476b;
  margin-bottom: 6px;
}
.v4-card .v4-plan-list-card .v4-plan-feature-list li.restriction {
  color: #4d7391;
  font-size: 13px;
}
.v4-card .v4-plan-list-card .v4-plan-feature-list li.restriction strong {
  color: #0f476b;
}

/* Trip plan features (categorized) */
.v4-card .v4-plan-list-card .v4-trip-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.v4-card .v4-plan-list-card .trip-feature-group {
  flex: 1;
  min-width: 250px;
}
.v4-card .v4-plan-list-card .trip-feature-category {
  background: #f4f8fc;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  color: #0b2b46;
  padding: 10px 16px;
  margin-bottom: 12px;
}
.v4-card .v4-plan-list-card .trip-feature-category .category-tooltip {
  display: block;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #4d7391;
  margin-top: 4px;
}

/* ---- Plan Detail Tabs — uses shared plan-features-grouped.css ---- */
/* Only listing-specific overrides below */

/* Plan Detail Section Content (inside tabs) */
.v4-card .v4-plan-list-card .plan-detail-section-content {
  font-size: 14px;
  line-height: 22px;
  color: #0f476b;
}
.v4-card .v4-plan-list-card .plan-detail-section-content p {
  margin-bottom: 8px;
}

/* Plan Detail Links (PDF + popup links row) */
.v4-card .v4-plan-list-card .plan-detail-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid #eef1f6;
}
.v4-card .v4-plan-list-card .plan-detail-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: #147bd1;
  text-decoration: none;
  padding: 2px 0;
}
.v4-card .v4-plan-list-card .plan-detail-links a:hover {
  text-decoration: underline;
}
.v4-card .v4-plan-list-card .plan-detail-links a .link-icon {
  display: inline-flex;
  align-items: center;
}
.v4-card .v4-plan-list-card .plan-detail-links a .link-icon svg {
  width: 14px;
  height: 14px;
}
.v4-card .v4-plan-list-card .plan-detail-links a:not(:last-child)::after {
  content: "|";
  margin: 0 8px;
  color: #c5cdd9;
  font-weight: 400;
}

/* Empty state */
.v4-card .empty-plans-msg h3 {
  font-weight: 700;
  font-size: 22px;
  color: #0b2b46;
  margin-bottom: 8px;
}
.v4-card .empty-plans-msg p {
  font-size: 14px;
  color: #4d7391;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .v4-card .v4-plan-list-card .plan-card-title-row {
    flex-direction: column;
  }
  .v4-card .v4-plan-list-card .plan-card-actions {
    width: 100%;
    margin-top: 12px;
  }
}
@media (max-width: 767px) {
  .v4-card.planlistContainer .plan-list-title {
    font-size: 22px;
    line-height: 28px;
  }
  .v4-card .v4-plan-list-card {
    padding: 16px;
  }
  .v4-card .v4-plan-list-card .plan-card-actions {
    flex-direction: column;
    gap: 8px;
  }
  .v4-card .v4-plan-list-card .plan-card-actions a {
    width: 100%;
    text-align: center;
  }
  .v4-card .v4-plan-list-card .plan-detail-links a {
    display: block;
    margin-bottom: 6px;
  }
  .v4-card .v4-plan-list-card .plan-detail-links a:not(:last-child)::after {
    content: "";
    margin: 0;
  }
  .v4-card .v4-plan-list-card .v4-trip-features {
    flex-direction: column;
  }
  .v4-card .v4-plan-list-card .trip-feature-group {
    min-width: 100%;
  }
}
