/* Desenvolvido por: DriveWeb | Rodrigo Soares | © DriveWeb — Todos os direitos reservados · https://driveweb.pt · contacto@driveweb.pt · WhatsApp +351 913 671 493 */

.dwt-tour-backdrop,
.dwt-tour-highlight,
.dwt-tour-bubble,
.dwt-tour-bubble *,
.dwt-tour-start {
    box-sizing: border-box;
}

.dwt-tour-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, .6);
    overscroll-behavior: contain;
    touch-action: none;
}

.dwt-tour-highlight {
    position: fixed;
    display: block;
    margin: 0;
    padding: 0;
    border: 2px solid #39FF14;
    border-radius: 12px;
    background: transparent;
    box-shadow:
        0 0 0 4px rgba(57, 255, 20, .16),
        0 0 22px rgba(57, 255, 20, .4);
    pointer-events: none;
    transition:
        top .25s ease,
        left .25s ease,
        width .25s ease,
        height .25s ease;
}

.dwt-tour-highlight:not([hidden]) + .dwt-tour-bubble {
    visibility: visible;
}

.dwt-tour-highlight[hidden],
.dwt-tour-arrow[hidden],
.dwt-tour-back[hidden] {
    display: none !important;
}

.dwt-tour-bubble {
    position: fixed;
    width: min(340px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: 0;
    padding: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-wrap: anywhere;
    color: #fff;
    background: #11161A;
    border: 1px solid rgba(57, 255, 20, .28);
    border-radius: 14px;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, .55),
        0 0 24px rgba(57, 255, 20, .08);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    isolation: isolate;
    overscroll-behavior: contain;
    transition:
        top .25s ease,
        left .25s ease,
        transform .25s ease;
}

.dwt-tour-bubble:focus {
    outline: none;
}

.dwt-tour-bubble.is-centred {
    text-align: center;
}

.dwt-tour-arrow {
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    background: #11161A;
    border: solid rgba(57, 255, 20, .28);
    pointer-events: none;
    transform: rotate(45deg);
}

.dwt-tour-bubble.is-below .dwt-tour-arrow {
    top: -8px;
    border-width: 1px 0 0 1px;
}

.dwt-tour-bubble.is-above .dwt-tour-arrow {
    bottom: -8px;
    border-width: 0 1px 1px 0;
}

.dwt-tour-counter {
    margin: 0 0 8px;
    color: #39FF14;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
}

.dwt-tour-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 8px;
    margin: 0 0 14px;
}

.dwt-tour-bubble.is-centred .dwt-tour-dots {
    justify-content: center;
}

.dwt-tour-dot {
    display: block;
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
    transition:
        width .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.dwt-tour-dot.is-complete {
    background: rgba(57, 255, 20, .55);
}

.dwt-tour-dot.is-active {
    width: 18px;
    background: #39FF14;
    box-shadow: 0 0 9px rgba(57, 255, 20, .55);
}

.dwt-tour-text {
    margin: 0 0 18px;
    color: #fff;
    font: inherit;
}

.dwt-tour-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.dwt-tour-skip,
.dwt-tour-back,
.dwt-tour-next {
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        color .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.dwt-tour-skip {
    margin-right: auto;
    padding-right: 6px;
    padding-left: 6px;
    color: rgba(255, 255, 255, .68);
    background: transparent;
    border: 1px solid transparent;
}

.dwt-tour-back {
    color: #fff;
    background: #20282E;
    border: 1px solid rgba(255, 255, 255, .14);
}

.dwt-tour-next {
    color: #0B0F0C;
    background: #39FF14;
    border: 1px solid #39FF14;
    box-shadow: 0 5px 18px rgba(57, 255, 20, .2);
}

.dwt-tour-skip:hover,
.dwt-tour-skip:active {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.dwt-tour-back:hover,
.dwt-tour-back:active {
    background: #2A353C;
    border-color: rgba(57, 255, 20, .45);
}

.dwt-tour-next:hover,
.dwt-tour-next:active {
    background: #6CFF50;
    border-color: #6CFF50;
    box-shadow: 0 6px 22px rgba(57, 255, 20, .32);
}

.dwt-tour-skip:active,
.dwt-tour-back:active,
.dwt-tour-next:active {
    transform: translateY(1px);
}

.dwt-tour-skip:focus-visible,
.dwt-tour-back:focus-visible,
.dwt-tour-next:focus-visible,
.dwt-tour-start:focus-visible {
    outline: 3px solid rgba(57, 255, 20, .48);
    outline-offset: 2px;
}

.dwt-tour-start {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 12px 0 0;
    padding: 11px 16px;
    color: #39FF14;
    background: #11161A;
    border: 1px solid rgba(57, 255, 20, .5);
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        color .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.dwt-tour-start:hover,
.dwt-tour-start:active {
    color: #0B0F0C;
    background: #39FF14;
    border-color: #39FF14;
    box-shadow: 0 5px 18px rgba(57, 255, 20, .2);
}

@media (max-width: 374px) {
    .dwt-tour-bubble {
        width: calc(100vw - 24px);
        padding: 16px 14px;
        font-size: 15px;
    }

    .dwt-tour-controls {
        gap: 6px;
    }

    .dwt-tour-skip,
    .dwt-tour-back,
    .dwt-tour-next {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 13px;
    }

    .dwt-tour-skip {
        padding-right: 4px;
        padding-left: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dwt-tour-highlight,
    .dwt-tour-bubble,
    .dwt-tour-dot,
    .dwt-tour-skip,
    .dwt-tour-back,
    .dwt-tour-next,
    .dwt-tour-start {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Avisos da app ficam escondidos enquanto o tour está aberto */
html.dwt-tour-ativo .dwt-pop {
    display: none !important;
}
