:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  --card-hover-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
}

.margin-top-bottom-50 {
  margin-top: 50px;
  margin-bottom: 50px;
}
.padding-top-bottom-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.border-black {
  border: 1px solid #ddd;
}
.row-gap {
  row-gap: 80px;
}
.padding-top-50-bottom-0 {
  padding-top: 50px;
  padding-bottom: 0px;
}
.swiper-wrapper.clients img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  gap: 10px;
  padding: 10px;
}

.process-section {
  background: linear-gradient(135deg, #008a8e 0%, #e68e62 100%);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -250px;
  right: -250px;
  animation: float 6s ease-in-out infinite;
}

.process-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

.section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--card-shadow);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--primary-color);
}

.step-badge {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.step-card:hover .step-badge {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.step-badge span {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(139, 92, 246, 0.2)
  );
  transform: scale(1.1);
}

.step-icon i {
  font-size: 1.75rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card h5 {
  color: #1e293b;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.step-card p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.connector {
  position: absolute;
  top: 50%;
  right: -15%;
  width: 30%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateY(-50%);
  z-index: 1;
}

@media (max-width: 991px) {
  .connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .step-card {
    padding: 2rem 1.5rem;
  }
}

.number-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 35px;
  height: 35px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.footer-dark,
.header-with-topbar {
  font-family: "Poppins", sans-serif;
}

/* Car Insurance Hero Form Styles */
#car-registration-form .bg-white {
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
}

#car-registration-form .bg-white:hover {
  border-color: #667eea;
  box-shadow: 0 10px 30px -5px rgba(102, 126, 234, 0.15);
}

#car-registration-form input {
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

#car-registration-form input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
}

#car-registration-form input::placeholder {
  color: #94a3b8;
  letter-spacing: 1px;
}

#renew-tab {
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#renew-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bg-opacity-10 {
  background-color: rgba(102, 126, 234, 0.1) !important;
}

.bg-olivine-green {
  background-color: #6bcf7f !important;
}

.text-olivine-green {
  color: #6bcf7f !important;
}

.bg-olivine-green.bg-opacity-10 {
  background-color: rgba(107, 207, 127, 0.1) !important;
}

.border-radius-20px {
  border-radius: 20px;
}

.text-underline {
  text-decoration: underline;
}

.text-underline:hover {
  text-decoration: underline;
}

.border-radius-30px {
  border-radius: 30px;
}

.border-radius-8px {
  border-radius: 8px;
}

.border-radius-6px {
  border-radius: 6px;
}

.box-shadow-medium {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.padding-30px-all {
  padding: 30px;
}

.padding-15px-lr {
  padding-left: 15px;
  padding-right: 15px;
}

.padding-12px-tb {
  padding-top: 12px;
  padding-bottom: 12px;
}

.padding-10px-lr {
  padding-left: 10px;
  padding-right: 10px;
}

.padding-8px-tb {
  padding-top: 8px;
  padding-bottom: 8px;
}

#car-registration-form #terms-checkbox {
  margin-top: 3px;
  cursor: pointer;
}

#car-registration-form label[for="terms-checkbox"] {
  line-height: 1.5;
  cursor: pointer;
}

#car-registration-form label[for="terms-checkbox"] a {
  text-decoration: underline;
}

#car-registration-form label[for="terms-checkbox"] a:hover {
  text-decoration: underline;
  color: #667eea;
}

/* Enhanced Car Insurance Form Styles */
#car-registration-form .bg-white {
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
}

#car-registration-form .bg-white:hover {
  border-color: #667eea;
  box-shadow: 0 10px 30px -5px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.car-reg-input {
  transition: all 0.3s ease;
}

.car-reg-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.car-submit-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.car-submit-btn .bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.car-submit-btn:hover .bg-gradient-primary {
  transform: translateX(0);
}

.car-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.car-submit-btn:active {
  transform: translateY(0);
}

.transform-x-0 {
  transform: translateX(0);
}

.transition-all-03s {
  transition: all 0.3s ease;
}

.z-index-1 {
  z-index: 1;
}

