.animated-border {
    position: relative;
    background-color: var(--bulma-body-background-color);
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.animated-border::after, .animated-border::before {
    content: "";
    position: absolute;
    height: calc(100% + 4px);
    width: calc(100% + 4px);
    background-image: conic-gradient(from var(--angle), transparent 50%, var(--bulma-primary));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    border-radius: 12px;
    animation: 3s spin linear infinite;
}

.animated-border::before {
    filter: blur(5px);
    opacity: 0.5;
}

@keyframes spin{
    from{
        --angle: 0deg;
    }
    to{
        --angle: 360deg;
    }
}

.progress::-webkit-progress-value {
    transition: inline-size 1s ease;
}

.is-loading-custom::after {
    animation-duration: 1.5s !important;
    width: 100px !important;
    height: 100px !important;
    top: 0 !important;
    inset-inline-end: 0 !important;
    border: 2px solid white !important;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
}
