.shepherd-button:focus-visible,
.shepherd-button:focus,
.shepherd-cancel-icon:focus-visible,
.shepherd-cancel-icon:focus {
    outline: none !important;
    box-shadow: none !important;
}

.shepherd-button {
    background: #FFFFFF;
    /*border: 2px #FBB040 solid;*/
    margin: 5px 5px;
    border-radius: 8px;
    cursor: pointer;
    padding: .3rem .7rem;
    transition: all .5s ease;
    /*color: #000;*/
    color: #222222;
}

.tour-counter {
    color: #D9D9D9 !important;
}

.shepherd-button.shepherd-button-secondary {
    color: rgba(0, 0, 0, .75)
}

.shepherd-button.shepherd-button-secondary:not(:disabled):hover {
    color: rgba(0, 0, 0, .75)
}

.shepherd-button:disabled {
    color: #646474;
    cursor: not-allowed
}

.animated-arrow-tour {
    animation: moveRight 1.2s ease-in-out infinite alternate;
}

@keyframes moveRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(4px); /* small rightward motion */
    }
}

.shepherd-footer {
    display: flex;
    justify-content: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0 .75rem .75rem;
    direction: rtl;
}

.shepherd-footer .shepherd-button:first-child {
    margin-right: 0;

}

.shepherd-cancel-icon {
    background: transparent;
    border: none;
    color: hsla(0, 0%, 50%, .75);
    cursor: pointer;
    font-size: 2em;
    font-weight: 400;
    margin: 0;
    padding: 0;
    transition: color .5s ease
}

.shepherd-cancel-icon:hover {
    color: rgba(0, 0, 0, .75)
}

.shepherd-has-title .shepherd-content .shepherd-cancel-icon {
    color: #dc3545;
}

.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover {
    color: #dc3545cc;
}

.shepherd-title {
    text-align: right !important;
    font-size: 18px;
    color: #F9B233 !important;
    display: block;
    flex: 1 0 auto;
    font-weight: 400;
}

.shepherd-header {
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: flex-end;
    line-height: 2em;
    padding: .75rem .75rem 0
}

.shepherd-has-title .shepherd-content .shepherd-header {
    /* background-color: var(--primary-engloset-color); */
    flex-direction: row-reverse !important;
    background-color: #FFFFFF;
    padding: 15px 35px 15px 20px;
}


.shepherd-text::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.shepherd-text::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.shepherd-text::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: darkgrey;
    outline: 1px solid slategrey;
    /* box-shadow: inset 0 0 1px rgb(0 0 0 / 80%);     */
}

.shepherd-text {
    color: #646474;
    font-size: 1rem;
    line-height: 1.3em;
    padding: 0 30px 15px 35px;
    text-align: justify !important;
    max-height: 500px;
    height: 100%;
    overflow-x: hidden;
    direction: rtl;
}

.shepherd-text p {
    margin-top: 0
}

.shepherd-text p:last-child {
    margin-bottom: 0
}



/*.shepherd-button-arrow {*/
/*    background: none !important;*/
/*    border: none !important;*/
/*    font-size: 20px !important;*/
/*    padding: 8px 12px !important;*/
/*    cursor: pointer;*/
/*    color: #666;*/
/*    transition: color 0.2s;*/
/*}*/

/*.shepherd-button-arrow:hover {*/
/*    color: #333 !important;*/
/*}*/

/*.shepherd-button-arrow:disabled {*/
/*    color: #ccc !important;*/
/*    cursor: not-allowed;*/
/*}*/

/*.shepherd-footer {*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*    justify-content: space-between !important;*/
/*    padding: 15px 20px !important;*/
/*}*/

/*.tour-counter {*/
/*    font-size: 14px;*/
/*    color: #666;*/
/*    font-weight: 500;*/
/*}*/




.shepherd-content {
    /*background-color:#222222;*/
    background-color:#FFFFFF;
    font-family: 'IRANSans';
    /*font-family: Yekan Bakh FaNum;*/
    /*font-family: IRANYekanXFaNum,'Open Sans';*/

    border-radius: 15px;
    outline: none;
    padding: 0;
    font-size: 16px;
}

.shepherd-element {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    max-width: 400px;
    opacity: 0;
    outline: none;
    transition: opacity .5s ease-in-out, visibility .5s ease-in-out, transform 0.5s ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: 9999;
    transform: translateY(-10px);
}

.shepherd-enabled.shepherd-element {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shepherd-element[data-popper-reference-hidden]:not(.shepherd-centered) {
    opacity: 0;
    pointer-events: none;
    visibility: hidden
}

.shepherd-element,
.shepherd-element *,
.shepherd-element :after,
.shepherd-element :before {
    box-sizing: border-box
}

.shepherd-arrow,
.shepherd-arrow:before {
    height: 16px;
    position: absolute;
    width: 16px;
    z-index: -1
}

.shepherd-arrow:before {
    background: #fff;
    content: "";
    transform: rotate(45deg)
}

.shepherd-element[data-popper-placement^=top]>.shepherd-arrow {
    bottom: -6px
}

.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow {
    top: -6px
}

.shepherd-element[data-popper-placement^=left]>.shepherd-arrow {
    right: -6px
}

.shepherd-element[data-popper-placement^=right]>.shepherd-arrow {
    left: -6px
}

.shepherd-element.shepherd-centered>.shepherd-arrow {
    opacity: 0
}

.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before {
    background-color: #FFFFFF;
    border-radius: 3px;
}

.shepherd-target-click-disabled.shepherd-enabled.shepherd-target,
.shepherd-target-click-disabled.shepherd-enabled.shepherd-target * {
    pointer-events: none
}

.shepherd-modal-overlay-container {
    height: 0;
    left: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: all .3s ease-out, height 0ms .3s, opacity .3s 0ms;
    width: 100vw;
    z-index: 9997
}

.shepherd-modal-overlay-container.shepherd-modal-is-visible {
    height: 100vh;
    opacity: .4 !important;
    transition: all .3s ease-out, height 0s 0s, opacity .3s 0s
}

.shepherd-modal-overlay-container.shepherd-modal-is-visible path {
    pointer-events: all
}

.shepherd-element {
    width: 90%;
}

.shepherd-centered {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    margin: 0px !important;
    transform: translate(-50%, -50%) !important;
}

.shepherd-button, .shepherd-button-secondary {
    border: unset;
    outline: unset;
}

.shepherd-element.offset-top { margin-top: 15px; }
.shepherd-element.offset-bottom { margin-bottom: 15px; }
.shepherd-element.offset-right { margin-right: 15px; }
.shepherd-element.offset-left { margin-left: 15px; }