/* Страница трекинга */
.tracking-hero {
    background: var(--white);
    padding: 60px 0 0px;
}

.section-title {
    font-size: 1.75rem;
}

.tracking-content {
    background: var(--white);
    padding-bottom: 80px;
}

/* Форма поиска */
.tracking-search-block {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.tracking-search-form {
    background: var(--primary);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
}

.tracking-input {
    flex: 1;
    padding: 20px 24px;
    font-size: 1.1rem;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    background: var(--white);
    color: var(--dark);
}

.tracking-input::placeholder {
    color: var(--gray);
}

.tracking-btn {
    padding: 20px 48px;
    background: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
}

/* Сообщение об ошибке */
.tracking-error {
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 20px 24px;
    background: #fee2e2;
    border: 2px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Карточка информации */
.tracking-result {
    max-width: 1000px;
    margin: 0 auto;
}

.tracking-info-card {
    background: var(--light);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
}

.tracking-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.tracking-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.tracking-info-label {
    font-size: 1.05rem;
    color: var(--gray);
    font-weight: 500;
}

.tracking-info-value {
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 700;
}

/* Таймлайн событий */
.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
}

.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 6px;
    width: 26px;
    height: 26px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-dot {
    width: 100%;
    height: 100%;
}

.timeline-content {
    background: var(--white);
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-status {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.timeline-date {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 600;
}

.timeline-comment {
    font-size: 1rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
}

/* Пустой результат */
.tracking-empty {
    padding: 50px 30px;
    text-align: center;
    background: var(--light);
    border-radius: 16px;
    color: var(--gray);
    font-size: 1.1rem;
}


@media (max-width: 768px) {
    .tracking-search-form {
        flex-direction: column;
        padding: 30px;
    }

    .tracking-btn {
        width: 100%;
    }

    .tracking-info-card {
        padding: 30px 24px;
    }

    .tracking-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .tracking-search-form {
        padding: 24px;
    }

    .tracking-info-card {
        padding: 24px 20px;
    }

    .timeline-content {
        padding: 20px;
    }
}