/* Virtual Eyewear Prescription Frontend Styles - Modern Zeelool Inspired Design */

:root {
  --vep-primary: #9c2124;
  --vep-primary-hover: #7f1a1d;
  --vep-primary-light: #fdf2f2;
  --vep-secondary: #409380;
  --vep-secondary-hover: #327768;
  --vep-secondary-light: #edf7f5;
  --vep-text-dark: #1e293b;
  --vep-text-muted: #64748b;
  --vep-border: #e2e8f0;
  --vep-bg-light: #f8fafc;
  --vep-success: #409380;
  --vep-badge-bg: #ffe4e6;
  --vep-badge-color: #9c2124;
}

/* Product Page Dual Buttons */
.vep-cta-container {
  display: flex;
  gap: 14px;
  margin: 15px 0 20px 0;
  width: 100%;
  flex-wrap: wrap;
}

.vep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
}

.vep-btn-primary {
  background-color: var(--vep-primary);
  color: #ffffff !important;
  flex: 1 1 200px;
  box-shadow: 0 4px 14px rgba(156, 33, 36, 0.35);
}

.vep-btn-primary:hover {
  background-color: var(--vep-primary-hover);
  box-shadow: 0 6px 18px rgba(156, 33, 36, 0.45);
  transform: translateY(-1px);
}

.vep-btn-outline {
  background-color: #ffffff;
  color: var(--vep-text-dark) !important;
  border: 2px solid #cbd5e1;
  flex: 1 1 150px;
}

.vep-btn-outline:hover {
  border-color: var(--vep-secondary);
  color: var(--vep-secondary) !important;
  background-color: var(--vep-secondary-light);
  transform: translateY(-1px);
}

.vep-btn-secondary {
  background-color: var(--vep-secondary-light);
  color: var(--vep-secondary) !important;
  border: 1px solid var(--vep-secondary);
  padding: 10px 20px;
  font-size: 14px;
}

.vep-btn-secondary:hover {
  background-color: var(--vep-secondary);
  color: #ffffff !important;
}

/* Fullscreen Lens Process Page View (Zeelool Exact Layout) */
.vep-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.vep-process-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* Top Progress Bar Line */
.vep-top-progress-bar {
  width: 100%;
  height: 3px;
  background: #f1f5f9;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

.vep-progress-indicator {
  height: 100%;
  background: var(--vep-primary);
  transition: width 0.3s ease;
}

/* Topbar Close Button (Screenshot Exact) */
.vep-close-btn {
  position: static !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  margin-left: auto !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111827 !important;
  z-index: 10 !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.vep-close-btn:hover {
  background: #e2e8f0 !important;
  color: #000000 !important;
}

/* Main Split View: Left Showcase (50%) + Right Steps (50%) */
.vep-process-main {
  display: flex;
  flex: 1;
  width: 100%;
  height: calc(100vh - 80px);
  overflow: hidden;
}

/* Left Column: Product Frame Showcase (Exact 50%) */
.vep-product-showcase {
  width: 50%;
  flex: 0 0 50%;
  max-width: 50%;
  background: #ffffff;
  border-right: 1px solid var(--vep-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
}

.vep-showcase-sticky {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.vep-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--vep-text-muted);
  padding: 6px 0;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.vep-back-btn:hover {
  color: var(--vep-primary);
}

.vep-frame-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.vep-large-frame-img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.vep-showcase-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.vep-showcase-lbl {
  font-size: 13px;
  color: var(--vep-text-muted);
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.vep-showcase-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--vep-text-dark);
  margin: 0;
}

.vep-showcase-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--vep-text-dark);
}

/* Right Column: Steps (Exact 50%) */
.vep-steps-column {
  width: 50%;
  flex: 0 0 50%;
  max-width: 50%;
  background: #f8f8f8;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.vep-modal-body {
  padding: 24px 32px 60px 32px;
  flex: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Bottom Bar - Subtotal on Left, Next Button on Right */
.vep-process-footer {
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  flex: 0 0 80px;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--vep-border);
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  box-sizing: border-box;
  z-index: 1000;
  position: relative;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.vep-footer-subtotal-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.vep-footer-subtotal-lbl {
  font-size: 15px;
  font-weight: 600;
  color: var(--vep-text-muted);
}

.vep-footer-subtotal-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--vep-text-dark);
}

.vep-footer-btn-block {
  min-width: 220px;
}

.vep-btn-next, .vep-btn-addtocart {
  background: var(--vep-primary);
  color: #ffffff !important;
  border: none;
  min-width: 220px;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(156, 33, 36, 0.25);
}

