/* Driver.js overrides — Cairo font, RTL-aware, dark mode */
#driver-popover-content {
    font-family: 'Cairo', sans-serif !important;
    direction: rtl;
}

#driver-popover-title {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700;
    font-size: 1rem;
}

#driver-popover-description {
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.875rem;
    line-height: 1.6;
}

.driver-popover-footer {
    direction: ltr;
}

.driver-popover-footer button {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600;
}

/* Dark mode support */
.dark .driver-popover {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid #334155;
}

.dark #driver-popover-title {
    color: #f1f5f9 !important;
}

.dark #driver-popover-description {
    color: #cbd5e1 !important;
}

.dark .driver-popover-close-btn {
    color: #94a3b8 !important;
}

.dark .driver-popover-arrow-side-left.driver-popover-arrow,
.dark .driver-popover-arrow-side-right.driver-popover-arrow,
.dark .driver-popover-arrow-side-top.driver-popover-arrow,
.dark .driver-popover-arrow-side-bottom.driver-popover-arrow {
    border-color: #1e293b transparent transparent transparent;
}

/* Progress dot active color */
.driver-popover-progress-tab.driver-is-active-progress-tab {
    background: #0284c7 !important;
}
