/**
 * Onboarding Tour Styles
 * Custom styles for driver.js tour with IVITECH branding
 */

/* Popover container */
.driver-popover {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(115, 103, 240, 0.25);
  padding: 20px;
}

.driver-popover-title {
  font-weight: 600;
  color: #2f2b3d;
}

.driver-popover-description {
  color: #6d6b77;
  margin-top: 8px;
}

.driver-popover-progress-text {
  color: #7367f0;
  font-weight: 500;
}

/* Navigation buttons - remove text-shadow, increase size */
.driver-popover-prev-btn,
.driver-popover-next-btn {
  background-color: #7367f0 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease !important;
}

.driver-popover-prev-btn:hover,
.driver-popover-next-btn:hover,
.driver-popover-prev-btn:focus,
.driver-popover-next-btn:focus {
  background-color: #5b4fd6 !important;
  color: #fff !important;
  text-shadow: none !important;
}

.driver-popover-close-btn {
  color: #6d6b77;
}

.driver-popover-close-btn:hover,
.driver-popover-close-btn:focus {
  color: #2f2b3d;
}

/* Dark mode support */
[data-bs-theme="dark"] .driver-popover {
  background: #2f3349;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .driver-popover-title {
  color: #e6e6e8;
}

[data-bs-theme="dark"] .driver-popover-description {
  color: #acaab1;
}

[data-bs-theme="dark"] .driver-popover-close-btn {
  color: #acaab1;
}

[data-bs-theme="dark"] .driver-popover-close-btn:hover,
[data-bs-theme="dark"] .driver-popover-close-btn:focus {
  color: #e6e6e8;
}

[data-bs-theme="dark"] .driver-popover-prev-btn,
[data-bs-theme="dark"] .driver-popover-next-btn {
  background-color: #7367f0 !important;
  color: #fff !important;
  text-shadow: none !important;
}

[data-bs-theme="dark"] .driver-popover-prev-btn:hover,
[data-bs-theme="dark"] .driver-popover-next-btn:hover,
[data-bs-theme="dark"] .driver-popover-prev-btn:focus,
[data-bs-theme="dark"] .driver-popover-next-btn:focus {
  background-color: #5b4fd6 !important;
  color: #fff !important;
  text-shadow: none !important;
}

/* Arrow color for dark mode */
[data-bs-theme="dark"] .driver-popover-arrow {
  border-color: #2f3349;
}

[data-bs-theme="dark"] .driver-popover-arrow-side-left {
  border-left-color: #2f3349;
}

[data-bs-theme="dark"] .driver-popover-arrow-side-right {
  border-right-color: #2f3349;
}

[data-bs-theme="dark"] .driver-popover-arrow-side-top {
  border-top-color: #2f3349;
}

[data-bs-theme="dark"] .driver-popover-arrow-side-bottom {
  border-bottom-color: #2f3349;
}
