#equifax_verify_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2147483000;
  font-family: var(--oem-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

#equifax_verify_container:not(:empty) {
  pointer-events: auto;
}

.equifax-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: hidden;
  font-family: var(--oem-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

.equifax-modal {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  padding: 3rem 2.5rem 2rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.equifax-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: #8a8a8a;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.equifax-modal-close:hover {
  color: #1a2540;
}

.equifax-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.5rem 0 1rem 0;
  flex: 1 1 auto;
}

.equifax-vehicle-image-wrapper {
  max-width: 340px;
  margin: 0.5rem auto 0 auto;
}

.equifax-vehicle-image-wrapper img {
  max-width: 100%;
  height: auto;
}

.equifax-verify-title {
  font-weight: var(--oem-headline-font-weight, 600);
  text-transform: var(--oem-headline-text-case, none);
  margin: 0;
  font-size: 2.1rem;
  color: #3c4a5e;
  line-height: 1.2;
}

.equifax-verify-body {
  margin: 0;
  font-size: 1rem;
  color: #585858;
  line-height: 1.5;
  max-width: 760px;
}

.equifax-phone-highlight {
  color: var(--oem-primary-color, #f26122);
  font-weight: 600;
  white-space: nowrap;
}

.equifax-resend-link {
  background: transparent;
  border: none;
  color: var(--oem-primary-color, #f26122);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.equifax-resend-link:hover:not(:disabled) {
  text-decoration: none;
}

.equifax-resend-link:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.equifax-back-instruction {
  margin: 0;
  font-size: 0.85rem;
  color: #6c757d;
}

.equifax-back-btn {
  background-color: var(--oem-primary-color, #f26122);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.65rem 3rem;
  cursor: pointer;
  text-transform: var(--oem-button-text-case, none);
  min-width: 200px;
}

.equifax-back-btn:hover {
  filter: brightness(0.95);
}

.equifax-modal-footer {
  padding-top: 1rem;
  display: flex;
  justify-content: center;
}

.equifax-verify-error {
  color: #b32525;
  font-size: 0.85rem;
}

.equifax-terminal-failure .equifax-verify-title {
  color: #b32525;
}

@media (max-width: 480px) {
  .equifax-modal-backdrop {
    padding: 0.75rem;
  }

  .equifax-modal {
    max-height: calc(100vh - 1.5rem);
    padding: 2rem 1rem 1rem 1rem;
  }

  .equifax-verify-title {
    font-size: 1.4rem;
  }

  .equifax-back-btn {
    width: 100%;
    min-width: 0;
  }
}
