/* Centering the entire content */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f9; /* Light gray background */
    color: #333;
}

/* Wrapper for the redirect message */
.redirect-container {
    text-align: center;
}

/* Loading Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px; /* Center the spinner */
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* "Redirecting..." Animated Dots */
.ellipsis-animation {
    font-size: 18px;
    color: #666;
    position: relative;
}

.ellipsis-animation::after {
    content: '...';
    animation: dots 1s steps(4, end) infinite;
}

/* Ellipsis Animation */
@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: #666;
        text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow: .25em 0 0 #666, .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow: .25em 0 0 #666, .5em 0 0 #666;
    }
}