.tour-overlay {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow-y: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.tour-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.tour-step {
    pointer-events: initial;
    display: block;
    visibility: hidden;
    position: absolute;
    background: #ffffff;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    border-radius: 10px;
    height: auto;
    width: 80%;
    max-width: 400px;
}

.tour-step h3 {
    width: calc(100% - 20px);
}

.cancel-icon {
    position: absolute;
    top: 16.7px;
    right: 19.2px;
    cursor: pointer;
}

.tour-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.back-button,
.next-button {
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin-left: 10px;
}

.back-button {
    background-color: #007bff;
}

.next-button {
    background-color: #28a745;
}

#step2.tour-step::before {
    content: '';
    position: absolute;
    top: calc(50% - 10px);
    left: -20px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent ;
}

#step3.tour-step::before {
    content: '';
    position: absolute;
    top: -20px;
    left: calc(50% - 10px);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

#step4.tour-step::before {
    content: '';
    position: absolute;
    left: calc(50% - 10px);
    bottom: -20px;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

#step5.tour-step::before {
    content: '';
    position: absolute;
    left: calc(50% - 10px);
    bottom: -20px;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent ;
}

#step6.tour-step::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -20px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent ;
}

@media (max-width: 800px) {
    .tour-step {
        width: 80%;
    }

    #step2.tour-step::before {
        content: '';
        position: absolute;
        top: -20px;
        left: calc(50% - 10px);
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent #fff transparent;
    }

    #step4.tour-step::before {
        content: '';
        position: absolute;
        bottom: unset;
        top: -20px;
        left: calc(50% - 10px);
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent #fff transparent;
    }

    #step6.tour-step::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 25%;
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent #fff transparent;
    }
}

#data-warning {
    top: 50vh;
    left: auto;
    transform: translateY(-50%);
}
