main > .container {
  padding: 70px 15px 20px;
}

.footer {
  background-color: #f5f5f5;
  font-size: 0.9em;
  height: 60px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

.invalid-feedback {
  color: red;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
  outline: none;
}

.form-group {
  margin-bottom: 1rem;
}

.img-thumbnail {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.25rem;
  background-color: #fff;
}

/* Progress CSS Start */
.project-card {
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.project-header {
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  margin-bottom: 1rem;
}
.project-dates {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.project-customer {
  margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
  .project-customer {
    font-size: 0.8rem;
  }
}
.project-status-label {
  margin-bottom: 0.5rem;
}
.progress-details {
  margin: 1.5rem 0;
}
.progress-row {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.progress-row.master-category {
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.03);
}
.progress-row.total-row {
  font-weight: 700;
  border-top: 2px solid rgba(0, 0, 0, 0.125);
  border-bottom: 2px solid rgba(0, 0, 0, 0.125);
}
.progress-label {
  padding-left: 0.5rem;
}
.progress-value {
  text-align: right;
  font-weight: 500;
}
@media (max-width: 576px) {
  .progress-label {
    font-size: 0.72rem;
  }
  .progress-value {
    font-size: 0.72rem;
  }
}
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.button-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.project-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 120px;
}
@media (max-width: 576px) {
  .button-row {
    flex-direction: column;
  }
  .project-btn {
    width: 100%;
  }
}
.project-progress {
  margin: 1rem 0;
}
.project-progress-text {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.subcategory {
  padding-left: 1rem;
}
/* Progress CSS End */

/* Chip Input CSS Start */
.chip-input-container {
  margin-bottom: 10px;
}
.chip-input {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5625rem 0.75rem;
  border: 1px solid var(--tblr-border-color, rgba(98, 105, 118, 0.16));
  border-radius: var(--tblr-border-radius, 4px);
  min-height: 38px;
  align-items: center;
  cursor: text;
  background-color: var(--tblr-bg-forms, #fff);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-size: 0.875rem;
  line-height: 1.4285714;
}
.chip-input:focus-within {
  border-color: #90b5e2;
  box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.1);
  outline: 0;
}
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-right: 5px;
}
.chip {
  background-color: var(--tblr-primary, #206bc4);
  color: #ffffff;
  padding: 0.125rem 0.5rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 2px 0;
}
.chip-remove {
  margin-left: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}
.chip-remove:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}
#location-chip-input {
  flex: 1;
  min-width: 100px;
  border: none;
  outline: none;
  padding: 0;
  background: transparent;
  font-size: 0.875rem;
}
/* Chip Input CSS End */

/* Tabler Custom CSS Start */
.card-top {
  border-radius: var(--tblr-card-inner-border-radius)
    var(--tblr-card-inner-border-radius) 0 0;
}
/* Tabler Custom CSS End */

/* GR Lines Table CSS Start */
/* #gr-lines-table {
  font-size: 0.9rem;
}

#gr-lines-table th {
  font-weight: 600;
  font-size: 0.85rem;
  vertical-align: middle;
  white-space: nowrap;
}

#gr-lines-table td {
  vertical-align: middle;
  padding: 0.5rem 0.75rem;
}

.table-active {
  background-color: rgba(13, 110, 253, 0.1) !important;
  border-color: rgba(13, 110, 253, 0.2);
}

.table-secondary {
  background-color: rgba(108, 117, 125, 0.1) !important;
  opacity: 0.7;
}

.table-success {
  background-color: rgba(25, 135, 84, 0.1) !important;
  border-color: rgba(25, 135, 84, 0.2);
}

.volume-input {
  width: 100px;
  text-align: right;
  font-weight: 500;
}

.volume-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#gr-lines-loading {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 0.375rem;
  padding: 2rem;
}

.btn-group-controls {
  gap: 0.5rem;
}

.btn-group-controls .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-outline {
  border: 1px solid currentColor;
  background: transparent;
}

.form-check-input {
  border-radius: 0.25rem;
}

.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.form-check-input:indeterminate {
  background-color: #6c757d;
  border-color: #6c757d;
}

#no-data-message {
  background-color: rgba(248, 249, 250, 0.8);
  border-radius: 0.5rem;
  border: 2px dashed #dee2e6;
}

#no-data-message .icon-lg {
  font-size: 3rem;
  color: #adb5bd;
}

#gr-lines-summary {
  background-color: rgba(13, 202, 240, 0.1);
  font-weight: 600;
}

@media (max-width: 768px) {
  #gr-lines-table {
    font-size: 0.8rem;
  }

  #gr-lines-table th,
  #gr-lines-table td {
    padding: 0.25rem 0.5rem;
  }

  .volume-input {
    width: 80px;
  }

  .btn-group-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group-controls .btn {
    justify-content: center;
    margin-bottom: 0.25rem;
  }
}

.table tbody tr {
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.volume-input.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.volume-input.is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1050;
}

.goods-receipt-form .card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.goods-receipt-form .card-header {
  background-color: rgba(13, 110, 253, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.table-responsive {
  max-height: 60vh;
  overflow-y: auto;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--bs-dark);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.loading-overlay {
  position: relative;
}

.loading-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

@media print {
  #gr-lines-container .btn,
  .btn-group-controls {
    display: none !important;
  }

  .table {
    font-size: 0.75rem;
  }

  .page-header,
  .page-body .container-xl > .row:last-child {
    break-inside: avoid;
  }
} */
/* GR Lines Table CSS End */
