.mfa-standings-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow-x: auto;
    direction: rtl;
    font-family: IRANSans, Vazirmatn, Tahoma, sans-serif;
    font-feature-settings: "ss01";
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.mfa-standings-card,
.mfa-standings-card * {
    box-sizing: border-box;
    font-variant-numeric: tabular-nums;
}

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

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

.mfa-standings-subtitle {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    direction: ltr;
    text-align: right;
}

.mfa-standings-table-wrap {
    background: #fff;
    min-width: 100%;
}

.mfa-standings-table {
    width: 100%;
    border-collapse: collapse;
    direction: ltr;
    font-family: IRANSans, Vazirmatn, Tahoma, sans-serif;
}

.mfa-standings-table th,
.mfa-standings-table td {
    text-align: center;
    vertical-align: middle;
}

.mfa-standings-table thead th {
    background: #1f1448;
    color: #fff;
    font-size: 13px;
    padding: 10px 8px;
    font-weight: 800;
    white-space: nowrap;
}

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

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

.mfa-standings-table tbody tr:hover {
    background: #fff7e6;
}

.mfa-standings-table .col-rank {
    width: 44px;
    font-weight: 800;
}

.mfa-standings-table .col-team {
    min-width: 180px;
    text-align: right;
    direction: rtl;
}

.mfa-standings-table .col-played,
.mfa-standings-table .col-gd,
.mfa-standings-table .col-points {
    width: 48px;
    font-weight: 800;
}

.mfa-standings-table .col-gd {
    direction: ltr;
    unicode-bidi: isolate;
}

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

.mfa-standings-table-compact {
    min-width: 460px;
}

.mfa-team-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
}

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

.mfa-team-logo--empty {
    display: inline-block;
    background: #eee;
}

.mfa-team-name {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mfa-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    direction: ltr;
}

.mfa-form-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.mfa-form-W { background: #19a35b; }
.mfa-form-D { background: #9aa6b2; }
.mfa-form-L { background: #e11d48; }

.mfb-empty {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffe69c;
    border-radius: 8px;
    font-weight: 700;
    direction: rtl;
}

@media (max-width: 768px) {
    .mfa-standings-header {
        padding: 10px 12px;
    }

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

    .mfa-standings-table tbody td,
    .mfa-standings-table thead th {
        font-size: 12px;
        padding: 7px 5px;
    }
}
