
/* debtc_hedge.css - Simple, mobile-friendly, flat table styles */

.hedge-table-wrapper {
    overflow-x: auto;
}
table th, table td {
    font-size: 0.85rem;
    padding: 0.5rem 0.3rem;
    text-align: center;
    vertical-align: middle !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
}
table thead th {
    background: #4a5fc1;
    color: #fff;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
table tbody tr {
    background: #fff;
}
table tbody tr:nth-child(even) {
    background: #f4f6fa;
}
.grosspnl, .netpnl, .cepnl, .pepnl, .price {
    font-weight: bold;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 2px;
}
.text-success {
    background: #4caf50;
    color: #fff !important;
}
.text-danger {
    background: #e53935;
    color: #fff !important;
}
.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 1.5rem;
    box-shadow: none;
}
.card-header {
    background: #4a5fc1;
    color: #fff;
    border-radius: 8px 8px 0 0 !important;
    border: none;
}
.badge {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2px;
}
.badge-primary {
    background: #4a5fc1;
    color: #fff;
}
.badge-danger {
    background: #e53935;
    color: #fff;
}
.badge-success {
    background: #4caf50;
    color: #fff;
}
.badge-dark {
    background: #333;
    color: #fff;
}
.btn-danger {
    background: #e53935;
    border: none;
    color: #fff;
}
.btn-danger:hover {
    background: #b71c1c;
}
@media (max-width: 768px) {
    table th, table td {
        font-size: 0.7rem;
        padding: 0.4rem 0.2rem;
    }
    .card-header h5 {
        font-size: 1rem;
    }
    .badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}
@media (max-width: 576px) {
    table th, table td {
        font-size: 0.65rem;
        padding: 0.3rem 0.15rem;
    }
    .grosspnl, .netpnl, .cepnl, .pepnl, .price {
        font-size: 0.75rem;
    }
}
