#ad-container {
    position: relative;
    width: 100%;
}

/* Desktop Banners */
#desktop-banner-left,
#desktop-banner-right {
    position: absolute;
    top: 500px;
    /* Adjust according to your site's layout */
    z-index: 10;
}

#tablet-landscape-banner-left,
#desktop-banner-left {
    left: 0;
}

#tablet-landscape-banner-right,
#desktop-banner-right {
    right: 0;
}

/* Mobile Banner */
/* Mobile Banner */
#mobile-banner {
    display: none;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    margin: auto;
}

#mobile-banner-bottom,
#tablet-portrait-banner-bottom {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: auto;
    display: none;
    bottom: 0;
}


#initial-banner {
    position: relative;
    display: none;
    /* Initially hide this banner */
    width: 100%;
    margin: auto;
}

/* Tablet Portrait Banner */
#tablet-landscape-banner-top,
#tablet-banner-top {
    display: none;
    position: relative;
    height: auto;
    z-index: 10;
}

#tablet-landscape-banner-top,
#tablet-banner-top {
    top: 0;
}

#tablet-portrait-banner-bottom {
    bottom: 0;
}

/* Tablet Landscape Banner */
#tablet-landscape-banner-right,
#tablet-landscape-banner-left {
    display: none;
    position: absolute;
    top: 250px;
    right: 0;
    z-index: 10;
    width: 10%;
    height: 100%;
    /* background-color: lightblue; */
    /* Commented out or you can delete this line */
}



#ad-container-mobile {
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically if needed */
    height: auto;
}



/* Adjust CSS for other Ad containers */
#ad-container-desktop,
#ad-container-tablet {
    height: auto;
    /* Or specify a specific height */
}

@media (max-width: 766px) {

    /* Adjusting for mobile devices */
    #mobile-banner img,
    #mobile-banner video,
    #mobile-banner-bottom img,
    #mobile-banner-bottom video {
        width: 100%;
        /* Adjust as needed */
        max-width: 766px;
        /* Example max width */
        height: auto;
    }
}

/* Ensure images and videos fit within the banner space */
#desktop-banner-left img,
#desktop-banner-right img,
#mobile-landscape-banner img,
#tablet-banner-top img,
#tablet-portrait-banner-bottom img,
#tablet-landscape-banner-right img,
#tablet-landscape-banner-left img,
#initial-banner img,
/* Add this line for initial banner images */
#desktop-banner-left video,
#desktop-banner-right video,
#mobile-landscape-banner video,
#tablet-banner-top video,
#tablet-portrait-banner-bottom video,
#tablet-landscape-banner-right video,
#tablet-landscape-banner-left video,
#initial-banner video

/* Add this line for initial banner videos */
    {
    width: 100%;
    height: auto;
}



/* Mobile Portrait (max-width: 540px) */
@media (max-width: 540px) {

    #mobile-banner,
    #mobile-banner-bottom,
    #initial-banner {
        display: block;
    }

    /* Hide Tablet and Desktop Banners */
    #tablet-banner-top,
    #tablet-portrait-banner-bottom,
    #tablet-landscape-banner-right,
    #tablet-landscape-banner-left,
    #desktop-banner-left,
    #desktop-banner-right {
        display: none;
    }
}

/* Mobile Landscape (min-width: 541px and max-width: 766px) */
@media (min-width: 541px) and (max-width: 766px) {

    #mobile-banner,
    #mobile-banner-bottom,
    #initial-banner {
        display: block;
    }

    /* Hide Tablet and Desktop Banners */
    #tablet-banner-top,
    #tablet-portrait-banner-bottom,
    #tablet-landscape-banner-right,
    #tablet-landscape-banner-left,
    #desktop-banner-left,
    #desktop-banner-right {
        display: none;
    }
}

/* Tablet Portrait (min-width: 767px and max-width: 1023px) */
@media (min-width: 767px) and (max-width: 1025px) {

    #tablet-banner-top,
    #tablet-portrait-banner-bottom,
    #initial-banner {
        display: block;
    }

    /* Hide Mobile and Desktop Banners */
    #mobile-banner,
    #mobile-banner-bottom,
    #tablet-landscape-banner-right,
    #tablet-landscape-banner-left,
    #desktop-banner-left,
    #desktop-banner-right {
        display: none;
    }
}

/* Tablet Landscape (min-width: 1024px and max-width: 1370px) */
@media (min-width: 1026px) and (max-width: 1370px) {

    #tablet-landscape-banner-right,
    #tablet-landscape-banner-left,
    #tablet-banner-top,
    #initial-banner {
        display: block;
    }

    /* Hide Mobile, Tablet Portrait and Desktop Banners */
    #mobile-banner,
    #mobile-banner-bottom,
    #tablet-portrait-banner-bottom,
    #desktop-banner-left,
    #desktop-banner-right {
        display: none;
    }
}

/* Laptop and Desktop */
@media (min-width: 1025px) {

    #desktop-banner-left,
    #desktop-banner-right,
    #initial-banner {
        display: block;
    }

    /* Hide Mobile and Tablet Banners */
    #mobile-banner,
    #mobile-banner-bottom,
    #tablet-banner-top,
    #tablet-portrait-banner-bottom,
    #tablet-landscape-banner-left,
    #tablet-landscape-banner-right {
        display: none;
    }
}

/* Add additional styles as needed */

/* Global styles */
/* Global styles */
body {
    font-family: Roboto, sans-serif;
    background-color: #D3D3D3;
    margin: 0;
    scroll-behavior: smooth;
    scroll-snap-type: mandatory;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    /* Starting with larger padding for desktop */
    background-color: #000;
    /* Black header */
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

footer {
    flex-shrink: 0;
    /* Prevent footer from shrinking */
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    width: 100%;

}

/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {
    header {
        padding: 5px 0;
        /* Smaller padding for mobile */
    }

    .logo img {
        height: 20px;
        /* Smaller logo for mobile */
        margin-left: 10px;
    }

}


/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {
    header {
        padding: 12px 0;
        /* Slightly larger padding for medium devices */
    }

    .logo img {
        height: 20px;
        /* Smaller logo for mobile */
        margin-left: 10px;
    }

}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {
    header {
        padding: 12px 0;
        /* Keep the same padding for these devices */
    }

    .logo img {
        height: 25px;
        /* Reverting to original size for these devices */
        margin-left: 10px;
    }

}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {
    header {
        padding: 12px 0;
        /* Consistent padding for tablets */
    }

    .logo img {
        height: 25px;
        /* Reverting to original size for these devices */
        margin-left: 10px;
    }

}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {
    header {
        padding: 12px 0;
        /* Consistent padding for larger tablets */
    }

    .logo img {
        height: 27px;
        margin-left: 10px;
    }

}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {

    header,
    footer {
        padding: 15px 0;
        /* Back to desktop padding for small desktops */
    }

    .logo img {
        height: 28px;
        margin-left: 10px;
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {
    /* No change needed, the base styles apply */
}


/* Base styles for desktop */
.action-items {
    position: relative;
    width: 100%;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 180px;
}

#search-form {
    position: relative;
    max-width: 180px;
    width: 100%;
}

#search-form input {
    max-width: 180px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    color: #000;
    /* Black text */
    background: #fff;
    /* White background */
}

#search-form input:focus {
    background: white;
}