.vep-btn-next:hover, .vep-btn-addtocart:hover {
  background: var(--vep-primary-hover);
  transform: translateY(-1px);
}

.vep-btn-next:disabled, .vep-btn-addtocart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.vep-step-panel {
  display: none !important;
}

.vep-step-panel.active {
  display: block !important;
  animation: vepSlideIn 0.22s ease-out;
}

@keyframes vepSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.vep-step-headline {
  margin-bottom: 24px;
}

.vep-step-headline h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--vep-text-dark);
  margin: 0 0 6px 0;
}

.vep-step-subtext {
  font-size: 14px;
  color: var(--vep-text-muted);
  margin: 0;
}

/* STEP 1: Prescription Type (Matches User Image Exact) */
.vep-step-1-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.vep-step-1-headline h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.3px;
}

.vep-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.vep-learn-more:hover {
  color: var(--vep-primary);
}

.vep-info-q-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #94a3b8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* STEP 1: Prescription Type List (Zeelool Reference Exact) */
.vep-rx-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
}

.vep-card-rx {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  text-align: left !important;
  width: 100%;
  box-sizing: border-box;
}

.vep-card-rx:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.vep-card-rx.selected {
  border-color: #4f46e5 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 1px #4f46e5, 0 2px 8px rgba(79, 70, 229, 0.08) !important;
}

.vep-rx-icon-box {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.vep-rx-icon-box svg {
  width: 44px;
  height: 44px;
  stroke: #4b5563;
  transition: stroke 0.2s;
}

.vep-card-rx.selected .vep-rx-icon-box svg,
.vep-card-rx:hover .vep-rx-icon-box svg {
  stroke: var(--vep-primary, #9c2124);
}

.vep-rx-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.vep-rx-info-box .vep-card-title {
  margin: 0 0 6px 0;
  font-size: 16.5px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.vep-info-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #9ca3af;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.vep-rx-info-box .vep-card-desc {
  margin: 0;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.45;
}

.vep-lens-card.selected .vep-radio-circle,
.vep-index-card.selected .vep-radio-circle {
  border-color: var(--vep-primary);
  background: var(--vep-primary);
}

.vep-lens-card.selected .vep-radio-circle::after,
.vep-index-card.selected .vep-radio-circle::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

/* STEP 2: Reading Power Selector & Prescription Tabs */
.vep-reading-power-panel {
  margin-bottom: 24px;
}

.vep-reading-card {
  background: #ffffff;
  border: 1px solid var(--vep-border);
  border-radius: 12px;
  padding: 24px;
}

.vep-reading-card h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--vep-text-dark);
}

.vep-reading-desc {
  margin: 0 0 18px 0;
  font-size: 13px;
  color: var(--vep-text-muted);
}

.vep-power-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 10px;
}

.vep-power-pill {
  background: #ffffff;
  border: 1.5px solid var(--vep-border);
  border-radius: 8px;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--vep-text-dark);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.vep-power-pill:hover {
  border-color: var(--vep-secondary);
  color: var(--vep-secondary);
}

.vep-power-pill.active {
  background: var(--vep-primary-light);
  border-color: var(--vep-primary);
  color: var(--vep-primary);
  box-shadow: 0 2px 8px rgba(156, 33, 36, 0.15);
}

.vep-reading-pd-row {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--vep-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.vep-reading-pd-info strong {
  display: block;
  font-size: 14px;
  color: var(--vep-text-dark);
  margin-bottom: 2px;
}

.vep-reading-pd-info span {
  font-size: 12px;
  color: var(--vep-text-muted);
}

/* Step Topbar Navigation (< Back button on Left, Close X on Right - Screenshots Exact) */
.vep-step-topbar-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 40px !important;
  margin-bottom: 24px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.vep-step-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  background: transparent !important;
  border: none !important;
  padding: 4px 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: color 0.15s ease !important;
  user-select: none !important;
}

