/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-ripple div {
    position: absolute;
    border: 4px solid #ff4e00;
    opacity: 1;
    border-radius: 50%;
    animation: loader-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loader-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* Scroll to top button */
#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #ff4e00;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    z-index: 99;
    display: none;
}

#scroll-top:hover {
    background-color: #e64500;
}

/* Make sure the button is visible when scrolled down */
#scroll-top.active {
    display: block;
}

/* Hide elements containing unwanted words */
*:has(:is([class],[id]):contains('https://live.themewild.com')), 
*:has(:is([class],[id]):contains('verify')),
*:has(:is([class],[id]):contains('password')),
*:has(:is([class],[id]):contains('profile')) {
    display: none !important;
}

/* Hide text nodes containing unwanted words (for modern browsers) */
body:has(:contains('https://live.themewild.com')),
body:has(:contains('verify')),
body:has(:contains('password')),
body:has(:contains('profile')) {
    visibility: hidden !important;
}
