.transfers-page{
    padding-top:32px;
}

.transfers-layout{
    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:24px;
}


.sidebar-card,
.content-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:24px;
    padding:24px;
}


.transfers-sidebar h2{
    margin:12px 0 20px;
    font-size:22px;
}


.transfer-filters{
    display:flex;
    flex-direction:column;
    gap:8px;
}


.transfer-filters button{
    border:0;
    background:#f6f0fa;
    padding:12px 16px;
    border-radius:14px;
    text-align:left;
    cursor:pointer;
}


.transfer-filters button.active{
    background:#7627b9;
    color:white;
}


.transfers-header h1{
    font-size:32px;
    margin:12px 0 12px;
}

.transfers-subtitle{
    color:#777;
    margin:0 0 24px;
    font-size:15px;
}


.transfers-table-head{
    display:grid;
    grid-template-columns:180px 180px 1fr 140px 120px;
    padding:14px;
    color:#777;
    border-bottom:1px solid #eee;
}


.transfer-row{
    display:grid;
    grid-template-columns:180px 180px 1fr 140px 120px;
    align-items:center;
    padding:16px 12px;
    border-bottom:1px solid #eee;
}


.transfer-club{
    display:flex;
    align-items:center;
    gap:8px;
}


.transfer-club img{
    width:28px;
    height:28px;
    object-fit:contain;
}


.transfer-player{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:600;
}


.transfer-player img{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
}


.transfer-type{
    color:#7627b9;
    font-size:14px;
}


@media(max-width:900px){

.transfers-layout{
    grid-template-columns:1fr;
}

.transfers-table-head{
    display:none;
}

.transfer-row{
    grid-template-columns:1fr;
    gap:12px;
}

}


.transfer-amount{
    font-weight:600;
    color:#222;
}


.team-filter-title{
    margin-top:18px;
    margin-bottom:10px;
    font-size:12px;
    line-height:1.2;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#7d7790;
    font-weight:700;
}

#team-filter{
    margin-top:12px;
    padding:14px;
    border:1px solid #eee7f5;
    border-radius:16px;
    background:#fbf8fd;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    max-height:360px;
    overflow-y:auto;
    align-content:flex-start;
}

#team-filter:empty{
    display:none;
}

.team-button{
    border:1px solid #e7ddf3;
    background:#ffffff;
    color:#2b2340;
    padding:8px 12px;
    border-radius:999px;
    cursor:pointer;
    font-size:13px;
    line-height:1.2;
    transition:all .15s ease;
    box-shadow:none;
}

.team-button:hover{
    background:#f3ebfb;
    border-color:#cdb4ea;
}

.team-button.active{
    background:#7627b9;
    color:#fff;
    border-color:#7627b9;
    box-shadow:0 6px 18px rgba(118,39,185,.18);
}



/* standings team list */

#team-filter{
    flex-direction:column;
    flex-wrap:nowrap;
    gap:7px;
}

.team-filter-title{
    width:100%;
}

.team-filter-loading{
    padding:8px 2px;
    font-size:13px;
    color:#8b8495;
}

.team-button{
    width:100%;
    min-height:40px;
    display:flex;
    align-items:center;
    gap:10px;
    text-align:left;
    border-radius:12px;
    flex:0 0 auto;
}

.team-button-logo{
    width:24px;
    height:24px;
    object-fit:contain;
    flex:0 0 24px;
}

.team-button span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

