: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);
  --brand: #0f4c81;
  --brand-light: #e8f1fb;
  --accent: #e85d26;
  --accent-light: #fdf0ea;
  --surface: #f7f8fa;
  --card-bg: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
  --text: #111827;
  --green: #16a34a;
  --green-light: #dcfce7;
}

.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;
}

/* 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,
#brand-new-tab {
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#renew-tab:hover,
#brand-new-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: #008a8e;
}

.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 — premium 3-step card (#car-quote-shell) */

#car-quote-shell {
  --motor-primary: #008a8e;
  --motor-primary-hover: #114f52;
  --motor-border: #e2e8f0;
  --motor-text: #0f172a;
}

#car-quote-shell .progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

#car-quote-shell .progress-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--motor-border);
  z-index: 1;
  transform: translateY(-50%);
}

#car-quote-shell .step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--motor-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 2;
  transition: all 0.3s ease;
  color: #64748b;
  font-size: 0.9375rem;
}

#car-quote-shell .step-indicator.active {
  border-color: var(--motor-primary);
  background: var(--motor-primary);
  color: #ffffff;
}

#car-quote-shell .step-indicator.completed {
  border-color: var(--motor-primary);
  background: #e6f7f7;
  color: var(--motor-primary);
}

#car-quote-shell .motor-wizard-title {
  font-size: 1.25rem;
  color: var(--motor-text);
  letter-spacing: -0.02em;
}

#car-quote-shell .motor-wizard-lead {
  font-size: 0.9375rem;
}

#car-quote-shell .motor-wizard-input,
#car-quote-shell .motor-wizard-mobile .input-group-text {
  border: 1px solid var(--motor-border);
  padding: 0.75rem 1rem;
  border-radius: 5px;
  font-weight: 400;
}

#car-quote-shell .motor-wizard-input:focus {
  border-color: var(--motor-primary);
  box-shadow: 0 0 0 4px rgba(0, 138, 142, 0.12);
}

/* #car-quote-shell .motor-wizard-mobile .input-group-text {
  border-right: 0;
}

#car-quote-shell .motor-wizard-mobile .motor-wizard-input {
  border-left: 0;
} */

#car-quote-shell .selection-card {
  border: 1px solid var(--motor-border);
  border-radius: 10px;
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--motor-text);
}

#car-quote-shell .selection-card:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

#car-quote-shell .selection-card.selected,
#car-quote-shell .selection-card.active {
  border-color: var(--motor-primary);
  background-color: #e6f7f7;
  color: var(--motor-primary);
}

#car-quote-shell .selection-card i {
  font-size: 30px;
}

#car-quote-shell .selection-card span {
  font-size: 12px;
  line-height: 1.25;
  word-break: break-word;
  margin-top: 10px;
}

#car-quote-shell .motor-wizard-btn.btn-primary {
  background-color: var(--motor-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

#car-quote-shell .motor-wizard-btn.btn-primary:hover {
  background-color: var(--motor-primary-hover);
}

#car-quote-shell .motor-wizard-btn.btn-secondary {
  background-color: #f1f5f9;
  border: none;
  color: #475569;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

#car-quote-shell .motor-wizard-btn.btn-secondary:hover {
  background-color: #e2e8f0;
  color: #334155;
}

#car-quote-shell .wizard-panel {
  animation: motorWizardFadeIn 0.35s ease-in-out;
}

@keyframes motorWizardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#car-quote-shell #rtoResultsWrap {
  margin-top: 0.65rem;
}

#car-quote-shell .motor-rto-picked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #e6f7f7;
  border: 1px solid #99d5d7;
}

#car-quote-shell .motor-rto-picked__chip {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #008a8e;
  line-height: 1.35;
  word-break: break-word;
}

#car-quote-shell .motor-rto-picked__change {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--motor-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#car-quote-shell .rto-popular-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#car-quote-shell .motor-rto-quick-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.35rem !important;
}

#car-quote-shell .rto-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--motor-border);
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  line-height: 2;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

#car-quote-shell .rto-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

#car-quote-shell .rto-pill.active {
  border-color: var(--motor-primary);
  background: #e6f7f7;
}

#car-quote-shell .rto-pill__code {
  font-weight: 700;
  color: var(--motor-primary);
  letter-spacing: 0.02em;
}

#car-quote-shell .rto-pill__city {
  color: #64748b;
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#car-quote-shell .rto-search-panel {
  margin-top: 0.35rem;
  border: 1px solid var(--motor-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

#car-quote-shell .motor-rto-hint {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem 0;
  color: #94a3b8;
}

#car-quote-shell .rto-results-list {
  max-height: 220px;
  overflow-y: auto;
}

#car-quote-shell .rto-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

#car-quote-shell .rto-row:last-child {
  border-bottom: none;
}

#car-quote-shell .rto-row:hover {
  background: #f8fafc;
}

#car-quote-shell .rto-row.active {
  background: #e6f7f7;
}

#car-quote-shell .rto-row__code {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--motor-primary);
  letter-spacing: 0.02em;
  min-width: 3rem;
}

#car-quote-shell .rto-row__meta {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--motor-text);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#car-quote-shell .rto-row__state {
  color: #94a3b8;
  font-weight: 400;
}

#car-quote-shell .motor-rto-results {
  max-height: 220px;
  overflow-y: auto;
  margin-top: 0.5rem;
  border: 2px solid var(--motor-border);
  border-radius: 12px;
  padding: 0.35rem;
}

#car-quote-shell .motor-rto-badge {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#car-quote-shell .motor-rto-badge:hover {
  background-color: #e2e8f0 !important;
}

#car-quote-shell .motor-model-results {
  max-height: 280px;
  overflow-y: auto;
}

#car-quote-shell .motor-wizard-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  #car-quote-shell .motor-wizard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

#car-quote-shell .motor-summary-field {
  display: flex;
  align-items: stretch;
  min-height: 3.5rem;
  border: 2px solid var(--motor-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#car-quote-shell .motor-summary-field:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

#car-quote-shell .motor-summary-field__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  background: #f8fafc;
  border-right: 1px solid var(--motor-border);
  color: var(--motor-primary);
  font-size: 1.05rem;
}

#car-quote-shell .motor-summary-field__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.55rem 0.85rem;
}

#car-quote-shell .motor-summary-field__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  line-height: 1.2;
}

#car-quote-shell .motor-summary-field__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--motor-text);
  line-height: 1.35;
  word-break: break-word;
}

#car-quote-shell .motor-summary-field__value:empty::before {
  content: "—";
  color: #cbd5e1;
}

#car-quote-shell .motor-owner-form {
  margin-top: 0;
}

#car-quote-shell .motor-owner-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid var(--motor-border);
  gap: 0.25rem;
}

#car-quote-shell .motor-toggle-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

#car-quote-shell .motor-toggle-btn:hover {
  color: var(--motor-text);
}

#car-quote-shell .motor-toggle-btn.selected {
  background: #fff;
  color: var(--motor-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

#car-quote-shell .motor-owner-row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
  #car-quote-shell .motor-owner-row2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#car-quote-shell .motor-owner-field {
  min-width: 0;
}

#car-quote-shell .motor-field-error {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.35rem;
  line-height: 1.3;
}

#car-quote-shell .motor-owner-optional {
  color: #94a3b8;
  font-weight: 400;
}

#car-quote-shell .motor-owner-logged-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.8125rem;
  line-height: 1.4;
}

#car-quote-shell .motor-owner-logged-note i {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Legacy summary class aliases */
#car-quote-shell .motor-wizard-summary__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}

#car-quote-shell .motor-wizard-summary__value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--motor-text);
  word-break: break-word;
}

/* Summary cards & tag-style detail chips (legacy) */
#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 {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

#car-quote-shell .city-item:hover,
#car-quote-shell .city-item.active {
  background: #e6f7f7;
}

/* #car-quote-shell .brand-item,
#car-quote-shell .model-item {
  padding: 0;
  border: none;
  background: transparent;
} */

#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;
}

/* LocalBima brand palette — logo colors */
:root {
  --lb-primary: #df6f37;
  --lb-primary-dark: #c55a2a;
  --lb-secondary: #2a9da0;
  --lb-secondary-dark: #237f82;
}

/* Insurance products megamenu */
.insurance-megamenu .megamenu-content {
  min-width: 900px;
  padding: 18px;
}

.insurance-megamenu-layout {
  row-gap: 16px;
}

.insurance-support-card {
  background: linear-gradient(
    135deg,
    var(--lb-secondary-dark) 0%,
    var(--lb-secondary) 55%,
    var(--lb-primary) 100%
  );
  padding: 28px 24px;
  border-radius: 8px;
  color: #fff;
}

.insurance-support-eyebrow {
  letter-spacing: 1px;
  font-size: 11px;
  opacity: 0.9;
}

.insurance-support-copy {
  color: rgba(255, 255, 255, 0.85);
}

.insurance-support-contact {
  gap: 12px;
}

.insurance-support-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.insurance-support-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.insurance-megamenu-links-wrap {
  padding-left: 24px;
  padding-top: 10px;
}

.insurance-megamenu-links-wrap .row {
  margin-left: 0;
  margin-right: 0;
}

.insurance-megamenu-links-wrap .row > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

.insurance-megamenu-links .dropdown-header {
  margin-bottom: 10px;
}

