/* Portfolio Table Styles */
.stockpress-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
    font-family: "Lato", sans-serif;
    color: #000000;
}           

.stockpress-table th {
    padding: 8px;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 15px;
    letter-spacing: 1px;
    background-color: #0A749F; /* Darker header background */
    color: #fff; /* White text for contrast */
    text-align: left;
    font-family: "Lato", sans-serif;
}

.stockpress-table td {
    padding: 8px;
    font-size: 15.5px;
    font-weight: 100;
    border: 1px solid #ddd;
    text-align: left;
}

.stockpress-table tbody:first-child {
    font-weight: 600 !important;
}

.stockpress-table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Light gray background for even rows */
}

.stockpress-table tbody tr:nth-child(odd) {
    background-color: #fff; /* White background for odd rows */
}

.stockpress-table tbody tr:hover {
    background-color: #d6e9f9; /* Soft blue hover effect */
}

.stockpress-table tfoot td {
    font-weight: bold;
    background-color: #f4f4f4; /* Footer background for totals */
    color: #000;
}

.stockpress-table td.numeric {
    text-align: right; /* Align numeric values to the right */
}

/* Regular Profit/Loss Rows */
.stockpress-table tbody td.positive {
    color: green;
    font-weight: normal; /* Normal weight for regular rows */
}

.stockpress-table tbody td.negative {
    color: red;
    font-weight: normal; /* Normal weight for regular rows */
}

/* Total Profit/Loss Row */
.stockpress-table tfoot td.positive {
    color: green;
    font-weight: bold; /* Bold weight for totals */
}

.stockpress-table tfoot td.negative {
    color: red;
    font-weight: bold; /* Bold weight for totals */
}

/* Totals Row Styling */
.stockpress-table tfoot tr {
    font-weight: bold;
    background-color: #f4f4f4;
}