#search-form input::placeholder {
    color: #999;
}

.btn-search {
    position: absolute;
    right: 5px;
    /* Align the button to the right of the input field */
    top: 50%;
    transform: translateY(-50%);
    /* Center the button vertically */
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* Style adjustments for suggestion list and related elements */
#suggestions-list {
    width: 100%;
    display: none;
    /* Initially hide the list */
    position: absolute;
    top: calc(100% + 10px);
    /* Adjust the top position to move the dropdown below the input */
    left: 0;
    right: 0;
    background: #fff;
    /* White background for contrast */
    border: 1px solid #ccc;
    /* Add border for the dropdown */
    border-top: none;
    /* Remove the top border */
    border-radius: 0 0 5px 5px;
    z-index: 9999;
    /* High enough z-index to float above other elements */
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0;
    /* No margin above the list */
    padding: 0;
}

#suggestions-list li {
    padding: 10px;
    cursor: pointer;
    color: black;
    background: white;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-logo {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.suggestion-content {
    flex-grow: 1;
    overflow: hidden;
}

.suggestion-name {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-sport,
.suggestion-category,
.suggestion-type {
    font-size: 12px;
    color: #666;
}

/* Hover state for suggestion items */
#suggestions-list li:hover {
    background-color: #f7f7f7;
}

.account-container {
    position: relative;
}

.account-container button {
    background: none;
    border: none;
}

.account-dropdown {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background: #fff;
    color: #333;
    padding: 10px;
}

.account-link {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
}

/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {

    #search-form input,
    #search-form input:focus {
        font-size: 12px;
        /* Smaller font size */
        padding: 6px;
        /* Smaller padding */
    }

    .btn-search {
        right: 5px;
        /* Adjust button position */
    }

    #suggestions-list li {
        font-size: 14px;
        /* Smaller font size */
    }

    .suggestion-logo {
        width: 20px;
        /* Smaller logo size */
        height: 20px;
    }

    .suggestion-name,
    .suggestion-sport,
    .suggestion-category,
    .suggestion-type,
    .account-link {
        font-size: 12px;
        /* Smaller font size */
    }

    .search-container,
    #search-form,
    #search-form input {
        width: 80%;
        /* Full width for search elements */
    }
}


/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {

    /* Similar adjustments as above for medium screens */
    #search-form input,
    #search-form input:focus {
        font-size: 12px;
        padding: 6px;
    }

    .btn-search {
        right: 5px;
    }

    #suggestions-list li {
        font-size: 14px;
    }

    .suggestion-logo {
        width: 20px;
        height: 20px;
    }

    .suggestion-name,
    .suggestion-sport,
    .suggestion-category,
    .suggestion-type,
    .account-link {
        font-size: 12px;
    }

    .search-container,
    #search-form,
    #search-form input {
        width: 80%;
        /* Full width for search elements */
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {

    /* Adjustments for landscape orientation */
    #search-form input,
    #search-form input:focus {
        font-size: 14px;
        padding: 8px;
    }

    .btn-search {
        right: 5px;
    }

    #suggestions-list li {
        font-size: 15px;
    }

    .suggestion-logo {
        width: 25px;
        height: 25px;
    }

    .suggestion-name,
    .suggestion-sport,
    .suggestion-category,
    .suggestion-type,
    .account-link {
        font-size: 13px;
    }

    .search-container,
    #search-form,
    #search-form input {
        width: 85%;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {

    /* Adjustments for medium tablets */
    #search-form input,
    #search-form input:focus {
        font-size: 14px;
        padding: 8px;
    }

    .btn-search {
        right: 5px;
    }

    #suggestions-list li {
        font-size: 15px;
    }

    .suggestion-logo {
        width: 25px;
        height: 25px;
    }

    .suggestion-name,
    .suggestion-sport,
    .suggestion-category,
    .suggestion-type,
    .account-link {
        font-size: 13px;
    }

    .search-container,
    #search-form,
    #search-form input {
        width: 85%;
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {

    /* Adjustments for larger tablets */
    #search-form input,
    #search-form input:focus {
        font-size: 16px;
        padding: 10px;
    }

    .btn-search {
        right: 10px;
    }

    #suggestions-list li {
        font-size: 16px;
    }

    .suggestion-logo {
        width: 30px;
        height: 30px;
    }

    .suggestion-name,
    .suggestion-sport,
    .suggestion-category,
    .suggestion-type,
    .account-link {
        font-size: 14px;
    }

    .search-container,
    #search-form,
    #search-form input {
        width: 90%;
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {

    /* Adjustments for small desktops */
    #search-form input,
    #search-form input:focus {
        font-size: 16px;
        padding: 10px;
    }

    .btn-search {
        right: 10px;
    }

    #suggestions-list li {
        font-size: 16px;
    }

    .suggestion-logo {
        width: 30px;
        height: 30px;
    }

    .suggestion-name,
    .suggestion-sport,
    .suggestion-category,
    .suggestion-type,
    .account-link {
        font-size: 14px;
    }

    .search-container,
    #search-form,
    #search-form input {
        width: 90%;
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {
    /* No changes needed, as desktop base styles apply */
}


h1 {
    color: #fff;
    /* Example color */
    font-family: Arial, sans-serif;
    /* Example font family */
    text-align: center;
    /* Centering the text */
    margin: 10px 0;
    /* Example margin */
    font-weight: bold;
    /* Making the text bold */
}

/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {
    h1 {
        font-size: 18px;
        /* Smaller font size for mobile */
    }
}