.opacity-05 {
  opacity: 0.05;
}

.translate-middle-y {
  transform: translateY(-50%);
}

.top-50 {
  top: 50%;
}

.end-0 {
  right: 0;
}

.start-0 {
  left: 0;
}

.top-0 {
  top: 0;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Smooth Section Transitions */
#CarHero {
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

#CarHero.car-hero-fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

/* Minimal Car Quote Wizard Styles */
.wizard-progress-minimal {
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.wizard-progress-minimal .d-flex {
  position: relative;
}

.wizard-step-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.3s ease;
}

.wizard-step-minimal.active .step-dot {
  background: #667eea;
  width: 12px;
  height: 12px;
}

.step-label-minimal {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wizard-step-minimal.active .step-label-minimal {
  color: #667eea;
  font-weight: 600;
}

.wizard-line-minimal {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.wizard-line-minimal.active {
  background: #667eea;
}

.wizard-panel-minimal {
  min-height: 300px;
  padding: 2rem 0;
}

.wizard-title-minimal {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.selected-minimal {
  border-left: 2px solid #e2e8f0;
  padding-left: 1.5rem;
  min-height: 200px;
}

.selected-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 1rem;
}

.selected-city-display-minimal,
.selected-details-minimal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.selected-placeholder {
  font-size: 1.25rem;
  color: #cbd5e1;
  font-weight: 300;
}

.selected-city-name-minimal {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
}

.selected-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.selected-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selected-city-text-minimal,
.selected-brand-text-minimal,
.selected-model-text-minimal {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
}

.selection-grid-minimal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.selection-item-minimal {
  padding: 14px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selection-item-minimal:hover {
  border-color: #667eea;
  color: #667eea;
  background: #f8fafc;
}

.selection-item-minimal.active {
  border-color: #667eea;
  background: #667eea;
  color: white;
}

.summary-minimal {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.summary-label {
  color: #64748b;
  font-weight: 500;
}

.form-minimal {
  padding-top: 1rem;
}

.form-label-minimal {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 0.5rem;
}

.form-control-minimal {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #1e293b;
  background: white;
  transition: all 0.2s ease;
}

.form-control-minimal:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control-minimal::placeholder {
  color: #94a3b8;
}

.wizard-nav-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.btn-nav-minimal {
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-primary {
  background: #1e293b;
  color: white;
  margin-left: auto;
}

.btn-nav-primary:hover {
  background: #334155;
  transform: translateY(-1px);
}

.btn-nav-secondary {
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.btn-nav-secondary:hover {
  color: #1e293b;
  border-color: #cbd5e1;
}

/* Car Quote Wizard Styles */
.wizard-progress {
  margin-bottom: 3rem;
}

.wizard-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
  /* border-bottom: 1px solid #e2e8f0; */
}

.wizard-back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wizard-back-btn:hover {
  border-color: #667eea;
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.wizard-back-btn i {
  font-size: 1rem;
}

.wizard-progress-header {
  flex: 1;
}

.wizard-submit-wrapper {
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .wizard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .wizard-back-btn {
    width: 100%;
    justify-content: center;
  }

  .wizard-progress-header {
    width: 100%;
  }

  .wizard-progress-header .d-flex {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .wizard-step .step-label {
    font-size: 0.7rem;
  }

  .wizard-step .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

.wizard-progress .d-flex {
  position: relative;
  padding: 0 2rem;
}

.wizard-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.wizard-step .step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.wizard-step.active .step-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.wizard-step .step-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wizard-step.active .step-label {
  color: #667eea;
  font-weight: 600;
}

.wizard-connector {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
  margin: 0 4rem;
  transition: all 0.3s ease;
}

.wizard-connector.active {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.wizard-panel {
  min-height: 400px;
}

.selected-display {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.city-grid,
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.city-item,
.brand-item,
.model-item {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.city-item:hover,
.brand-item:hover,
.model-item:hover {
  border-color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.city-item.active,
.brand-item.active,
.model-item.active {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.city-item i,
.model-item i {
  font-size: 1.5rem;
  color: #667eea;
}

.brand-item img {
  width: 60px;
  height: 40px;
  object-fit: contain;
}

.brand-item span,
.city-item span,
.model-item span {
  font-weight: 500;
  color: #1e293b;
  font-size: 0.9rem;
}

.model-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.selected-details .detail-item {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.selected-details .detail-item:last-child {
  border-bottom: none;
}

.wizard-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  #car-registration-form .bg-white {
    padding: 20px;
  }

  #car-registration-form input {
    font-size: 16px;
  }

  .d-flex.align-items-center.gap-2 {
    flex-wrap: wrap;
  }

  .d-flex.flex-wrap.align-items-center.gap-3 {
    flex-direction: column;
    align-items: flex-start;
  }

  .wizard-progress .d-flex {
    padding: 0 1rem;
  }

  .wizard-step .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .wizard-step .step-label {
    font-size: 0.75rem;
  }

  .wizard-connector {
    margin: 0 2rem;
  }

  .city-grid,
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .city-item,
  .brand-item,
  .model-item {
    padding: 15px;
  }
}

/* Car quote wizard — minimal typography & density (#car-quote-shell) */

/* Summary cards & tag-style detail chips (steps 1–4) */
#car-quote-shell .motor-cq-summary-card {
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

#car-quote-shell .motor-cq-summary-card__head {
  padding: 12px 16px 10px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
}

#car-quote-shell .motor-cq-summary-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 6px;
}

#car-quote-shell .motor-cq-summary-card__badge i {
  color: #667eea;
  font-size: 0.9rem;
}

#car-quote-shell .motor-cq-summary-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.02em;
}

#car-quote-shell .motor-cq-summary-card__body {
  padding: 14px 16px 16px;
}

#car-quote-shell .motor-cq-rto-display {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#car-quote-shell .motor-cq-rto-display .icon-large {
  flex-shrink: 0;
  margin-bottom: 0 !important;
}

#car-quote-shell .motor-cq-detail-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 10px;
}

#car-quote-shell .motor-cq-detail-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  font-size: 0.8125rem;
  line-height: 1.35;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

#car-quote-shell .motor-cq-detail-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

#car-quote-shell .motor-cq-detail-chip__label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

#car-quote-shell .motor-cq-detail-chip__value,
#car-quote-shell .motor-cq-detail-chip .selected-city-text,
#car-quote-shell .motor-cq-detail-chip .selected-brand-text {
  font-size: 0.875rem;
  color: #1e293b;
  word-break: break-word;
}

#car-quote-shell .motor-cq-detail-chip .text-large {
  font-size: 0.9375rem !important;
}

#car-quote-shell .car-quote-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

#car-quote-shell .car-quote-step-title {
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 0.85rem !important;
  letter-spacing: -0.01em;
}

#car-quote-shell .selected-display .car-quote-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.65rem !important;
}

#car-quote-shell .car-quote-final-title {
  font-size: 1.1875rem;
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 0.4rem !important;
  letter-spacing: -0.02em;
}

