.w-100 { width: 100% !important; }

.w-25 { width: 25%; }

.w-50 { width: 50%; }

.h-auto { height: auto !important; }

.bg-transparent { background-color: transparent !important; }


.mb-1 {
    margin-bottom: 15px;
}

.mb-2 {
    margin-bottom: 30px;
}

.mb-3 {
    margin-bottom: 45px;
}

.mt-1 {
    margin-top: 15px;
}

.mt-2 {
    margin-top: 30px;
}

.mt-3 {
    margin-top: 45px;
}


.border-dark-2 {
    border: 2px #000 solid !important;
}


.rounded-0 { border-radius: 0 !important; }

.rounded-left-0 {
    border-bottom-left-radius: 0% !important;
    border-top-left-radius: 0% !important;
}

.rounded-right-0 {
    border-bottom-right-radius: 0% !important;
    border-top-right-radius: 0% !important;
}

.text-start { text-align: left !important; }


.text-dark { color: #000 !important; }

.text-danger { color: #d33; }

.text-success { color: green !important; }


.fs-20 { font-size: 20px !important; }

.fs-48 { font-size: 48px !important; }

.fw-bold { font-weight: bold; }


.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.gap-1 {
    gap: 15px;
}


.service__box--exc {
    font-size: 16px !important;
    line-height: 1.5;
}

.service__boxes.col-1 {
    grid-template-columns: none;
}

select {
    appearance: none; /* Chrome, Safari */
    -webkit-appearance: none;
    -moz-appearance: none; /* Firefox */
}

select, input {
    border: 1px solid #8080801c !important;
}

input {
    outline: none;
}

.tracking-page {
    padding-bottom: 64px;
}

.tracking-page__intro-title {
    margin-bottom: 12px;
}

.tracking-page__intro-text {
    max-width: 900px;
    margin-bottom: 24px;
}

.tracking-page__alert {
    margin: 0 0 24px;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.5;
}

.tracking-page__alert--error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
}

.tracking-card {
    background: #fff;
    border: 1px solid rgba(17, 101, 205, 0.12);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(28, 28, 28, 0.08);
    padding: 24px;
    margin-top: 28px;
}

.tracking-card--search {
    background:
        linear-gradient(135deg, rgba(17, 101, 205, 0.06), rgba(255, 255, 255, 0) 55%),
        #fff;
}

.tracking-page__form {
    gap: 12px;
}

.tracking-page__label {
    margin-top: 0;
    color: var(--color-text-secondary);
    font-weight: 700;
}

.tracking-page__form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.tracking-page__input {
    width: 100%;
    margin-top: 0;
    background: #f7f9fc;
    border: 1px solid rgba(17, 101, 205, 0.14) !important;
    color: var(--color-text-secondary);
    min-height: 72px;
    box-sizing: border-box;
}

.tracking-page__input::placeholder {
    color: #91a0b6;
}

.tracking-page__submit {
    width: 100%;
    margin: 0 !important;
    min-height: 72px;
    padding: 18px 28px !important;
    border: 1px solid var(--color-text-accent) !important;
    border-radius: 18px !important;
    background: var(--color-text-accent) !important;
    background-image: none !important;
    background-clip: border-box !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1;
    box-shadow: none !important;
    align-self: stretch;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tracking-page__submit:hover {
    background: #0d57b0 !important;
    border-color: #0d57b0 !important;
    transform: translateY(-1px);
}

.tracking-page__submit:focus-visible {
    outline: 3px solid rgba(17, 101, 205, 0.2);
    outline-offset: 3px;
}

.tracking-card__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(17, 101, 205, 0.1);
}

.tracking-card__eyebrow {
    margin: 0 0 8px;
    color: #6f7e95;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tracking-card__number {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    word-break: break-word;
}

.tracking-card__status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(17, 101, 205, 0.1);
    color: var(--color-text-accent);
    font-size: 14px;
    font-weight: 700;
}

.tracking-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
}

.tracking-overview__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 22px;
    background: #f7f9fc;
    min-width: 0;
}

.tracking-overview__item--wide {
    min-height: 132px;
}

.tracking-overview__label {
    color: #7d8aa1;
    font-size: 14px;
    font-weight: 600;
}

.tracking-overview__value {
    color: var(--color-text-secondary);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.tracking-overview__value--accent {
    color: var(--color-text-accent);
}

.tracking-card__section-title {
    color: var(--color-text-secondary);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
}

.tracking-history {
    position: relative;
}

.tracking-history::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 10px;
    width: 2px;
    background: linear-gradient(180deg, rgba(17, 101, 205, 0.2), rgba(17, 101, 205, 0.05));
}

.tracking-history__item {
    position: relative;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 18px;
    padding: 0 0 24px;
}

.tracking-history__item:last-child {
    padding-bottom: 0;
}

.tracking-history__marker {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d7e0ee;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(17, 101, 205, 0.08);
    z-index: 1;
}

.tracking-history__item--current .tracking-history__marker {
    background: var(--color-text-accent);
    box-shadow: 0 0 0 6px rgba(17, 101, 205, 0.12);
}

.tracking-history__content {
    padding: 2px 0 0;
}

.tracking-history__time {
    color: #7d8aa1;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.tracking-history__title {
    color: var(--color-text-secondary);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.tracking-history__item--current .tracking-history__title {
    color: var(--color-text-accent);
}

.tracking-history__details {
    margin-top: 14px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.tracking-history__summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(17, 101, 205, 0.2);
    border-radius: 999px;
    color: var(--color-text-accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.tracking-history__summary::-webkit-details-marker {
    display: none;
}

.tracking-history__summary::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.tracking-history__details[open] .tracking-history__summary::before {
    transform: rotate(45deg);
}

.tracking-history__details-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding-left: 18px;
    border-left: 1px solid rgba(17, 101, 205, 0.12);
}

.tracking-history__details-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.tracking-history__details-item::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cdd8e8;
}

.tracking-history__details-time {
    color: #7d8aa1;
    font-size: 13px;
    line-height: 1.4;
}

.tracking-history__details-title {
    color: #415066;
    font-size: 15px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .tracking-card {
        padding: 32px 36px;
    }

    .tracking-page__form-row {
        flex-direction: row;
        align-items: stretch;
    }

    .tracking-page__input {
        flex: 1 1 auto;
    }

    .tracking-page__submit {
        width: 250px;
        flex: 0 0 250px;
        min-height: 72px;
    }

    .tracking-card__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .tracking-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tracking-overview__item--wide {
        min-height: 156px;
    }

    .tracking-history__item {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 22px;
        padding-bottom: 28px;
    }

    .tracking-history__time {
        font-size: 15px;
    }

    .tracking-history__details-title {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .tracking-card {
        padding: 40px;
    }

    .tracking-overview__value {
        font-size: 28px;
    }

    .tracking-history__title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .tracking-page {
        padding: 0 24px 48px;
    }

    .tracking-card {
        border-radius: 24px;
        padding: 22px 18px;
    }

    .tracking-card__section-title {
        margin-bottom: 20px;
    }

    .tracking-overview__item--wide {
        min-height: auto;
    }

    .tracking-overview__value {
        font-size: 18px;
    }

    .tracking-history__title {
        font-size: 18px;
    }
}
