/* control bar table */
.fenton-player-controls-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.75rem;
}

.fenton-player-controls-table td {
    vertical-align: middle;
    padding: 0;
}

/* left cell */
.fenton-player-controls-table .controls-left {
    text-align: left;
}

/* right cell */
.fenton-player-controls-table .controls-right {
    text-align: right;
}

/* ensure search doesn't fight layout */
.fenton-player-search {
    position: static;
    float: none;
    display: inline-block;
}

/* centre compare label + switch in left control cell */
.fenton-player-controls-table .controls-left {
    text-align: center;
}

.fenton-compare-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* space between text and switch */
}

/* make search fill the right control cell */
.fenton-player-controls-table .controls-right {
    width: 50%;              /* optional: ensures room */
}

.fenton-player-controls-table .controls-right .fenton-player-search {
    display: block;
    width: 100%;
}

.fenton-player-controls-table .controls-right .fenton-search-input {
    width: 100%;
    box-sizing: border-box;
}

/* remove borders from switch/search control cells */
.fenton-player-controls-table,
.fenton-player-controls-table td {
    border: none !important;
}

.fenton-compare-label {
    color: gold;
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

/* gold placeholder text */
.fenton-search-input::placeholder {
    color: rgba(255, 215, 0, 0.7);
font-weight: 800;
}

/* single-player heading */
.fenton-player-heading {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: gold;
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}
