// (C) 2025 GoodData Corporation

.gd-ui-ext-automation-icon-tooltip {
    color: var(--gd-palette-complementary-8);
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 5px;
    width: 220px;
    $root: &;
    -webkit-font-smoothing: antialiased;

    &__header {
        font-size: 14px;
        font-weight: 700;
        line-height: 23px;
    }

    &__sub-header {
        margin-top: 5px;
        margin-bottom: 3px;
        font-size: 10px;
        line-height: 100%;
        color: var(--gd-palette-complementary-6);
    }

    &__content {
        color: var(--gd-palette-complementary-8);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        line-height: 19px;

        &-header {
            color: var(--gd-palette-complementary-7);
            font-size: 14px;
            margin-top: 5px;
        }

        &:hover {
            #{$root}__icon-button {
                opacity: 1;
            }
        }
    }

    &__content-inner-truncated {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    &__icon-button {
        opacity: 0;
        transition: var(--gd-transition-all);
    }

    &__recipients-list,
    &__starts-on {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
}

.gd-ui-ext-automation-menu-item {
    -webkit-font-smoothing: antialiased;
    min-width: 150px;

    &--disabled {
        span {
            color: var(--gd-palette-complementary-4);
        }
    }
}
