/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* additional styles here */
.center {
  text-align: center;
}

.results td,
.results th {
  vertical-align: middle;
}

#progress-modal {
  position: relative;
  background: #fff;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
}

.modal-body {
  padding: 1rem;
}

.modal-title {
  font-size: 1.25rem;
}

.loader {
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 20px auto;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.page {
  page-break-after: always;
}

@media print {

  .no-print,
  .no-print * {
    display: none !important;
  }
}

/* override inconsistencies in admin_interface */
form .button {
  padding: 4px 5px !important;
  white-space: nowrap;
}

.field-shift_actions .button {
  margin: 0;
}

#changelist-filter .controls {
  padding: 0 15px;
  margin-bottom: 10px;
}

#changelist-filter .controls .datetimeshortcuts {
  display: inline-flex;
}

#changelist-filter .controls .apply-date-filter {
  padding: 5px 10px;
}

/* color codings */
tr.shift.past {
  background-color: gray;
}

tr.shift.unavailable {
  background-color: pink;
}

tr.shift.warning {
  background-color: lightyellow;
}

/* walk list */
.delivery-item {
  page-break-inside: avoid;
  /* border-bottom: 1px solid #ccc; */
  padding-bottom: 10px;
  margin-bottom: 10px;
  float: left;
  /* Clear floats within each delivery item */
}

.delivery-item .recipient-details {
  width: 30%;
  float: left;
}

.delivery-item .item-list {
  width: 70%;
  float: left;
}

.delivery-item tr.shopify-order {
  background-color: #ffdddd;
}

.summary-table {
  page-break-inside: avoid;
  border-collapse: collapse;
  margin-bottom: 20px;
  float: right;
  width: 300px;
}

.summary-table td,
.summary-table th {
  border-bottom: 1px solid #ccc;
  padding: 5px;
  word-wrap: break-word;
}

.container {
  display: flex;
  flex-direction: column;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.row-even {
  background-color: #f2f2f2;
}
