/* Drovo theme: tracking styles, compiled from the original SCSS modules. */

/* app/order-tracking/order-tracking.module.scss */
.ot-page {
  width: 100%;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 1399px) {
  .ot-page {
    max-width: 86%;
  }
}
@media (max-width: 1199px) {
  .ot-page {
    max-width: 92%;
  }
}
@media (max-width: 991px) {
  .ot-page {
    max-width: 96%;
  }
}
@media (max-width: 575px) {
  .ot-page {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
}
.ot-page {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  padding-block: clamp(2rem, 4vw, 4rem);
}

.ot-trackingShell {
  display: grid;
  gap: 1.25rem;
}

.ot-formsGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ot-trackCard,
.ot-result,
.ot-error {
  border: 1px solid rgba(15, 123, 108, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(35, 26, 24, 0.07);
}

.ot-trackCard {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.ot-trackCard h2 {
  margin: 0.25rem 0 0;
  color: var(--clr-text, #1A1A18);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}
.ot-trackCard label {
  display: grid;
  gap: 0.45rem;
  color: var(--clr-text, #1A1A18);
  font-weight: 850;
}
.ot-trackCard input {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(15, 123, 108, 0.25);
  border-radius: 8px;
  background: #FAFFFE;
  color: var(--clr-text, #1A1A18);
  font: inherit;
}
.ot-trackCard input:focus {
  border-color: rgba(15, 123, 108, 0.75);
  outline: 2px solid rgba(15, 123, 108, 0.28);
  outline-offset: 2px;
}
.ot-trackCard button {
  display: inline-flex;
  width: fit-content;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  border: 1px solid var(--clr-primary, #0F7B6C);
  border-radius: 8px;
  background: var(--clr-primary, #0F7B6C);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.ot-trackCard button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.ot-hint {
  margin: -0.4rem 0 0;
  color: #5A6370;
  font-size: 0.82rem;
  font-weight: 600;
}

.ot-kicker {
  margin: 0;
  color: #607B7B;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ot-skeleton {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid rgba(15, 123, 108, 0.15);
  border-radius: 8px;
  background: #fff;
}

.ot-skeletonLine {
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 123, 108, 0.08) 25%, rgba(15, 123, 108, 0.18) 37%, rgba(15, 123, 108, 0.08) 63%);
  background-size: 400% 100%;
  animation: ot-lunex-shimmer 1.4s ease infinite;
}

@keyframes ot-lunex-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.ot-result {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
}

.ot-resultHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ot-resultHeader h2 {
  margin: 0.25rem 0 0.35rem;
  color: var(--clr-text, #1A1A18);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}

.ot-subline {
  margin: 0;
  color: #5A6370;
  font-size: 0.92rem;
}

.ot-statusBadge {
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.ot-statusBadgeActive {
  background: rgba(15, 123, 108, 0.12);
  color: #607B7B;
}

.ot-statusBadgeDanger {
  background: rgba(192, 57, 43, 0.12);
  color: var(--clr-danger, #C0392B);
}

.ot-statusDescription {
  margin: -0.5rem 0 0;
  color: var(--clr-text, #1A1A18);
  font-weight: 600;
}

.ot-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.25rem 0;
  padding: 0;
  list-style: none;
}

.ot-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid rgba(15, 123, 108, 0.15);
  color: #5A6370;
  font-weight: 800;
  font-size: 0.85rem;
}

.ot-stepDone {
  border-bottom-color: var(--clr-primary, #0F7B6C);
  color: var(--clr-text, #1A1A18);
}

.ot-stepCurrent {
  color: var(--clr-primary, #0F7B6C);
}

.ot-stepDot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(15, 123, 108, 0.25);
}

.ot-stepDone .ot-stepDot {
  background: var(--clr-primary, #0F7B6C);
}

.ot-infoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 123, 108, 0.12);
}

.ot-infoBlock {
  display: grid;
  gap: 0.3rem;
  align-content: start;
}

.ot-infoLabel {
  margin: 0;
  color: #607B7B;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ot-infoText {
  margin: 0;
  color: var(--clr-text, #1A1A18);
  font-weight: 700;
  line-height: 1.45;
}

.ot-infoMuted {
  margin: 0;
  color: #5A6370;
  font-size: 0.82rem;
}

.ot-itemsBlock {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 123, 108, 0.12);
}

.ot-itemsList {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ot-itemRow {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.ot-itemImage {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(15, 123, 108, 0.15);
}

.ot-itemImagePlaceholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(15, 123, 108, 0.08);
}

.ot-itemDetails {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.ot-itemName {
  margin: 0;
  color: var(--clr-text, #1A1A18);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-itemMeta {
  margin: 0;
  color: #5A6370;
  font-size: 0.82rem;
}

.ot-itemPrice {
  margin: 0;
  color: var(--clr-text, #1A1A18);
  font-weight: 900;
  white-space: nowrap;
}

.ot-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(15, 123, 108, 0.06);
  color: var(--clr-text, #1A1A18);
  font-size: 0.88rem;
}

.ot-helpLine {
  margin: 0;
  color: #5A6370;
  font-size: 0.85rem;
}
.ot-helpLine a {
  color: var(--clr-primary, #0F7B6C);
  font-weight: 800;
}

.ot-error {
  margin: 0;
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
}
.ot-error strong {
  color: var(--clr-danger, #C0392B);
  font-weight: 900;
}
.ot-error p {
  margin: 0;
  color: var(--clr-text, #1A1A18);
  font-weight: 600;
}

@media (max-width: 760px) {
  .ot-formsGrid {
    grid-template-columns: 1fr;
  }
  .ot-trackCard button {
    width: 100%;
  }
  .ot-resultHeader {
    flex-direction: column;
  }
  .ot-stepper {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .ot-infoGrid {
    grid-template-columns: 1fr;
  }
  .ot-itemRow {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }
  .ot-itemPrice {
    grid-column: 2;
    justify-self: start;
  }
}