.insurance-megamenu-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 991px) {
  .insurance-megamenu .megamenu-content {
    min-width: auto;
    padding: 12px;
  }

  .insurance-megamenu-links-wrap {
    padding-left: 0;
    padding-top: 18px;
  }

  .insurance-support-card {
    padding: 20px 16px;
  }
}

/* Login modal — insurance platform (Magnific inline) */
.login-modal-insurance {
  padding: 0 !important;
  max-width: 420px;
}

.login-modal-insurance .login-modal-insurance__card {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 24px 48px rgba(42, 157, 160, 0.14),
    0 4px 12px rgba(223, 111, 55, 0.08);
}

.login-modal-insurance__hero {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--lb-secondary-dark) 0%,
    var(--lb-secondary) 50%,
    var(--lb-primary) 100%
  );
}

.login-modal-insurance__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 80% 20%,
    rgba(255, 255, 255, 0.18),
    transparent 55%
  );
  pointer-events: none;
}

.login-modal-insurance__hero-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.5rem;
}

.login-modal-insurance__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-modal-insurance__subtitle {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.login-modal-insurance__body {
  padding: 1.5rem 1.5rem 1.25rem;
}

.login-modal-insurance__step-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.login-modal-insurance__step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--lb-primary) 0%,
    var(--lb-primary-dark) 100%
  );
}

.login-modal-insurance__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.login-modal-insurance__input {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.login-modal-insurance__input:focus {
  border-color: var(--lb-secondary);
  box-shadow: 0 0 0 3px rgba(42, 157, 160, 0.22);
  outline: none;
}

.login-modal-insurance__hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

.login-modal-insurance__btn-primary {
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.7rem 1rem;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--lb-primary) 0%,
    var(--lb-primary-dark) 100%
  );
  box-shadow: 0 4px 14px rgba(223, 111, 55, 0.38);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.login-modal-insurance__btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(223, 111, 55, 0.45);
}

.login-modal-insurance__btn-primary:active {
  transform: translateY(0);
}

.login-modal-insurance__otp-row {
  gap: 0.5rem !important;
}

.login-modal-insurance__otp {
  flex: 1 1 2.25rem;
  min-width: 2.25rem;
  max-width: 3rem;
  aspect-ratio: 1;
  padding: 0.35rem;
  font-size: 1.125rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.login-modal-insurance__otp:focus {
  border-color: var(--lb-secondary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(42, 157, 160, 0.22);
  outline: none;
}

.login-modal-insurance__btn-verify {
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.7rem 1rem;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--lb-secondary) 0%,
    var(--lb-secondary-dark) 100%
  );
  box-shadow: 0 4px 14px rgba(42, 157, 160, 0.38);
}

.login-modal-insurance__btn-verify:hover:not(:disabled) {
  color: #fff;
  filter: brightness(1.05);
}

.login-modal-insurance__btn-verify:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.login-modal-insurance__resend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lb-primary) !important;
}

.login-modal-insurance__resend:disabled {
  color: #94a3b8 !important;
  cursor: not-allowed;
}

.login-modal-insurance__trust {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #94a3b8;
}

.login-modal-insurance__trust i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.9rem;
  color: var(--lb-secondary);
}

@media (max-width: 575px) {
  .login-modal-insurance {
    max-width: none;
  }

  .login-modal-insurance__otp {
    min-width: 2rem;
    max-width: none;
    font-size: 1rem;
  }
}

/* Header — account / login (insurance bar) */
.header-auth-col {
  font-size: 1rem;
}

.header-auth {
  display: inline-flex;
  align-items: center;
}

.header-auth-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(
    145deg,
    var(--lb-primary) 0%,
    var(--lb-primary-dark) 100%
  );
  box-shadow: 0 4px 12px rgba(223, 111, 55, 0.32);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.header-auth-login-btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(223, 111, 55, 0.4);
}

.header-auth-login-btn i {
  font-size: 0.95rem;
  opacity: 0.95;
}

.header-auth-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.4rem 0.65rem 0.4rem 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.header-auth-user-btn:hover,
.header-auth-user-btn:focus {
  border-color: rgba(42, 157, 160, 0.35);
  color: #0f172a !important;
  background: #f8fafc;
}

.header-auth-user-btn::after {
  margin-left: 0.15rem;
  opacity: 0.65;
}

.header-auth-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    var(--lb-secondary) 0%,
    var(--lb-secondary-dark) 100%
  );
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.header-auth-user-label {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

@media (min-width: 992px) {
  .header-auth-user-label {
    max-width: 10rem;
  }
}

.header-auth-menu {
  padding: 0.5rem 0;
  border-radius: 12px;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.1),
    0 4px 10px rgba(15, 23, 42, 0.06);
}

.header-auth-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.header-auth-menu .dropdown-item i {
  font-size: 1rem;
  color: var(--lb-secondary);
}

.header-auth-menu .dropdown-item:hover {
  background: rgba(42, 157, 160, 0.08);
  color: #0f172a;
}

.header-auth-logout {
  color: #b91c1c !important;
}

.header-auth-logout:hover {
  background: #fef2f2 !important;
  color: #991b1b !important;
}

@media (max-width: 575px) {
  .header-auth-login-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
  }

  .header-auth-user-label {
    max-width: 5.5rem;
  }
}

.hero-bar {
  background: linear-gradient(135deg, #0f4c81 0%, #1a73c2 100%);
  padding: 2.5rem 0 1.5rem;
  color: white;
}

.hero-bar .badge-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.step-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.step-item.active {
  color: var(--brand);
}
.step-item.done {
  color: var(--green);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background: var(--border);
  color: var(--muted);
  flex-shrink: 0;
}

.step-item.active .step-num {
  background: var(--brand);
  color: white;
}

.step-item.done .step-num {
  background: var(--green);
  color: white;
}

.step-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 40px;
}

.filter-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
}

/* Sidebar filters stack above quote cards when wide dropdowns extend right */
.quotes-sidebar-col {
  position: relative;
  z-index: 20;
}

.quotes-results-col {
  position: relative;
  z-index: 1;
}

.filter-card:has(.dropdown-menu.show) {
  z-index: 30;
}

.filter-card .section-head {
  background: var(--brand);
  color: white;
  padding: 14px 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* --- Global Utility Classes --- */
.fw-600 {
  font-weight: 600;
}
.text-sm-muted {
  font-size: 12px;
  color: var(--muted);
}
.text-xs-muted {
  font-size: 11px;
  color: var(--muted);
}
.text-accent {
  color: var(--accent);
}
.text-green {
  color: var(--green);
}
.text-main {
  color: var(--text);
}
.link-brand {
  font-size: 12px;
  color: var(--brand);
  text-decoration: none;
}
.link-brand:hover {
  text-decoration: underline;
}
.icon-xs {
  font-size: 11px;
}

/* --- Specific Components --- */
.vehicle-title {
  font-weight: 600;
  font-size: 15px;
}

.vehicle-header {
  min-width: 0;
}

.quote-summary-policy-period {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.quote-summary-policy-period__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
}

.quote-summary-policy-period__row + .quote-summary-policy-period__row {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 2px;
  padding-top: 5px;
}

.quote-summary-policy-period__row-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--brand);
  flex-shrink: 0;
}

.quote-insurer-idv-summary {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.quote-insurer-idv-summary__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quote-insurer-idv-summary__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.quote-insurer-idv-summary__requested {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.quote-insurer-idv-summary__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
}

.quote-insurer-idv-summary__row + .quote-insurer-idv-summary__row {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-insurer-idv-summary__name {
  font-weight: 600;
  color: var(--text);
  text-transform: capitalize;
}

.quote-insurer-idv-summary__range {
  text-align: center;
}

.quote-insurer-idv-summary__sel {
  text-align: right;
  color: var(--brand);
  font-size: 12px;
}

.quote-insurer-idv-summary__clamp-hint {
  display: inline;
  font-weight: 400;
}

.quote-insurer-idv-summary__row--clamped .quote-insurer-idv-summary__sel {
  color: var(--text);
}

.global-idv-amount-panel {
  margin-top: 8px;
  margin-bottom: 4px;
}

.global-idv-amount-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-idv-amount-input {
  flex: 1;
  min-width: 0;
  border-color: var(--border);
  font-size: 13px;
}

.global-idv-apply-btn {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--brand) !important;
}

.global-idv-input-error {
  margin-top: 4px;
  color: #c0392b;
  line-height: 1.35;
}

.vehicle-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.filter-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 4px 0 16px;
  opacity: 1;
}

.min-w-0 {
  min-width: 0;
}

.text-quote-summary {
  font-size: 13px;
  color: var(--muted);
}

.claim-percent {
  font-size: 20px;
  font-weight: 700;
}

.price-val-serif {
  font-size: 26px;
}

.idv-val-display {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
}

.disclaimer-box {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  line-height: 16px;
}

/* PA Owner declaration modal — matches quote filters / filter-card */
.pa-declaration-modal-dialog {
  max-width: 440px;
}

.pa-declaration-modal {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.pa-declaration-modal__head {
  padding: 18px 18px 14px 20px;
}

.pa-declaration-modal__title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pa-declaration-modal__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.pa-declaration-modal__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.pa-declaration-modal__subtitle {
  line-height: 1.45;
}

.pa-declaration-modal__close {
  flex-shrink: 0;
  margin: -4px -6px 0 0;
}

.pa-declaration-modal__body {
  padding: 18px 20px 8px;
}

.pa-declaration-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}

