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

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

.filter-card .card-header {
    border-radius: 10px 10px 0 0;
}

.stats-card .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.stats-card .stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #6c757d;
}

.stat-value {
    font-weight: bold;
    color: #212529;
}

.bg-orange {
    background-color: #fd7e14 !important;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

.ticker-cell {
    font-weight: bold;
    font-size: 1rem;
    color: #0d6efd;
}

.price-cell {
    font-weight: 500;
    color: #495057;
}

.yield-cell {
    font-weight: bold;
    font-size: 1rem;
}

.yield-high {
    color: #198754;
}

.yield-very-high {
    color: #dc3545;
}

.stock-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
}

.stock-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.stock-card .card-header {
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stock-card .ticker {
    font-size: 1.4rem;
    font-weight: bold;
}

.stock-card .yield-display {
    font-size: 1.6rem;
    font-weight: bold;
    color: #198754;
}

.stock-card .price-display {
    font-size: 1.2rem;
    font-weight: 500;
    color: #495057;
}

.stock-card.risk-very-elevated {
    border-left: 4px solid #dc3545;
}

.stock-card.risk-elevated {
    border-left: 4px solid #fd7e14;
}

.stock-card.risk-moderate {
    border-left: 4px solid #ffc107;
}

.stock-card.risk-lower {
    border-left: 4px solid #198754;
}

.payout-info {
    font-size: 0.9rem;
    color: #6c757d;
}

.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.btn-group .btn.active {
    background-color: #0d6efd;
    color: white;
}

.display-5 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .filter-card {
        margin-bottom: 1rem;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .ticker-cell {
        font-size: 0.9rem;
    }
}

.modal-lg {
    max-width: 700px;
}

.table-sm td, .table-sm th {
    padding: 0.4rem;
}
