.player-search-page {
    width: 100%;
    padding: 18px 20px 28px;
}

.player-search-heading {
    min-height: 58px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    background: #0b1728;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 5px 5px 0 0;
}

.player-search-heading h1 {
    margin: 0;

    color: #ffffff;

    font-size: 25px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.player-search-heading__group {
    color: var(--ffo-gold);

    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.player-search-content {
    padding: 12px;

    background: #07111f;
    border-radius: 0 0 5px 5px;
}

.player-search-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    margin-bottom: 10px;
}

.player-search-button {
    min-height: 40px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    appearance: none;

    background: #162b6f;
    border: 0;
    border-radius: 3px;

    color: #ffffff;

    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.025em;

    cursor: pointer;
}

.player-search-button:hover,
.player-search-button:focus-visible {
    background: #1c3689;
    color: #ffffff;
    outline: none;
}

.player-search-button--link {
    background: #101d31;
    color: var(--ffo-gold);
}

.player-search-button--link:hover,
.player-search-button--link:focus-visible {
    background: #162b6f;
    color: #ffffff;
}

.player-search-filters,
.player-search-results {
    margin-bottom: 10px;

    background: #0b1728;
    border-top: 3px solid var(--ffo-gold);
    border-radius: 4px;
}

.player-search-results {
    margin-bottom: 0;
}

.player-search-panel-heading {
    min-height: 48px;
    padding: 0 14px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.player-search-panel-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.player-search-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;

    padding: 14px;
}

.player-search-field {
    min-width: 0;
}

.player-search-field--wide {
    grid-column: span 2;
}

.player-search-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--ffo-gold);

    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.player-search-field input,
.player-search-field select {
    width: 100%;
    height: 42px;
    padding: 0 11px;

    background: #07111f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;

    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    outline: none;
}

.player-search-field input::placeholder {
    color: #718096;
}

.player-search-field input:focus,
.player-search-field select:focus {
    border-color: rgba(240, 197, 69, 0.66);
}

.player-search-result-count {
    min-height: 42px;
    padding: 0 14px;

    display: flex;
    align-items: center;

    background: #0d1a2c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: #aeb8cc;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.player-search-result-count strong {
    margin: 0 4px;

    color: var(--ffo-gold);
    font-weight: 900;
}

.player-search-table-wrap {
    width: 100%;
    overflow: hidden;

    background: #07111f;
}

.player-search-table {
    width: 100%;

    table-layout: fixed;
    border-collapse: collapse;
}

.player-search-col-name {
    width: 188px;
}

.player-search-col-team {
    width: 70px;
}

.player-search-col-age {
    width: 45px;
}

.player-search-col-nat {
    width: 55px;
}

.player-search-col-stat {
    width: 56px;
}

.player-search-table th,
.player-search-table td {
    height: 43px;
    padding: 0 5px;

    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    color: #dce4f2;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.player-search-table th:last-child,
.player-search-table td:last-child {
    border-right: 0;
}

.player-search-table th {
    height: 42px;
    padding: 0;

    background: #101d31;
}

.player-search-table th button {
    width: 100%;
    height: 42px;
    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    appearance: none;

    background: transparent;
    border: 0;

    color: var(--ffo-gold);

    font-family: inherit;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;

    cursor: pointer;
}

.player-search-table th button:hover,
.player-search-table th button:focus-visible {
    background: #162b6f;
    color: #ffffff;
    outline: none;
}

.player-search-table th[aria-sort="ascending"] button,
.player-search-table th[aria-sort="descending"] button {
    background: #162b6f;
    color: #ffffff;
}

.player-search-table th button span {
    min-width: 8px;

    color: var(--ffo-gold);
}

.player-search-table th:first-child,
.player-search-table td:first-child {
    padding-left: 12px;
    text-align: left;
}

.player-search-table th:first-child button {
    justify-content: flex-start;
    padding-left: 12px;
}

.player-search-table tbody tr:nth-child(even) {
    background: #0a1524;
}

.player-search-table tbody tr:hover {
    background: #101d31;
}

.player-search-table tbody tr:last-child td {
    border-bottom: 0;
}

.player-search-player-name {
    display: block;
    overflow: hidden;

    color: #ffffff;

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-overflow: ellipsis;
}

.player-search-team {
    min-width: 40px;
    min-height: 24px;
    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #162b6f;
    border-radius: 3px;

    color: #ffffff;

    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.player-search-table td.player-search-empty-cell {
    height: 100px;
    padding: 20px;

    color: #aeb8cc;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    white-space: normal;
}

.player-search-status {
    min-height: 90px;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #07111f;

    color: #aeb8cc;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.player-search-status[hidden] {
    display: none;
}

.player-search-status.is-error {
    color: #f2798f;
}
