$mainColor: #edebe9;
$hoverColor: #d1d1d1;
$textColor: #000;
$borderColor: #dfdfdf;

.csv__container {
  table {
    font-family: 'Segoe UI', Tahoma, Thonburi, Arial, Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px $borderColor solid;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;

    th {
      background-color: $mainColor;
      color: #6a6969;
      padding: 10px 20px;
      border: 1px $borderColor solid;
    }

    td {
      padding: 5px 20px;
      background-color: #ffffff;
      &:first-child {
        background-color: $mainColor;
        font-weight: lighter;
        color: #6a6969;
        font-size: 0.8em;
      }
    }
  }
}

.csv__table-container {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.csv__button {
  background: none;
  border: none;
  padding: 10px 20px;
  background-color: $mainColor;
  color: $textColor;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: 0.15s background-color cubic-bezier(0.215, 0.61, 0.355, 1);
  cursor: pointer;

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

  p {
    margin: 0 !important;
  }
}

.csv__button--active {
  background-color: $hoverColor;
}
