/* ===================================================================
   Jeloda Spotlight — Guía en pantalla y foco visual (ONB 7)
   Estilo Apple Premium — Sin degradar rendimiento ni matar Safari iOS
   =================================================================== */

.jeloda-spotlight-target {
    position: relative !important;
    z-index: 100002 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.4), 0 8px 24px rgba(0, 113, 227, 0.3) !important;
    animation: jelodaSpotlightPulse 1.8s infinite ease-in-out !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

@keyframes jelodaSpotlightPulse {
    0% {
        box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.6), 0 0 0 0 rgba(0, 113, 227, 0.4);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.3), 0 0 0 14px rgba(0, 113, 227, 0);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.6), 0 0 0 0 rgba(0, 113, 227, 0);
    }
}

.jeloda-spotlight-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    z-index: 100001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.jeloda-spotlight-backdrop.active {
    opacity: 1;
}

.jeloda-spotlight-tooltip {
    position: absolute;
    z-index: 100003;
    max-width: 320px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    animation: jelodaTooltipPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.jeloda-spotlight-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.jeloda-spotlight-badge {
    background: #0071e3;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jeloda-spotlight-title {
    font-size: 14px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.jeloda-spotlight-text {
    font-size: 13px;
    color: #555558;
    line-height: 1.45;
    margin: 0 0 12px 0;
}

.jeloda-spotlight-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.jeloda-spotlight-btn-ok {
    background: #0071e3;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.jeloda-spotlight-btn-ok:hover {
    background: #0077ed;
}

.jeloda-spotlight-btn-dismiss {
    background: transparent;
    border: none;
    color: #86868b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: 7px 10px;
}

.jeloda-spotlight-btn-dismiss:hover {
    color: #1d1d1f;
}

@keyframes jelodaTooltipPop {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
