.rounded {
    border-radius: 5px;
}

.bordered {
    border: 1px solid #ccc;
}

.p-sm {
    padding: 6px 10px;
}

.f-size {
    font-size: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

p {
    font-family: monospace;
    margin: 1px 0 6px 0;
    box-sizing: border-box;
    font-size: 14px;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1600px;
    /*max-height: 600px;*/
    gap: 20px;
    padding: 20px;
    margin: 20px auto 0;
    background-color: white;
}

.panel-left,
.panel-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

.panel-left {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}

.panel-right {
    flex: 2;
    min-width: 350px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

.input-query-id {
    width: 250px;
}

.panel-content {
    flex: 1;
    display: flex;
}

.panel-content .input-box {
    flex: 1;
    width: 100%;
}

.panel-footer {
    display: flex;
    gap: 8px;
}

.input-box {
    font-family: monospace;
    min-height: 350px;
    padding: 10px;
    resize: none;
    font-size: 14px;
    overflow: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.send-button {
    flex: 1;
    min-height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.send-button:hover {
    background-color: #45a049;
}

.panel-right-body {
    display: flex;
    gap: 10px;
    flex: 1;
}

.panel-aggregator {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.parse-switcher {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    font-size: 14px;
    margin: 0;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.panel-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.output-box {
    flex: 1;
    font-family: monospace;
    min-width: 350px;
    max-width: 600px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-container {
    min-height: 37px;
}

.error-box {
    display: flex;
    min-height: 37px;
    padding-left: 10px;
    background-color: #f9f9f9;
    font-size: 14px;
    text-align: left;
    align-items: center;
}

#task-container {
    text-align: center;
}

/* renderSourceCounts */
#search-count {
    display: inline-flex;
    flex-direction: column;
    /*border: 1px solid #000;*/
    margin-top: 10px;
    font-size: 14px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.search-count-row {
    display: flex;
}

.search-count-cell {
    flex: 1;
    min-width: 80px;
    padding: 10px;
    text-align: center;
    border-right: 1px solid #000;
    /*border-bottom: 1px solid #000;*/
    box-sizing: border-box;
}

.search-count-row:last-child .search-data-cell {
    border-bottom: none;
}

.search-count-cell:last-child {
    padding: 10px;
    border-right: none;
}

.search-count-header {
    padding: 10px;
    font-weight: 600;
}