body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.container-fluid {
    padding: 20px;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.card-body {
    padding: 25px;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.badge {
    font-size: 0.9em;
    padding: 8px 12px;
    border-radius: 20px;
}

.text-bg-light {
    background-color: #f8f9fa !important;
    color: #495057 !important;
}

pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.9em;
    max-height: 400px;
    overflow-y: auto;
}

/* Performance Testing Specific Styles */
.performance-metrics .card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.performance-metrics .card h5 {
    color: white;
    font-weight: bold;
}

.performance-metrics .card small {
    color: rgba(255,255,255,0.8);
}

#performanceChart {
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 10px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 5px;
    }
}

/* Animation for metrics */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.performance-metrics .card:hover {
    animation: pulse 0.3s ease-in-out;
}

/* Status indicators */
.connection-status-connected {
    background-color: #28a745 !important;
    color: white !important;
}

.connection-status-disconnected {
    background-color: #dc3545 !important;
    color: white !important;
}

/* Load test running indicator */
.load-test-running {
    background-color: #ffc107 !important;
    color: #212529 !important;
    animation: pulse 1s infinite;
}