.private-v2-page .section-title-strong {
  color: #0b5ed7;
}

.private-v2-page .search-main-card {
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 110, 253, 0.12), transparent 38%),
    radial-gradient(circle at 84% 10%, rgba(15, 23, 42, 0.08), transparent 35%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 110, 253, 0.14);
}

.private-v2-page .private-v2-quotes-grid {
  grid-template-columns: 1fr;
}

.private-v2-page .private-v2-quote-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(24, 93, 164, 0.32) !important;
  background:
    radial-gradient(circle at 90% 8%, rgba(13, 110, 253, 0.09), rgba(13, 110, 253, 0)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.96));
}

.private-v2-page .private-v2-quote-card::before {
  height: 12px;
  background: linear-gradient(90deg, rgba(32, 122, 217, 0.42), rgba(159, 221, 255, 0.16));
}

.private-v2-page .private-v2-quote-layout {
  display: grid;
  grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.private-v2-page .private-v2-quote-layout--static {
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr) minmax(190px, auto);
  align-items: start;
}

.private-v2-page .private-v2-map-wrap {
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
  height: 100%;
  border: 1px solid rgba(24, 93, 164, 0.18);
  background: linear-gradient(140deg, rgba(226, 236, 248, 0.9), rgba(242, 247, 255, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.private-v2-page .private-v2-map-canvas {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.private-v2-page .private-v2-static-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.private-v2-page .private-v2-debug-box {
  line-height: 1.3;
}

.private-v2-page .private-v2-map-fallback {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #516171;
  font-weight: 600;
  font-size: 0.95rem;
}

.private-v2-page .private-v2-quote-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.private-v2-page .private-v2-details-head {
  min-height: 100%;
}

.private-v2-page .private-v2-card-schema {
  margin-bottom: 0.45rem;
}

.private-v2-page .private-v2-quote-card .private-price-panel {
  align-self: stretch;
  min-width: 190px;
  border-radius: 1rem;
  border: 1px solid rgba(32, 122, 217, 0.16);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.75rem;
}

.private-v2-page .private-v2-quote-card .private-v2-variant {
  cursor: pointer;
}

.private-v2-page .private-v2-vehicle-thumb img {
  max-height: 118px;
  width: auto;
  object-fit: cover;
  background: #fff;
}

.private-v2-page .private-v2-price-box {
  min-width: 170px;
}

/* Results page map-only compaction. Keep the card text/layout original. */
.public-search-wrap.private-v2-page .private-v2-map-wrap,
.public-search-wrap.private-v2-page .private-v2-map-canvas,
.public-search-wrap.private-v2-page .private-v2-static-map,
.public-search-wrap.private-v2-page .private-v2-map-fallback {
  height: 260px;
  min-height: 260px;
  max-height: 260px;
}

.public-search-wrap.private-v2-page .private-v2-map-wrap {
  align-self: start;
}

.private-v2-page .private-v2-meta-list {
  display: grid;
  gap: 0.1rem;
}

.private-v2-page .private-v2-supplements ul {
  margin-bottom: 0;
}

.private-v2-page .private-v2-booking-panel .corsa-booking-inner {
  background: rgba(248, 249, 250, 0.95);
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.private-v2-page .private-v2-form-error {
  font-weight: 600;
}

.private-v2-page .private-v2-blue-notice {
  border: 1px solid rgba(13, 110, 253, 0.28);
  background: rgba(231, 244, 255, 0.92);
  color: #084298;
  border-radius: 0.85rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.private-v2-page .private-v2-select-btn,
.private-v2-page .private-v2-confirm-btn {
  min-height: 40px;
}

.ui-public .pac-container.cs-private-v2-pac {
  z-index: 2600 !important;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .14);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
  overflow: hidden;
}

.ui-public .pac-container.cs-private-v2-pac .pac-item {
  min-height: 46px;
  padding: 10px 14px;
  white-space: normal !important;
  line-height: 1.35;
  word-break: break-word;
}

.ui-public .pac-container.cs-private-v2-pac .pac-item .pac-item-query {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

@media (min-width: 768px) {
  .ui-public .pac-container.cs-private-v2-pac {
    min-width: 420px;
    max-width: min(760px, calc(100vw - 32px));
  }
}

.private-v2-page .modern-form--route-swap-between .modern-route-swap-field {
  margin: 0;
}

.private-v2-page .modern-form--route-swap-between .modern-route-cluster-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: end;
  gap: 0;
  position: relative;
}

.private-v2-page .modern-form--route-swap-between .modern-route-cluster-col {
  min-width: 0;
}

.private-v2-page .modern-form--route-swap-between .modern-route-cluster-col .modern-picker {
  width: 100%;
  position: relative;
}

.private-v2-page .modern-swap-btn.modern-swap-btn--between {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, .92);
  background: rgba(15, 76, 129, .92);
  color: #fff;
  opacity: 1;
  box-shadow: 0 5px 14px rgba(15, 76, 129, .22);
  justify-self: center;
  align-self: end;
  margin-bottom: 7px;
}

.private-v2-page .modern-swap-btn.modern-swap-btn--between .modern-swap-btn__icon svg {
  width: 17px;
  height: 17px;
}

.private-v2-page .modern-form--route-swap-between .modern-route-cluster-col .modern-input {
  width: 100%;
  min-width: 0;
  padding-right: 42px;
}

.private-v2-page .modern-form--route-swap-between .modern-date-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
  color: rgba(0, 0, 0, .62);
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.private-v2-page .modern-form--route-swap-between .modern-date-clear:hover {
  background: rgba(0, 0, 0, .12);
  color: rgba(0, 0, 0, .82);
}

.private-v2-page .modern-form--route-swap-between .modern-date-clear.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.private-v2-page .modern-form--route-swap-between .modern-field-route-source .modern-input {
  border-radius: 12px 0 0 12px;
}

.private-v2-page .modern-form--route-swap-between .modern-field-route-destination .modern-input {
  border-radius: 0 12px 12px 0;
}

@media (max-width: 767.98px) {
  .private-v2-page .modern-form--route-swap-between .modern-route-cluster-grid {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
  }

  .private-v2-page .modern-form--route-swap-between .modern-field-route-source {
    grid-column: 1;
    grid-row: 1;
  }

  .private-v2-page .modern-form--route-swap-between .modern-route-swap-field {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 5;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .private-v2-page .modern-form--route-swap-between .modern-field-route-destination {
    grid-column: 1;
    grid-row: 2;
  }

  .private-v2-page .modern-form--route-swap-between .modern-route-cluster-col > .modern-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: .02em;
  }

  .private-v2-page .modern-form--route-swap-between .modern-route-cluster-col .modern-input {
    height: 56px;
    font-size: 1rem;
    padding-right: 60px;
  }

  .private-v2-page .modern-swap-btn.modern-swap-btn--between {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 999px;
    border: 1px solid rgba(15, 76, 129, .96);
    background: rgba(15, 76, 129, .96);
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 76, 129, .28);
    opacity: 1;
  }

  .private-v2-page .modern-swap-btn.modern-swap-btn--between .modern-swap-btn__icon svg {
    width: 18px;
    height: 18px;
  }

  .private-v2-page .modern-form--route-swap-between .modern-field-route-source .modern-input {
    border-radius: 12px 12px 0 0;
  }

  .private-v2-page .modern-form--route-swap-between .modern-field-route-destination .modern-input {
    border-radius: 0 0 12px 12px;
    border-top: 0;
  }

  .ui-public .pac-container.cs-private-v2-pac {
    border-radius: 16px;
    left: 16px !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }
}

@media (max-width: 991.98px) {
  .private-v2-page .private-v2-quote-layout {
    grid-template-columns: 1fr;
  }

  .private-v2-page .private-v2-map-wrap,
  .private-v2-page .private-v2-map-canvas,
  .private-v2-page .private-v2-static-map,
  .private-v2-page .private-v2-map-fallback {
    min-height: 280px;
  }

  .public-search-wrap.private-v2-page .private-v2-map-wrap,
  .public-search-wrap.private-v2-page .private-v2-map-canvas,
  .public-search-wrap.private-v2-page .private-v2-static-map,
  .public-search-wrap.private-v2-page .private-v2-map-fallback {
    height: 230px;
    min-height: 230px;
    max-height: 230px;
  }
}

@media (max-width: 767.98px) {
  .private-v2-page .modern-field-cta .btn-modern-cta {
    min-height: 56px;
    font-size: 1rem;
  }

  .private-v2-page .private-v2-map-wrap,
  .private-v2-page .private-v2-map-canvas,
  .private-v2-page .private-v2-static-map,
  .private-v2-page .private-v2-map-fallback {
    min-height: 220px;
  }

  .public-search-wrap.private-v2-page .private-v2-map-wrap,
  .public-search-wrap.private-v2-page .private-v2-map-canvas,
  .public-search-wrap.private-v2-page .private-v2-static-map,
  .public-search-wrap.private-v2-page .private-v2-map-fallback {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .private-v2-page .private-v2-price-box {
    width: 100%;
    text-align: left;
  }

  .private-v2-page .private-v2-quote-card .private-price-panel {
    width: 100%;
    min-width: 100%;
    text-align: left;
  }

  .private-v2-page .private-v2-debug-box {
    font-size: 0.74rem;
  }

  .private-v2-page .private-v2-debug-toggle {
    min-height: 26px;
    font-size: 0.72rem;
  }

  .private-v2-page .private-v2-booking-panel .btn {
    width: 100%;
  }
}
