@import '~styles/mixins';

.date-range-picker {
  font-family: $font;
  border-radius: $border_radius;
  overflow: hidden;
}

.dropdown {
  width: 100%;
}

.bottom {
  border-top: 1px solid $color-border;
  padding: 10px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  .action {
    color: $color_primary;
    padding: 6px 20px;
    min-width: 70px;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;

    border-radius: 4px;
    text-transform: capitalize;
    border: 2px solid $color_border;
    cursor: pointer;

    &:hover {
      background-color: rgba($color: $color_primary, $alpha: 0.1);
    }
  }
}

:global .rdrCalendarWrapper {
  max-width: 100%;
}
