/* Help button highlight. The driver.js tour styles are gone: guided tours are
   EEva's (EO), opened by EEva.open({view:'tour'}) from the Help door. */

/* ============================================
   Help Button Highlight Animation
   Shows when walkthrough is available on page
   ============================================ */

@keyframes helpPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(63, 81, 181, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(63, 81, 181, 0);
        transform: scale(1);
    }
}

@keyframes helpBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.help-highlight {
    position: relative;
    animation: helpPulse 2s ease-in-out infinite, helpBounce 1s ease-in-out;
    border-radius: 50%;
    z-index: 100;
}

.help-highlight::after {
    content: "";
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border-radius: 50%;
    border: 2px solid #fff;
    animation: helpPulse 1.5s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#help_button {
    position: relative;
    display: inline-block;
}

.help-highlight::before {
    content: "Page walkthrough available!";
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3f51b5 0%, #303f9f 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
    z-index: 101;
}

.help-highlight:hover::before {
    opacity: 1;
    visibility: visible;
}