.pa-declaration-option:hover {
  border-color: rgba(15, 76, 129, 0.35);
  box-shadow: 0 2px 10px rgba(15, 76, 129, 0.06);
}

.pa-declaration-option.is-selected {
  border-color: var(--brand);
  background: var(--brand-light);
  box-shadow: 0 0 0 1px var(--brand);
}

.pa-declaration-option__input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
  border-color: var(--border);
  cursor: pointer;
}

.pa-declaration-option__input:focus {
  box-shadow: 0 0 0 2px var(--brand-light);
}

.pa-declaration-option__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pa-declaration-option__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.pa-declaration-option__hint {
  line-height: 1.35;
}

.pa-declaration-modal__footer {
  padding: 12px 20px 20px;
}

.pa-declaration-modal__footer .btn-quote {
  width: 100%;
}

@media (min-width: 576px) {
  .pa-declaration-modal__footer .btn-quote {
    width: auto;
    min-width: 200px;
  }

  .pa-declaration-modal__footer .pa-declaration-btn-cancel {
    width: auto;
    min-width: 140px;
  }
}

/* Quote checkout summary modal — two-column layout */
.quote-checkout-modal-dialog {
  max-width: 920px;
}

@media (min-width: 992px) {
  .quote-checkout-modal-dialog {
    max-width: 960px;
  }
}

.quote-checkout-modal {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.quote-checkout-modal__head {
  padding: 18px 18px 14px 20px;
}

.quote-checkout-modal__title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quote-checkout-modal__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.quote-checkout-modal__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.quote-checkout-modal__subtitle {
  line-height: 1.45;
}

.quote-checkout-modal__close {
  flex-shrink: 0;
  margin: -4px -6px 0 0;
}

.quote-checkout-modal__body {
  padding: 18px 22px 10px;
}

.quote-checkout-modal__block {
  margin-bottom: 16px;
}

.quote-checkout-modal__block:last-child {
  margin-bottom: 0;
}

.quote-checkout-modal__insurer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 16px;
}

.quote-checkout-modal__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 3px;
  background: #fff;
  flex-shrink: 0;
}

.quote-checkout-modal__insurer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.quote-checkout-modal__idv {
  text-align: right;
  flex-shrink: 0;
}

.quote-checkout-modal__idv-val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.2;
}

.quote-checkout-modal__vehicle {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.quote-checkout-modal__vehicle .vehicle-icon {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.quote-checkout-modal__vehicle .vehicle-title {
  font-size: 14px;
}

.quote-checkout-modal__premium-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 16px;
  min-height: 0;
}

.quote-checkout-modal__premium-grid {
  margin-bottom: 0;
}

.quote-checkout-modal__premium-col {
  height: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--surface, #f8fafc);
}

@media (min-width: 576px) {
  .quote-checkout-modal__premium-grid
    > .col-sm-6:first-child
    .quote-checkout-modal__premium-col {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
  }
}

.quote-checkout-modal__premium-rows {
  flex-grow: 1;
}

.quote-checkout-modal__premium-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
}

.quote-checkout-modal__premium-col
  .quote-checkout-modal__premium-row
  + .quote-checkout-modal__premium-row {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.quote-checkout-modal__premium-total-wrap {
  display: flex;
  justify-content: center;
  /* margin-top: 16px; */
  /* padding-top: 16px; */
  /* border-top: 1px solid var(--border); */
}

.quote-checkout-modal__premium-total-wrap .quote-checkout-modal__premium-total {
  width: min(100%, 28rem);
  margin-top: 0;
}

.quote-checkout-modal__premium-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--brand-light);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.quote-checkout-modal__total-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--brand);
}

.quote-checkout-modal__total-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}

.quote-checkout-modal__policy {
  margin-bottom: 0;
}

.quote-checkout-modal__policy-card {
  margin-bottom: 0;
}

.quote-checkout-modal__addons {
  margin-bottom: 0;
}

