@use '../../../../mx-core/src/base/shape';
@use '../../../../mx-core/src/base/typography';

:host {
  @extend .rounded-x-sm;
  box-sizing: border-box;
  display: block;
  width: auto;
  height: auto;

  .mat-ripple {
    height: 100%;
    width: auto;
  }
}

.mx-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  height: 52px;
  padding: 0 8px 0 16px;

  &__title {
    @extend .gl-title-md;
    flex: 1;
    vertical-align: middle;
  }

  &__left-actions,
  &__right-actions {
    display: flex;
    align-items: center;
  }
}

.mx-widget-content {
  padding: 16px;
}
