/* Flipkart Style Timeline */
.flipkart-timeline {
    position: relative;
    padding: 20px 0;
}

.flipkart-timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.flipkart-timeline-point {
    position: relative;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flipkart-timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    z-index: 2;
    position: relative;
}

.flipkart-timeline-line {
    width: 3px;
    background: #dee2e6;
    flex: 1;
    margin-top: 10px;
    min-height: 40px;
}

.flipkart-timeline-content {
    flex: 1;
}

/* Status Colors */
.flipkart-timeline-item.completed .flipkart-timeline-icon {
    background-color: #28a745;
}

.flipkart-timeline-item.completed .flipkart-timeline-line {
    background-color: #28a745;
}

.flipkart-timeline-item.active .flipkart-timeline-icon {
    background-color: #007bff;
}

.flipkart-timeline-item.active .flipkart-timeline-line {
    background-color: #dee2e6;
}

.flipkart-timeline-item.rejected .flipkart-timeline-icon {
    background-color: #dc3545;
}

.flipkart-timeline-item.rejected .flipkart-timeline-line {
    background-color: #dc3545;
}

.flipkart-timeline-item.pending .flipkart-timeline-icon {
    background-color: #6c757d;
}

.flipkart-timeline-item.pending .flipkart-timeline-line {
    background-color: #dee2e6;
}

/* Card Hover Effects */
.flipkart-timeline-content .card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.flipkart-timeline-item.completed .card {
    border-left-color: #28a745;
}

.flipkart-timeline-item.active .card {
    border-left-color: #007bff;
}

.flipkart-timeline-item.rejected .card {
    border-left-color: #dc3545;
}

.flipkart-timeline-content .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.flipkart-timeline-item.started .flipkart-timeline-icon {
  color: #0dcaf0; /* Bootstrap info color */
  background-color: rgba(13, 202, 240, 0.1);
  border: 2px solid #0dcaf0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .flipkart-timeline-item {
        flex-direction: column;
    }
    
    .flipkart-timeline-point {
        margin-right: 0;
        margin-bottom: 15px;
        flex-direction: row;
    }
    
    .flipkart-timeline-line {
        width: 40px;
        height: 3px;
        margin-top: 0;
        margin-left: 10px;
    }
    
    .flipkart-timeline-content .card .text-right {
        text-align: left !important;
        margin-top: 10px;
    }
}