
.page-loaders {
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
}

.loading-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Logo container */

.pdx-logo-loader {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
}

/* Animated circular ring */

.pdx-logo-loader::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 50%;
    border: 3px solid #e5f1ee;
    border-top-color: #109979;
    border-right-color: #1C2B59;

    animation: pdx-loader-spin 1.5s linear infinite;
}

/* Logo */

.pdx-loader-logo {
    width: 85px;
    max-height: 85px;
    height: auto;
    object-fit: contain;

    position: relative;
    z-index: 1;

    animation: pdx-logo-fade 2s ease-in-out infinite;
}

/* Loading text */

.pdx-loading-text {
    font-size: 15px;
    font-weight: 500;
    color: #1C2B59;
    white-space: nowrap;
    letter-spacing: 0;
}

/* Animations */

@keyframes pdx-loader-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pdx-logo-fade {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.75;
        transform: scale(0.96);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdx-logo-loader::before,
    .pdx-loader-logo {
        animation: none;
    }
}
