/* Status Timeline Container */
.status-timeline-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px 20px;
    position: relative;
}

.status-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

/* Bank Circle */
.bank-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.bank-circle.receiver {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.bank-circle:hover {
    transform: scale(1.05);
}

/* Status Circle */
.status-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.status-circle.status-on-hold {
    background: linear-gradient(135deg, #ffc107 0%, #f57c00 100%);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.status-circle.status-blocked-payment {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.status-circle.status-successful {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.status-circle.status-processing {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    animation: spin 3s linear infinite;
}

.status-circle.status-pending {
    background: linear-gradient(135deg, #fd7e14 0%, #e06b0a 100%);
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.4);
}

/* Timeline Lines */
.timeline-line {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.timeline-line .line {
    height: 4px;
    background: linear-gradient(to right, #667eea, #28a745);
    position: relative;
    border-radius: 2px;
}

.timeline-line .line::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -6px;
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    border: 2px solid white;
}

.timeline-line .line::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -6px;
    width: 10px;
    height: 10px;
    background: #667eea;
    border-radius: 50%;
    border: 2px solid white;
}

/* Labels */
.bank-name {
    margin-top: 12px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    text-align: center;
}

.bank-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    margin-top: 2px;
}

.status-text {
    margin-top: 12px;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.status-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    margin-top: 2px;
}

/* Status Reason */
.status-reason {
    max-width: 800px;
    margin: 0 auto;
}

.status-reason .alert {
    background: white;
    border-left: 4px solid #007bff;
    font-size: 14px;
    color: #555;
    padding: 15px 20px;
}

/* Blocked Title */
.blocked-title h5 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .status-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .timeline-line {
        width: 4px;
        height: 40px;
        padding: 0;
    }
    
    .timeline-line .line {
        height: 100%;
        width: 4px;
    }
    
    .timeline-line .line::after {
        top: auto;
        bottom: -6px;
        right: -3px;
    }
    
    .timeline-line .line::before {
        top: -6px;
        left: -3px;
    }
    
    .bank-circle,
    .status-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .bank-name,
    .status-text {
        font-size: 14px;
    }
}

/* Additional styling for table */
.table th {
    background-color: #f8f9fa !important;
    font-weight: 600;
    color: #495057;
}

.table td {
    vertical-align: middle;
}

.table code {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
    color: #dc3545;
}

/* Search section improvements */
.search-section .card {
    background: white;
    border-radius: 15px;
}

.search-section .input-group-text {
    border-right: none;
    background: white;
}

.search-section .form-control {
    border-left: none;
}

.search-section .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.search-section .btn-primary {
    border-radius: 0 8px 8px 0;
    padding: 10px 25px;
}