body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    margin-bottom: 1rem;
}

.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

pre {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 0.25rem;
}

.text-break {
    word-break: break-word;
    max-width: 300px;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
}

canvas {
    max-height: 400px;
}

.badge {
    font-size: 0.875rem;
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-3, .col-md-9 {
        width: 100%;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .text-break {
        max-width: 200px;
    }
}

/* Alert animations */
.alert {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    transition: box-shadow 0.3s ease-in-out;
}

/* Button styles */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}
