.scroll-hidden {
    overflow: hidden;
}

/* New Custom Paylix Loader Styles */
.loader-initial {
    width: 68px !important;
    height: 68px !important;
    z-index: 9;
}

/* Trace animation for initial loader */
@keyframes trace-initial {
    0% {
        stroke-dasharray: 3000;
        stroke-dashoffset: 6000;
        opacity: 0.9;
    }
    100% {
        stroke-dasharray: 3000;
        stroke-dashoffset: 0;
        opacity: 0.9;
    }
}

.animate-trace-initial {
    animation: trace-initial 3s ease-in-out infinite;
}

/* Glow animation for initial loader */
@keyframes glow-initial {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.animate-glow-initial {
    animation: glow-initial 2s ease-in-out infinite;
}

/* Pulse animation for initial loader */
@keyframes pulse-initial {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.animate-pulse-initial {
    animation: pulse-initial 2s ease-in-out infinite;
}

/* Legacy loader styles - keeping for compatibility */
.new-loader-new-loader {
    position: absolute;
    font-size: 10px;
    margin: 0 auto;
    text-indent: -9999em;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--purple5);
    background: linear-gradient(to right, #8164ee 10%, rgba(255, 255, 255, 0) 42%);
    animation: load3 1.5s infinite linear;
    transform: translateZ(0);
    z-index: -1;
    top: -2px;
    right: -2px;
}

.new-loader-new-loader:before {
    width: 50%;
    height: 50%;
    background: var(--purple5);
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.new-loader-new-loader:after {
    background: transparent;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#loader {
    display: flex;
    flex-direction: column;
    opacity: 1;
    position: fixed;
    z-index: 99999999999999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: #0A1730;
    transition: opacity 1s ease-in;
    overflow: hidden;
}

.new-loader {
    display: flex;
    flex-direction: column;
    opacity: 1;
    position: fixed;
    z-index: 99999999999999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in;
    overflow: hidden;
}

.new-loader-wrapper {
    padding: 1rem 0;
}

.new-loader-text {
    font-family: sans-serif;
    margin-top: 1rem;
    color: #555D67;
    color: #777F89;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.new-loader-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 68px;
    height: 68px;
    margin: 0 auto;
    position: relative;
}

.new-loader-paylixecommerce {
    position: absolute;
    background-color: white;
    border-radius: 100%;
}

#spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#spinner img {
    animation-name: spin;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1.5s;
    width: 35px !important;
    height: 35px !important;
    z-index: 9;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
