.flowchart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.step-box {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    text-align: center;
    width: 220px;
    position: relative;
    transition: all 0.3s ease;
}

.step-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.step-box.start {
    background: #d4edda;
    border-color: #28a745;
}

.step-box.end {
    background: #d1ecf1;
    border-color: #17a2b8;
}

.step-number {
    background: #007bff;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: bold;
    font-size: 12px;
}

.step-box.start .step-number {
    background: #28a745;
}

.step-box.end .step-number {
    background: #17a2b8;
}

.step-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

.step-desc {
    font-size: 12px;
    color: #666;
}

.arrow-down {
    font-size: 24px;
    color: #007bff;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .step-box {
        width: 200px;
    }
}

/* Business Flow Dashboard Styles */
.business-flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.flow-step {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flow-step:hover .flow-box {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.flow-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    min-width: 180px;
    max-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.flow-box.basic-info {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #f8fff9 100%);
}

.flow-box.payments {
    border-color: #007bff;
    background: linear-gradient(135deg, #cce7ff 0%, #f0f8ff 100%);
}

.flow-box.other-info {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #fffef7 100%);
}

.flow-box.documents {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #e2d9f3 0%, #f8f6fc 100%);
}

.flow-icon {
    margin-right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.basic-info .flow-icon {
    background: #28a745;
}

.payments .flow-icon {
    background: #007bff;
}

.other-info .flow-icon {
    background: #ffc107;
}

.documents .flow-icon {
    background: #6f42c1;
}

.flow-content h6 {
    margin: 0 0 3px 0;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.flow-content p {
    margin: 0;
    color: #666;
    font-size: 11px;
    line-height: 1.3;
}

.flow-arrow {
    margin: 0 5px;
    font-size: 20px;
    color: #6c757d;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Responsive Design */
@media (max-width: 900px) {
    .business-flow-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .flow-step {
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }
    
    .flow-box {
        min-width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .flow-box {
        padding: 15px;
        min-width: auto;
    }
    
    .flow-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 12px;
    }
    
    .flow-content h6 {
        font-size: 14px;
    }
    
    .flow-content p {
        font-size: 12px;
    }
}