.bonusero-admin-header {
  display: flex;
  align-items: center;
  margin-left: -20px;
  padding: 24px;
  color: #cbd5e1;
  background-color: #344054;

  &::before {
    content: 'BONUSERO';
    display: block;
    margin-right: 8px;
    padding: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    background-image: linear-gradient(60deg, #082f49, #0c4a6e);
    border-radius: 6px;
  }

  &::after {
    content: attr(version);
    position: absolute;
    right: 32px;
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #cacfd3;
  }

  & h1 {
    margin-top: 0;
    margin-bottom: 0;
    color: #cbd5e1;
  }
}

.bonusero-admin-content {
  max-width: 1200px;
  margin-top: 32px;
  margin-right: 32px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #c4c5c8;
  border-radius: 6px;

  & ul, & ol {
    margin: 0;
  }

  & details.bs-note {
    display: inline;
    padding: 16px 32px 16px 16px;
    background-color: #e2e8f0;
    border-radius: 4px;

    &[open] {
      display: block;
    }

    & hr {
      margin: 16px 0;
    }

    & ul {
      list-style-type: circle;
      padding-left: 12px;

      & li {
        margin-bottom: 0;
      }
    }
  }

  & details.bs-accordion {
    display: block;
    margin-bottom: 16px;

    & summary {
      display: block;
      margin-bottom: 16px;
      padding: 4px 16px;
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      background-color: #e2e8f0;
      border-radius: 4px;
      cursor: pointer;
    }
  }

  .action-wrapper {
    margin-top: 0;
    margin-bottom: 24px;
  }

  .desc {
    display: block;
    margin-bottom: 6px;
  }

  .result {
    display: block;
    margin-top: 12px;
    font-weight: 700;
  }
}

.bonusero-data-table {
  border-radius: 4px;

  & > tbody > :nth-child(2n+1) {
    background-color: #f1f5f9;
  }

  & td, & th {

    &.id-column {
      width: 2rem;
    }

    &.name-column {
      width: 16rem;
    }

    &.bonus-column {
      width: 20rem;
    }

    &.logo-column {
      position: relative;
      width: 3.6rem;

      & img {
        display: block;
        width: 3.6rem;
        margin-right: 0.5rem;
        border: 1px solid #c4c5c8;
        border-radius: 6px;
      }

      & span {
        position: absolute;
        top: 0;
        left: 16px;
        padding: 2px 4px;
        line-height: 1;
        background-color: #fff;
        border-radius: 4px;
      }
    }

    &.star-column {
      width: 24px;
      text-align: center;
    }

    .with-col-icon {
      & svg {
        width: 16px;
        height: 16px;
        margin-right: 4px;
        stroke: #5988a3;
        stroke-width: 1.6px;
      }
    }
  }

}

.bonusero-data-table-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bonusero-data-table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.button-bonusero__fixed-width {
  width: 280px;
  text-align: left;
}

.tippy-trigger {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.tippy-ref {
  display: none;
}

.bonusero-log {
  display: block;
  max-height: 600px;
  padding: 4px 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow-x: auto;
}

.skeleton {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #e2e8f0;
  }

  &::after {
    content: 'Missing API Token';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
  }
}

.font-normal {
  font-weight: 400;
}

.font-bold {
  font-weight: 700;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-start {
  justify-content: start;
}

.justify-end {
  justify-content: end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}
