﻿body {
}
.center-div {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -150px;
}

.spin {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}

.loader {
    margin: auto;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3c8dbc;
    border-bottom: 5px solid #3c8dbc;
    width: 80px;
    height: 80px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.inner-div {
   /* background-color: white;*/
    border-radius: 15px;
    margin: auto;
    padding: 2%;
    width: 150px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blinkingText {
    0% {
        color: #000;
    }

    49% {
        color: #fc0303;
    }

    50% {
        color: #fc0303;
    }

    99% {
        color: #fc0303;
    }

    100% {
        color: #000;
    }
}



@keyframes pulse {
    0% {
        box-shadow: 0 0 5px #007bff;
    }

    50% {
        box-shadow: 0 0 15px #66b2ff;
    }

    100% {
        box-shadow: 0 0 5px #007bff;
    }
}


#progressBar {
    height: 100%;
    background: linear-gradient(90deg, #4f93ff, #00c0ff);
    border-radius: 20px;
    transition: width 0.4s ease-in-out;
    animation: pulse 1.5s infinite;
}

/* Shimmer effect */
@keyframes loadingShimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Optional: Smooth pulse for continuous motion */
@keyframes pulseWidth {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}


/* --- Wave Animation Style --- */
#loadingText {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

    #loadingText span {
        display: inline-block;
        animation: textWave 1.4s ease-in-out infinite;
        transform-origin: bottom center;
    }

@keyframes textWave {
    0%, 100% {
        transform: translateY(0);
        color: #1f2d3d;
    }

    50% {
        transform: translateY(-5px);
        color: #007bff;
    }
}

/* Delay each letter slightly to create smooth wave */
#loadingText span:nth-child(1) {
    animation-delay: 0s;
}

#loadingText span:nth-child(2) {
    animation-delay: 0.05s;
}

#loadingText span:nth-child(3) {
    animation-delay: 0.1s;
}

#loadingText span:nth-child(4) {
    animation-delay: 0.15s;
}

#loadingText span:nth-child(5) {
    animation-delay: 0.2s;
}

#loadingText span:nth-child(6) {
    animation-delay: 0.25s;
}

#loadingText span:nth-child(7) {
    animation-delay: 0.3s;
}

#loadingText span:nth-child(8) {
    animation-delay: 0.35s;
}

#loadingText span:nth-child(9) {
    animation-delay: 0.4s;
}

#loadingText span:nth-child(10) {
    animation-delay: 0.45s;
}

#loadingText span:nth-child(11) {
    animation-delay: 0.5s;
}

#loadingText span:nth-child(12) {
    animation-delay: 0.55s;
}

#loadingText span:nth-child(13) {
    animation-delay: 0.6s;
}

#loadingText span:nth-child(14) {
    animation-delay: 0.65s;
}

#loadingText span:nth-child(15) {
    animation-delay: 0.7s;
}

#loadingText span:nth-child(16) {
    animation-delay: 0.75s;
}




