/* Page Transition Styles */
.page-content {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 1;
}

.page-content.fade-out {
    opacity: 0;
    transform: translateX(-100%);
    /* Slide-out animation */
}

.page-content.fade-in {
    opacity: 1;
    transform: translateX(0);
    /* Slide-in animation */
}

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.exporting-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

#loader-text {
    color: #FFFFFF;
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.3px;
    animation: fadeText 3s infinite;
}

.loader-icon {
    color: #FFFFFF;
    font-size: 1.6em;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.7s infinite ease-in-out both;
}

.dot:nth-child(2) {
    animation-delay: -0.2s;
}

.dot:nth-child(3) {
    animation-delay: -0.4s;
}

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

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

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes fadeText {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}