#car-quote-shell .car-quote-final-lead {
  font-size: 0.8125rem;
  line-height: 1.45;
}

#car-quote-shell .car-quote-summary-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.65rem !important;
}

#car-quote-shell .wizard-step .step-number {
  width: 36px;
  height: 36px;
  font-size: 0.8125rem;
  margin: 0 auto 6px;
}

#car-quote-shell .wizard-step .step-label {
  font-size: 0.6875rem;
  line-height: 1.2;
}

#car-quote-shell .wizard-connector {
  top: 18px;
}

#car-quote-shell .wizard-panel {
  min-height: 260px;
}

#car-quote-shell .selected-display {
  min-height: 200px;
}

#car-quote-shell .city-grid,
#car-quote-shell .brand-grid {
  gap: 10px;
  margin-top: 12px;
}
.overflow-scroll-270 {
  overflow: scroll;
  height: 270px;
}

#car-quote-shell .city-item,
#car-quote-shell .brand-item,
#car-quote-shell .model-item {
  padding: 14px 12px;
}

#car-quote-shell .selected-city-name.text-large,
#car-quote-shell .selected-brand-name.text-large,
#car-quote-shell .selected-model-name.text-large,
#car-quote-shell .selected-fuel-name.text-large {
  font-size: 1.05rem;
}

