/* AIP Technologies contextual help + Driver.js theme */
.aip-help-button {
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.aip-help-button:hover {
  background: #1e293b;
}

.aip-help-button:focus-visible,
.driver-popover button:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.driver-popover.aip-driver-popover {
  --driver-popover-font-family: Arial, Helvetica, sans-serif;
  max-width: 360px;
  border-radius: 16px;
  padding: 18px;
}

.driver-popover.aip-driver-popover .driver-popover-title {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
}

.driver-popover.aip-driver-popover .driver-popover-description {
  color: #475569;
  line-height: 1.5;
}

.driver-popover.aip-driver-popover .driver-popover-progress-text {
  color: #64748b;
}

.driver-popover.aip-driver-popover .driver-popover-footer-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  text-shadow: none;
  font-weight: 700;
}

.driver-popover.aip-driver-popover .driver-popover-next-btn,
.driver-popover.aip-driver-popover .driver-popover-done-btn {
  background: #22c55e;
  color: #052e16;
}

.driver-popover.aip-driver-popover .driver-popover-prev-btn {
  background: #e2e8f0;
  color: #0f172a;
}

.aip-tour-field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

@media (max-width: 520px) {
  .driver-popover.aip-driver-popover {
    max-width: calc(100vw - 28px);
  }
}
