/* SupplyChains.ca - Simple Styles */

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Price styling */
.price-cell {
    line-height: 1.2;
}

.price {
    font-weight: 600;
    font-size: 1.1em;
}

.best-price {
    color: #198754;
    background-color: #d1e7dd;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #badbcc;
}

/* Trend indicators */
.trend-up {
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
}

.trend-down {
    color: #198754;
    font-weight: bold;
    margin-left: 4px;
}

/* Table improvements */
.table th {
    border-top: none;
    font-weight: 600;
    font-size: 0.9em;
}

.table td {
    vertical-align: middle;
    padding: 12px 8px;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9em;
    }
    
    .table td, .table th {
        padding: 8px 4px;
    }
    
    .price {
        font-size: 1em;
    }
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.9em;
}

/* Header */
.bg-primary {
    background-color: #2c5aa0 !important;
}

/* Buttons */
.btn-sm {
    font-size: 0.8em;
    padding: 4px 8px;
}

/* Badges */
.badge {
    font-size: 0.75em;
}

/* Alert styling */
.alert {
    border: none;
    border-radius: 6px;
}

/* Modal improvements */
.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Form improvements */
.form-control-sm {
    font-size: 0.875em;
}

/* Utility classes */
.text-muted {
    color: #6c757d !important;
}