require('../../utils/styles/colors.js');
@import 'src/utils/styles/common.scss';

.requests {
  margin: 30px 0;
}

.requestsSearch {
  margin-top: 165px;
}

.emptyWrapper {
  background-color: $white;
  border: 2px solid $grey_000;
  border-radius: 6px;
  padding: 50px 0;
  margin: 50px 0;
  display: flex;
  justify-content: center;

  .emptyText {
    color: $textDark;
    font-size: 20px;
    font-weight: normal;
    margin: 0;
  }
}

.requestWrapper {
  padding: 0 30px 30px;
}

.actionWrapper {
  padding: 0 50px 32px 0;
  display: flex;
  justify-content: flex-end;
}

.organizationActionWrapper {
  padding: 0 0 32px 50px;
  display: flex;
  justify-content: space-between;
}

.newButton {
  margin-right: 50px;
  outline: none;
  cursor: pointer;
  background-color: $purple_400;
  font-size: 14px;
  color: $white;
  padding: 5px 20px;
  border: none;
  border-radius: 20px;

  &:hover {
    background-color: $purple_500;
  }
}

@media (max-width: 575px) {
  .emptyWrapper {
    margin: 50px 50px;
  }
}

@media (max-width: 500px) {
  .requests {
    .organizationActionWrapper,
    .actionWrapper {
      flex-direction: column-reverse;
      padding: 0;
      margin-bottom: 20px;
      align-items: center;

      .newButton {
        margin: 0 0 30px 0;
      }
    }

    .emptyWrapper {
      .emptyText {
        font-size: 18px;
      }
    }
  }
}

@media (max-width: 440px) {
  .requests {
    .emptyWrapper {
      margin: 50px 30px;
      .emptyText {
        font-size: 14px;
      }
    }
  }
}