/* assets/css/track.css */
/* Styles for booking/track.html */

.tracking-timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 1.5rem;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-indicator {
    position: absolute;
    left: -2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-indicator.active {
    border-color: #0ea5e9;
    background-color: #f0f9ff;
    color: #0ea5e9;
}

.timeline-indicator.success {
    border-color: #10b981;
    background-color: #ecfdf5;
    color: #10b981;
}

.timeline-indicator.danger {
    border-color: #ef4444;
    background-color: #fef2f2;
    color: #ef4444;
}

.timeline-indicator i {
    font-size: 0.75rem;
}

.timeline-content {
    padding-left: 1rem;
}

.status-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    border-radius: 50rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-approved {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-rejected {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-canceled {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.bg-blue-soft {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.bg-mesh {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
}