/* Front-end styles */
.mfa-list { display: grid; gap: 12px; direction: rtl; }
.mfa-fixture { background:#fff; border:1px solid #eee; border-radius:14px; padding:12px 14px; box-shadow:0 2px 6px rgba(0,0,0,.04); }
.mfa-fixture .mfa-league { font-weight:700; margin-bottom:4px; }
.mfa-fixture .mfa-meta { color:#666; font-size:.9rem; margin-bottom:6px; }
.mfa-fixture .mfa-teams { display:flex; align-items:center; gap:8px; justify-content:space-between; }
.mfa-fixture .mfa-teams .score { font-weight:700; font-size:1.1rem; }
.mfa-table { width:100%; border-collapse: collapse; direction: rtl; }
.mfa-table th, .mfa-table td { border-bottom:1px solid #eee; padding:8px; text-align:center; }
.mfa-teamstats { background:#fff; border:1px solid #eee; border-radius:10px; padding:10px 12px; direction: rtl; }
/* ===== MFA Standings Card (like screenshot) ===== */
.mfa-standings-card{
    /*max-width: 520px;*/
    /*margin: 18px auto;*/
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    direction: rtl;
    font-family: IRANSans, Vazirmatn, Tahoma, sans-serif;
}

.mfa-standings-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #e6e6e6;
}

.mfa-standings-title{
    font-size: 16px;
    font-weight: 700;
    color: #0b4c5a;
}

.mfa-standings-select-wrap{
    min-width: 160px;
}

.mfa-standings-select{
    width: 100%;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-size: 13px;
    outline: none;
    cursor: default;
}

.mfa-standings-subtitle{
    background: #fca404;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 12px;
}

.mfa-standings-table-wrap{
    background: #ffffff;
}

.mfa-standings-table{
    width: 100%;
    border-collapse: collapse;
}

.mfa-standings-table thead th{
    background: #1f1448;
    color: #ffffff;
    font-size: 13px;
    padding: 10px 8px;
    font-weight: 700;
}

.mfa-standings-table tbody td{
    font-size: 13px;
    padding: 5px 3px;
    border-bottom: 1px solid #ededed;
    color: #222;
}

.mfa-standings-table tbody tr:nth-child(even){
    background: #f6f6f6;
}

.mfa-standings-table .col-rank{
    width: 60px;
    text-align: center;
    font-weight: 700;
}

.mfa-standings-table .col-team{
    text-align: right;
    font-weight: 600;
}

.mfa-standings-table .col-played,
.mfa-standings-table .col-points{
    width: 50px;
    text-align: center;
    font-weight: 700;
}

.mfa-standings-more{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
}

.mfa-standings-more:hover{
    background: #f7f7f7;
}

.mfa-standings-more .mfa-arrow{
    font-size: 18px;
    line-height: 1;
}
.mfa-standings-select{
    appearance: auto;
}

/* Full table: allow horizontal scroll on small screens */
.mfa-standings-full .mfa-standings-table-wrap{
    overflow-x: auto;
}

.mfa-standings-table-full{
    min-width: 720px;
}

.mfa-standings-table-full th,
.mfa-standings-table-full td{
    white-space: nowrap;
    text-align: center;
}

.mfa-standings-table-full .col-team{
    text-align: right;
    min-width: 180px;
}
/* Refresh button */
.mfa-refresh-btn{
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.mfa-refresh-btn:hover{
    background: #f7f7f7;
}

/* Team cell with logo */
.mfa-team-cell{
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfa-team-logo{
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 50%;
}

.mfa-team-name{
    font-weight: 600;
}
.mfa-loading{
    pointer-events: none;
    opacity: 0.97;
}
.mfa-standings-card,
.mfa-standings-card *{
    font-variant-numeric: tabular-nums;
}

.mfa-standings-table,
.mfa-standings-table *{
    font-family: IRANSans, Vazirmatn, Tahoma, sans-serif;
}
.mfa-standings-card{
    font-feature-settings: "ss01";
}