.quote-checkout-modal__addons-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.quote-checkout-modal__addons-edit-toggle {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.quote-checkout-modal__addons-edit-toggle:hover,
.quote-checkout-modal__addons-edit-toggle:focus {
  color: var(--brand-dark, #0a3d6b);
  text-decoration: none;
}

.quote-checkout-modal__addons-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  max-height: none;
  overflow: visible;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

@media (min-width: 576px) {
  .quote-checkout-modal__addons-list:not(
    .quote-checkout-modal__addons-empty-only
  ) {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-checkout-modal__addon-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  line-height: 1.35;
}

.quote-checkout-modal__addon-chip-text {
  flex: 1 1 auto;
  min-width: 0;
}

.quote-checkout-modal__addon-chip-price {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.quote-checkout-modal__addons-edit-panel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.quote-checkout-modal__addons-edit-hint {
  line-height: 1.4;
}

/* Checkout view: compact summary-first layout */
.quote-checkout-modal[data-quote-summary-mode="view"]
  .quote-checkout-modal__addons-list {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface, #f8fafc);
}

.quote-checkout-modal[data-quote-summary-mode="view"]
  .quote-checkout-modal__addon-chip {
  background: #fff;
  border-color: #e8edf2;
}

.quote-checkout-modal[data-quote-summary-mode="view"]
  .quote-checkout-modal__addons-edit-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.quote-checkout-modal[data-quote-summary-mode="view"]
  .motor-addons-picker--modal
  .motor-addons-picker__toggle {
  border-style: dashed;
  background: var(--surface, #f8fafc);
}

.motor-addons-picker--modal .motor-addons-picker__toggle {
  width: 100%;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
}

.motor-addons-picker--modal .motor-addons-picker__menu {
  font-size: 0.8125rem;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.motor-addons-picker--modal .motor-addons-picker__menu .form-check-label {
  font-size: 0.8125rem;
  line-height: 1.35;
}

.motor-addons-picker--modal .PasscoverRadioN {
  flex-wrap: wrap;
  gap: 4px;
}

.motor-addons-picker--modal .PasscoverRadioN .vd-btn {
  font-size: 0.7rem;
  padding: 0.2rem 0.45rem;
}

.motor-addons-picker--compact .filter-toggle-minimal {
  font-size: 0.875rem;
  padding: 0.5rem 0.65rem;
}

.motor-addons-picker--compact .dropdown-menu {
  max-height: min(52vh, 420px);
  overflow-y: auto;
}

.motor-addons-picker--compact .js-apply-modal-addons {
  font-size: 0.8125rem;
}

#quoteSummaryCheckoutModal .checkout-submit-overlay {
  z-index: 2005;
}

.quote-checkout-modal__addon-remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 2px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  line-height: 1;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.quote-checkout-modal__addon-remove:hover:not(:disabled),
.quote-checkout-modal__addon-remove:focus-visible:not(:disabled) {
  background: #fee2e2;
  color: #b91c1c;
}

.quote-checkout-modal__addon-remove:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quote-checkout-modal__addons-list--updating {
  opacity: 0.65;
  pointer-events: none;
}

.quote-summary-modal--busy .quote-checkout-modal__addons-edit-toggle,
.quote-summary-modal--busy .js-apply-modal-addons {
  pointer-events: none;
  opacity: 0.6;
}

.quote-checkout-modal__addon-chip i {
  font-size: 10px;
  color: var(--green);
}

.quote-checkout-modal__addons-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 4px 0;
}

.quote-checkout-modal__terms {
  padding-top: 2px;
}

.quote-checkout-modal__terms .form-check-label {
  line-height: 1.4;
}

.quote-checkout-modal__actions-center {
  display: flex;
  justify-content: center;
  padding: 4px 16px 12px;
  margin-top: 4px;
}

.quote-checkout-modal__actions-center .quote-checkout-modal__terms {
  max-width: 28rem;
  text-align: center;
  padding-left: 1.75rem;
}

.quote-checkout-modal__actions-center .form-check-input {
  float: none;
  margin-left: -1.75rem;
}

.quote-checkout-modal__footer {
  padding: 12px 20px 20px;
}

.quote-checkout-modal__footer--center {
  justify-content: center !important;
}

.quote-checkout-modal__footer--center .quote-checkout-modal__btn-cancel,
.quote-checkout-modal__footer--center .quote-checkout-modal__btn-confirm {
  flex-grow: 0 !important;
}

.quote-checkout-modal__footer .quote-checkout-modal__btn-confirm {
  width: 100%;
}

@media (min-width: 576px) {
  .quote-checkout-modal__footer .quote-checkout-modal__btn-confirm {
    width: auto;
    min-width: 200px;
  }

  .quote-checkout-modal__footer .quote-checkout-modal__btn-cancel {
    width: auto;
    min-width: 120px;
  }
}

/* --- Existing CSS Styles --- */
.hero-bar {
  background: linear-gradient(135deg, #0f4c81 0%, #1a73c2 100%);
  padding: 2.5rem 0 1.5rem;
  color: white;
}

/* ... (Keep your existing CSS below) ... */

.feature-item .bi {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Ensure included/excluded colors are applied */
.feature-item .included {
  color: var(--green);
}
.feature-item .excluded,
.feature-item .not-included-icon {
  color: #9ca3af;
}
.feature-item.feature-not-included span {
  color: var(--muted);
}
.feature-item.js-addon-cover-toggle {
  cursor: pointer;
}
.filter-card .filter-body {
  padding: 20px;
  overflow: visible;
}

.filter-group {
  margin-bottom: 20px;
}
.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.btn-quote {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  transition: background 0.2s;
}

.btn-quote:hover {
  background: #0c3d66;
  color: white;
}

.quote-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.2s;
}

.quote-card:hover {
  box-shadow: 0 8px 28px rgba(15, 76, 129, 0.12);
  transform: translateY(-2px);
}

.quote-card.recommended {
  border: 2px solid var(--brand);
}

.recommended-badge {
  background: var(--brand);
  color: white;
  text-align: left;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 0px 20px;
  text-transform: uppercase;
}

/* Matches quote-card system (brand neutrals + clear warning accent) */
.inspection-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.16) 0%,
    rgba(251, 191, 36, 0.09) 55%,
    rgba(255, 237, 213, 0.35) 100%
  );
  border-bottom: 1px solid rgba(217, 119, 6, 0.28);
  color: #92400e;
}

.inspection-strip__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(217, 119, 6, 0.2);
  color: #b45309;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.inspection-strip__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.inspection-strip__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78350f;
}

.inspection-strip__note {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #92400e;
  opacity: 0.95;
}

.quote-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.insurer-logo {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  flex-shrink: 0;
  border: 1px solid #11477e30;
  padding: 5px;
}

.logo-blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.logo-orange {
  background: #ffedd5;
  color: #c2410c;
}

.insurer-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.insurer-sub {
  font-size: 12px;
  color: var(--muted);
}

.star-rating {
  color: #f59e0b;
  font-size: 12px;
}

.quote-price-area {
  padding: 15px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.compact-quote-row {
  padding-top: 16px;
  padding-bottom: 16px;
}

.quote-summary-row .insurer-logo {
  width: 52px;
  height: 52px;
  font-size: 16px;
}

.quote-summary-row .insurer-name {
  font-size: 16px;
}

.quote-summary-row .price-main {
  font-size: 30px;
}

.quote-summary-row .idv-val-display {
  font-size: 22px;
}

.quote-cta-btn {
  min-height: 46px;
}

.premium-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.premium-cell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.premium-cell.total {
  border-color: #c9dcec;
  background: #f7fbff;
}

.premium-amount {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.premium-total {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}

.idv-block .idv-val-display {
  font-size: 22px;
}

.price-label {
  font-size: 11px;
  color: var(--text);
  font-weight: 400;
}

.price-main {
  font-size: 38px;
  color: var(--brand);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.price-annual {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.price-save {
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
}

.features-grid {
  padding: 3px 15px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 12px;
  color: var(--text);
}

.feature-item .bi {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-item .included {
  color: var(--green);
}
.feature-item .excluded,
.feature-item .not-included-icon {
  color: #9ca3af;
}
.feature-item.feature-not-included span {
  color: var(--muted);
}

.quote-actions {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-buy {
  flex: 1;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 5px;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s;
}

.btn-buy:hover {
  background: #c94d1a;
  color: white;
}

.btn-buy.primary-buy {
  background: var(--brand);
}

.btn-buy.primary-buy:hover {
  background: #0c3d66;
}

.btn-detail {
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.btn-detail:hover {
  background: var(--surface);
}

.coverage-chips {
  padding: 0 24px 16px;
  /* display: flex; */
  display: none;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
}

.chip.accent-chip {
  background: var(--accent-light);
  color: var(--accent);
}

.chip.green-chip {
  background: var(--green-light);
  color: var(--green);
}
.info-pill {
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.quotes-refresh-btn {
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 10px;
  white-space: nowrap;
}

.quotes-refresh-btn--loading .quotes-refresh-btn__icon {
  animation: quotes-refresh-spin 0.75s linear infinite;
}

@keyframes quotes-refresh-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ncb-slider .form-range::-webkit-slider-thumb {
  background: var(--brand);
}

.range-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 6px;
  padding: 2px 10px;
  min-width: 36px;
  text-align: center;
  display: inline-block;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .price-main {
    font-size: 30px;
  }
  .compact-quote-row {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .quote-summary-row .price-main {
    font-size: 27px;
  }
  .quote-summary-row .idv-val-display {
    font-size: 20px;
  }
  .premium-breakdown {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .idv-block {
    text-align: left !important;
  }
  .quote-cta-btn {
    width: 100%;
  }
}
@media (min-width: 576px) {
  .border-end-sm {
    border-right: 1px solid var(--border);
  }
}

.price-main {
  font-size: 34px; /* Slightly adjusted for better balance */
  color: var(--brand);
  line-height: 1;
}

.price-save {
  background: var(--green-light);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.lh-18 {
  line-height: 18px;
}
.fs-12 {
  font-size: 12px;
}
.filter-dropdown-toggle {
  max-height: 320px;
  overflow-y: scroll;
  overflow-x: none;
}
.lh-10 {
  line-height: 10px;
}

.PasscoverRadioN {
  display: none;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 6px;
}

.PasscoverRadioN.is-open {
  display: flex;
}

.addon-value-field {
  display: none;
}

.addon-value-field.is-open {
  display: block;
}

.ncb-yn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ncb-yn-btn {
  padding: 2px 14px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.btn-check:checked + .ncb-yn-btn {
  background-color: #2a9da0;
  border-color: #2a9da0;
  color: #fff;
}

.btn-check:focus-visible + .ncb-yn-btn {
  box-shadow: 0 0 0 0.15rem rgba(42, 157, 160, 0.25);
}

.PasscoverRadioN > p {
  margin: 0;
}

.vd-btn {
  padding: 2px 10px;
  border-radius: 10px;
  min-width: 48px;
  background: rgba(113, 125, 138, 0.1);
  border: 1px solid transparent !important;
}

.btn-check:checked + .vd-btn {
  background-color: #2a9da0;
  border-color: #2a9da0;
  color: #fff;
}

.btn-check:focus-visible + .vd-btn {
  box-shadow: 0 0 0 0.15rem rgba(42, 157, 160, 0.25);
}

.filter-group .dropdown.open > .dropdown-menu:not(.show) {
  display: none;
}

.w-400 {
  width: 400px;
}

.bg-dropdown-menu {
  background: #fff;
  width: 570px;
  height: auto;
  box-shadow: 0 0 48px 0 rgba(0, 0, 0, 0.12);
  background: #fff;
  border: 1px solid rgba(51, 56, 70, 0.1);
  border-radius: 12px;
  position: absolute;
  z-index: 1050;
  top: 85px;
}

.ncb-dropdown .dropdown-menu.show,
.policy-type-dropdown .dropdown-menu.show {
  z-index: 1050;
}

.filter-toggle-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 6px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(51, 56, 70, 0.15);
  border-radius: 0;
  color: #333846;
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.filter-toggle-minimal:hover,
.filter-toggle-minimal:focus,
.filter-toggle-minimal[aria-expanded="true"] {
  color: #2a9da0;
  border-bottom-color: #2a9da0;
  text-decoration: none;
  outline: none;
}

.filter-toggle-minimal .filter-toggle-value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.filter-toggle-minimal .filter-toggle-main {
  font-weight: 600;
  font-size: 13px;
  color: #333846;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.filter-toggle-minimal .filter-toggle-sep {
  color: rgba(51, 56, 70, 0.3);
  flex-shrink: 0;
}

.filter-toggle-minimal .filter-toggle-sub {
  font-size: 11px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.filter-toggle-minimal:hover .filter-toggle-main,
.filter-toggle-minimal:focus .filter-toggle-main,
.filter-toggle-minimal[aria-expanded="true"] .filter-toggle-main {
  color: #2a9da0;
}

.filter-toggle-minimal .filter-toggle-caret {
  font-size: 16px;
  line-height: 1;
  color: #64748b;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.filter-toggle-minimal[aria-expanded="true"] .filter-toggle-caret {
  transform: rotate(90deg);
  color: #2a9da0;
}

.ncb-unknown-dropdown {
  display: block;
}

.ncb-unknown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.ncb-unknown-toggle:hover,
.ncb-unknown-toggle:focus {
  color: #2a9da0;
  text-decoration: none;
  outline: none;
}

.ncb-unknown-toggle .ncb-unknown-caret {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.ncb-unknown-toggle[aria-expanded="true"] .ncb-unknown-caret {
  transform: rotate(90deg);
}

.ncb-choose-dropdown {
  min-width: 320px;
  border: 1px solid rgba(51, 56, 70, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ncb-choose-dropdown .ncb-choose-title {
  color: #333846;
}

.ncb-choose-dropdown .ncb-choose-row {
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 6px;
}

.ncb-choose-dropdown .ncb-choose-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ncb-choose-dropdown a.ncb-choose-row:hover,
.ncb-choose-dropdown a.ncb-choose-row:focus {
  background-color: rgba(42, 157, 160, 0.08);
  color: #2a9da0;
}

.ncb-choose-dropdown a.ncb-choose-row.active {
  background-color: rgba(42, 157, 160, 0.12);
  color: #2a9da0;
}

.addon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.addon-chips.d-none {
  display: none;
}

.addon-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 10px;
  font-size: 11px;
  line-height: 1.3;
  color: #0f6e70;
  background: rgba(42, 157, 160, 0.1);
  border: 1px solid rgba(42, 157, 160, 0.25);
  border-radius: 999px;
  max-width: 100%;
}

.addon-chip-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.addon-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  font-size: 10px;
  line-height: 1;
  color: #0f6e70;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.addon-chip-remove:hover,
.addon-chip-remove:focus {
  background: rgba(42, 157, 160, 0.25);
  color: #0f4c4d;
  outline: none;
}

.ncb-owner-name-section,
.ncb-self-inspection-notice {
  display: none;
}

.ncb-owner-name-section.is-visible,
.ncb-self-inspection-notice.is-visible {
  display: block;
}

.ncb-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 8px;
  margin-bottom: 8px;
}

.ncb-info-banner .ncb-info-text {
  flex: 1;
}

.ncb-info-banner .ncb-info-text strong {
  font-weight: 600;
}

.ncb-info-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ncb-info-banner--warning {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.ncb-info-banner--warning .ncb-info-icon {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M7.938 2.016a.146.146 0 0 0-.054.057L1.027 13.74a.176.176 0 0 0-.002.183c.016.03.037.05.054.06.015.01.034.017.066.017h13.713a.12.12 0 0 0 .066-.017.13.13 0 0 0 .055-.06.18.18 0 0 0-.003-.183L8.12 2.073a.15.15 0 0 0-.054-.057.1.1 0 0 0-.063-.016.1.1 0 0 0-.064.016zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767z'/><path d='M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0M7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.553.553 0 0 1-1.1 0z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M7.938 2.016a.146.146 0 0 0-.054.057L1.027 13.74a.176.176 0 0 0-.002.183c.016.03.037.05.054.06.015.01.034.017.066.017h13.713a.12.12 0 0 0 .066-.017.13.13 0 0 0 .055-.06.18.18 0 0 0-.003-.183L8.12 2.073a.15.15 0 0 0-.054-.057.1.1 0 0 0-.063-.016.1.1 0 0 0-.064.016zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767z'/><path d='M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0M7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.553.553 0 0 1-1.1 0z'/></svg>");
}

.ncb-info-banner--action {
  background: var(--brand-light);
  border-color: #bfdbfe;
  color: var(--brand);
}

.ncb-info-banner--action .ncb-info-icon {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/><path d='m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/><path d='m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533'/></svg>");
}

@media (min-width: 992px) {
  .checkout-summary-stack {
    position: sticky;
    top: 100px;
  }
}

.checkout-page .upload-box {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  background: var(--card-bg);
}

/* Checkout page — main column */
.checkout-page__intro {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.checkout-badge-required {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  white-space: nowrap;
}

.checkout-banner-inspection {
  border-left: 4px solid var(--accent);
  background: linear-gradient(95deg, var(--accent-light) 0%, #ffffff 48%);
}

.checkout-banner-inspection__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(232, 93, 38, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.checkout-vehicle-panel.filter-card,
.checkout-proposal-panel.filter-card {
  border-radius: 16px;
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.055);
}

.checkout-panel-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    #1a6cad 70%,
    var(--accent) 100%
  );
}

.checkout-panel-accent--subtle {
  height: 3px;
  opacity: 0.92;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
}

.checkout-stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  height: 100%;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.checkout-stat-tile:hover {
  border-color: rgba(15, 76, 129, 0.22);
  box-shadow: 0 2px 10px rgba(15, 76, 129, 0.06);
}

.checkout-stat-tile__label {
  /* display: block; */
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
}

.checkout-stat-tile__val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.checkout-readonly-input {
  background-color: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text);
}

.checkout-readonly-input:focus {
  box-shadow: none;
  border-color: var(--brand) !important;
}

/* Checkout — payable sidebar (quotes / brand theme) */
.checkout-pay-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 10px 36px rgba(15, 76, 129, 0.08);
  overflow: hidden;
}

.checkout-pay-card__accent {
  height: 5px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    #1a6cad 55%,
    var(--accent) 100%
  );
}

.checkout-pay-card__inner {
  padding: 1.25rem 1.35rem 1.35rem;
}

.checkout-pay-card__header .info-pill {
  width: 100%;
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 500;
}

.checkout-premium-summary-trigger {
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.checkout-premium-summary-trigger:hover,
.checkout-premium-summary-trigger:focus-visible {
  background: rgba(15, 76, 129, 0.05);
  outline: none;
}

.checkout-premium-summary-trigger__hint {
  color: var(--brand);
  font-weight: 600;
}

.checkout-pay-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.checkout-pay-card__breakdown-wrap {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 16px 16px;
  max-height: min(52vh, 320px);
  overflow-y: auto;
}

.checkout-pay-card__breakdown-label {
  letter-spacing: 0.06em;
}

.checkout-premium-lines .d-flex {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(229, 231, 235, 0.85);
}

.checkout-premium-lines .d-flex:last-child {
  border-bottom: 0;
}

.checkout-premium-lines > p.fw-semibold {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.checkout-premium-lines > p.fw-semibold:first-child {
  margin-top: 0;
}

.checkout-pay-card__total-band {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--brand-light);
  border: 1px solid rgba(15, 76, 129, 0.14);
}

.checkout-pay-card__total-amt {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.checkout-pay-card__terms {
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.65);
}

.checkout-pay-card__terms .form-check-label {
  color: var(--text);
  line-height: 1.45;
}

.checkout-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.checkout-submit-overlay__panel {
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.checkout-submit-overlay__spinner {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--brand, #937d69);
}

body.checkout-submit-busy {
  overflow: hidden;
}

.checkout-btn--loading {
  pointer-events: none;
  opacity: 0.9;
}

button.btn-buy {
  font-size: 15px;
}

.quote-slot {
  margin-bottom: 1.25rem;
}

.quote-slot:last-child {
  margin-bottom: 0;
}

/* Quotes list — stable column layout (survives filter refetch + Bootstrap d-block) */
.quotes-results-col {
  min-width: 0;
  max-width: 100%;
}

#quotes-container.quotes-list {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#quotes-container.quotes-list.d-block {
  display: flex !important;
  flex-direction: column;
  gap: 0;
}

#quotes-container.quotes-list .quote-slot {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#quotes-container.quotes-list .quote-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

#quotes-container.quotes-list .quote-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#quotes-container.quotes-list .features-grid {
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
}

.quote-slot[data-slot-state="error"] {
  display: none !important;
}

.notify {
  margin-bottom: 1rem;
}

.notify__item:last-child {
  margin-bottom: 0 !important;
}

/* Quote card loading skeleton — mirrors real quote card layout */
.quote-card-skeleton {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  padding: 1.15rem 1.35rem 1rem;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(15, 76, 129, 0.04);
  pointer-events: none;
}

.quote-card-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.35) 0%,
    rgba(255, 255, 255, 0) 42%
  );
  pointer-events: none;
}

.quote-card-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 42%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.15) 58%,
    transparent 100%
  );
  animation: quote-skeleton-shine 1.5s ease-in-out infinite;
  pointer-events: none;
}

.quote-card-skeleton__strip {
  position: relative;
  z-index: 1;
  min-height: 88px;
}

.quote-card-skeleton__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-card-skeleton__brand-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-card-skeleton__addons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.quote-card-skeleton__block {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #edf1f5 0%, #e3e8ee 45%, #edf1f5 100%);
  background-size: 220% 100%;
  animation: quote-skeleton-pulse 1.5s ease-in-out infinite;
}

.quote-card-skeleton__block--logo {
  width: 56px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.quote-card-skeleton__block--title {
  width: 72%;
  max-width: 180px;
  height: 16px;
}

.quote-card-skeleton__block--subtitle {
  width: 48%;
  max-width: 120px;
  height: 12px;
  opacity: 0.85;
}

.quote-card-skeleton__block--label {
  width: 78%;
  height: 11px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.quote-card-skeleton__block--value {
  width: 92%;
  height: 18px;
}

.quote-card-skeleton__block--btn {
  width: 108px;
  height: 42px;
  border-radius: 999px;
  margin-left: auto;
}

.quote-card-skeleton__block--chip {
  width: 88px;
  height: 28px;
  border-radius: 999px;
}

.quote-row--revealed {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.quote-row--revealed.quote-row--visible {
  opacity: 1;
  transform: translateY(0);
}

.quote-card--unavailable {
  min-height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
}

@keyframes quote-skeleton-shine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes quote-skeleton-pulse {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 767.98px) {
  .quote-card-skeleton {
    min-height: 220px;
  }

  .quote-card-skeleton__block--btn {
    margin-left: 0;
    width: 100%;
    max-width: 140px;
  }
}

/* CSP-safe utilities — use instead of inline style attributes / element.style */
.health-card-gradient-bar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 6px;
}

.wizard-progress-bar-fill.wizard-progress--1 {
  width: 0%;
}
.wizard-progress-bar-fill.wizard-progress--2 {
  width: 33.333%;
}
.wizard-progress-bar-fill.wizard-progress--3 {
  width: 66.666%;
}
.wizard-progress-bar-fill.wizard-progress--4 {
  width: 100%;
}

.health-tax-note {
  font-size: 0.75rem;
  line-height: 1.4;
}

.health-accent-30 {
  color: #667eea;
}

.max-w-28rem {
  max-width: 28rem;
}

.break-all {
  word-break: break-all;
}

.w-auto-select {
  width: auto !important;
}

.ncb-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.ncb-info-error {
  display: inline;
  color: #dc3545;
}

.legal-hr-wrap {
  margin: 0 0 8pt;
  text-align: center;
}

.legal-page-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.legal-page-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.legal-content-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .legal-content-card {
    padding: 2.75rem 3rem;
  }
}

.legal-section + .legal-section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid #e8edf2;
}

.legal-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.legal-subsection-title {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin: 1.5rem 0 0.75rem;
}

.legal-page p,
.legal-content-card p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-page p:last-child,
.legal-content-card p:last-child {
  margin-bottom: 0;
}

.legal-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-list > li {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 0.625rem;
}

.legal-list > li:last-child {
  margin-bottom: 0;
}

.legal-list > li > strong {
  color: #1e293b;
}

.legal-list--nested {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.legal-contact-card {
  background: #f8fafc;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 0.75rem;
}

.legal-contact-card p {
  margin-bottom: 0.35rem;
}

.legal-contact-card p:last-child {
  margin-bottom: 0;
}

.legal-contact-card a {
  color: #df6f37;
  text-decoration: none;
  font-weight: 600;
}

.legal-contact-card a:hover {
  text-decoration: underline;
}

.legal-step-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin: 1.5rem 0 0.75rem;
}

.legal-step-label::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #df6f37;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.csr-focus-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .csr-focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.csr-focus-item {
  padding: 1.25rem 1.35rem;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: #fafbfc;
  height: 100%;
}

.csr-focus-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
  line-height: 1.4;
}

.csr-focus-item p {
  font-size: 0.925rem;
  margin-bottom: 0;
  line-height: 1.65;
}

.claims-cta-banner {
  background: linear-gradient(135deg, #fff8f4 0%, #ffffff 55%);
  border: 1px solid #f0ddd2;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 32px rgba(223, 111, 55, 0.08);
}

@media (min-width: 768px) {
  .claims-cta-banner {
    padding: 2.25rem 2.5rem;
  }
}

.claims-cta-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #df6f37;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.claims-cta-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.claims-cta-text {
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
}

.claims-steps-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .claims-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.claims-step-item {
  padding: 1.25rem;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: #fafbfc;
  height: 100%;
}

.claims-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: #df6f37;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

.claims-step-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.claims-step-item p {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 0;
}

.legal-closing-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  background: #fff8f4;
  border: 1px solid #f5dfd3;
  color: #334155;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 0;
}

.legal-list-circle {
  list-style-type: circle;
}

.legal-link {
  color: #df6f37;
  text-decoration: none;
  font-weight: 600;
}

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

.legal-link-blue {
  color: #df6f37;
}

.opacity-full {
  opacity: 1 !important;
}

/* FitVids (theme-vendors) — pre-declared so the plugin skips injecting <style> without a nonce */
.fluid-width-video-wrapper {
  width: 100%;
  position: relative;
  padding: 0;
}

.fluid-width-video-wrapper iframe,
.fluid-width-video-wrapper object,
.fluid-width-video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* —— Dashboard (sidebar + content) —— */
.dashboard-layout {
  background: #f4f6f9;
  min-height: calc(100vh - 120px);
  padding: 1.5rem 0 3rem;
}

.dashboard-layout__inner {
  max-width: 1320px;
}

.dashboard-sidebar__card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: 1.25rem;
  position: sticky;
  top: 1rem;
}

.dashboard-sidebar__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eef1f5;
}

.dashboard-sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #df6f37, #e89550);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.dashboard-sidebar__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a2332;
  line-height: 1.3;
  word-break: break-word;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-nav__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: #4a5568;
  text-align: left;
  transition:
    background 0.15s,
    color 0.15s;
}

