/* Define column widths - adjust percentages as needed */
.concordance-table th:nth-child(1),
.concordance-table td:nth-child(1) {
    width: 7%;
}

/* Column 1 */

.concordance-table th:nth-child(2),
.concordance-table td:nth-child(2) {
    width: 7%;
}

/* Column 2 */

.concordance-table th:nth-child(3),
.concordance-table td:nth-child(3) {
    width: 7%;
}

/* Column 3 */

.concordance-table th:nth-child(4),
.concordance-table td:nth-child(4) {
    width: 7%;
}

/* Column 4 */

.concordance-table th:nth-child(5),
.concordance-table td:nth-child(5) {
    width: 7%;
}

/* Column 5 */

.concordance-table th:nth-child(6),
.concordance-table td:nth-child(6) {
    width: 10%;
}

/* Column 6 */

.concordance-table th:nth-child(7),
.concordance-table td:nth-child(7) {
    width: 7%;
}

/* Column 7 */

.concordance-table th:nth-child(8),
.concordance-table td:nth-child(8) {
    width: 7%;
}

/* Column 8 */

.concordance-table th:nth-child(9),
.concordance-table td:nth-child(9) {
    width: 7%;
}

/* Column 9 */

.concordance-table th:nth-child(10),
.concordance-table td:nth-child(10) {
    width: 7%;
}

/* Column 10 */

.concordance-table th:nth-child(11),
.concordance-table td:nth-child(11) {
    width: 7%;
}

/* Column 11 */

.concordance-table th:nth-child(12),
.concordance-table td:nth-child(12) {
    width: 6%;
}

.concordance-table th:nth-child(13),
.concordance-table td:nth-child(13) {
    width: 8%;
}

.concordance-table th:nth-child(14),
.concordance-table td:nth-child(14) {
    width: 7%;
}

.sort-header {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sort-header:hover {
    background-color: #f0f0f0;
}

.sort-icon {
    font-size: 0.8em;
    margin-left: 3px;
}

.sort-active {
    background-color: #e7f1ff !important;
    font-weight: bold;
}

.context-left {
    text-align: right;
}

.context-right {
    text-align: left;
}

.keyword {
    font-weight: bold;
    color: #d63384;
}

.concordance-table td,
.concordance-table th {
    padding: 0.4rem 0.5rem;
    vertical-align: middle;
}

.sort-dropdown {
    min-width: 200px;
}

.nts-select-multiple__selected-options {
    padding: 2px 0;
}

.nts-select-multiple__filter-options {
    max-height: 175px;
}

.nts-select-multiple__filter-options:disabled {
    cursor: not-allowed;
}

.country-col {
    min-width: 80px;
    width: 80px;
    text-align: center;
}

/* ── Map Section ─────────────────────────────────────── */
#search-results-map {
    min-height: 400px;
    z-index: 1;
    border-radius: 0 0 0.375rem 0.375rem;
}

#map-info {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    font-size: 0.85rem;
}

/* Override Leaflet cluster defaults for better contrast */
.marker-cluster-small {
    background-color: rgba(181, 226, 140, 0.6);
}

.marker-cluster-small div {
    background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
    background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
    background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
    background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
    background-color: rgba(241, 128, 23, 0.6);
}

.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 30px;
}