/* Recorridos guiados (Driver.js) con los colores de Nectunt */
.driver-popover.recorrido-nectunt {
    border-radius: 12px;
    border-top: 4px solid #2fa37b;
    padding: 16px 18px;
    max-width: 320px;
    font-family: inherit;
}

.driver-popover.recorrido-nectunt .driver-popover-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a2e;
}

.driver-popover.recorrido-nectunt .driver-popover-description {
    font-size: 14px;
    line-height: 1.45;
    color: #334;
}

.driver-popover.recorrido-nectunt .driver-popover-progress-text {
    color: #5a7a6a;
}

.driver-popover.recorrido-nectunt .driver-popover-footer button {
    border-radius: 6px;
    text-shadow: none;
    padding: 4px 12px;
    font-size: 13px;
}

.driver-popover.recorrido-nectunt .driver-popover-next-btn {
    background: #2fa37b;
    border-color: #2fa37b;
    color: #fff;
}

.driver-popover.recorrido-nectunt .driver-popover-next-btn:hover {
    background: #268a67;
}

/* Botón "¿Cómo funciona?" de cada pantalla */
.btn-recorrido {
    background: none;
    border: 1px solid #2fa37b;
    border-radius: 16px;
    color: #2fa37b;
    font-size: 12px;
    padding: 2px 10px;
    cursor: pointer;
}

.btn-recorrido:hover {
    background: #2fa37b;
    color: #fff;
}

@media (max-width: 768px) {
    .btn-recorrido span {
        display: none;
    }
}

/* Pistas en pantalla (PistaAyuda.razor) */
.pista-ayuda {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    color: #2fa37b;
    font-size: 14px;
    cursor: help;
    outline: none;
    text-transform: none;
    letter-spacing: normal;
}

.pista-ayuda.pista-esquina {
    position: absolute;
    top: 0;
    right: 12px;
    z-index: 2;
}

.pista-ayuda::after {
    content: attr(data-pista);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 260px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #1a3a2e;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s;
    pointer-events: none;
    z-index: 1000;
}

.pista-ayuda.pista-esquina::after {
    left: auto;
    right: -8px;
    transform: none;
}

.pista-ayuda:hover::after,
.pista-ayuda:focus::after {
    opacity: 1;
    visibility: visible;
}
