.efcob-fixtures *,
.efcob-fixtures *::before,
.efcob-fixtures *::after {
    box-sizing: border-box;
}

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

.efcob-fixtures {
    font-family: "Tako", sans-serif;
    background-color: #000000;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensures full height at least */
}

.efcob-fixtures .efc-heading {
    font-size: 3rem;
}

.efcob-fixtures .export-buttons {
    text-align: center;
    margin-bottom: 1rem;
}

.efcob-fixtures .export-buttons button {
    margin: 0 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border: none;
    border-radius: 6px;
    background-color: #3b82f6;
    color: white;
    cursor: pointer;
}

.efcob-fixtures .export-buttons button:hover {
    background: #0056b3;
    transform: translateY(-3px);
}
.efcob-fixtures .search-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.efcob-fixtures .search-box input {
    width: 90%;
    max-width: 500px;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    color: black;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.efcob-fixtures .fixtures-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    overflow-y: visible;
    padding-right: 8px;
    justify-items: center;
}

.efcob-fixtures .fixture-card {
    background: linear-gradient(-45deg, #000000, #ff0000, #000000, #eb3b0a);
    background-size: 300% 300%;
    animation: gradientMove 24s ease infinite;
    border-radius: 10px;
    box-shadow: rgb(255 237 15 / 98%) 0px 5px 15px 0px;
    padding: 0.5rem;
    transition: transform 0.2s;
    font-size: 1.5rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    box-sizing: border-box;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.efcob-fixtures .fixture-card:hover {
    transform: translateY(-3px);
}

.efcob-fixtures .fixture-header {
    text-align: center;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    font-size: 1.2rem;
}

.efcob-fixtures .teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.efcob-fixtures .team {
    text-align: center;
    width: 40%;
}

.efcob-fixtures .team img {
    width: 96px;
    height: 96px;
}

.efcob-fixtures .vs {
    width: 20%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondaryColor);
    letter-spacing: 2px;
}

.efcob-fixtures .group {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondaryColor);
    margin: 1rem 0;
}

.efcob-fixtures .referee-label {
    font-weight: 600;
    text-align: center;
    color: var(--secondaryColor);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.efcob-fixtures .referees {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.efcob-fixtures .referee {
    text-align: center;
}

.efcob-fixtures .referee img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.efcob-fixtures .referee span {
    display: block;
    font-size: 1.2rem;
    margin-top: 0.05rem;
}

.efcob-fixtures .messenger {
    text-align: right;
}

.efcob-fixtures .messenger i {
    font-size: 0.9rem;
    color: #0078ff;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .efcob-fixtures .search-box input
    {
        font-size: 1.1rem;
    }
    .efcob-fixtures .efc-heading {
        font-size: 1.5rem;
    }
    .efcob-fixtures .group {
        font-size: 0.8rem;
        margin: 0.5rem 0;
    }
    .efcob-fixtures .referee {
        text-align: center;
    }

    .efcob-fixtures .referee span {
        display: block;
        font-size: 0.6rem;
        margin-top: 0.05rem;
    }

    .efcob-fixtures .referee img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }
    .efcob-fixtures .fixture-header {
        text-align: center;
        margin-bottom: 0.3rem;
        line-height: 1.2;
        font-size: 1rem;
    }
    .efcob-fixtures .vs {
        font-size: 1rem;
    }
    .efcob-fixtures .referee-label {
        font-size: 0.8rem;
    }
    .efcob-fixtures .team {
        font-size: 0.7rem;
    }

    .efcob-fixtures .fixtures-container {
        max-height: none;
        overflow-y: visible;
    }
}
