.card {
  background-color: #fdfcfb;
  color: #000;
  border: 1px dashed #eff2f5 !important;
  box-shadow: none !important;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 70px;
  padding: 0 2.25rem;
  background-color: transparent;
  border-bottom: 1px dashed #eff2f5;
  border-radius: calc(0.95rem - 1px) calc(0.95rem - 1px) 0 0;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;

  * {
    font-size: 14px;
  }

  h4 {
    margin: 0;
  }
}

.card-body {
  padding: 0;
  padding-bottom: 24px;

  &.with-padding {
    padding: 2rem 2.25rem !important;
  }

  & .row {
    margin: 0;

    > * {
      padding: 0;
    }
  }

  & table tr {
    border-bottom: 1px dashed #eaeaea !important;

    &:last-child {
      border-bottom: none;
    }

    & td,
    & th {
      padding-top: 1rem;
      padding-bottom: 1rem;
      padding-left: 0;
      padding-right: 0;
      background-color: #fdfcfb !important;
      border-right: 0 !important;
      color: #333 !important;

      & a:not(.custom-button) {
        color: #4fc9da !important;
      }

      &:first-child {
        padding-left: 2.25rem;
        padding-right: 0;
      }

      &:last-child {
        padding-right: 2.25rem;
        padding-left: 0;
      }
    }
  }

  thead {
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  tbody {
    border-top: 0 !important;
  }
}

.card-body > .row.grid-2 {
  padding: 2rem 2.25rem !important;
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 16px;

  > div {
    width: 100% !important;
  }
}

.card-body > .row.grid-2.single {
  grid-template-columns: 1fr !important;
}

@media (max-width: 1200px) {
  .card-body > .row.grid-2 {
    grid-template-columns: 1fr;
  }
}
