.front-tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    pointer-events: none;
}

.front-tutorial-spotlight {
    position: fixed;
    z-index: 10051;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.62);
    transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
    pointer-events: none;
}

.front-tutorial-popover {
    position: fixed;
    z-index: 10052;
    width: 300px;
    max-width: calc(100vw - 28px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(24, 26, 34, 0.22);
    padding: 18px 16px 14px;
    pointer-events: auto;
    text-align: start;
}

.front-tutorial-popover .tutorial-close {
    position: absolute;
    top: 10px;
    inset-inline-end: 12px;
    border: 0;
    background: transparent;
    color: #9aa5b1;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.front-tutorial-popover .tutorial-title {
    margin: 0 0 8px;
    padding-inline-end: 22px;
    font-size: 17px;
    font-weight: 800;
    color: #181a22;
}

.front-tutorial-popover .tutorial-text {
    margin: 0 0 14px;
    color: #5c6b7a;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
}

.front-tutorial-popover .tutorial-skip {
    display: block;
    width: 100%;
    margin: -4px 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #95a5a6;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.front-tutorial-popover .tutorial-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.front-tutorial-popover .tutorial-actions .btn {
    flex: 1;
    border-radius: 999px;
    min-height: 38px;
    font-size: 13px;
    font-weight: 800;
}

.front-tutorial-popover .tutorial-actions .btn-next {
    background: var(--brand);
    border: 0;
    color: #fff;
}

.front-tutorial-popover .tutorial-actions .btn-prev {
    background: rgba(var(--brand-rgb), 0.12);
    border: 1px solid rgba(var(--brand-rgb), 0.28);
    color: var(--brand);
}

.front-tutorial-popover .tutorial-progress {
    text-align: center;
}

.front-tutorial-popover .tutorial-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.front-tutorial-popover .tutorial-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d5dde5;
    display: inline-block;
}

.front-tutorial-popover .tutorial-dots span.active {
    background: var(--brand);
}

.front-tutorial-popover .tutorial-step-count {
    font-size: 11px;
    color: #95a5a6;
    font-weight: 700;
}

.front-tutorial-popover.centered {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

.front-tutorial-popover::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.front-tutorial-popover.arrow-top::before {
    top: -18px;
    left: 50%;
    margin-left: -10px;
    border-bottom-color: #fff;
}

.front-tutorial-popover.arrow-bottom::before {
    bottom: -18px;
    left: 50%;
    margin-left: -10px;
    border-top-color: #fff;
}

.top-header-actions .top-help-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
}

@media (max-width: 767px) {
    .front-tutorial-popover {
        width: calc(100vw - 28px);
    }
}