.dashboard-nav__item i {
  font-size: 1.05rem;
  opacity: 0.85;
}

.dashboard-nav__item:hover,
.dashboard-nav__item:focus-visible {
  background: #f8fafc;
  color: #df6f37;
}

.dashboard-nav__item.is-active {
  background: rgba(223, 111, 55, 0.1);
  color: #c45f2c;
  font-weight: 600;
}

.dashboard-nav__badge {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  background: #eef1f5;
  color: #64748b;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  min-width: 1.5rem;
  text-align: center;
}

.dashboard-nav__item.is-active .dashboard-nav__badge {
  background: rgba(223, 111, 55, 0.15);
  color: #c45f2c;
}

.dashboard-sidebar__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eef1f5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dashboard-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
}

.dashboard-nav__link:hover {
  background: #f8fafc;
  color: #df6f37;
}

.dashboard-main {
  padding-left: 0;
}

@media (min-width: 992px) {
  .dashboard-main {
    padding-left: 1.25rem;
  }
}

.dashboard-panel[hidden] {
  display: none !important;
}

.dashboard-panel.is-active {
  display: block;
  animation: dashboardFadeIn 0.2s ease;
}

@keyframes dashboardFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-panel__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 0.25rem;
}

.dashboard-panel__subtitle {
  color: #64748b;
  font-size: 0.9rem;
}

