/* Styling for the main content area */
.content-wrapper {
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 25px;
}

/* Page header styling */
.page-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    gap: 15px;
}

.page-header h1 {
    font-size: 26px;
    color: #34495e;
    margin: 0;
}

.page-header .last-update {
    font-size: 14px;
    color: #555;
    background-color: #f1f3f5;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Search input styling */
.search-container {
    margin-bottom: 20px;
}

#searchInput {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#searchInput:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}


/* Professional table styling */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.styled-table thead tr {
    background-color: #34495e;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

.styled-table th,
.styled-table td {
    padding: 15px 18px;
    border: 1px solid #e0e0e0;
    vertical-align: middle;
}

.styled-table tbody tr {
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.2s ease-in-out;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.styled-table tbody tr:hover {
    background-color: #e9ecef;
    cursor: pointer;
}

.pos {
    color: #16a085; /* Green */
    font-weight: bold;
}

.neg {
    color: #c0392b; /* Red */
    font-weight: bold;
}

.bi-caret-up-fill {
    color: #16a085;
}

.bi-caret-down-fill {
    color: #c0392b;
}
