/* Shared order card / timeline (thank-you, track page, My Account). */
.oja-card { background: #fff; border: 1px solid #e3e8ec; border-radius: 16px; padding: 22px; box-shadow: 0 1px 4px rgba(33, 33, 33, .06); margin: 0 0 20px; }
.oja-card h2 { margin: 0 0 6px; font-size: 1.3rem; }
.oja-card h3 { margin: 0 0 10px; font-size: 1rem; }

.oja-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.oja-badge--ok { background: #e3f6ea; color: #1a7f45; }
.oja-badge--info { background: #e7f5f4; color: #0b6a65; }
.oja-badge--wait { background: #fff4dc; color: #8a5a00; }
.oja-badge--bad { background: #fde8e8; color: #b42318; }

/* Timeline */
.oja-tl { list-style: none; margin: 0; padding: 0; }
.oja-tl__step { position: relative; display: flex; gap: 14px; padding: 0 0 20px; }
.oja-tl__step:last-child { padding-bottom: 0; }
.oja-tl__step::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: #e3e8ec; }
.oja-tl__step:last-child::before { display: none; }
.oja-tl__step.is-done::before { background: #10847e; }
.oja-tl__dot { position: relative; z-index: 1; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfd8dc; background: #fff; box-sizing: border-box; }
.oja-tl__step.is-done .oja-tl__dot { border-color: #10847e; background: #10847e; }
.oja-tl__step.is-done .oja-tl__dot::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.oja-tl__step.is-current .oja-tl__dot { border-color: #f0a400; background: #fff; box-shadow: 0 0 0 4px rgba(240, 164, 0, .18); }
.oja-tl__step.is-current .oja-tl__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #f0a400; }
.oja-tl__step.is-failed .oja-tl__dot { border-color: #d63638; background: #d63638; }
.oja-tl__step.is-failed .oja-tl__dot::after { content: "×"; position: absolute; inset: 0; color: #fff; font-size: 15px; line-height: 17px; text-align: center; font-weight: 700; }
.oja-tl__step strong { display: block; font-size: 15px; line-height: 22px; }
.oja-tl__step.is-todo strong { color: #98a2b3; font-weight: 600; }
.oja-tl__step.is-failed strong { color: #b42318; }
.oja-tl__step time, .oja-tl__sub { display: block; font-size: 13px; color: #6e787f; }
.oja-tl__link { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: #10847e; }

/* Order card (track page) */
.oja-ordercard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid #eef1f4; }
.oja-ordercard__eyebrow { display: block; font-size: 13px; font-weight: 600; color: #10847e; }
.oja-ordercard__meta { font-size: 14px; color: #6e787f; }
.oja-ordercard__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.oja-ordercard__items ul { list-style: none; margin: 0 0 10px; padding: 0; }
.oja-ordercard__items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #eef1f4; font-size: 14px; }
.oja-ordercard__items small { color: #6e787f; }
.oja-ordercard__total { display: flex; justify-content: space-between; margin: 0 0 18px; font-size: 16px; }
.oja-ordercard__items address { font-style: normal; font-size: 14px; color: #30363c; line-height: 1.6; }
.oja-ordercard__cta { margin: 18px 0 0; }

/* Track page */
.oja-track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 960px; margin: 0 auto; }
.oja-track__form p { margin: 0 0 14px; }
.oja-track__form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.oja-track__form input { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #cfd8dc; border-radius: 8px; font: inherit; }
.oja-track__form .button, .oja-ordercard__cta .button, .oja-thanks .button { display: inline-flex; justify-content: center; padding: 12px 22px; border-radius: 10px; background: #10847e; color: #fff; border: 0; font-weight: 700; cursor: pointer; text-decoration: none; }
.oja-track__form .button { width: 100%; }
.oja-track__form .button:hover, .oja-ordercard__cta .button:hover, .oja-thanks .button:hover { background: #0b6a65; color: #fff; }
.oja-track__error { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #fde8e8; color: #b42318; font-size: 14px; }
.oja-track__mine ul { list-style: none; margin: 0; padding: 0; }
.oja-track__mine a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid #eef1f4; color: inherit; text-decoration: none; }
.oja-track__mine a span:first-of-type { color: #6e787f; font-size: 13px; margin-right: auto; }
.oja-track__again { max-width: 960px; margin: 0 auto; }
.oja-viewtl { margin-bottom: 24px; }

@media (max-width: 760px) {
	.oja-card { padding: 16px; border-radius: 14px; }
	.oja-ordercard__head { flex-direction: column-reverse; gap: 8px; }
	.oja-ordercard__body, .oja-track { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
