.dashboard__section {
  border: 1px solid gray;
  border-radius: 23px;
}

.dashboard__body {
  padding: 0 5px 5px;
}

.dashboard__section:not(:last-child) {
  margin-bottom: 20px;
}

body.dark .dashboard__section {
  /* border-color: $dark-border-gray-color; */
}

body.dark .dashboard__category {
  /* color: $primary-dark-gray-color; */
}

.dashboard__head {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 56px;
  padding: 0 60px 0 20px;
}

.dashboard__head .options {
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.dashboard__head .options {
  right: 20px;
}

.dashboard__category {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Poppins', 'Montserrat',  sans-serif;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 600;
  /* color: $primary-gray-color; */
}

.dashboard__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -30px -15px 0;
  &.column {
    flex-direction: column;
  }
}

.dashboard__list .card {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.333% - 30px);
  flex: 0 0 calc(33.333% - 30px);
  width: calc(33.333% - 30px);
  margin: 30px 15px 0;
}

@media only screen and (max-width: 1599px) {
  .dashboard__list {
    margin: -20px -10px 0;
  }
  .dashboard__list .card {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
    width: calc(33.333% - 20px);
    margin: 20px 10px 0;
  }
}

@media only screen and (max-width: 1199px) {
  .dashboard__list .card {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 767px) {
  .dashboard__list {
    display: block;
    margin: -10px 0 0;
  }
  .dashboard__list .card {
    width: 100%;
    margin: 10px 0 0;
  }
}
