* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none !important; /* Hide the default cursor on ALL interactive elements */
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #fff;
    color: #333;
}

.efc-container {
    width: 100%;
    margin: auto;
}

.efc-heading {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.efc-tabs {
    margin-left: 10px;
}

.efc-export-buttons {
    margin-right: 10px;
}

.efc-search-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.efc-search-box input {
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    background-color: #4d4b4b;
    color: #00fffd;
    border-radius: 5px;
}

.efc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    padding: 10px;
}

.efc-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.efc-tab {
    padding: 10px 15px;
    border: none;
    background: #f0f0f0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.efc-tabs button:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

.efc-tab.efc-active {
    background: rgb(30, 165, 249);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: white;
}

.efc-export-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.efc-export-buttons button {
    padding: 10px 15px;
    font-size: 14px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.efc-export-buttons button:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

.efc-table-wrapper {
    overflow-x: auto;
    margin: 0px 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
    border-collapse: collapse; /* ensures borders don’t double up */
    border: 2px solid var(--secondaryColor); /* outer border for the whole table */
}

thead {
    background: var(--secondaryColor);
}
thead th {
    color: black;
    font-family: "Protest Guerrilla", sans-serif;
    font-weight: 400;
    font-style: normal;
}
thead th,
tbody td {
    padding: 10px;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
}
thead th:nth-child(1),
tbody td:nth-child(1) {
    width:50px;
    max-width: 50px;
}
thead th:nth-child(2),
tbody td:nth-child(2) {
    max-width: 220px;
    word-wrap: break-word; /* Allows breaking long words */
    white-space: normal; /* Allows line breaks */
    overflow: visible;
    text-overflow: unset;
    text-align: left;
}

tbody tr:nth-child(odd) {
    color: white;
    background-color: rgb(52, 51, 48);
}

tbody tr:nth-child(even) {
    color: white;
    background-color: rgb(70, 71, 72);
}

tbody tr {
    border-bottom: 1px solid var(--secondaryColor); /* row border (bottom of each row) */
}

tbody tr:hover {
    background-color: #ccc;
}

thead th,
tbody td {
    /* border: 2px solid #ddd; */
}

.highlight-row {
    background-color: #ff0000 !important;
}

.highlight-row-contract-termination {
    background-color: #197e84 !important;
}

.efc-player-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.efc-player-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.efc-player-name {
    font-weight: bold;
    font-size: 14px;
    text-align: left;
}

.efc-player-name a {
    font-weight: bold;
    font-size: 14px;
    text-align: left;
}

.efc-player-club {
    font-size: 12px;
    color: #d6d6d5;
    text-align: left;
}

.efc-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.efc-page-btn {
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    border-radius: 5px;
}

.efc-pagination button:hover {
    background: #007bff;
    scale: 1.1;
}

.efc-page-btn.efc-active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.social-icon {
    color: #007bff;
    font-size: 18px;
    transition: scale 300ms, filter 300ms;
}

.social-icon:hover {
    color: #d4b611;
    scale: 1.2;
}

@media (max-width: 768px) {
    .efc-heading {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .efc-search-box {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .efc-tabs {
        margin-left: 10px;
    }

    .efc-export-buttons {
        margin-right: 10px;
    }

    .efc-search-box input {
        padding: 6px;
        font-size: 0.8rem;
        max-width: 200px;
    }

    .efc-tab,
    .efc-export-buttons button {
        padding: 6px 10px;
        font-size: 10px;
        border-radius: 4px;
    }

    table {
        font-size: 9px;
    }

    thead th,
    tbody td {
        padding: 3px;
    }

    thead th:nth-child(2),
    tbody td:nth-child(2) {
        max-width: 100px;
        font-size: 9px;
    }

    .efc-player-info img {
        width: 20px;
        height: 20px;
    }

    .efc-player-name {
        font-size: 9px;
    }
    .efc-player-name a {
        font-size: 9px;
    }

    .efc-player-club {
        font-size: 8px;
    }

    .efc-page-btn {
        padding: 4px 6px;
        font-size: 9px;
    }
}
