// (C) 2026 GoodData Corporation

.gd-ui-kit-restricted-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 var(--gd-spacing-20px);
    box-sizing: border-box;
    overflow: hidden;
    color: var(--gd-palette-complementary-7);
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    &__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--gd-spacing-5px);
        // the reason survives a tile too short for the rest, rather than being centred out of it
        min-height: 0;

        &:focus-visible {
            outline: 2px solid var(--gd-palette-primary-base);
            outline-offset: var(--gd-spacing-5px);
        }
    }

    &__text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    &__title {
        margin: 0;
        color: inherit;
        font-size: 14px;
        font-weight: 700;
        line-height: 23px;
    }

    &__description {
        margin: 0;
        color: inherit;
        font-size: 14px;
        font-weight: 400;
        line-height: 23px;
    }
}
