@use '../mixins/mixins' as *;
@use '../common/var' as *;

@include b(time-range-picker) {
  width: 280px;
  position: relative;
  padding: 16px;

  @include e(content) {
    display: flex;
  }

  @include e(cell) {
    width: 50%;

    &:first-child {
      padding-right: 8px;
    }

    &:last-child {
      padding-left: 8px;
    }
  }

  @include e(header) {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: getCssVar('color-neutral-7');
  }

  @include e(body) {
  }

  .#{$namespace}-time-panel__footer {
    flex-direction: row;
    justify-content: flex-end;
    margin-left: 0;
    margin-right: 0;

    .#{$namespace}-button {
      width: 64px;
      margin-left: 8px;
    }
  }
}
