.nmdp-vw-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 30, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 10100;
}

.nmdp-vw-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nmdp-vw-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 640px;
  max-width: 94vw;
  max-height: 88vh;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 10101;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nmdp-vw-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.nmdp-vw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #ECEEF1;
}

.nmdp-vw-header h2 {
  font-size: 20px;
  margin: 0;
  color: #1A1A1A;
}

.nmdp-vw-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #888;
}

.nmdp-vw-stepper {
  display: flex;
  justify-content: space-between;
  padding: 20px 32px 8px;
  position: relative;
}

.nmdp-vw-stepper::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 56px;
  right: 56px;
  height: 2px;
  background: #E4E7EC;
  z-index: 0;
}

.nmdp-vw-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.nmdp-vw-step-dot span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #E4E7EC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #8A93A3;
}

.nmdp-vw-step-dot small {
  font-size: 10px;
  color: #8A93A3;
  text-align: center;
}

.nmdp-vw-step-dot.is-active span {
  background: #F58220;
  border-color: #F58220;
  color: #fff;
}

.nmdp-vw-step-dot.is-done span {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #fff;
}

.nmdp-vw-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.nmdp-vw-body h3 {
  font-size: 17px;
  margin: 0 0 16px;
  color: #1a1a1a;
}

.nmdp-vw-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.nmdp-vw-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  border: 2px solid #E4E7EC;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 26px;
}

.nmdp-vw-type-btn span {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
}

.nmdp-vw-type-btn.is-selected {
  border-color: #F58220;
  background: rgba(245, 130, 32, 0.06);
}

.nmdp-vw-brand-search,
.nmdp-vw-text-input,
.nmdp-vw-year-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #DCE0E6;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.nmdp-vw-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.nmdp-vw-brand-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 2px solid #E4E7EC;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nmdp-vw-brand-btn img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nmdp-vw-brand-btn span {
  font-size: 11px;
  color: #1a1a1a;
}

.nmdp-vw-brand-btn.is-selected {
  border-color: #F58220;
  background: rgba(245, 130, 32, 0.06);
}

.nmdp-vw-result-summary {
  background: #F4F6F8;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.nmdp-vw-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.nmdp-vw-result-status {
  text-align: center;
  padding: 8px 0;
}

.nmdp-vw-result-status p {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 14px;
}

.nmdp-vw-whatsapp-link {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}

.nmdp-vw-whatsapp-pending {
  color: #C0392B;
  font-size: 12px;
  font-style: italic;
}

.nmdp-vw-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid #ECEEF1;
}

.nmdp-vw-back {
  background: none;
  border: none;
  color: #1A1A1A;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.nmdp-vw-next {
  background: #F58220;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  margin-left: auto;
}

.nmdp-vw-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

body.nmdp-vw-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .nmdp-vw-type-grid, .nmdp-vw-brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nmdp-vw-stepper small {
    display: none;
  }
}
