/* Create breakpoints for all devices */
@media (max-width: 1152px) {
  #front-end .content {
    width: 100%;
  }
  #front-end .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 0px;
    justify-content: space-between;
  }
  #front-end .cards .card {
    width: 49%;
    margin: 0;
  }
  #front-end .report-defect label {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  #front-end .flex {
    flex-wrap: wrap; 
  }
  #front-end .cards .card {
    width: 100%;
    margin: 0;
  }

  #front-end h1 {
    font-size: 1.5em;
  }

  #front-end table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: auto;
  }
  #front-end table.styled-table th, 
  #front-end table.styled-table td {
    font-size: .8em;
    text-align: center;
  }
  #front-end table.styled-table .action-btns a {
    font-size: 1em;
    line-height: 1.1;
    width: auto;
  }

  #front-end .report-defect-selection .col {
    width: 50%;
    padding-right: 10px;
  }
  #front-end .report-defect label {
    margin-top: 10px;
  }
  #front-end .report-defect-selection .col:after {
    top: 49px;
  }
}

@media screen and (max-width: 650px) {
  #front-end table {
    border: 0;
  }

  #front-end .content-wrapper {
    padding: 0;
  }

  #front-end table caption {
    font-size: 1.3em;
  }
  
  #front-end table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  #front-end table tr {
    display: block;
    margin-bottom: .625em;
  }

  #front-end table.styled-table tr {
    border: none;
  }
  
  #front-end table td {
    display: block;
    font-size: .8em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #front-end table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }

  #front-end table.followup_table td {
    border: 1px solid #dadada;
    border-bottom: 0;
  }
  #front-end table.followup_table td:last-child {
    border-bottom: 1px solid #dadada;
  }
  #front-end table.styled-table td a {
    display: contents;
  }
  #front-end table.styled-table td:first-child {
    border-left: 1px solid #dadada;
    border-top: 1px solid #dadada;
  }
  #front-end table.styled-table td:last-child {
    border-right: 1px solid #dadada;
  }
  #front-end table.styled-table td .followup {
    text-align: center;
  }
}

@media (max-width: 600px) {
  #front-end #header .content {
    padding: 10px;
  }
  #front-end #header .row {
    flex-direction: column;
  }
  #front-end #header .col-md-2 {
    width: 100%;
    margin-bottom: 5px;
    text-align: center;
  }
  #front-end #header .account-icon {
    margin-top: 10px;
  }
  #front-end #header img {
    max-width: 120px;
  }
}

@media (max-width: 425px) {
  #front-end .cards .card h3 {
    font-size: 14px;
  }
  #front-end .customer-information .col {
    width: 50%;
  }
  #front-end .report-defect-selection .col {
    width: 100%;
    padding-right: 0;
  }
}