.ag-grid-widget-frame {
  display: flex;
  width: 100%;
  min-height: 0;
}

.ag-grid-widget-frame > .widget-shell,
.ag-grid-widget-frame > .widget-shell--plain {
  width: 100%;
}

.ag-grid-widget {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.ag-grid-widget__actions {
  justify-content: flex-end;
}

.ag-grid-widget__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  padding-inline: 0;
}

.ag-grid-widget__grid-shell {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.26);
}

.ag-grid-widget__grid-shell .ag-root-wrapper {
  border: 0;
}

.ag-grid-widget__grid-shell .ag-header {
  border-bottom-color: rgba(148, 163, 184, 0.24);
}

.ag-grid-widget__grid-shell .ag-cell,
.ag-grid-widget__grid-shell .ag-header-cell {
  border-right-color: rgba(148, 163, 184, 0.16);
}

@media (max-width: 640px) {
  .ag-grid-widget__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ag-grid-widget__actions .ag-grid-widget__icon-button {
    flex: 0 0 auto;
  }
}