.car-quote-fuel-types {
  padding-bottom: 0.25rem;
}

.car-quote-fuel-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.25);
  cursor: pointer;
  line-height: 1.2;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.car-quote-fuel-badge:hover {
  background: rgba(102, 126, 234, 0.18);
}

.car-quote-fuel-badge--active {
  background: rgba(102, 126, 234, 0.28);
  border-color: rgba(102, 126, 234, 0.55);
  box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.2);
}
.registration-split-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.uppercase {
  text-transform: uppercase;
}
/* Policy plan step — minimal row: left (code + title), right (desc + type) */
#policyPlanCards .policy-card {
  position: relative;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8e8e8;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  overflow: hidden;
}

#policyPlanCards .policy-card-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 14px 16px;
  text-align: left;
}

#policyPlanCards .policy-card-left {
  flex: 0 0 38%;
  max-width: 200px;
  padding-right: 14px;
  border-right: 1px solid #f1f5f9;
}

#policyPlanCards .policy-card-right {
  flex: 1;
  min-width: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

#policyPlanCards .policy-card-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 0 0 4px;
}

#policyPlanCards .policy-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

#policyPlanCards .policy-card-desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0;
}

#policyPlanCards .policy-card-type {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

#policyPlanCards .policy-card-sub {
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 6px 0 0;
}

/* Standalone TP: term toggle (1 yr vs 3 yr) */
#policyPlanCards .policy-card--tp {
  cursor: default;
  border-width: 2px;
  border-color: #e0e7ff;
  background: #fafbff;
}

#policyPlanCards .policy-card--tp.selected {
  border-color: #667eea;
}

#policyPlanCards .cq-tp-toggle-label {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

#policyPlanCards .cq-tp-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#policyPlanCards .cq-tp-option {
  flex: 1;
  min-width: 120px;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

#policyPlanCards .cq-tp-option:hover:not(.disabled):not(:disabled) {
  border-color: #a5b4fc;
  background: #f8fafc;
}

#policyPlanCards .cq-tp-option.is-active {
  border-color: #667eea;
  background: #eef2ff;
  box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.25);
}

#policyPlanCards .cq-tp-option.disabled,
#policyPlanCards .cq-tp-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

#policyPlanCards .policy-card--tp.disabled {
  pointer-events: none;
}

#policyPlanCards .cq-tp-option__main {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

#policyPlanCards .cq-tp-option__sub {
  display: block;
  font-size: 0.65rem;
  margin-top: 2px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#policyPlanCards .policy-card[data-policy-type] {
  cursor: pointer;
}

#policyPlanCards .policy-card:hover:not(.disabled):not(.policy-card--tp) {
  border-color: #cbd5e1;
  background: #fafafa;
}

#policyPlanCards .policy-card.selected {
  border-color: #667eea !important;
  background: #fafbff;
  box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.2);
}

#policyPlanCards .policy-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

#policyPlanCards .policy-card-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: #667eea;
  padding: 4px 10px;
  border-radius: 0 0 0 6px;
}

#policyPlanCards .policy-card.recommended .policy-card-inner {
  padding-top: 18px;
}

@media (max-width: 575px) {
  #policyPlanCards .policy-card-inner {
    flex-direction: column;
    padding: 12px 14px;
  }
  #policyPlanCards .policy-card-left {
    flex: none;
    max-width: none;
    padding-right: 0;
    padding-bottom: 10px;
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
  #policyPlanCards .policy-card-right {
    padding-left: 0;
    padding-top: 10px;
  }
}

/* Eligibility (under right column) */
#policyPlanCards .eligibility-status,
#policyPlanCards .eligibility-error {
  display: block;
  font-size: 0.75rem;
  margin: 0;
  margin-top: 4px;
}

#policyPlanCards .eligibility-error:not(.d-none) {
  display: block !important;
}
