/* Responsive Table - Option 2 */

@media (max-width: 767px) {
  .table-responsive-mobile, .table-responsive-mobile tbody, .table-responsive-mobile tr, .table-responsive-mobile td {
    display: block;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .table-responsive-mobile thead {
    display: none;
  }
}

@media (max-width: 767px) {
  .table-responsive-mobile tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .table-responsive-mobile td {
    padding: 0.75rem;
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-top: 1px solid #dee2e6;
  }
}

@media (max-width: 767px) {
  .table-responsive-mobile td:first-child {
    border-top: none;
  }
}

@media (max-width: 767px) {
  .table-responsive-mobile td::before {
    content: attr(data-label);
    position: absolute;
    left: 0.75rem;
    font-weight: 600;
    text-align: left;
    width: 45%;
  }
}

@media (max-width: 767px) {
  .table-responsive-mobile.table-striped tbody tr {
    background-color: #fff;
  }
}

@media (max-width: 767px) {
  .table-responsive-mobile.table-striped tbody tr td {
    background-color: transparent;
  }
}

@media (min-width: 768px) {
  .table-responsive-mobile {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .table-responsive-mobile td::before {
    display: none;
  }
}

