/* ======================================================
   GOLF SYSTEM — ECLECTIC TABLE
   ====================================================== */

.eclectic-wrap {
    margin-top: 20px;
}

.eclectic-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    background: #f5f5f5;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
}

.eclectic-filter label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.eclectic-filter select {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #333;
}

.eclectic-title {
    font-size: 18px;
    font-weight: 700;
    color: #137a3d;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.eclectic-scroll {
    overflow-x: auto;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
}

.eclectic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

/* ── Header rows ─────────────────────────────────────── */
.eclectic-table thead th {
    text-align: center;
    white-space: nowrap;
}

.eclectic-table .eclectic-header-top th {
    background: #1f5c3a;
    color: #f7fbf8;
    padding: 10px 6px;
    border-right: 1px solid rgba(255,255,255,0.12);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.eclectic-table .ecl-hole-col,
.eclectic-table .ecl-par-col {
    width: 42px;
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    font-weight: 600;
}

.eclectic-table .ecl-player-col {
    min-width: 110px;
    border-left: 2px solid rgba(255,255,255,0.22);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.eclectic-table .eclectic-header-sub th {
    background: #2d7a50;
    color: rgba(255,255,255,0.9);
    font-size: 10px;
    font-weight: 600;
    padding: 5px 5px;
    border-right: 1px solid rgba(255,255,255,0.08);
    letter-spacing: 0.2px;
}

/* ── Body rows ───────────────────────────────────────── */
.eclectic-table tbody td {
    padding: 6px 4px;
    text-align: center;
    border-bottom: 1px solid #ececec;
    white-space: nowrap;
}

.ecl-row-even {
    background: #ffffff;
}

.ecl-row-odd {
    background: #fafcfa;
}

.ecl-hole-num {
    width: 42px;
    font-weight: 700;
    color: #333;
    background: #f5f5f5 !important;
    border-right: 1px solid #dddddd;
}

.ecl-par {
    width: 42px;
    color: #9a9a9a;
    font-size: 10px;
    background: #fcfcfc !important;
    border-right: 2px solid #d9d9d9;
}

/* Stronger divider before each player block */
.eclectic-table tbody td:nth-child(3),
.eclectic-table tbody td:nth-child(5),
.eclectic-table tbody td:nth-child(7),
.eclectic-table tbody td:nth-child(9) {
    border-left: 3px solid #dde7df;
}

/* ── Turn separator ──────────────────────────────────── */
.ecl-turn-row td {
    text-align: center;
    font-size: 10px;
    color: #6c7a70;
    padding: 6px 3px;
    background: #eef7f1;
    border-top: 2px solid #1f5c3a;
    border-bottom: 2px solid #1f5c3a;
    letter-spacing: 1px;
    font-weight: 700;
}

/* ── Gross score circles ─────────────────────────────── */
.ecl-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 11px;
    border: 2px solid transparent;
    line-height: 1;
}

.ecl-eagle {
    background: #2ecc71;
    color: #fff;
}

.ecl-birdie {
    background: #e74c3c;
    color: #fff;
}

.ecl-par {
    border-right: 2px solid #d9d9d9;
}

.ecl-circle.ecl-par {
    background: #ffffff;
    color: #333;
    border-color: #c8c8c8;
}

.ecl-bogey {
    background: #3498db;
    color: #fff;
}

.ecl-double {
    background: #12202b;
    color: #fff;
}

/* ── Stableford values ───────────────────────────────── */
.ecl-stbf-val {
    display: inline-block;
    min-width: 22px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
}

.ecl-stbf-great {
    color: #0d6b38;
}

.ecl-stbf-good {
    color: #187a8c;
}

.ecl-stbf-par {
    color: #444;
}

.ecl-stbf-poor {
    color: #b26a00;
}

.ecl-stbf-zero {
    color: #bfbfbf;
}

/* ── No score ────────────────────────────────────────── */
.ecl-no-score {
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 600;
}

/* ── Totals row ──────────────────────────────────────── */
.ecl-totals-row {
    background: #eef7f1;
    border-top: 2px solid #137a3d;
}

.ecl-totals-row td {
    padding: 8px 4px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .eclectic-filter {
        flex-wrap: wrap;
        gap: 8px;
    }

    .eclectic-title {
        font-size: 16px;
    }

    .eclectic-table {
        font-size: 11px;
    }

    .eclectic-table .eclectic-header-top th {
        font-size: 12px;
        padding: 9px 5px;
    }

    .eclectic-table .ecl-player-col {
        min-width: 96px;
        font-size: 12px;
    }

    .eclectic-table .eclectic-header-sub th {
        font-size: 9px;
        padding: 4px 4px;
    }

    .eclectic-table tbody td {
        padding: 5px 3px;
    }

    .ecl-circle {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .ecl-stbf-val {
        font-size: 11px;
        min-width: 18px;
    }
}