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

  .card-header h4 {
    font-size: 18px;
  }
}

i.text-primary {
  color: #4fc9da !important;
}

i.text-warning {
  color: #e8c444 !important;
}

#dashboard-summaries .card-body {
  padding: 2rem 2.25rem;
}

#dashboard-posts {
  grid-template-columns: 1fr !important;

  --post-row-columns: 100px 1fr 140px;

  & .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-color: #e8e5dd;
    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;
  }

  & tbody {
    display: block;
    border-top: none !important;
  }

  & .header-row,
  & tr {
    display: grid;
    grid-template-columns: var(--post-row-columns);
    background-color: #f8f6f2;

    > * {
      padding-top: 1rem;
      padding-bottom: 1rem;
      padding-left: 0;
      padding-right: 0;

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

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

  & table {
    display: block;
  }

  & td {
    display: block;

    &.id-cell {
      text-align: center;
    }
  }

  & tr {
    border-bottom: 1px solid #eaeaea !important;
    background-color: #fdfcfb !important;

    & * {
      background-color: #fdfcfb !important;
      font-size: 13px;
      color: #211f1c;
    }

    &.notice {
      background-color: #dcf4f8 !important;

      & * {
        background-color: #dcf4f8 !important;
      }

      & .id-cell {
        color: #f06445 !important;
      }
    }

    & .btn.btn-sm.btn-primary {
      display: none !important;
    }

    & a {
      color: #4fc9da !important;
      transition: color 0.2s ease, background-color 0.2s ease;

      &:hover {
        color: #26a5b6;
      }
    }
  }

  & table:last-child tr:last-child {
    border-bottom: none !important;
  }
}
