/* 
 * Tracking Page Premium Styles
 * Ajwat Bakkah Custom Tracking UI 
 */

.track-result-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
}

.track-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.03);
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Vertical Timeline */
.timeline-v2 {
    position: relative;
    padding-right: 40px;
}

.timeline-v2::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #f1f5f9;
}

.timeline-v2-item {
    position: relative;
    margin-bottom: 30px;
}

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

.timeline-v2-dot {
    position: absolute;
    right: -32px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px #f1f5f9;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-v2-item.active .timeline-v2-dot {
    background: #d4a373; /* Ajwa Primary */
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.2);
}

.timeline-v2-content {
    background: #fafafa;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.timeline-v2-item.active .timeline-v2-content {
    background: #fff;
    border-color: rgba(212, 163, 115, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.timeline-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.timeline-v2-title {
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-size: 16px;
}

.timeline-v2-date {
    font-size: 12px;
    color: #94a3b8;
    font-family: inherit;
}

.timeline-v2-note {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.product-item:last-child {
    border-bottom: none;
}

.product-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .track-result-container {
        margin: 20px auto;
    }
}
