body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 30px;
}

h2 {
    margin-bottom: 30px;
    text-align: center;
}
.bad-row {
    background-color: red !important;
    color: white;
}
table.crypto-table tr.bad-row {
    background-color: red !important;
    color: white;
}
/* Controls row */
.controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Inputs group */
.inputs-group {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}
.inputs-group label {
    font-size: 14px;
    white-space: nowrap;
}
.inputs-group input[type=number] {
    width: 60px;
    padding: 5px 7px;
    font-size: 14px;
    margin-left: 5px;
}

/* Global search */
#globalSearch {
    flex-grow: 1;
    min-width: 220px;
    max-width: 300px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.dropdown2 {
    position: relative;
    width: 220px;
    flex-shrink: 0;
}
.dropdown2-button {
    border: 1px solid #ccc;
    padding: 7px 12px;
    cursor: pointer;
    background: white;
    font-weight: bold;
    border-radius: 3px;
    white-space: nowrap;
}
.dropdown2-content {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    border-radius: 0 0 3px 3px;
}
.dropdown2-search {
    padding: 5px 10px;
    border-bottom: 1px solid #ccc;
}
.dropdown2-search input {
    width: 100%;
    padding: 6px 8px;
    box-sizing: border-box;
    font-size: 13px;
    border-radius: 3px;
    border: 1px solid #ccc;
}
#checkboxList2 {
    padding: 5px 10px;
}
.dropdown2-item {
    margin-bottom: 4px;
}
.dropdown2-item label {
    cursor: pointer;
}

/* Dropdown */
.dropdown {
    position: relative;
    width: 220px;
    flex-shrink: 0;
}
.dropdown-button {
    border: 1px solid #ccc;
    padding: 7px 12px;
    cursor: pointer;
    background: white;
    font-weight: bold;
    border-radius: 3px;
    white-space: nowrap;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    border-radius: 0 0 3px 3px;
}
.dropdown-search {
    padding: 5px 10px;
    border-bottom: 1px solid #ccc;
}
.dropdown-search input {
    width: 100%;
    padding: 6px 8px;
    box-sizing: border-box;
    font-size: 13px;
    border-radius: 3px;
    border: 1px solid #ccc;
}
#checkboxList {
    padding: 5px 10px;
}
.dropdown-item {
    margin-bottom: 4px;
}
.dropdown-item label {
    cursor: pointer;
}

/* Table container */
#dataContainer {
    width: 100%;
    margin-top: 20px;
    overflow-x: auto;
}

/* Wide responsive table */
table.crypto-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: auto;
}
table.crypto-table th,
table.crypto-table td {
    border: 1px solid #ccc;
    padding: 10px 14px;
    text-align: center;
}
table.crypto-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}
table.crypto-table tr:nth-child(even) {
    background-color: #fafafa;
}
table.crypto-table tr:hover {
    background-color: #e0f7fa;
}
table.crypto-table tr.highlight {
    background-color: #ffe1e1 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .controls-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    #globalSearch,
    .dropdown {
        width: 100%;
        max-width: 100%;
    }
}
.crypto-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.crypto-table th, .crypto-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: center;
}
.crypto-table .highlight {
    background-color: #fffae6;
}

