
/* =========================================
   FLOYNEX PAY - GUIDED WALLET TOUR
   File: css/tour.css
   ========================================= */

/* Tour overlay */
.driver-overlay {
    background: rgba(13, 27, 42, 0.72) !important;
}

/* Highlighted element */
.driver-active-element {
    border-radius: 12px !important;
}

/* Main tour popover */
.driver-popover {
    background: #ffffff !important;
    color: #0d1b2a !important;
    border: 1px solid rgba(76, 175, 80, 0.18) !important;
    border-radius: 18px !important;
    padding: 22px !important;
    width: 340px !important;
    max-width: calc(100vw - 32px) !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    box-shadow: 0 14px 45px rgba(13, 27, 42, 0.20) !important;
}

/* Popover title */
.driver-popover-title {
    color: #0d1b2a !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
}

/* Description */
.driver-popover-description {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* Footer */
.driver-popover-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: 22px !important;
}

/* Tour buttons */
.driver-popover-footer button {
    border-radius: 9px !important;
    padding: 11px 17px !important;
    min-height: 42px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
}

/* Main action button */
.driver-popover-next-btn,
.driver-popover-done-btn {
    background: #4caf50 !important;
    color: #ffffff !important;
    border: 1px solid #4caf50 !important;
}

.driver-popover-next-btn:hover,
.driver-popover-done-btn:hover {
    background: #43a047 !important;
    border-color: #43a047 !important;
    transform: translateY(-1px);
}

/* Previous and close buttons */
.driver-popover-prev-btn,
.driver-popover-close-btn {
    background: #f4f7fa !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
}

/* Close icon */
.driver-popover-close-btn {
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
}

/* Popover arrow */
.driver-popover-arrow {
    border-color: #ffffff !important;
}

/* Remove unwanted default button outlines */
.driver-popover button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15) !important;
}

/* Highlighted wallet link */
#sidebar .nav-link.driver-active-element {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    border-radius: 12px !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.20) !important;
}

/* Mobile layout */
@media (max-width: 600px) {
    .driver-popover {
        width: min(320px, calc(100vw - 28px)) !important;
        padding: 19px !important;
        border-radius: 16px !important;
    }

    .driver-popover-title {
        font-size: 17px !important;
    }

    .driver-popover-description {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .driver-popover-footer {
        margin-top: 18px !important;
        gap: 8px !important;
    }

    .driver-popover-footer button {
        padding: 10px 13px !important;
        font-size: 12px !important;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .driver-popover {
        width: calc(100vw - 24px) !important;
        padding: 16px !important;
    }

    .driver-popover-title {
        font-size: 16px !important;
    }
}
/* Neon blue glow around the highlighted My Wallet link */
#sidebar .nav-link.driver-active-element {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    border-radius: 12px !important;

    box-shadow:
        0 0 5px #00bfff,
        0 0 12px #00bfff,
        0 0 22px rgba(0, 191, 255, 0.8),
        0 0 35px rgba(0, 191, 255, 0.5) !important;

    border: 1px solid #00bfff !important;
}
@keyframes walletNeonGlow {
    0%, 100% {
        box-shadow:
            0 0 5px #00bfff,
            0 0 12px #00bfff,
            0 0 22px rgba(0, 191, 255, 0.8);
    }

    50% {
        box-shadow:
            0 0 10px #00bfff,
            0 0 22px #00bfff,
            0 0 38px rgba(0, 191, 255, 0.9);
    }
}

#sidebar .nav-link.driver-active-element {
    animation: walletNeonGlow 1.5s ease-in-out infinite;
}