/* Własne style css */

.gl-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    flex: 0 0 auto;
    /*object-fit: contain;*/
}

#global-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    opacity: 0;
    pointer-events: none;

    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);

    transition: opacity 0.3s ease;
}

#global-loader.visible {
    opacity: 1;
    pointer-events: all;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--tw-gray-300);
    border-top-color: var(--tw-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.com-container {
    border-radius: 0.375rem;
}

.com-main-content {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.com-answer-content {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}