/* stylelint-disable-next-line scss/no-global-function-names */
#spp-form {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
}
#spp-form .form-group {
  margin-bottom: 0;
}

@media (min-width: 375px) {
  #spp-form .form-group {
    margin-right: 1rem;
  }
}
@media (max-width: 375.98px) {
  #spp-form {
    align-items: flex-start;
    flex-direction: column;
  }
  #spp-form button {
    width: 100%;
  }
  #spp-form .form-group {
    margin-bottom: 1rem;
  }
}
.spp-detail-card {
  border: 1px solid #d0d3db;
  border-radius: 4px;
  margin-bottom: 40px;
  transition: border 0.2s ease-out;
  box-shadow: 0px 2px 4px -2px rgba(10, 13, 18, 0.06), 0px 3px 8px -2px rgba(10, 13, 18, 0.09);
}
.spp-detail-card .spp-detail-card-header {
  background-color: #edf1f6;
  padding: 8px 12px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.spp-detail-card .spp-detail-card-header-top {
  width: 100%;
  display: inline-flex;
  align-items: center;
}
.spp-detail-card .spp-detail-card-header-label {
  flex: 1;
  display: inline-flex;
}
.spp-detail-card .spp-detail-card-header-icon {
  width: 36px;
  height: 36px;
  background-color: #fece22;
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
}
.spp-detail-card .spp-detail-card-header-id-info {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.spp-detail-card .spp-detail-card-header-id-info h3 {
  margin-bottom: 0;
  color: #002776;
  font-size: 0.875rem;
  user-select: auto;
}
.spp-detail-card .spp-detail-card-header-id-info p {
  margin-bottom: 0;
  color: #515871;
  font-size: 0.688rem;
  user-select: auto;
}
.spp-detail-card .spp-detail-card-header-type {
  display: inline-block;
  color: #002776;
  font-weight: 600;
  border-radius: 112px;
  padding: 4px 8px;
  font-size: 0.688rem;
  margin: 0 16px 0 0;
  background-color: #fff;
}
.spp-detail-card .spp-detail-card-header-bottom p {
  /* margin-left: 44px; */
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 0.688rem;
  color: #515871;
}
.spp-detail-card .spp-detail-card-content {
  padding: 20px;
}

.spp-detail-card .progress-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.spp-detail-card .progress-title h3,
.spp-detail-card .progress-title p {
  margin-bottom: 0 !important;
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-title {
    align-items: flex-start;
    flex-direction: column;
    justify-content: normal;
  }
  .spp-detail-card .progress-title h3 {
    margin-bottom: 0.5rem !important;
  }
}
.spp-detail-card .progress-container {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  margin: 1rem 0 2rem 0;
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-container {
    flex-direction: column;
  }
}
.spp-detail-card .progress-step {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
}
.spp-detail-card .progress-step:last-child {
  flex: 0;
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-step:last-child {
    margin-bottom: 0;
  }
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-step {
    display: block;
    margin-bottom: 1.5rem;
  }
}
.spp-detail-card .progress-step-content {
  z-index: 1;
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-step-content {
    display: inline-flex;
    align-items: center;
  }
}
.spp-detail-card .progress-step.completed .progress-circle {
  background-color: #0daa57;
  color: #fff;
}
.spp-detail-card .progress-step.completed .progress-line {
  background-color: #0daa57;
}
.spp-detail-card .progress-step.current .progress-circle {
  background-color: #fece22;
  color: #002776;
  border: 1.5px #fef0bf solid;
  box-shadow: 0px 2px 4px -2px rgba(10, 13, 18, 0.06), 0px 3px 8px -2px rgba(10, 13, 18, 0.09);
}
.spp-detail-card .progress-step:not(.completed) .progress-line {
  background-color: #e0e0e0;
}
.spp-detail-card .progress-circle {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2rem;
  background-color: #eef0f2;
  color: #888d9f;
}
.spp-detail-card .progress-circle svg {
  width: 2rem;
  height: 1.5rem;
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-circle {
    margin: 0 0.5rem 0 0;
  }
}
.spp-detail-card .progress-step-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-step-text {
    align-items: flex-start;
    margin-top: 0;
  }
}
.spp-detail-card .progress-step-description {
  font-size: 0.813rem;
}
.spp-detail-card .progress-step-date {
  font-size: 0.688rem;
  color: #515871;
}
.spp-detail-card .progress-line {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  width: 100%;
  height: 4px;
  z-index: 0;
}
@media (max-width: 767.98px) {
  .spp-detail-card .progress-line {
    top: 2.875rem;
    left: 1.4375rem;
    width: 4px;
    height: 1.5rem;
  }
}

/* položky detailu o zásilce */
.spp-detail-card-consignment-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* mezera mezi řádky i sloupci */
  box-sizing: border-box;
  margin-bottom: 0;
}
.spp-detail-card-consignment-items .spp-detail-card-consignment-item {
  flex: 0 0 calc(50% - 6px);
  /* 50 % šířky minus půlka mezery */
  box-sizing: border-box;
  background-color: #eef0f2;
  border-radius: 4px;
  padding: 8px;
  text-align: left;
}
.spp-detail-card-consignment-items .spp-detail-card-consignment-item dt {
  font-size: 0.688em;
  color: #515871;
  font-weight: 400;
}
.spp-detail-card-consignment-items .spp-detail-card-consignment-item dd {
  margin-bottom: 0;
  font-size: 0.813rem;
  font-weight: 600;
  color: #141b31;
  line-height: 1.2;
}
@media (max-width: 375.98px) {
  .spp-detail-card-consignment-items .spp-detail-card-consignment-item {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* obsah */
.spp-detail-card-content > *:last-child {
  margin-bottom: 0;
}