.ef-guided-tour-root {
    position: fixed;
    inset: 0;
    z-index: 11000;
    pointer-events: none;
}

.ef-guided-tour-overlay-piece {
    position: fixed;
    background: rgba(13, 24, 38, 0.62);
    pointer-events: auto;
    transition: all 180ms ease;
}

.ef-guided-tour-highlight {
    position: fixed;
    border: 2px solid #17a2b8;
    border-radius: 10px;
    box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.22), 0 6px 22px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    transition: all 180ms ease;
}

.ef-guided-tour-card {
    position: fixed;
    width: min(380px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
    color: #2f3b46;
    pointer-events: auto;
}

.ef-guided-tour-counter {
    margin-bottom: 6px;
    color: #6c757d;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ef-guided-tour-title {
    margin: 0 0 9px;
    color: #126b88;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
}

.ef-guided-tour-content {
    font-size: 0.94rem;
    line-height: 1.5;
}

.ef-guided-tour-content p:last-child {
    margin-bottom: 0;
}

.ef-guided-tour-waiting {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 9px 10px;
    background: #eef9fb;
    border-radius: 8px;
    color: #126b88;
    font-size: 0.85rem;
    font-weight: 600;
}

.ef-guided-tour-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
}

.ef-guided-tour-actions-left,
.ef-guided-tour-actions-right {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ef-guided-tour-card .btn {
    white-space: nowrap;
}

.ef-guided-tour-trigger {
    margin-left: 9px;
    padding: 5px 10px;
    border: 1px solid #d8e1e7;
    border-radius: 999px;
    background: #fff;
    color: #50616d;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.ef-guided-tour-trigger:hover,
.ef-guided-tour-trigger:focus {
    background: #f4f8fa;
    color: #126b88;
    outline: none;
}

@media (max-width: 767.98px) {
    .ef-guided-tour-card {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        top: auto !important;
        width: auto;
        max-height: 48vh;
        padding: 15px;
    }

    .ef-guided-tour-actions {
        align-items: flex-end;
    }

    .ef-guided-tour-actions-left,
    .ef-guided-tour-actions-right {
        flex-wrap: wrap;
    }

    .ef-guided-tour-trigger {
        margin-left: 6px;
    }
}