.dashboard-search {
  max-width: 280px;
  min-width: 200px;
}

.dashboard-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.dashboard-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eef1f5;
}

.dashboard-card__body {
  padding: 1.25rem;
}

.dashboard-stat-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  cursor: pointer;
}

.dashboard-stat-card:hover {
  border-color: rgba(223, 111, 55, 0.35);
  box-shadow: 0 4px 16px rgba(223, 111, 55, 0.12);
}

.dashboard-stat-card__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.dashboard-stat-card__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a2332;
  line-height: 1;
}

.dashboard-detail__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.dashboard-detail__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e293b;
}

.dashboard-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
  background: #f8fafc;
  border-bottom: 1px solid #e8ecf1;
  white-space: nowrap;
}

.dashboard-table tbody td {
  vertical-align: middle;
  font-size: 0.9rem;
}

.dashboard-badge {
  background: rgba(223, 111, 55, 0.12) !important;
  color: #c45f2c !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.dashboard-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #94a3b8;
}

.dashboard-empty i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.dashboard-empty p {
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .dashboard-sidebar {
    margin-bottom: 1rem;
  }

  .dashboard-sidebar__card {
    position: static;
  }

  .dashboard-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-nav__item {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .dashboard-nav__item span:not(.dashboard-nav__badge) {
    display: none;
  }

  .dashboard-sidebar__footer {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dashboard-sidebar__user-text {
    min-width: 0;
  }
}

/* —— Customer Dashboard (premium) —— */
.cd-layout {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: calc(100vh - 120px);
  padding: 1.5rem 0 3.5rem;
}

.cd-layout__inner {
  max-width: 1320px;
}

.cd-sidebar__card {
  position: sticky;
  top: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  padding: 1.25rem;
}

.cd-sidebar__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eef2f6;
}

.cd-sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 700;
}

.cd-sidebar__avatar img,
.cd-profile-card__avatar img,
.cd-profile-modal__avatar img,
.header-auth-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cd-avatar-initials {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-auth-user-avatar.has-image,
.header-auth-user-avatar img {
  padding: 0;
}

.header-auth-user-avatar.has-image {
  background: #e2e8f0;
  overflow: hidden;
}

.cd-sidebar__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
}

.cd-sidebar__phone {
  font-size: 0.8rem;
  color: #64748b;
}

.cd-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cd-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #475569;
  text-decoration: none;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.cd-sidebar__link i {
  font-size: 1rem;
  width: 1.15rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.cd-sidebar__link:hover,
.cd-sidebar__link.is-active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}

.cd-sidebar__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cd-sidebar__footer-link {
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cd-sidebar__footer-link--danger {
  color: #dc2626;
}

.cd-main {
  min-width: 0;
}

.cd-panel[hidden] {
  display: none !important;
}

.cd-panel.is-active {
  animation: cdFadeUp 0.25s ease both;
}

.cd-section {
  margin-bottom: 2rem;
  scroll-margin-top: 1.25rem;
  animation: cdFadeUp 0.35s ease both;
}

@keyframes cdFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cd-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cd-section__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem;
}

.cd-section__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.cd-muted {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Hero */
.cd-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1d4ed8 100%);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  color: #fff;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.cd-hero__greeting {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.cd-hero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.cd-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}

.cd-hero__meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
  margin-bottom: 0.35rem;
}

.cd-hero__meta-value {
  font-size: 0.9rem;
  font-weight: 500;
}

.cd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cd-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-hero__orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.35),
    transparent 60%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: cdOrbPulse 4s ease-in-out infinite;
}

@keyframes cdOrbPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Buttons */
.cd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}

.cd-btn:hover {
  transform: translateY(-1px);
}

.cd-btn--primary {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.cd-hero .cd-btn--primary {
  background: #fff;
  color: #008a8e;
}

.cd-btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cd-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cd-section .cd-btn--primary {
  background: #2563eb;
  color: #fff;
}

.cd-section .cd-btn--ghost {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.cd-btn--outline {
  background: #fff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.cd-btn--sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.cd-link-arrow {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

/* Progress */
.cd-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
  width: 120px;
  margin-bottom: 0.25rem;
}

.cd-section .cd-progress {
  background: #e2e8f0;
}

.cd-progress--lg {
  height: 8px;
  width: 100%;
  margin: 0.75rem 0;
}

.cd-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  border-radius: 99px;
  transition: width 0.6s ease;
}

.cd-section .cd-progress__bar {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}

/* Stats */
.cd-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.cd-stat-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.cd-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cd-stat-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.cd-stat-card--blue .cd-stat-card__icon {
  background: #dbeafe;
  color: #2563eb;
}
.cd-stat-card--violet .cd-stat-card__icon {
  background: #ede9fe;
  color: #7c3aed;
}
.cd-stat-card--amber .cd-stat-card__icon {
  background: #fef3c7;
  color: #d97706;
}
.cd-stat-card--rose .cd-stat-card__icon {
  background: #ffe4e6;
  color: #e11d48;
}
.cd-stat-card--orange .cd-stat-card__icon {
  background: #ffedd5;
  color: #ea580c;
}
.cd-stat-card--slate .cd-stat-card__icon {
  background: #f1f5f9;
  color: #475569;
}

.cd-stat-card__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.cd-stat-card__label {
  font-size: 0.75rem;
  color: #64748b;
}

/* Cards */
.cd-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.cd-card--flat {
  padding: 1.5rem;
}

.cd-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #334155;
}

