/* ============================================================
   DRIVER.JS ONBOARDING TOUR THEME
   ============================================================ */

/* Overlay */
.driver-overlay {
    background: rgba(0, 0, 0, 0.55) !important;
}

/* Popover Card */
.driver-popover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(10, 15, 30, 0.98)) !important;
    border: 1px solid rgba(0, 180, 255, 0.25) !important;
    border-radius: 16px !important;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 140, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    color: #e0e6ed !important;
    font-family: 'DM Sans', sans-serif !important;
    max-width: 380px !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Title */
.driver-popover-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding: 20px 24px 4px !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Description */
.driver-popover-description {
    font-size: 0.88rem !important;
    color: rgba(200, 210, 225, 0.85) !important;
    line-height: 1.6 !important;
    padding: 8px 24px 16px !important;
    margin: 0 !important;
}

/* Progress bar */
.driver-popover-progress-text {
    font-size: 0.72rem !important;
    color: rgba(100, 180, 255, 0.7) !important;
    letter-spacing: 0.5px;
    padding: 0 24px !important;
    font-weight: 500;
}

/* Footer (buttons area) */
.driver-popover-footer {
    padding: 12px 24px 20px !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-top: 4px;
}

/* Base button styles */
.driver-popover-footer button {
    border-radius: 10px !important;
    padding: 8px 20px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    transition: all 0.25s ease !important;
    border: none !important;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif !important;
}

/* Previous / Close buttons */
.driver-popover-prev-btn,
.driver-popover-close-btn {
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(200, 210, 225, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.driver-popover-prev-btn:hover,
.driver-popover-close-btn:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

/* Next / Done buttons */
.driver-popover-next-btn {
    background: linear-gradient(135deg, #0091ff, #00c6ff) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 145, 255, 0.3) !important;
}

.driver-popover-next-btn:hover {
    background: linear-gradient(135deg, #007ae6, #00b4e6) !important;
    box-shadow: 0 6px 20px rgba(0, 145, 255, 0.45) !important;
    transform: translateY(-1px);
}

/* Arrow */
.driver-popover-arrow {
    border-color: rgba(15, 23, 42, 0.97) !important;
}

.driver-popover-arrow-side-left {
    border-right-color: rgba(15, 23, 42, 0.97) !important;
}

.driver-popover-arrow-side-right {
    border-left-color: rgba(15, 23, 42, 0.97) !important;
}

.driver-popover-arrow-side-top {
    border-bottom-color: rgba(15, 23, 42, 0.97) !important;
}

.driver-popover-arrow-side-bottom {
    border-top-color: rgba(15, 23, 42, 0.97) !important;
}

/* Highlighted element */
.driver-active-element {
    border-radius: 12px !important;
    outline: 3px solid rgba(0, 200, 255, 0.9) !important;
    outline-offset: 4px !important;
    box-shadow:
        0 0 0 4px rgba(0, 180, 255, 0.35),
        0 0 20px rgba(0, 200, 255, 0.5),
        0 0 45px rgba(0, 200, 255, 0.25) !important;
}

/* Custom progress bar inside popover */
.tour-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    margin: 0 24px 0;
    overflow: hidden;
}

.tour-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0091ff, #00c6ff);
    border-radius: 2px;
    transition: width 0.4s ease;
}