.td-fullscreen-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
}

.td-fullscreen-loader img {
    width: 150px;
    animation: td-pulse 1.4s ease-in-out infinite;
}

.td-spinner {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 4px solid #e6e6e6;
    border-top-color: var(--secondary-color, #D11A2E);
    border-right-color: var(--primary-color, #2A156D);
    animation: td-spin 0.8s linear infinite;
}

.td-fullscreen-loader .td-loader-text {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-color, #2A156D);
}

.td-bottom-spinner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 1900;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 100px;
    background: var(--primary-color, #2A156D);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    animation: td-fade-up 0.25s ease;
}

.td-bottom-spinner .td-spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-right-color: var(--secondary-color, #D11A2E);
}

@keyframes td-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes td-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@keyframes td-fade-up {
    from {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .td-spinner,
    .td-fullscreen-loader img,
    .td-bottom-spinner {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}
