.transfer-history {
    width: 100%;
    color: #ffffff;
}

.transfer-history__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
    padding: 14px 16px;
    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.transfer-history__head h1 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.1;
}

.transfer-history__head p {
    margin: 5px 0 0;
    color: #9eabc0;
    font-size: 11px;
}

.transfer-history__reload,
.transfer-history__filters button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    background: #0d1a2c;
    border: 1px solid rgba(240, 197, 69, 0.5);
    border-radius: 3px;
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
}

.transfer-history__reload:hover,
.transfer-history__reload:focus,
.transfer-history__filters button:hover,
.transfer-history__filters button:focus {
    background: #14243b;
    border-color: var(--ffo-gold, #f0c545);
    color: var(--ffo-gold, #f0c545);
    outline: 0;
}

.transfer-history__summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.transfer-history__summary article {
    padding: 11px 13px;
    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 3px solid var(--ffo-gold, #f0c545);
    border-radius: 4px;
}

.transfer-history__summary span {
    display: block;
    color: #9eabc0;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.transfer-history__summary strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.transfer-history__summary article:last-child strong {
    color: var(--ffo-gold, #f0c545);
}

.transfer-history__filters {
    margin-bottom: 10px;
    padding: 12px;
    background: #07111f;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
}

.transfer-history__filters h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
}

.transfer-history__filter-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr 0.8fr;
    gap: 8px;
    margin-bottom: 9px;
}

.transfer-history__filter-grid label {
    display: block;
    min-width: 0;
}

.transfer-history__filter-grid label > span {
    display: block;
    margin-bottom: 5px;
    color: #9eabc0;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.transfer-history__filter-grid input,
.transfer-history__filter-grid select {
    width: 100%;
    height: 36px;
    padding: 7px 9px;
    background: #0d1a2c;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 3px;
    color: #ffffff;
    font: inherit;
    font-size: 11px;
    outline: 0;
}

.transfer-history__filter-grid input:focus,
.transfer-history__filter-grid select:focus {
    border-color: var(--ffo-gold, #f0c545);
}

.transfer-history__filters button {
    min-width: 130px;
}

.transfer-history__table-card {
    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    overflow: hidden;
}

.transfer-history__table-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 43px;
    padding: 9px 12px;
    background: #101d31;
    border-top: 3px solid var(--ffo-gold, #f0c545);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.transfer-history__table-card > header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
}

.transfer-history__table-card > header span {
    color: var(--ffo-gold, #f0c545);
    font-size: 11px;
    font-weight: 900;
}

.transfer-history__table-wrap {
    width: 100%;
    overflow: hidden;
}

.transfer-history table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 10px;
}

.transfer-history__col-date { width: 10%; }
.transfer-history__col-player { width: 20%; }
.transfer-history__col-club { width: 25%; }
.transfer-history__col-type { width: 9%; }
.transfer-history__col-status { width: 11%; }

.transfer-history th,
.transfer-history td {
    padding: 7px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
    vertical-align: middle;
}

.transfer-history th:last-child,
.transfer-history td:last-child {
    border-right: 0;
}

.transfer-history th {
    background: #0d1a2c;
    color: #9eabc0;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.transfer-history tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.018);
}

.transfer-history tbody tr:hover {
    background: #101d31;
}

.transfer-history__date {
    color: #708198;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.transfer-history__player {
    color: #ffffff;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
}

.transfer-history__club {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.transfer-history__club img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.transfer-history__club span {
    min-width: 0;
    color: #ffffff;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
}

.transfer-history__club > span:only-child {
    grid-column: 1 / -1;
}

.transfer-history__type,
.transfer-history__status {
    font-weight: 900;
}

.transfer-history__type--transfer,
.transfer-history__status--transfer {
    color: #67d49d;
}

.transfer-history__type--loan,
.transfer-history__status--loan {
    color: var(--ffo-gold, #f0c545);
}

.transfer-history__type--recall,
.transfer-history__status--recall {
    color: #f2798f;
}

.transfer-history__type--other,
.transfer-history__status--other {
    color: #9eabc0;
}

.transfer-history__no-results,
.transfer-history__message,
.transfer-history__empty-row td {
    padding: 18px;
    color: #9eabc0;
    font-size: 11px;
    text-align: center;
}

.transfer-history__message {
    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.transfer-history__message--error {
    background: #3c1d26;
    border-color: rgba(242, 121, 143, 0.3);
    color: #f2798f;
}