.vep-step-back-btn:hover {
  color: var(--vep-primary, #9c2124) !important;
}

/* ================= STEP 2: SUB-STEP VIEWS ================= */
.vep-substep-view {
  animation: vepSlideIn 0.25s ease-out;
}

.vep-substep-headline {
  margin-bottom: 24px;
}

.vep-substep-headline h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

/* Sub-step 2A: Method Selection (Screenshot 2 Exact) */
.vep-method-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.vep-method-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.vep-method-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.vep-method-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vep-method-info {
  flex: 1;
  text-align: left;
}

.vep-method-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.vep-method-info p {
  font-size: 13.5px;
  color: #4b5563;
  margin: 0;
  line-height: 1.45;
}

.vep-method-footer {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 24px;
}

.vep-signin-link {
  color: #1e293b;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 4px;
}

.vep-signin-link:hover {
  color: var(--vep-primary, #9c2124);
}

/* Sub-step 2B: Scan Prescription (Screenshot 3 Exact) */
.vep-dropzone-plus-icon {
  font-size: 36px;
  font-weight: 300;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 12px;
}

.vep-dropzone-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.vep-dropzone-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.vep-scan-guidelines-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vep-guidelines-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.vep-sample-img-col {
  width: 260px;
  flex-shrink: 0;
}

.vep-good-sample-badge-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.vep-good-sample-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.vep-badge-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vep-guidelines-text-col {
  flex: 1;
}

.vep-guidelines-text-col p {
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 10px 0;
}

.vep-guidelines-text-col strong {
  color: #0f172a;
}

.vep-incorrect-format-section {
  margin-top: 6px;
}

.vep-incorrect-format-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.vep-minus-circle-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vep-incorrect-format-heading h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.vep-incorrect-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vep-incorrect-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 130px;
  border: 1px solid #e2e8f0;
}

.vep-incorrect-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vep-incorrect-lbl {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 18px 4px 6px;
}

.vep-prism-scan-note {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 8px;
}

.vep-prism-scan-note h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.vep-prism-scan-note p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 6px 0;
  line-height: 1.45;
}

.vep-inline-text-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--vep-primary, #9c2124) !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

/* Sub-step 2C: Modern Clean Prescription Table (Screenshot 4 Exact) */
.vep-form-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.vep-form-title-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.vep-view-uploaded-link {
  font-weight: 600;
  text-decoration: underline;
  color: var(--vep-primary, #9c2124);
  margin-left: 6px;
  display: inline-block;
}

.vep-yellow-alert-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.vep-yellow-alert-box p {
  margin: 0;
  font-size: 12.5px;
  color: #92400e;
  line-height: 1.5;
  font-weight: 500;
}

.vep-clean-table-wrapper {
  margin-bottom: 16px;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.vep-modern-rx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #ffffff;
}

.vep-modern-rx-table thead th {
  background: #f1f5f9;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 700;
  padding: 14px 10px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

.vep-modern-rx-table thead th:last-child {
  border-right: none;
}

.vep-modern-rx-table tbody td {
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  vertical-align: middle;
  background: #ffffff;
  height: 50px;
}

.vep-modern-rx-table tbody td:last-child {
  border-right: none;
}

.vep-modern-rx-table tbody tr:last-child td {
  border-bottom: none;
}

.vep-th-blank {
  width: 110px;
  background: #f1f5f9 !important;
  border-right: 1px solid #e2e8f0;
}

.vep-td-eye {
  width: 110px;
  text-align: left;
  padding: 0 0 0 16px !important;
  background: #f1f5f9 !important;
  border-right: 1px solid #e2e8f0;
}

.vep-eye-main {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.vep-eye-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.vep-td-pd-label {
  background: #f1f5f9 !important;
  text-align: left;
  padding: 0 0 0 16px !important;
}

.vep-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.vep-select-wrapper::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 5px solid #64748b;
  pointer-events: none;
}

.vep-modern-select {
  width: 100% !important;
  height: 100% !important;
  min-height: 50px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 28px 12px 12px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  cursor: pointer !important;
  outline: none !important;
  transition: background 0.15s ease !important;
  text-align-last: center;
  box-shadow: none !important;
  line-height: 1.3 !important;
}

.vep-modern-select:hover,
.vep-modern-select:focus {
  background: #f8fafc !important;
}

.vep-pd-select-highlight {
  color: #ef4444 !important;
  font-weight: 700 !important;
}

.vep-clean-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
}

.vep-clean-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--vep-primary, #9c2124);
  cursor: pointer;
  margin: 0;
}

.vep-td-dual-pd-checkbox {
  text-align: left;
  padding-left: 18px !important;
  background: #ffffff !important;
}

.vep-dual-pd-fields-row {
  display: flex;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.vep-dual-pd-item {
  flex: 1;
}

.vep-dual-pd-item label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.vep-pd-error-note {
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
  margin: -8px 0 16px 4px;
}

.vep-form-checkboxes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.vep-prism-inputs-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin: 6px 0 12px 0;
}

.vep-prism-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.vep-prism-grid label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.vep-form-help-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 13.5px;
  color: #4b5563;
  margin-top: 24px;
  text-align: left;
}

.vep-form-help-footer p {
  margin: 0;
  color: #4b5563;
}

.vep-chat-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.vep-chat-link:hover {
  color: #1d4ed8;
}