.cd-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.cd-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cd-badge--success {
  background: #dcfce7;
  color: #15803d;
}
.cd-badge--warning {
  background: #fef3c7;
  color: #b45309;
}
.cd-badge--info {
  background: #dbeafe;
  color: #1d4ed8;
}
.cd-badge--muted {
  background: #f1f5f9;
  color: #64748b;
}

/* Journey */
.cd-journey-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.cd-journey-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.cd-journey-card__product {
  font-weight: 600;
  color: #0f172a;
}

.cd-journey-card__insurer {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

.cd-journey-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.cd-journey-card__pct {
  font-size: 0.8rem;
  color: #64748b;
}

/* Policy */
.cd-policy-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}

.cd-policy-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cd-policy-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cd-policy-card__product {
  font-weight: 600;
  color: #0f172a;
}

.cd-policy-card__insurer {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.cd-policy-card__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.cd-policy-card__logo {
  height: 36px;
  width: auto;
  max-width: 104px;
  object-fit: contain;
}

.cd-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin: 0 0 1rem;
}

.cd-dl dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin: 0;
}

.cd-dl dd {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
}

.cd-policy-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Quotes */
.cd-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  min-width: 200px;
}

.cd-search input {
  border: none;
  outline: none;
  font-size: 0.875rem;
  width: 100%;
}

.cd-section__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cd-quote-hub {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  overflow: hidden;
}

.cd-quote-hub__intro {
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid #eef2f6;
}

.cd-quote-hub__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.cd-quote-hub__intro p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.cd-quote-hub__journey {
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid #eef2f6;
}

.cd-quote-hub__journey:last-child {
  border-bottom: none;
}

.cd-quote-hub__journey-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.cd-quote-hub__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.cd-quote-hub__journey-title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.cd-quote-hub__journey-meta {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: #64748b;
}

.cd-quote-hub__journey-side {
  text-align: right;
  flex-shrink: 0;
}

.cd-quote-hub__best-label {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.cd-quote-hub__best-value {
  margin: 0.1rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #15803d;
}

.cd-quote-compare-view {
  margin-top: 0.5rem;
}

.cd-quote-compare-view__head {
  margin-bottom: 1rem;
}

.cd-quote-compare-view__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.cd-quote-compare-view__head p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.cd-quote-compare-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.cd-quote-compare-col {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1rem;
}

.cd-quote-compare-col__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.cd-quote-compare-col__meta {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: #64748b;
}

.cd-quote-compare-col__range {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d4ed8;
}

.cd-quote-compare-col__grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.cd-quote-row__journey {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.68rem;
}

.cd-quote-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cd-quote-compare {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 0;
}

.cd-quote-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cd-quote-overview__stat {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  min-width: 120px;
}

.cd-quote-overview__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1d4ed8;
  line-height: 1.1;
}

.cd-quote-overview__label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.cd-quote-journeys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.cd-quote-matrix {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.cd-quote-matrix__head {
  margin-bottom: 1rem;
}

.cd-quote-matrix__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cd-quote-matrix__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.cd-quote-matrix__scroll {
  overflow-x: auto;
}

.cd-quote-matrix__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 520px;
}

.cd-quote-matrix__table th,
.cd-quote-matrix__table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid #eef2f6;
  vertical-align: top;
  text-align: left;
}

.cd-quote-matrix__table thead th {
  background: #f8fafc;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.cd-quote-matrix__table tbody th[scope="row"] {
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.cd-quote-matrix__col-title {
  display: block;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.82rem;
}

.cd-quote-matrix__col-meta,
.cd-quote-matrix__col-stage {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

.cd-quote-matrix__cell--empty {
  color: #cbd5e1;
  text-align: center;
}

.cd-quote-matrix__cell--best {
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.cd-quote-matrix__premium {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #15803d;
}

.cd-quote-matrix__cta {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.cd-quote-matrix__cta:hover {
  text-decoration: underline;
}

.cd-quote-compare__vehicle-meta {
  margin: 0.2rem 0 0.55rem;
  font-size: 0.85rem;
  color: #64748b;
}

.cd-quote-compare__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cd-quote-compare__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: capitalize;
}

.cd-quote-compare__tag--muted {
  background: #f1f5f9;
  color: #64748b;
}

.cd-quote-compare__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cd-quote-compare__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.cd-quote-compare__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.cd-quote-compare__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cd-quote-compare__stat {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.cd-quote-compare__stat-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.cd-quote-compare__stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: #64748b;
}

.cd-quote-compare__stat--highlight .cd-quote-compare__stat-value {
  color: #1d4ed8;
}

.cd-quote-compare__stat--best {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border-color: #bbf7d0;
}

.cd-quote-compare__stat--best .cd-quote-compare__stat-value {
  color: #15803d;
}

.cd-quote-compare__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cd-quote-insurer-card {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.cd-quote-insurer-card--best {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  border-color: #86efac;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.12);
}

.cd-quote-insurer-card__badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #15803d;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cd-quote-insurer-card__name {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.cd-quote-insurer-card__premium {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #15803d;
}

.cd-quote-insurer-card__meta {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.cd-quote-insurer-card__cta {
  width: 100%;
  justify-content: center;
}

.cd-quote-compare__list-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}

.cd-quote-compare__list-title span {
  font-weight: 500;
  color: #94a3b8;
}

.cd-quote-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.cd-quote-row--best {
  border-color: #86efac;
  background: linear-gradient(90deg, #f0fdf4 0%, #fff 100%);
}

.cd-quote-row__rank {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cd-quote-row--best .cd-quote-row__rank {
  background: #15803d;
  color: #fff;
}

.cd-quote-row__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #15803d;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cd-quote-row__product {
  font-weight: 600;
  color: #0f172a;
}

.cd-quote-row__vehicle {
  font-size: 0.875rem;
  color: #475569;
  margin: 0.15rem 0;
}

.cd-quote-row__meta {
  font-size: 0.8rem;
  color: #94a3b8;
}

.cd-quote-row__main {
  flex: 1;
  min-width: 180px;
}

.cd-quote-row__premium {
  font-weight: 700;
  color: #15803d;
  font-size: 1.05rem;
}

.cd-quote-row__actions {
  display: flex;
  gap: 0.5rem;
}

/* KYC timeline */
.cd-kyc-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cd-kyc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
}

.cd-kyc-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e2e8f0;
}

.cd-kyc-step--completed {
  color: #15803d;
}
.cd-kyc-step--completed .cd-kyc-step__dot {
  background: #22c55e;
  box-shadow: 0 0 0 2px #bbf7d0;
}

.cd-kyc-step--active {
  color: #2563eb;
}
.cd-kyc-step--active .cd-kyc-step__dot {
  background: #2563eb;
  box-shadow: 0 0 0 2px #bfdbfe;
  animation: cdOrbPulse 2s ease infinite;
}

.cd-kyc-timeline__line {
  width: 48px;
  height: 2px;
  background: #e2e8f0;
  margin: 0 0.25rem 1.25rem;
}

/* Renewals */
.cd-renewal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.cd-renewal-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 40%);
}

.cd-renewal-card__days {
  text-align: center;
  min-width: 56px;
}

.cd-renewal-card__days span {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #d97706;
  line-height: 1;
}

.cd-renewal-card__days small {
  font-size: 0.7rem;
  color: #92400e;
}

.cd-renewal-card__body {
  flex: 1;
}

.cd-renewal-card__body h4 {
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}

.cd-renewal-card__body p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.cd-renewal-card__premium {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}

/* Claims */
.cd-claim-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.cd-claim-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cd-claim-card__head h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.cd-claim-card__head p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.cd-claim-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cd-claim-step {
  flex: 1;
  min-width: 80px;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 8px;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
}

.cd-claim-step--done {
  background: #f0fdf4;
  color: #15803d;
}

.cd-claim-step--current {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.cd-claim-step__label {
  display: block;
}

.cd-claim-step__date {
  font-size: 0.65rem;
  opacity: 0.8;
}

.cd-claim-card__update {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.75rem;
}

.cd-claim-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Payments */
.cd-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cd-payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.cd-payment-item--pending {
  border-left: 3px solid #f59e0b;
  padding-left: 0.75rem;
}

.cd-payment-item__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.cd-payment-history {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cd-payment-history__item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.cd-payment-history__item small {
  display: block;
  color: #94a3b8;
}

.cd-payment-history__amt--success {
  color: #15803d;
  font-weight: 600;
}

/* Notifications */
.cd-notif-group {
  margin-bottom: 1.25rem;
}

.cd-notif-group__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.cd-notif {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  position: relative;
}

.cd-notif--unread {
  background: #f8fafc;
  border-color: #bfdbfe;
}

.cd-notif__dot {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
}

.cd-notif__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  flex-shrink: 0;
}

.cd-notif__body p {
  margin: 0.15rem 0;
  font-size: 0.85rem;
  color: #64748b;
}

/* Activity */
.cd-activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid #e2e8f0;
  margin-left: 1rem;
  padding-left: 1.5rem;
}

