/* Preloader styles from Uiverse.io by JaydipPrajapati1910 */
.loader {
    position: fixed;
    top: 45%;
    left: 45%;
    width: 130px;
    height: 130px;
    border: 3px solid #001f3f;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: -5px -5px 5px rgba(255, 255, 255, 0.1),
        10px 10px 10px rgba(0, 0, 0, 0.4),
        inset -5px -5px 5px rgba(255, 255, 255, 0.2),
        inset 10px 10px 10px rgba(0, 0, 0, 0.4);

}

.loader:before {
    content: "";
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    z-index: 10;
    background: url("/assets/web/img/loader.png") no-repeat center center;
    background-size: cover;
    /* or use 'contain' based on preference */
    border-radius: 50%;
    border: 2px solid #292929;
    box-shadow: inset -2px -2px 5px #2f2c44,
        inset 3px 3px 5px #001f3f;
}


.loader span {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: linear-gradient(-225deg,
            #ff7402 0%,
            #ffe700 50%,
            #fff55e 100%);
    filter: blur(20px);
    z-index: -1;
    animation: animate 0.5s linear infinite;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Optional: Style your main content */
.main-content {
    text-align: center;
    padding: 20px;
}