*.hidden {
    display: none !important;
}

div.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8) !important;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wyłącz efekt grayscale dla elementów wewnątrz loadera */
div.loading * {
    filter: none !important;
}

@keyframes spinner-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.uil-ring-css {
    margin: auto;
    position: relative;
    width: 60px;
    height: 60px;
}

.uil-ring-css > div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-top: 4px solid #17a2b8 !important;
    border-right: 4px solid #d9d9d9;
    border-bottom: 4px solid #d9d9d9;
    border-left: 4px solid #d9d9d9;
    border-radius: 50%;
    animation: spinner-rotate 0.8s linear infinite;
    box-sizing: border-box;
}
