html, body {
    height: 100%;
}

body {
    margin: 0;
    font-size: var(--dxds-font-size-body-1);
    font-family: var(--dxds-font-family-sans-serif);
    font-weight: var(--dxds-font-weight-body-1);
    line-height: var(--dxds-line-height-body-1);
    letter-spacing: var(--dxds-letter-spacing-body-1);
    color: var(--dxds-color-content-neutral-default-rest) !important;
    background-color: var(--dxds-color-surface-neutral-subdued-rest) !important;
}

*, ::after, ::before {
    box-sizing: border-box
}

/* Compensate for column gap on the right side */
 .catalog-grid-layout .dxbl-gridlayout-root {
    padding-right: 1rem;
}

.icon {
    opacity: 0.7;
    background-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 100% 100%;
    background-color: currentColor;
}

/* Connection card hover effects - global styles */
.connection-card:hover {
    outline: none !important;
    border-color: var(--bs-primary) !important;
    border-width: 1px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    background: rgba(0, 123, 255, 0.03) !important;
}

.small-size .medium-icon {
    width: 1rem;
    height: 1rem;
}

.medium-size .medium-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.large-size .medium-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.small-size .avatar {
    width: 1.5rem;
    height: 1.5rem;
}

.medium-size .avatar {
    width: 2rem;
    height: 2rem;
}

.large-size .avatar {
    width: 2.5rem;
    height: 2.5rem;
}

.icon.small-icon {
    width: 0.75rem;
    height: 0.75rem;
}

.notification {
    position: relative;
}

    .notification::after {
        content: attr(notification-count) / "";
        color: white;
        display: flex;
        position: absolute;
        top: 0;
        left: 5%;
        font-size: 0.8em;
        width: 1.2em;
        height: 1.2em;
        border-radius: 50%;
        background-color: red;
        align-items: center;
        justify-content: center;
    }

.dropdown-no-padding {
    --dxbl-dropdown-body-padding-x: 0;
    --dxbl-dropdown-body-padding-y: 0;
}

@media (min-width: 899.98px) {
    .pw-800 {
        max-width: 800px !important;
        width: 800px !important;
    }
}

.loading-panel {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loading-panel > .loader {
        display: flex;
        align-items: center;
    }

        .loading-panel > .loader > .spinner {
            width: 2rem;
            height: 2rem;
            border: 0.25rem solid color-mix(in sRGB, var(--dxds-color-surface-primary-default-rest) 30%, transparent);
            border-bottom-color: var(--dxds-color-surface-primary-default-rest);
            border-radius: 50%;
            display: inline-block;
            box-sizing: border-box;
            animation: rotation 0.75s linear infinite;
        }

        .loading-panel > .loader > .label {
            color: var(--dxds-color-content-neutral-default-rest);
            font-size: var(--dxds-font-size-subtitle-2);
            font-weight: var(--dxds-font-weight-subtitle-2);
            margin-left: 0.75rem;
        }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
