/* No pairs-specific variables needed - using centralized theme */

/* Pairs Grid Layout - Matches results page style */
#pairs-list {
    background: var(--theme-card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--theme-card-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--theme-card-border);
}

#pairs-header,
.pairs-detail-row {
    display: grid;
    padding: 3px 4px;
    align-items: center;
    border-bottom: 1px solid var(--theme-row-border);
    grid-template-columns: 1fr 2fr 2fr;
}

/* Mitchell strategy uses 4 columns */
#pairs-list.mitchell #pairs-header,
#pairs-list.mitchell .pairs-detail-row {
    grid-template-columns: 1fr 1fr 2fr 2fr;
}

/* Section headers for Mitchell movement (NS/EW Leader Board) */
#pairs-list.mitchell .pairs-section-header {
    display: grid;
    grid-column: 1 / -1; /* Span all columns */
    background: var(--theme-accent-bg, #f8f9fa);
    color: var(--theme-accent-text, #333);
    font-weight: 600;
    font-size: var(--font-size-l, 1.1rem);
    padding: 12px 16px;
    border-bottom: 2px solid var(--theme-card-border);
    text-align: center;
}

.pairs-detail-row:last-child {
    border-bottom: none;
}

#pairs-header {
    background: var(--theme-header-bg);
    color: var(--theme-header-text);
    font-weight: 600;
    border-bottom: 2px solid var(--theme-card-border);
}

.pairs-details-pair {
    padding: 8px 4px;
    text-align: left;
    word-break: break-word;
}

/* Header styling for pairs sections */
#pairs-system-header,
#pairs .signup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 16px 20px;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--theme-header-text);
    background: var(--theme-header-bg);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 1px 3px var(--theme-card-shadow);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

#pairs .signup-system-list,
#pairs .away-list {
    background: var(--theme-card-bg);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px var(--theme-card-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--theme-card-border);
    margin-left: 0;
    margin-right: 0;
}
