/* Custom Heart Loader - Project Wide */
.loader {
    width: 50px;
    aspect-ratio: 1;
    color: #dc1818;
    background:
        radial-gradient(circle at 60% 65%, currentColor 62%, #0000 65%) top left,
        radial-gradient(circle at 40% 65%, currentColor 62%, #0000 65%) top right,
        linear-gradient(to bottom left, currentColor 42%, #0000 43%) bottom left,
        linear-gradient(to bottom right, currentColor 42%, #0000 43%) bottom right;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
}

.loader:after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.4;
    animation: heartPulse 1s infinite;
}

@keyframes heartPulse {
    to {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Legacy spinkit classes - redirected to new loader */
.sk-fold,
.sk-fold-cube,
.sk-spinner,
.sk-three-bounce,
.sk-wandering-cubes {
    display: none;
}

/* Page loader container */
#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}