/* Animated Optical Scanner HUD */
.vep-scanner-hud {
  background: #0f172a;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  animation: vepSlideIn 0.25s ease-out;
}

.vep-scanner-frame {
  position: relative;
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vep-scanner-frame img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  opacity: 0.85;
}

.vep-laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0) 0%, #10b981 50%, rgba(16, 185, 129, 0) 100%);
  box-shadow: 0 0 14px 4px rgba(16, 185, 129, 0.7);
  animation: vepLaserSweep 1.6s infinite ease-in-out alternate;
  z-index: 5;
}

@keyframes vepLaserSweep {
  0% { top: 5%; }
  100% { top: 92%; }
}

.vep-scanner-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.vep-scanner-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.vep-scanner-pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: vepPulseDot 1.4s infinite;
  flex-shrink: 0;
}

@keyframes vepPulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.vep-scanner-text h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
}

.vep-scanner-text p {
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
}

.vep-rx-table-wrapper {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--vep-border);
  overflow-x: auto;
  margin-bottom: 20px;
}

.vep-rx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.vep-rx-table th {
  background: #f8fafc;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vep-text-dark);
  border-bottom: 1px solid var(--vep-border);
}

.vep-rx-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.vep-col-eye {
  width: 120px;
}

.vep-eye-badge {
  display: inline-block;
  background: #1e293b;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

.vep-eye-sub {
  font-size: 12px;
  color: var(--vep-text-muted);
}

.vep-select, .vep-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--vep-border);
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff;
  color: var(--vep-text-dark);
  outline: none;
}

.vep-select:focus, .vep-input:focus {
  border-color: var(--vep-primary);
  box-shadow: 0 0 0 2px rgba(94, 23, 235, 0.15);
}

/* PD Box */
.vep-pd-box {
  background: #ffffff;
  border: 1px solid var(--vep-border);
  border-radius: 12px;
  padding: 20px;
}

.vep-pd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.vep-pd-header h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
}

.vep-pd-header p {
  margin: 0;
  font-size: 13px;
  color: var(--vep-text-muted);
}

.vep-pd-fields {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vep-pd-single-wrap, .vep-pd-dual-wrap > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Upload Box */
.vep-upload-dropzone {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.vep-upload-dropzone:hover {
  border-color: var(--vep-primary);
  background: var(--vep-primary-light);
}

.vep-dropzone-content h3 {
  font-size: 16px;
  margin: 12px 0 6px 0;
}

.vep-dropzone-content p {
  font-size: 13px;
  color: var(--vep-text-muted);
  margin-bottom: 16px;
}

.vep-uploaded-file-preview {
  margin-top: 15px;
}

.vep-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #10b981;
  padding: 12px 18px;
  border-radius: 8px;
}

.vep-preview-filename {
  font-weight: 600;
  font-size: 14px;
  flex: 1;
}

.vep-remove-upload {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #ef4444;
  cursor: pointer;
}

/* STEP 3: Lens Types List (Zeelool Style) */
/* ================= STEP 3: Lens Types (Screenshot 1 Exact) ================= */
.vep-lens-types-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.vep-lens-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.vep-lens-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.vep-lens-card.selected {
  border: 1.5px solid #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 1px #4f46e5, 0 2px 8px rgba(79, 70, 229, 0.08);
}

.vep-lens-card-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.vep-lens-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vep-lens-info {
  flex: 1;
  text-align: left;
}

.vep-lens-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.vep-lens-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vep-badge-new-colors {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}

.vep-lens-desc {
  font-size: 13.5px;
  color: #4b5563;
  margin: 0;
  line-height: 1.45;
}

.vep-polarized-mini-swatches {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.vep-polarized-mini-swatches span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.vep-lens-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vep-lens-price {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.vep-chevron-icon {
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.vep-lens-card.selected .vep-chevron-icon {
  transform: rotate(180deg);
  color: #4f46e5;
}

/* Color Tint Swatches */
.vep-tint-options {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vep-tint-options label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.vep-color-swatches {
  display: flex;
  gap: 8px;
}

.vep-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  transition: all 0.2s;
}

.vep-swatch.active {
  box-shadow: 0 0 0 2px #4f46e5;
  transform: scale(1.15);
}

.vep-selected-tint-name {
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
}

/* ================= STEP 4: Lens Indexes (Screenshot 2 Exact) ================= */
.vep-indexes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.vep-index-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px 24px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  box-sizing: border-box;
}

.vep-index-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.vep-index-card.selected {
  border: 1.5px solid #4f46e5;
  box-shadow: 0 0 0 1px #4f46e5, 0 2px 8px rgba(79, 70, 229, 0.08);
}

.vep-index-card.recommended {
  margin-top: 10px;
}

.vep-index-rec-badge {
  display: none;
  position: absolute;
  top: -12px;
  left: 0;
  background: #463AE8;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3.5px 12px;
  border-radius: 6px 6px 0 0;
  letter-spacing: 0.1px;
  line-height: 1.2;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(70, 58, 232, 0.2);
}

.vep-index-card.recommended .vep-index-rec-badge {
  display: block;
}

.vep-index-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
}

.vep-index-logo-box {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vep-mr-circle-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px solid #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: -0.5px;
  line-height: 1;
  position: relative;
}

.vep-mr-circle-logo small {
  font-size: 8px;
  vertical-align: super;
  font-weight: 700;
  margin-left: 1px;
}

.vep-index-body {
  flex: 1;
  text-align: left;
}

.vep-index-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.vep-index-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.vep-badge-premium {
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.vep-index-bullets {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vep-index-bullets li {
  font-size: 13px;
  color: #4b5563;
  position: relative;
  padding-left: 12px;
  line-height: 1.4;
}

.vep-index-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-size: 14px;
}

.vep-index-price {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Order Summary Box */
.vep-order-summary-box {
  background: #ffffff;
  border: 1px solid var(--vep-border);
  border-radius: 12px;
  padding: 20px;
}

.vep-summary-title {
  margin: 0 0 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--vep-text-dark);
}

.vep-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--vep-text-muted);
}

.vep-summary-row strong {
  color: var(--vep-text-dark);
}

.vep-summary-divider {
  height: 1px;
  background: var(--vep-border);
  margin: 12px 0;
}

.vep-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--vep-text-dark);
}

