
.nw-candidates-link {
    color: #86efac;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 4px;
}

.nw-candidates-toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.nw-candidates-panel {
    display: none;
    border-top: 1px solid #374151;
    padding-top: 6px;
}

.nw-candidates-toggle:checked + .nw-candidates-panel {
    display: block;
}

.nw-candidates-panel .table-wrap {
    overflow-x: auto;
}

/* Compact numbering in TOP4 and All Candidates */
.nw-compact-market-table .nw-number-col {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    padding: 4px;
    text-align: center;
    white-space: nowrap;
}

.nw-compact-market-table {
    table-layout: auto;
}


/* TOP4 header in match line */
.nw-top4-header-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 9px;
    border: 1px solid #475569;
    border-radius: 6px;
    background: #1e293b;
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.nw-candidates-header-button {
    display: inline-block;
    padding: 4px 8px;
    background: #166534;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.nw-candidates-header-button:hover {
    background: #15803d;
}


/* NW narrow ranking number column */
.nw-compact-market-table .nw-number-col {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    text-align: center !important;
    white-space: nowrap !important;
}
