/* ══════════════════════════════════════════
   Lio Tour — Dark Theme for Driver.js
   ══════════════════════════════════════════ */

/* Popover container */
.driver-popover {
    background-color: #121812 !important;
    border: 1px solid #2a3d2a !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
    max-width: 340px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    padding: 20px !important;
}

/* Arrow colors */
.driver-popover-arrow-side-top { border-top-color: #121812 !important; }
.driver-popover-arrow-side-bottom { border-bottom-color: #121812 !important; }
.driver-popover-arrow-side-left { border-left-color: #121812 !important; }
.driver-popover-arrow-side-right { border-right-color: #121812 !important; }

/* Title */
.driver-popover-title {
    color: #9cff57 !important;
    font-size: 17px !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
    direction: rtl !important;
    text-align: right !important;
}

/* Description */
.driver-popover-description {
    color: #d9ffd0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    direction: rtl !important;
    text-align: right !important;
}

/* Footer */
.driver-popover-footer {
    direction: rtl !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

/* Navigation buttons container */
.driver-popover-navigation-btns {
    display: flex !important;
    direction: ltr !important;
    gap: 8px !important;
}

/* Next / Done button */
.driver-popover-next-btn,
.driver-popover-done-btn {
    background-color: #9cff57 !important;
    color: #081008 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-weight: bold !important;
    font-size: 13px !important;
    cursor: pointer !important;
    font-family: Arial, sans-serif !important;
}
.driver-popover-next-btn:hover,
.driver-popover-done-btn:hover {
    background-color: #7ee13f !important;
}

/* Previous button */
.driver-popover-prev-btn {
    background-color: transparent !important;
    color: #9cff57 !important;
    border: 1px solid #2a3d2a !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    font-family: Arial, sans-serif !important;
}
.driver-popover-prev-btn:hover {
    background-color: #162016 !important;
}

/* Close button */
.driver-popover-close-btn {
    color: #6b7b6b !important;
    font-size: 20px !important;
}
.driver-popover-close-btn:hover {
    color: #ffffff !important;
}

/* Progress text */
.driver-popover-progress-text {
    color: #6b7b6b !important;
    font-size: 12px !important;
    direction: ltr !important;
}

/* ── Floating Action Button (FAB) ── */
.tour-fab {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 9998;
    background-color: #9cff57;
    color: #081008;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(156, 255, 87, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: bold;
}
.tour-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(156, 255, 87, 0.5);
}
.tour-fab:active {
    transform: scale(0.95);
}

/* Hide FAB when tour is active (Driver.js adds overlay) */
.driver-active .tour-fab {
    display: none;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .driver-popover {
        max-width: 280px !important;
        font-size: 13px !important;
        padding: 16px !important;
    }
    .driver-popover-title {
        font-size: 15px !important;
    }
    .driver-popover-description {
        font-size: 13px !important;
    }
    .tour-fab {
        bottom: 74px;
        left: 14px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