.cd-activity-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  position: relative;
}

.cd-activity-item::before {
  content: "";
  position: absolute;
  left: -1.65rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #bfdbfe;
}

.cd-activity-item__icon {
  display: none;
}

.cd-activity-item__body p {
  margin: 0.15rem 0;
  font-size: 0.875rem;
  color: #64748b;
}

/* Recommendations */
.cd-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.cd-rec-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 1.25rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.cd-rec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cd-rec-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.cd-rec-card h4 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.cd-rec-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

/* Documents */
.cd-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.cd-doc-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.cd-doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cd-doc-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #334155;
  cursor: pointer;
}

.cd-doc-link small {
  color: #94a3b8;
  margin-top: 0.15rem;
}

/* Support */
.cd-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.cd-support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.25rem 0.75rem;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  text-decoration: none;
  color: #334155;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.cd-support-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  color: #2563eb;
}

.cd-support-card i {
  font-size: 1.5rem;
  color: #2563eb;
}

.cd-support-card span {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Profile */
.cd-profile-card {
  padding: 0;
  overflow: hidden;
}

.cd-profile-card__banner {
  height: 96px;
  background: linear-gradient(349deg, #df6f37 0%, #008a8e 100%);
}

.cd-profile-card__body {
  padding: 0 1.5rem 1.5rem;
}

.cd-profile-card__top {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: -44px;
  margin-bottom: 1.25rem;
}

.cd-profile-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 1.65rem;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.28);
  border: 4px solid #fff;
}

.cd-profile-card__identity {
  min-width: 0;
  padding-bottom: 1.15rem;
}

.cd-profile-card__name {
  margin: 0 0 0.45rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.cd-profile-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.cd-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.cd-profile-chip--success {
  background: #dcfce7;
  color: #15803d;
}

.cd-profile-chip--warn {
  background: #fef3c7;
  color: #b45309;
}

.cd-profile-chip--info {
  background: #e0f2fe;
  color: #0369a1;
}

.cd-profile-chip--accent {
  background: #ede9fe;
  color: #6d28d9;
}

.cd-profile-card__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.cd-profile-card__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.cd-profile-card__contact-item i {
  color: #94a3b8;
  font-size: 0.95rem;
}

.cd-profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.cd-profile-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
}

.cd-profile-detail__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}

.cd-profile-detail__copy {
  min-width: 0;
}

.cd-profile-detail__copy span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.cd-profile-detail__copy strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
  word-break: break-word;
}

/* Legacy profile grid (kept for any older markup) */
.cd-profile-card__hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 55%, #fff 100%);
  border-bottom: 1px solid #eef2f6;
}

.cd-profile-card__phone,
.cd-profile-card__email {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.cd-profile-card .cd-profile-grid {
  padding: 1.25rem 1.5rem 1.5rem;
}

.cd-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.cd-profile-field span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

@media (max-width: 575px) {
  .cd-profile-card__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -52px;
  }

  .cd-profile-card__chips,
  .cd-profile-card__contact {
    justify-content: center;
  }

  .cd-profile-details {
    grid-template-columns: 1fr;
  }
}

/* Empty states */
.cd-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
}

.cd-empty--positive .cd-empty__icon {
  color: #22c55e;
}

.cd-empty__icon {
  font-size: 2.5rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.cd-empty__title {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.cd-empty__desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* Skeleton loaders */
.cd-skeleton-grid {
  display: grid;
  gap: 1rem;
}

.cd-skeleton-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid #e8ecf1;
}

.cd-skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  margin-bottom: 0.65rem;
  animation: cdShimmer 1.2s ease infinite;
}

.cd-skeleton-line.w-50 {
  width: 50%;
}
.cd-skeleton-line.w-75 {
  width: 75%;
}
.cd-skeleton-line.w-100 {
  width: 100%;
}

@keyframes cdShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Responsive */
@media (max-width: 1199px) {
  .cd-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .cd-sidebar {
    order: 2;
  }
  .cd-main {
    order: 1;
  }
  .cd-sidebar__card {
    position: static;
  }
  .cd-sidebar__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }
  .cd-sidebar__link {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }
  .cd-sidebar__link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cd-hero {
    grid-template-columns: 1fr;
  }
  .cd-hero__visual {
    display: none;
  }
  .cd-payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .cd-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cd-hero {
    padding: 1.5rem;
  }
  .cd-hero__actions {
    flex-direction: column;
  }
  .cd-hero__actions .cd-btn {
    width: 100%;
    justify-content: center;
  }
  .cd-quote-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cd-quote-compare__head {
    flex-direction: column;
  }

  .cd-quote-compare__summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .cd-quote-hub__journey-head {
    flex-direction: column;
  }

  .cd-quote-hub__journey-side {
    text-align: left;
    width: 100%;
  }

  .cd-quote-journeys-grid {
    grid-template-columns: 1fr;
  }
}

/* Profile edit modal */
.cd-profile-modal__dialog {
  max-width: 520px;
}

.cd-profile-modal {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.cd-profile-modal__hero {
  position: relative;
  padding: 1.75rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
  color: #fff;
}

.cd-profile-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  filter: invert(1);
  opacity: 0.85;
}

.cd-profile-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.cd-profile-modal__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.cd-profile-modal__lead {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  opacity: 0.9;
}

.cd-profile-modal__body {
  padding: 1.5rem 1.75rem 0.5rem;
}

.cd-profile-modal__avatar-block {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cd-profile-modal__avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.cd-profile-modal__avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 2rem;
  font-weight: 700;
  border: 4px solid #fff;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.cd-profile-modal__avatar-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #fff;
  margin: 0;
}

.cd-profile-modal__avatar-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cd-link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.cd-link-btn--muted {
  color: #64748b;
}

.cd-profile-modal__avatar-sep {
  color: #cbd5e1;
}

.cd-profile-modal__avatar-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.cd-profile-modal__fields {
  display: grid;
  gap: 1rem;
}

.cd-profile-field-input__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.cd-profile-field-input__control {
  border-radius: 12px;
  border-color: #e2e8f0;
  padding: 0.7rem 0.85rem;
}

.cd-profile-field-input__control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.cd-field-error {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #dc2626;
}

.cd-profile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  margin: 0;
}

.cd-profile-toggle__copy strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
}

.cd-profile-toggle__copy small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.cd-profile-toggle__switch {
  position: relative;
  flex-shrink: 0;
}

.cd-profile-toggle__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cd-profile-toggle__track {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background 0.2s ease;
}

.cd-profile-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.cd-profile-toggle__switch input:checked + .cd-profile-toggle__track {
  background: #2563eb;
}

.cd-profile-toggle__switch input:checked + .cd-profile-toggle__track::after {
  transform: translateX(20px);
}

.cd-profile-modal__alert {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
}

.cd-profile-modal__alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.cd-profile-modal__alert--success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.cd-profile-modal__footer {
  padding: 1rem 1.75rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

/* Claim registration modal */
.cd-claim-modal__dialog {
  max-width: 560px;
}

.cd-claim-modal__hero {
  background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
}

.cd-claim-modal__body {
  padding: 1.5rem 1.75rem 0.5rem;
}

.cd-claim-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cd-claim-modal__hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.cd-claim-list {
  display: grid;
  gap: 1rem;
}

.cd-claim-card__desc {
  margin: 0 0 0.75rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cd-claim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: #64748b;
}

.cd-claim-meta strong {
  color: #334155;
  font-weight: 600;
  margin-right: 0.25rem;
}

@media (max-width: 575px) {
  .cd-claim-modal__row {
    grid-template-columns: 1fr;
  }
}
.car-icon {
  color: #1e293b;
}

/* Motor hero — live selection summary (brand-new wizard) */
.motor-live-summary {
  color: #1e293b;
}

.motor-live-summary__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.85rem;
}

.motor-live-plate {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.65rem 0.85rem 0.65rem 0;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.motor-live-plate__ind {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  min-height: 2.5rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-radius: 0 4px 4px 0;
}

.motor-live-plate__code {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.motor-live-plate__mask {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.15rem;
}

.motor-live-plate__dots {
  font-size: 0.95rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  line-height: 1;
}

.motor-live-summary__rto-note {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
  margin: 0 0 1rem;
}

.motor-live-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 1.75rem;
}

.motor-live-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.2;
}

.motor-hero-aside {
  padding-top: 0.25rem;
}

@media (min-width: 992px) {
  .motor-hero-aside {
    position: sticky;
    top: 1.5rem;
    padding-top: 4.5rem;
  }
}

.motor-live-tag--accent {
  color: #008a8e;
  border-color: #99d5d7;
  background: #e6f7f7;
  font-weight: 600;
}

.motor-live-tag--muted {
  color: #94a3b8;
  border-style: dashed;
  background: #fff;
}

.motor-live-summary__divider {
  margin: 1.1rem 0;
  border-top: 1px dashed #e2e8f0;
}

.motor-live-premium__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.motor-live-premium__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.motor-live-premium__range {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.3;
}

.motor-live-premium__note {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.motor-live-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.15rem;
  font-size: 0.8125rem;
  color: #475569;
}

.motor-live-benefits i {
  color: #008a8e;
  margin-right: 0.3rem;
}

@media (max-width: 991.98px) {
  .motor-live-summary {
    margin-top: 1.5rem;
  }
}

.motor-owner-form .input-group {
  gap: 10px;
}
