.waste-calendar {
  width: 100%;
}

.collection-calendar {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  border: 0.0625rem solid #ddd;
  border-bottom: none;
  border-right: none;
}

.collection-calendar.week-row {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper-container .waste-calendar .day__collections.collections-cell {
  margin-left: 0;
  padding-left: 0;
}

.page-wrapper-container .waste-calendar .day__collections.collections-cell .collection-item {
  margin-left: 0;
  padding-left: 0.25rem;
}

.page-wrapper-container .waste-calendar ul li::before {
  content: "";
  display: none;
  width: 0;
  list-style: none;
}

.page-wrapper-container .day {
  margin: 0;
  padding: 0;
  background-color: #f2f2f2;
  flex: 1;
  min-width: 14.28%;
  border-right: 0.0625rem solid #ddd;
  border-bottom: 0.0625rem solid #ddd;
  list-style: none;
}

.day__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.5rem;
}

.day__date {
  font-weight: bold;
  margin-bottom: 0.3125rem;
  text-decoration: none;
}

.day__number {
  font-weight: bold;
}

.day__collections {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.collection-item {
  color: #fff;
  padding: 0.25rem;
  margin: 0;
  border-radius: 3.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.collection-item__icon {
  max-width: 3.125rem;
  height: auto;
  display: block;
}

.collection-item span {
  color: #fff;
  font-weight: bold;
}

.day__collections a {
  text-decoration: none;
  display: block;
}

.day:empty {
  background-color: #f9f9f9;
}

@media (max-width: 768px) {
  .recycling-collection-schedule-form .form-submit.btn {
    width: 100%;
    text-wrap: wrap;
  }

  .recycling-collection-schedule-form .pagination-controls {
    display: flex;
    flex-flow: column;
    gap: 1rem;
  }

  .collection-calendar.week-row {
    flex-flow: column;
  }

  .day {
    min-width: 50%;
  }

  .waste-calendar .waste-calendar__footer {
    flex-flow: column;
  }

  .waste-calendar .waste-calendar__footer .right-section.col-md-8 {
    text-align: start;
  }
}

.pagination-controls {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.collection-item a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  width: 100%;
}

.waste-calendar .waste-calendar__footer {
  display: flex;
  padding-top: 1rem;
}

.waste-calendar .right-section.col-md-8 {
  text-align: end;
}