/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {
    h1 {
        font-size: 18px;
        /* Adjust font size for medium screens */
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {
    h1 {
        font-size: 20px;
        /* Appropriate font size for landscape orientation */
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {
    h1 {
        font-size: 22px;
        /* Slightly larger for medium-sized tablets */
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {
    h1 {
        font-size: 24px;
        /* Larger font size for larger tablets */
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    h1 {
        font-size: 24px;
        /* Suitable for small desktops */
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {
    h1 {
        font-size: 26px;
        /* Larger font size for large desktops */
    }
}



html,
body {
    height: 100%;
    margin: 0;
    /* Reset default margin */
}


/* Featured Leagues */
.unique-tournaments-top,
.list-tournament {
    list-style-type: none;
    padding: 0;
    flex-grow: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.unique-tournaments-top li,
.list-tournament li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;

}

.unique-tournaments-top li img,
.list-tournament img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    border-radius: 5px;
    object-fit: contain;
    vertical-align: middle;
}

.unique-tournaments-top span,
.list-tournament span {
    flex-grow: 1;
    text-align: left;
    display: inline-block;
    /* Add this line to constrain the width */
}


/* Leagues */
.category-menu {
    list-style-type: none;
    padding: 0;
}

.category-menu>li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.category-menu>li img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.category-menu>li>ul {
    list-style-type: none;
    padding-left: 10px;
}

.category-menu>li>ul>li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.category-menu>li>ul>li img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}



.dropdown-caret {
    cursor: pointer;
    margin-left: 5px;
}

.dropdown-frame {
    position: relative;
}

.category-frame {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
}

.category-frame img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    vertical-align: middle;
}

.category-frame span {
    flex-grow: 1;
    text-align: left;
    display: inline-block;
}


/* Base styles for .main-container */
.main-container {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    margin: auto;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 100px;
}

/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {
    .main-container {
        width: calc(100% - 30px);
        /* Subtracting padding from the total width */
        margin: auto;
        /* Adding some margin to the sides */
        padding: 10px;
        /* Reducing padding for smaller screens */
        margin-bottom: 100px;
        text-align: center;
        margin-top: 30px;
    }
}

/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 668px) {
    .main-container {
        width: calc(100% - 30px);
        /* Adjusting width to provide padding */
        margin: auto;
        /* Keeping margin for medium devices */
        padding: 15px;
        /* Adjusting padding */
        margin-bottom: 100px;
        text-align: center;
        margin-top: 30px;
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 669px) and (max-width: 737px) {
    .main-container {
        width: calc(100% - 40px);
        /* Allowing more width for content */
        margin: auto;
        /* Centering with automatic margins */
        padding: 20px;
        /* Consistent padding with the base style */
        margin-bottom: 100px;
        text-align: center;
        margin-top: 30px;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {
    .main-container {
        width: 70%;
        /* Adjusting width for medium-sized tablets */
        margin: auto;
        /* Centering */
        padding: 20px;
        /* Same padding as larger screens */
        margin-bottom: 100px;
        text-align: center;
        margin-top: 30px;
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {
    .main-container {
        width: 80%;
        /* Adjusting width for larger tablets */
        margin: auto;
        /* Centering */
        padding: 20px;
        /* Same padding as larger screens */
        margin-bottom: 100px;
        text-align: center;
        margin-top: 30px;
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    .main-container {
        width: 85%;
        /* Adjusting width for small desktops */
        margin: auto;
        /* Centering */
        padding: 20px;
        /* Same padding as larger screens */
        margin-bottom: 100px;
        text-align: center;
        margin-top: 30px;
    }
}



/* Tabs */
.tab-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.tabs li {
    margin: 0 10px;
}

.tab-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: grey;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.tab-link.active {
    background-color: black;
    color: white;
}

/* Extra small devices (phones, up to 480px) */
@media only screen and (min-width: 480px) {
    .tab-link {
        font-size: 12px;
        padding: 10px 20px;
        margin: 10px 0;
        /* Add margin top and bottom */
    }

    .tab-container {
        /* Adjust your .tab-container properties here for mobile */
    }
}

/* Small devices (landscape phones, 481px and up) */
@media only screen and (min-width: 481px) {
    .tab-link {
        font-size: 14px;
        padding: 10px 20px;
        margin: 10px 0;
        /* Add margin top and bottom */
    }

    .tab-container {
        /* Adjust your .tab-container properties here for mobile landscape */
    }
}

/* Medium devices (tablets in portrait, 768px and up) */
@media only screen and (min-width: 768px) {
    .tab-link {
        font-size: 14px;
        padding: 10px 20px;
        margin: 10px 0;
        /* Add margin top and bottom */
    }

    .tab-container {
        /* Adjust your .tab-container properties here for tablet portrait */
    }
}

/* Large devices (tablets in landscape, 992px and up) */
@media only screen and (min-width: 992px) {
    .tab-link {
        font-size: 14px;
        padding: 10px 20px;
        margin: 10px 0;
        /* Add margin top and bottom */
    }

    .tab-container {
        /* Adjust your .tab-container properties here for tablet landscape */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .tab-link {
        font-size: 16px;
        padding: 10px 20px;
        margin: 10px 0;
        /* Add margin top and bottom */
    }

    .tab-container {
        /* Adjust your .tab-container properties here for large desktops */
    }
}

/* Existing styles */
.sport-row {
    width: 790px;
    /* Increase the width to 750px */
    max-width: 100%;
    /* Adjust max-width to maintain responsiveness */
    height: 30px;
    background-color: grey;
    padding: 5px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    z-index: 2;
    /* Increased the z-index */
}




.sports-content {
    transform: skewX(-5deg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}

.sports-content svg,
.sports-content h2 {
    display: inline-block;
    vertical-align: middle;
}

.sports-content svg {
    margin-right: 10px;
}

.sports-content h2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {
    .sport-row {
        width: 100%;
        /* Full width for mobile */
        padding: 3px;
        margin: 5px 0;
    }

    .sports-content h2 {
        font-size: 12px;
        /* Smaller font size for mobile */
    }

    .sports-content svg {
        margin-right: 5px;
    }
}



/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {
    .sport-row {
        width: 100%;
        padding: 5px;
        margin: 7px 0;
    }

    .sports-content h2 {
        font-size: 14px;
        /* Adjust font size for medium screens */
    }

    .sports-content svg {
        margin-right: 7px;
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {
    .sport-row {
        width: 100%;
        padding: 6px;
        margin: 8px 0;
    }

    .sports-content h2 {
        font-size: 15px;
        /* Appropriate font size for landscape orientation */
    }

    .sports-content svg {
        margin-right: 8px;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {
    .sport-row {
        width: 690px;
        padding: 7px;
        margin: 9px 0;
    }

    .sports-content h2 {
        font-size: 16px;
        /* Slightly larger for medium-sized tablets */
    }

    .sports-content svg {
        margin-right: 9px;
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {
    .sport-row {
        width: 98%;
        padding: 8px;
        margin: 10px 0;
    }

    .sports-content h2 {
        font-size: 17px;
        /* Larger font size for larger tablets */
    }

    .sports-content svg {
        margin-right: 10px;
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    .sport-row {
        width: 98%;
        padding: 10px;
        margin: 10px 0;
    }

    .sports-content h2 {
        font-size: 18px;
        /* Suitable for small desktops */
    }

    .sports-content svg {
        margin-right: 10px;
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {
    .sport-row {
        width: 95%;
        padding: 10px;
        margin: 10px 0;
    }

    .sports-content h2 {
        font-size: 20px;
        /* Larger font size for large desktops */
    }

    .sports-content svg {
        margin-right: 10px;
    }
}

.competition-dropdown button {
    background-color: grey;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: sans-serif;
    color: white;
    display: flex;
    align-items: center;
}

.filter-tab svg,
.competition-dropdown button svg {
    width: 5px;
    height: auto;
    margin-left: 5px;
}

.competition-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1;
}


.competition-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    max-width: 200px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;
    right: 0;
    padding: 10px;
}

.dropdown-content {
    font-size: 14px;

}

.competition-dropdown.open .dropdown-content {
    display: block;
}

.competition-dropdown .dropdown-content span {
    display: block;
    padding: 5px;
}

.competition-dropdown .dropdown-content label {
    display: block;
    padding: 5px;
}

/* Mobile */
@media (min-width: 575px) {
    .competition-dropdown button {
        font-size: 12px;
    }

    .competition-dropdown button svg {
        width: 10px;
    }
}

/* Mobile Landscape */
@media (min-width: 576px) and (min-width: 767px) {
    .competition-dropdown button {
        font-size: 14px;
    }

    .competition-dropdown button svg {
        width: 12px;
    }
}

/* Tablet */
@media (min-width: 768px) and (min-width: 991px) {
    .competition-dropdown button {
        font-size: 16px;
    }

    .competition-dropdown button svg {
        width: 15px;
    }
}

/* Tablet Landscape */
@media (min-width: 992px) and (min-width: 1199px) {
    .competition-dropdown button {
        font-size: 18px;
    }

    .competition-dropdown button svg {
        width: 16px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .competition-dropdown button {
        font-size: 20px;
    }

    .competition-dropdown button svg {
        width: 16px;
    }
}

@media only screen and (max-width: 415px) {
    .competition-dropdown button {
        font-size: 10px;
        /* Base font size */
    }

    .competition-dropdown button svg {
        width: 10px;
        /* Base SVG width */
    }

    .dropdown-content {
        font-size: 8px;

    }
}



/* From 415px to 667px */
@media only screen and (min-width: 416px) and (max-width: 667px) {
    .competition-dropdown button {
        font-size: 12px;
    }

    .competition-dropdown button svg {
        width: 10px;
    }

    .dropdown-content {
        font-size: 10px;

    }
}

/* From 668px to 734px */
@media only screen and (min-width: 668px) and (max-width: 734px) {
    .competition-dropdown button {
        font-size: 14px;
    }

    .competition-dropdown button svg {
        width: 12px;
    }

    .dropdown-content {
        font-size: 10px;

    }
}

/* From 735px to 767px */
@media only screen and (min-width: 735px) and (max-width: 767px) {
    .competition-dropdown button {
        font-size: 14px;
    }

    .competition-dropdown button svg {
        width: 12px;
    }

    .dropdown-content {
        font-size: 12px;

    }
}

/* From 768px to 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .competition-dropdown button {
        font-size: 14px;
    }

    .competition-dropdown button svg {
        width: 12px;
    }

    .dropdown-content {
        font-size: 12px;

    }
}

/* From 992px to 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .competition-dropdown button {
        font-size: 16px;
    }

    .competition-dropdown button svg {
        width: 15px;
    }

    .dropdown-content {
        font-size: 14px;

    }
}

/* From 1200px and above */
@media only screen and (min-width: 1200px) {
    .competition-dropdown button {
        font-size: 16px;
    }

    .competition-dropdown button svg {
        width: 15px;
    }

    .dropdown-content {
        font-size: 14px;

    }
}

.myContainer {
    background-color: white;
    color: black;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}


.date-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.date-range {
    display: flex;
    flex-direction: column;
}

.date-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Change this from 'space-between' to 'center' */
    margin-bottom: 5px;
}

/* Base styles */
.date,
.day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    /* Smaller base size for mobile */
    height: 30px;
    cursor: pointer;
    margin-right: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border-radius: 15px;
    /* Smaller radius for a less rounded appearance on mobile */
}

.date.current-date {
    background-color: black;
}

/* Add new CSS for the date calendar icon */
.datepicker-button {
    background-color: rgba(0, 0, 0, 0.3);
    /* Change background color to match days */
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    margin-left: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.datepicker-button i {
    font-size: 20px;
}

.ui-datepicker {
    background-color: black;
    color: white;
    border: 1px solid white;
}

.ui-datepicker-header {
    background-color: black;
    color: white;
    border-bottom: 1px solid white;
}

.ui-datepicker-title {
    color: white;
}

.ui-datepicker-calendar td {
    color: white;
    cursor: pointer;
}

.ui-datepicker-calendar .ui-state-default {
    background-color: black;
    color: white;
    padding: 5px;
    border-radius: 50%;
}

.ui-datepicker-calendar .ui-state-active {
    background-color: black;
    color: white;
}

/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {
    .date-picker {
        margin-bottom: 10px;
    }

    .date-row {
        justify-content: space-around;
        /* Adjust for better spacing */
    }

    .date,
    .day {
        width: 25px;
        /* Smaller size for mobile */
        height: 25px;
        font-size: 10px;
        /* Smaller font size */
        border-radius: 12.5px;
    }

    .datepicker-button {
        padding: 6px;
        font-size: 18px;
        /* Smaller icon size */
    }
}



/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 667px) {
    .date-picker {
        margin-bottom: 15px;
    }

    .date-row {
        justify-content: space-around;
    }

    .date,
    .day {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 14px;
    }

    .datepicker-button {
        padding: 8px;
        font-size: 20px;
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 668px) and (max-width: 734px) {
    .date-picker {
        margin-bottom: 15px;
    }

    .date-row {
        justify-content: space-around;
    }

    .date,
    .day {
        width: 29px;
        height: 29px;
        font-size: 13px;
        border-radius: 14.5px;
    }

    .datepicker-button {
        padding: 9px;
        font-size: 21px;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 735px) and (max-width: 767px) {
    .date-picker {
        margin-bottom: 15px;
    }

    .date-row {
        justify-content: space-around;
    }

    .date,
    .day {
        width: 30px;
        height: 30px;
        font-size: 14px;
        border-radius: 15px;
    }

    .datepicker-button {
        padding: 10px;
        font-size: 22px;
    }
}

/* Larger tablets */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .date-picker {
        margin-bottom: 20px;
    }

    .date-row {
        justify-content: space-around;
    }

    .date,
    .day {
        width: 32px;
        height: 32px;
        font-size: 15px;
        border-radius: 16px;
    }

    .datepicker-button {
        padding: 11px;
        font-size: 23px;
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    .date-picker {
        margin-bottom: 20px;
    }

    .date-row {
        justify-content: space-around;
    }

    .date,
    .day {
        width: 34px;
        height: 34px;
        font-size: 16px;
        border-radius: 17px;
    }

    .datepicker-button {
        padding: 12px;
        font-size: 24px;
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {
    .date-picker {
        margin-bottom: 20px;
    }

    .date-row {
        justify-content: space-around;
    }

    .date,
    .day {
        width: 35px;
        height: 35px;
        font-size: 17px;
        border-radius: 17.5px;
    }

    .datepicker-button {
        padding: 13px;
        font-size: 25px;
    }
}

.small-heading {
    font-size: 18px;
    color: black;
}

/* Additional styles for the "By Date" tab */
#tab-date .center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}



.events-content {
    width: 100%;
}

.event-item {
    margin-bottom: 20px;

    max-width: 790px;

}

.event-flex-wrapper,
.event-category-detail,
.event-tournament-detail {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    /* Adds bottom margin to each flex item */
}

/* Common styles for both category and tournament logos */
.category-logo,
.tourna-logo {
    width: 25px;
    height: 25px;
    margin-right: 6px;
    vertical-align: middle;
}


.event-title {
    font-weight: bold;
}



.event-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Adjust the track sizes as needed */
    grid-template-areas:
        "event-date-status event-teams event-scores "
        "event-date-status event-teams event-scores ";
    /* Define the areas */
    gap: 10px;
    align-items: center;
}


.event-date-status {
    grid-area: event-date-status;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: bold;
    gap: 5px;
}

.event-date {
    grid-area: event-date-status;
    margin-bottom: 5px;
}

.event-status {
    grid-area: event-date-status;
    text-transform: capitalize;
    text-align: center;
    font-weight: bold;
}

.event-teams {
    grid-area: event-teams;
    display: flex;
    flex-direction: column;
    gap: 5px;

}

.event-team-logo {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    gap: 5px;
}

.home-team,
.away-team {
    grid-area: event-teams;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.event-scores {
    grid-area: event-scores;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: bold;
    gap: 5px;
}


.event-result {

    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-weight: bold;
}




.event-container {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.live-event .event-date,
.live-event .home-score,
.live-event .away-score {
    color: red;
}

.red-card-sign {
    display: inline-block;
    width: 15px;
    height: 20px;
    background-color: red;
    border: 1px;
    margin-left: 5px;
    /* Adjust this value to add some space between the team name and the red card. */
    vertical-align: middle;
    /* This aligns the rectangle with the text */
}

.result {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.time-red {
    color: red;
}

.team-link {
    display: inline-flex;
    align-items: center;
    /* Align items vertically in the center */
    text-decoration: none;
    color: inherit;
}

.team-link img.event-team-logo,
.team-link span.event-team-name {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    /* To give some spacing between the logo and the name */
}

.team-link span.event-team-name:last-child {
    margin-right: 0;
    /* Ensure there's no margin on the last child, in this case the team name */
}




/* by date css */
.custom-event-content {
    width: 100%;
}



.custom-event-item {
    margin-bottom: 20px;

    max-width: 790px;
}

.flex-wrapper {
    display: flex;
    align-items: center;
    /* This ensures the content is vertically centered */
    gap: 10px;
    /* Adds a gap between the flex items */
}

.event-flex-wrapper {
    display: flex;
    align-items: center;
    /* This ensures the content is vertically centered */
    gap: 10px;
    /* Adds a gap between the flex items */
}


.custom-event-category-detail,
.custom-event-tournament-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    /* Adjust this value based on your design preference */

}

.custom-category-logo {
    width: 25px;
    height: 25px;
    margin-right: 6px;
    margin-left: 5px;
    vertical-align: middle;
}

.custom-event-category-detail {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.tournament-wrapper {
    font-size: 16px;
}

.custom-event-tournament-detail {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.custom-tourna-logo {
    width: 25px;
    height: 25px;
    margin-right: 6px;
    vertical-align: middle;

}

.custom-category-title {
    font-weight: bold;
    font-size: 16px;
}

.custom-category-title:hover {
    color: blue;
}

.custom-event-title {
    font-weight: bold;
}

.custom-event-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Adjust the track sizes as needed */
    grid-template-areas:
        "custom-event-date custom-event-teams custom-event-scores"
        "custom-event-status custom-event-teams custom-event-scores";
    /* Define the areas */
    gap: 10px;
    align-items: center;
}

.custom-event-date-status {
    grid-area: custom-event-date;
    /* Assign to grid area */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    margin-top: 8px;
}



.custom-event-status {
    grid-area: custom-event-status;
    /* Assign to grid area */
    text-transform: capitalize;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-top: 5px;
}


.custom-match-item {
    margin-bottom: 20px;

    max-width: 790px;
    padding-top: 15px;
    /* Add padding if you want content inside to not touch the edges */
}

.custom-event-teams {
    grid-area: custom-event-teams;
    /* Assign to grid area */
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
}

.custom-event-team-logo {
    width: 30px;
    height: 30px;
    margin-right: 6px;
    vertical-align: middle;
}

.custom-home-team,
.custom-away-team {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.custom-event-scores {
    grid-area: custom-event-scores;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    font-weight: bold;
    font-size: 16px;
}

.custom-event-result {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}



.custom-live-event .custom-event-date,
.custom-live-event .custom-home-score,
.custom-live-event .custom-away-score {
    color: red;
}

.custom-red-card-sign {
    display: inline-block;
    width: 15px;
    height: 20px;
    background-color: red;
    border: 1px;
    margin-left: 5px;
    /* Adjust this value to add some space between the team name and the red card. */
    vertical-align: middle;
    /* This aligns the rectangle with the text */
}

.custom-result {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.custom-time-red {
    color: red;
}

.custom-team-link {
    display: inline-flex;
    align-items: center;
    /* Align items vertically in the center */
    text-decoration: none;
    color: inherit;
}

.custom-team-link img.custom-event-team-logo,
.custom-team-link span.custom-event-team-name {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    /* To give some spacing between the logo and the name */
}

.custom-team-link span.custom-event-team-name:last-child {
    margin-right: 0;
    /* Ensure there's no margin on the last child, in this case, the team name */
}

/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {

    .red-card-sign,
    .custom-red-card-sign {
        width: 10px;
        height: 15px;
        margin-left: 3px;
    }
}



/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {

    .red-card-sign,
    .custom-red-card-sign {
        width: 13px;
        height: 18px;
        margin-left: 4px;
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {

    .red-card-sign,
    .custom-red-card-sign {
        width: 14px;
        height: 19px;
        margin-left: 4px;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {

    .red-card-sign,
    .custom-red-card-sign {
        width: 15px;
        height: 20px;
        margin-left: 5px;
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {

    .red-card-sign,
    .custom-red-card-sign {
        width: 15px;
        height: 20px;
        margin-left: 5px;
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {

    .red-card-sign,
    .custom-red-card-sign {
        width: 15px;
        height: 20px;
        margin-left: 5px;
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {

    .red-card-sign,
    .custom-red-card-sign {
        width: 15px;
        height: 20px;
        margin-left: 5px;
    }
}




@media only screen and (max-width: 415px) {
    .event-container {
        max-width: 340px;
        padding: 15px;
    }

    .event-item,
    .custom-event-item {
        max-width: 100%;
    }

    .event-team-logo,
    .default-tournament-logo,
    tourna-logo,
    .custom-event-team-logo,
    .custom-tourna-logo,
    .custom-category-logo,
    .custom-event-team-logo,
    .custom-default-tournament-logo {
        width: 20px;
        height: 20px;
    }

    .event-teams,
    .home-team,
    .category-wrapper,
    .tournament-wrapper,
    .away-team,
    .event-scores,
    .custom-event-category-detail,
    .custom-event-tournament-detail,
    .custom-category-title,
    .custom-event-teams,
    .custom-home-team,
    .custom-away-team,
    .custom-event-scores,
    .custom-match-title,
    .custom-event-team-name {
        font-size: 10px;
    }

    .event-date,
    .event-status,
    .custom-event-date,
    .custom-event-status,
    .custom-event-date-status {

        font-size: 10px;
    }



    .event-scores,
    .custom-event-scores {
        max-width: 200px;
    }

    /* Other necessary style adjustments */
}



@media only screen and (min-width: 416px) and (max-width: 669px) {

    .event-container {
        max-width: 370px;
        padding: 15px;
    }

    .event-item,
    .custom-event-item {
        max-width: 100%;
    }

    .event-team-logo,
    .default-tournament-logo,
    .custom-event-team-logo,
    .custom-tourna-logo,
    .custom-category-logo,
    .custom-event-team-logo,
    .custom-default-tournament-logo {
        width: 20px;
        height: 20px;
    }

    .event-teams,
    .home-team,
    .category-wrapper,
    .tournament-wrapper,
    .away-team,
    .event-scores,
    .custom-event-category-detail,
    .custom-event-tournament-detail,
    .custom-category-title,
    .custom-event-teams,
    .custom-home-team,
    .custom-away-team,
    .custom-event-scores,
    .custom-match-title,
    .custom-event-team-name {
        font-size: 10px;
    }

    .event-date,
    .event-status,
    .custom-event-date,
    .custom-event-status,
    .custom-event-date-status {

        font-size: 10px;
    }

    .event-scores {
        max-width: 200px;
    }

    /* Other necessary style adjustments */
}

@media only screen and (min-width: 670px) and (max-width: 737px) {

    .event-container {
        max-width: 720px;
        padding: 20px;
    }

    .event-item,
    .custom-event-item {
        max-width: 100%;
    }

    .event-team-logo,
    .default-tournament-logo,
    .custom-event-team-logo,
    .custom-tourna-logo,
    .custom-category-logo,
    .custom-event-team-logo,
    .custom-default-tournament-logo {
        width: 30px;
        height: 30px;
    }

    .event-teams,
    .home-team,
    .tournament-wrapper,
    .away-team,
    .event-scores,
    .custom-event-category-detail,
    .custom-event-tournament-detail,
    .custom-category-title,
    .custom-event-teams,
    .custom-home-team,
    .custom-away-team,
    .custom-event-scores,
    .custom-match-title,
    .custom-event-team-name {
        font-size: 16px;
    }

    .event-date,
    .event-status,
    .category-wrapper,
    .custom-event-date,
    .custom-event-status,
    .custom-event-date-status {

        font-size: 16px;
    }

    .event-scores {
        max-width: 250px;
    }

    /* Other necessary style adjustments */
}

@media only screen and (min-width: 738px) and (max-width: 769px) {
    .event-container {
        max-width: 660px;
        padding: 20px;
    }

    .event-item,
    .custom-event-item {
        max-width: 100%;
    }

    .event-team-logo,
    .default-tournament-logo,
    .custom-event-team-logo,
    .custom-tourna-logo,
    .custom-category-logo,
    .custom-event-team-logo,
    .custom-default-tournament-logo {
        width: 28px;
        height: 28px;
    }

    .event-teams,
    .home-team,
    .category-wrapper,
    .tournament-wrapper,
    .away-team,
    .event-scores,
    .custom-event-category-detail,
    .custom-event-tournament-detail,
    .custom-category-title,
    .custom-event-teams,
    .custom-home-team,
    .custom-away-team,
    .custom-event-scores,
    .custom-match-title,
    .custom-event-team-name {
        font-size: 15px;
    }

    .event-date,
    .event-status,
    .custom-event-date,
    .custom-event-status,
    .custom-event-date-status {

        font-size: 15px;
    }

    .event-scores {
        max-width: 240px;
    }

    /* Other necessary style adjustments */
}

@media only screen and (min-width: 770px) and (max-width: 991px) {
    .event-container {
        max-width: 640px;
        padding: 20px;
    }

    .event-item,
    .custom-event-item {
        max-width: 100%;
    }

    .event-team-logo,
    .default-tournament-logo,
    .custom-event-team-logo,
    .custom-tourna-logo,
    .custom-category-logo,
    .custom-event-team-logo,
    .custom-default-tournament-logo {
        width: 28px;
        height: 28px;
    }

    .event-teams,
    .home-team,
    .tournament-wrapper,
    .away-team,
    .event-scores,
    .custom-event-category-detail,
    .custom-event-tournament-detail,
    .custom-category-title,
    .custom-event-teams,
    .custom-home-team,
    .custom-away-team,
    .custom-event-scores,
    .custom-match-title,
    .custom-event-team-name {
        font-size: 15px;
    }

    .event-date,
    .event-status,
    .category-wrapper,
    .custom-event-date,
    .custom-event-status,
    .custom-event-date-status {

        font-size: 15px;
    }

    .event-scores {
        max-width: 240px;
    }

    /* Other necessary style adjustments */
}

@media (min-width: 992px) and (max-width: 1199px) {
    .event-container {
        max-width: 700px;
        padding: 20px;
    }

    .event-item,
    .custom-event-item {
        max-width: 100%;
    }

    .event-team-logo,
    .default-tournament-logo,
    .custom-event-team-logo,
    .custom-tourna-logo,
    .custom-category-logo,
    .custom-event-team-logo,
    .custom-default-tournament-logo {
        width: 28px;
        height: 28px;
    }

    .event-teams,
    .home-team,
    .category-wrapper,
    .tournament-wrapper,
    .away-team,
    .event-scores,
    .custom-event-category-detail,
    .custom-event-tournament-detail,
    .custom-category-title,
    .custom-event-teams,
    .custom-home-team,
    .custom-away-team,
    .custom-event-scores,
    .custom-match-title,
    .custom-event-team-name {
        font-size: 15px;
    }

    .event-date,
    .event-status,
    .custom-event-date,
    .custom-event-status,
    .custom-event-date-status {
        font-size: 15px;
    }

    .event-scores {
        max-width: 240px;
    }

    /* Other necessary style adjustments */
}


@media only screen and (min-width: 1200px) {
    .event-container {
        max-width: 800px;
        padding: 20px;
    }

    .event-item,
    .custom-event-item {
        max-width: 100%;
    }

    .event-team-logo,
    .default-tournament-logo,
    .custom-event-team-logo,
    .custom-tourna-logo,
    .custom-category-logo,
    .custom-event-team-logo,
    .custom-default-tournament-logo {
        width: 30px;
        height: 30px;
    }

    .event-teams,
    .home-team,
    .category-wrapper,
    .tournament-wrapper,
    .away-team,
    .event-scores,
    .custom-event-category-detail,
    .custom-event-tournament-detail,
    .custom-category-title,
    .custom-event-teams,
    .custom-home-team,
    .custom-away-team,
    .custom-event-scores,
    .custom-match-title,
    .custom-event-team-name {
        font-size: 16px;
    }

    .event-date,
    .event-status,
    .custom-event-date,
    .custom-event-status,
    .custom-event-date-status {
        font-size: 16px;
    }

    .event-scores {
        max-width: 250px;
    }

    /* Other necessary style adjustments */
}


.custom-match-category-detail,
.custom-match-tournament-detail {
    display: flex;
    align-items: center;
    gap: 5px;
}


.custom-match-title {
    font-weight: bold;
}

.default-tournament-logo,
.custom-default-tournament-logo {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.custom-match-category-tournament-header {
    display: flex;
    align-items: center;
    justify-content: start;
    /* Aligns items to the start (left side in this case) */

    margin-top: 5px;
}

.match-category-tournament-header {
    display: flex;
    align-items: center;
    justify-content: start;
    /* Aligns items to the start (left side in this case) */

    margin-top: 5px;
}

.category-wrapper,
.tournament-wrapper {
    display: flex;
    align-items: center;
    /* Vertically centers the logo and the text */
    margin-right: 20px;
    /* Adjust this value to control the gap between category and tournament */
    margin-bottom: 10px;

    margin-top: 5px;

}

.custom-match-item {
    margin-bottom: 15px;

}

.custom-pin {
    display: inline-block;
    transition: transform 0.3s ease;
}

.custom-pin.pinned {
    transform: rotate(-45deg);
    /* This tilts the pin icon */
}

.custom-pin.pinned {
    color: red;
    /* or any other styling to indicate it's pinned */
}

.pinned-section {
    /* Add a border or other styles as needed */
    padding-bottom: 10px;
    margin-bottom: 10px;
}



.sport-logo {
    width: 20px;
    /* Adjust as per your requirements */
    height: 20px;
    /* Adjust as per your requirements */
    margin-bottom: 5px;
}

/* Updated Category Header */
.match-category-header {
    display: flex;
    align-items: center;
    /* Vertically aligns everything in the center */
    justify-content: center;
    /* Horizontally aligns everything in the center */
    margin-bottom: 20px;
}

.match-category-header img {
    width: 40px;
    /* Adjust to your preference */
    height: 40px;
    /* Adjust to your preference */
    margin-right: 10px;
}

.match-category-header span {
    font-size: 20px;
    /* Adjust to your preference */
    font-weight: bold;
}

/* "Back to Matches" Button */
.back-to-matches-btn {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin-bottom: 20px;
}

.back-to-matches-btn:hover {
    background-color: #333;
}


/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {
    .custom-pin {
        transform: scale(0.8);
        /* Slightly smaller pin */
    }

    .sport-logo {
        width: 18px;
        height: 18px;
    }

    .match-category-header img {
        width: 35px;
        height: 35px;
    }

    .match-category-header span {
        font-size: 18px;
    }

    .back-to-matches-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}



/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {
    .custom-pin {
        transform: scale(0.9);
    }

    .sport-logo {
        width: 20px;
        height: 20px;
    }

    .match-category-header img {
        width: 38px;
        height: 38px;
    }

    .match-category-header span {
        font-size: 16px;
    }

    .back-to-matches-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {
    .custom-pin {
        transform: scale(0.95);
    }

    .sport-logo {
        width: 21px;
        height: 21px;
    }

    .match-category-header img {
        width: 40px;
        height: 40px;
    }

    .match-category-header span {
        font-size: 21px;
    }

    .back-to-matches-btn {
        padding: 11px 22px;
        font-size: 16px;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {
    .custom-pin {
        transform: scale(1);
    }

    .sport-logo {
        width: 22px;
        height: 22px;
    }

    .match-category-header img {
        width: 42px;
        height: 42px;
    }

    .match-category-header span {
        font-size: 22px;
    }

    .back-to-matches-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {
    .custom-pin {
        transform: scale(1.05);
    }

    .sport-logo {
        width: 24px;
        height: 24px;
    }

    .match-category-header img {
        width: 44px;
        height: 44px;
    }

    .match-category-header span {
        font-size: 24px;
    }

    .back-to-matches-btn {
        padding: 13px 26px;
        font-size: 18px;
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    .custom-pin {
        transform: scale(1.1);
    }

    .sport-logo {
        width: 26px;
        height: 26px;
    }

    .match-category-header img {
        width: 46px;
        height: 46px;
    }

    .match-category-header span {
        font-size: 26px;
    }

    .back-to-matches-btn {
        padding: 14px 28px;
        font-size: 18px;
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {
    .custom-pin {
        transform: scale(1.15);
    }

    .sport-logo {
        width: 28px;
        height: 28px;
    }

    .match-category-header img {
        width: 48px;
        height: 48px;
    }

    .match-category-header span {
        font-size: 28px;
    }

    .back-to-matches-btn {
        padding: 15px 30px;
        font-size: 18px;
    }
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid black;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.load-more-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    /* Center the button */
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.load-more-button:hover {
    background-color: #333;
    /* Slightly lighter black on hover */
}


@keyframes blinker {
    50% {
        opacity: 0;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blink {
    animation: blink 1s infinite;
}


@keyframes blinker {
    50% {
        opacity: 0;
    }
}






.odds-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    margin-top: 10px;
}

.odds-row {
    display: flex;
    justify-content: space-around;
    border: 2px solid black;
    /* Default border color for non-live odds */
}

.odds-choice {
    flex: 1;
    text-align: center;
    position: relative;
    /* Position relative to place the indicator inside the container */
    padding: 10px 0;
}


.odds-box {
    display: inline-flex;
    /* Use inline-flex to align the indicator with the value */
    align-items: center;
    /* Center the content vertically */
    justify-content: center;
    /* Center the content horizontally */
    border: 1px solid #ccc;
    /* Border for the box */
    padding: 4px 8px;
    /* Padding inside the box */
    border-radius: 4px;
    /* Rounded corners for the box */
}

.odds-box.odds-winning {
    border: 2px solid green;
    /* Green border for winning odds */
    padding: 4px 8px;
    /* Padding inside the box */
    border-radius: 4px;
    /* Rounded corners for the box */
}

.odds-value {
    font-size: 1rem;
}

.odds-change {
    font-size: 0.8rem;
    margin-left: 4px;
    /* Space between the value and the arrow */
}

.odds-choice-label {
    font-weight: bold;
    /* Make the choice name bold */
    font-size: 16px;
}


.odds-change.up {
    color: #4CAF50;
    /* Green color for odds going up */
}

.odds-change.down {
    color: #F44336;
    /* Red color for odds going down */
}



.live-odds {
    border: 2px solid red;
    /* Example style, adjust as needed */
    animation: pulse 2s infinite;
    /* Example animation for live indication */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Very small screens (mobile) */
@media only screen and (max-width: 415px) {
    .odds-value {
        font-size: 0.75rem;
    }

    .odds-change {
        font-size: 0.65rem;
        margin-left: 3px;
    }

    .odds-choice-label {
        font-size: 10px;
    }
}


/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {
    .odds-value {
        font-size: 0.80rem;
    }

    .odds-change {
        font-size: 0.7rem;
        margin-left: 4px;
    }

    .odds-choice-label {
        font-size: 12px;
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {
    .odds-value {
        font-size: 0.85rem;
    }

    .odds-change {
        font-size: 0.75rem;
        margin-left: 4px;
    }

    .odds-choice-label {
        font-size: 12px;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {
    .odds-value {
        font-size: 0.9rem;
    }

    .odds-change {
        font-size: 0.8rem;
        margin-left: 4px;
    }

    .odds-choice-label {
        font-size: 14px;
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {
    .odds-value {
        font-size: 0.95rem;
    }

    .odds-change {
        font-size: 0.8rem;
        margin-left: 4px;
    }

    .odds-choice-label {
        font-size: 14px;
    }
}

/* Small desktops and large tablets in landscape */
@media (min-width: 992px) and (max-width: 1199px) {
    .odds-value {
        font-size: 1rem;
    }

    .odds-change {
        font-size: 0.8rem;
        margin-left: 4px;
    }

    .odds-choice-label {
        font-size: 16px;
    }
}

/* Large desktops */
@media only screen and (min-width: 1200px) {
    .odds-value {
        font-size: 1rem;
        /* Keeping the base size for larger screens */
    }

    .odds-change {
        font-size: 0.8rem;
        /* Slightly smaller for better proportion */
        margin-left: 4px;
    }

    .odds-choice-label {
        font-size: 16px;
        /* Maintaining the base size */
    }
}

/* The switch container */
.switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* No longer need black background for the whole row if the label is a button */
}

/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 10px;
    /* Spacing between the switch and the label */
    margin-bottom: 10px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    /* Red when not active */
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: green;
    /* Green when active */
}

input:focus+.slider {
    box-shadow: 0 0 1px green;
    /* Green when active */
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* The toggle label styled as a button */
.toggle-label {
    display: inline-block;
    color: white;
    /* White text color */
    background-color: #555;
    /* Dark background for the button */
    padding: 10px 20px;
    /* Padding inside the button */
    border-radius: 20px;
    /* Rounded corners for the button */
    font-weight: bold;
    /* Make the text bold */
    cursor: pointer;
    /* Change cursor to pointer on hover */
    margin-right: 10px;
    /* Spacing between the label button and the switch */
    user-select: none;
    /* Prevent text selection */
    transition: background-color 0.3s;
    /* Smooth transition for background color */
    background-color: #000;
    margin-bottom: 10px;
}

/* Hover and active states for the button */
.toggle-label:hover,
.toggle-label:active {
    background-color: #777;
    /* Lighten the button on hover/active */
}

/* Very small screens (mobile) */
@media only screen and (max-width: 410px) {
    .switch {
        width: 50px;
        /* Smaller switch size */
        height: 28px;
    }

    .switch input+.slider:before {
        height: 22px;
        width: 22px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(22px);
        transform: translateX(22px);
    }

    .toggle-label {
        padding: 8px 16px;
        /* Smaller button padding */
        font-size: 14px;
        /* Smaller font size */
        border-radius: 16px;
        /* Adjusted border radius */
    }
}

/* Small screens (larger mobile devices) */
@media only screen and (min-width: 411px) and (max-width: 414px) {
    .switch {
        width: 52px;
        height: 29px;
    }

    .switch input+.slider:before {
        height: 23px;
        width: 23px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(23px);
        transform: translateX(23px);
    }

    .toggle-label {
        padding: 9px 18px;
        font-size: 15px;
        border-radius: 18px;
    }
}

/* Medium screens (large mobile devices to small tablets) */
@media only screen and (min-width: 416px) and (max-width: 669px) {
    .switch {
        width: 54px;
        height: 30px;
    }

    .switch input+.slider:before {
        height: 24px;
        width: 24px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(24px);
        transform: translateX(24px);
    }

    .toggle-label {
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 20px;
    }
}

/* Large mobile devices in landscape and small tablets in landscape */
@media only screen and (min-width: 670px) and (max-width: 737px) {
    .switch {
        width: 56px;
        height: 31px;
    }

    .switch input+.slider:before {
        height: 25px;
        width: 25px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(25px);
        transform: translateX(25px);
    }

    .toggle-label {
        padding: 11px 22px;
        font-size: 17px;
        border-radius: 22px;
    }
}

/* Medium-sized tablets */
@media only screen and (min-width: 738px) and (max-width: 769px) {
    .switch {
        width: 58px;
        height: 32px;
    }

    .switch input+.slider:before {
        height: 26px;
        width: 26px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(26px);
        transform: translateX(26px);
    }

    .toggle-label {
        padding: 12px 24px;
        font-size: 18px;
        border-radius: 24px;
    }
}

/* Larger tablets */
@media only screen and (min-width: 770px) and (max-width: 991px) {
    .switch {
        width: 60px;
        /* Reverting to original size */
        height: 34px;
    }

    .switch input+.slider:before {
        height: 26px;
        width: 26px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(26px);
        transform: translateX(26px);
    }

    .toggle-label {
        padding: 13px 26px;
        font-size: 19px;
        border-radius: 26px;
    }
}

/* Initially hide the container */
.odds-container {
    display: none;
}

.tournament-title {
    font-weight: bold;
    /* Make the choice name bold */
}

.score-changed {
    animation: blinker 5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}