/*
 * Fyucha FC Top Scorers
 * Version: 1.0.0
 */

.fyucha-top-scorers {
    --fyucha-green: #12CC64;
    --fyucha-blue: #40B5F5;
    --fyucha-navy: #15273C;
    --fyucha-white: #FFFFFF;

    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    font-family: inherit;
    color: var(--fyucha-navy);
}

.fyucha-top-scorers *,
.fyucha-top-scorers *::before,
.fyucha-top-scorers *::after {
    box-sizing: border-box;
}

.fyucha-scorers-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e4e9ee;
    border-radius: 12px;
    background: var(--fyucha-white);
    box-shadow: 0 4px 18px rgba(21, 39, 60, 0.07);
    -webkit-overflow-scrolling: touch;
}

.fyucha-scorers-heading {
    margin: 0 !important;
    padding: 20px 24px;
    background: var(--fyucha-navy);
    color: var(--fyucha-white) !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    border-bottom: 4px solid var(--fyucha-green);
}

.fyucha-scorers-table {
    width: 100%;
    min-width: 600px;
    margin: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
    background: var(--fyucha-white);
    font-size: 14px;
}

.fyucha-scorers-table th {
    padding: 14px 12px;
    background: #eef4f8;
    color: var(--fyucha-navy);
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid #dce5ed;
}

.fyucha-scorers-table td {
    padding: 13px 12px;
    color: var(--fyucha-navy);
    border-bottom: 1px solid #e9eef2;
    vertical-align: middle;
}

.fyucha-scorers-table tbody tr:nth-child(even) {
    background: #f7fafc;
}

.fyucha-scorers-table tbody tr:hover {
    background: #edf9f2;
}

.fyucha-scorers-table th:first-child,
.fyucha-scorers-table td:first-child {
    width: 55px;
    text-align: center;
    font-weight: 700;
}

.fyucha-scorers-table tbody tr:first-child td:first-child {
    color: #079b49;
}

.fyucha-scorers-table th:nth-child(n+4),
.fyucha-scorers-table td:nth-child(n+4) {
    text-align: center;
}

.fyucha-scorers-table td:nth-child(4) {
    color: #079b49;
    font-weight: 800;
}

.fyucha-scorers-error,
.fyucha-scorers-empty {
    padding: 20px;
    border: 1px solid #e4e9ee;
    border-radius: 10px;
    background: #f7fafc;
    color: var(--fyucha-navy);
}

@media (max-width: 768px) {
    .fyucha-top-scorers {
        margin: 12px auto;
    }

    .fyucha-scorers-heading {
        padding: 16px;
        font-size: 18px;
    }

    .fyucha-scorers-table {
        font-size: 13px;
    }

    .fyucha-scorers-table th,
    .fyucha-scorers-table td {
        padding: 11px 9px;
    }
}

/* Fyucha FC Competition Selector v1.1 */

.fyucha-scorers-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px 20px;
    background: #15273C;
    border-bottom: 4px solid #12CC64;
    border-radius: 12px;
}

.fyucha-scorers-controls label {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
}

.fyucha-scorers-competition {
    width: 100%;
    max-width: 360px;
    min-height: 44px;
    padding: 10px 36px 10px 14px;
    border: 2px solid #40B5F5;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #15273C;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.fyucha-scorers-competition:focus {
    outline: 3px solid #12CC64;
    outline-offset: 2px;
}

.fyucha-scorers-competition:disabled {
    opacity: 0.65;
    cursor: wait;
}

.fyucha-scorers-results[aria-busy="true"] {
    min-height: 100px;
    padding: 24px 12px;
    color: #15273C;
    font-weight: 600;
}

@media (max-width: 600px) {
    .fyucha-scorers-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .fyucha-scorers-competition {
        max-width: none;
    }
}
/* Fyucha FC Season Selector v1.2 */

.fyucha-scorers-season {
    width: 100%;
    max-width: 220px;
    min-height: 44px;
    padding: 10px 36px 10px 14px;
    border: 2px solid #40B5F5;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #15273C;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.fyucha-scorers-season:focus {
    outline: 3px solid #12CC64;
    outline-offset: 2px;
}

.fyucha-scorers-season:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (max-width: 600px) {
    .fyucha-scorers-season {
        max-width: none;
    }
}