.vep-total-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--vep-primary);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .vep-process-main {
    flex-direction: column;
    height: auto;
    overflow-y: auto;
  }
  .vep-product-showcase {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid var(--vep-border);
    padding: 24px 20px;
  }
  .vep-showcase-sticky {
    max-width: 100%;
    align-items: center;
  }
  .vep-frame-image-wrapper {
    margin-bottom: 15px;
  }
  .vep-large-frame-img {
    max-height: 180px;
  }
  .vep-steps-column {
    overflow-y: visible;
  }
  .vep-modal-body {
    padding: 24px 16px 40px 16px;
  }
  .vep-process-footer {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .vep-cards-grid, .vep-indexes-grid {
    grid-template-columns: 1fr;
  }
  .vep-cta-container {
    flex-direction: column;
  }
  .vep-cta-container .vep-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Zeelool Frame-Only Dedicated Workflow Styles
   ========================================================================== */
.vep-frame-only-options-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.vep-frame-option-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.vep-frame-option-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.vep-frame-option-card.selected {
  border-color: var(--vep-primary, #463ae8);
  background: #fbfbfe;
  box-shadow: 0 0 0 1px var(--vep-primary, #463ae8), 0 4px 14px rgba(70, 58, 232, 0.08);
}

.vep-frame-opt-radio {
  padding-top: 3px;
  flex-shrink: 0;
}

.vep-frame-opt-radio .vep-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.vep-frame-option-card.selected .vep-frame-opt-radio .vep-radio-circle {
  border-color: var(--vep-primary, #463ae8);
  background: var(--vep-primary, #463ae8);
}

.vep-frame-option-card.selected .vep-frame-opt-radio .vep-radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.vep-frame-opt-content {
  flex: 1;
}

.vep-frame-opt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.vep-frame-opt-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--vep-text-dark, #1e293b);
  letter-spacing: -0.01em;
}

.vep-frame-opt-desc {
  margin: 0 0 12px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #64748b;
}

.vep-frame-opt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vep-pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #f1f5f9;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

.vep-frame-option-card.selected .vep-pill-tag {
  background: #eef2ff;
  color: #4338ca;
}

/* Zeelool What is Included in Package Box */
.vep-package-included-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}

.vep-package-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.vep-package-title svg {
  color: var(--vep-primary, #463ae8);
}

.vep-package-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

@media (max-width: 640px) {
  .vep-package-items-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.vep-package-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vep-pkg-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.vep-pkg-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.vep-pkg-text p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

/* Switch flow toggle link */
.vep-switch-flow-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed #e2e8f0;
  font-size: 13.5px;
  color: #64748b;
}

.vep-btn-switch-flow {
  background: none;
  border: none;
  padding: 0;
  color: var(--vep-primary, #463ae8);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.15s;
}

.vep-btn-switch-flow:hover {
  color: #3128a2;
}

.vep-switch-to-frame-wrap {
  margin-top: 24px;
}

