/* Synottip Live Events Widget Styles */
.synottip-live-events-widget {
    width: 100%;
    max-width: 100%;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 27.2px;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

/* Sports Menu */
.synottip-sports-menu {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-with-arrows-wrapper {
    position: relative;
    width: 100%;
}

.scroll-with-arrows-content {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.scroll-with-arrows-content::-webkit-scrollbar {
    height: 6px;
}

.scroll-with-arrows-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-with-arrows-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.scroll-with-arrows-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.scroll-with-arrows-content .d-flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 15px;
    min-width: min-content;
}

/* Sport Item */
.sport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    border: 2px solid transparent;
}

.sport-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sport-item.selected {
    background: rgba(71, 214, 110, 0.2);
    border-color: #47D66E;
}

.sport-item.unselected {
    opacity: 0.6;
}

.sport-icon {
    width: 40px;
    height: 40px;
    transform: scale(0.6);
    transform-origin: left top;
    margin-bottom: -16px;
    margin-right: -16px;
    background-image: var(--synottip-icons-url, url('assets/synot-icons-40x40.png'));
    background-color: transparent;
    background-repeat: no-repeat;
    display: inline-block;
    flex-shrink: 0;
    background-position: 0 -2600px; /* default universal icon */
}

/* Icon positions - vertical sprite layout */
.sport-icon.alpine-ski {
    background-position: 0 0;
}

.sport-icon.american-football {
    background-position: 0 -50px;
}

.sport-icon.athletics {
    background-position: 0 -100px;
}

.sport-icon.aussie-rules {
    background-position: 0 -150px;
}

.sport-icon.badminton {
    background-position: 0 -200px;
}

.sport-icon.bandy {
    background-position: 0 -250px;
}

.sport-icon.baseball {
    background-position: 0 -300px;
}

.sport-icon.basketball {
    background-position: 0 -350px;
}

.sport-icon.beach-soccer {
    background-position: 0 -400px;
}

.sport-icon.beach-volley {
    background-position: 0 -450px;
}

.sport-icon.biathlon {
    background-position: 0 -500px;
}

.sport-icon.bobsled {
    background-position: 0 -550px;
}

.sport-icon.bowls {
    background-position: 0 -600px;
}

.sport-icon.box {
    background-position: 0 -650px;
}

.sport-icon.canoeing {
    background-position: 0 -700px;
}

.sport-icon.chess {
    background-position: 0 -750px;
}

.sport-icon.cricket {
    background-position: 0 -800px;
}

.sport-icon.cross-country-skiing {
    background-position: 0 -850px;
}

.sport-icon.curling {
    background-position: 0 -900px;
}

.sport-icon.cycling {
    background-position: 0 -950px;
}

.sport-icon.darts {
    background-position: 0 -1000px;
}

.sport-icon.e-sporty {
    background-position: 0 -1050px;
}

.sport-icon.f1 {
    background-position: 0 -1100px;
}

.sport-icon.field-hockey {
    background-position: 0 -1150px;
}

.sport-icon.figure-skating {
    background-position: 0 -1200px;
}

.sport-icon.floorball {
    background-position: 0 -1250px;
}

.sport-icon.football {
    background-position: 0 -1300px;
}

.sport-icon.freestyle-skiing {
    background-position: 0 -1350px;
}

.sport-icon.futsal {
    background-position: 0 -1400px;
}

.sport-icon.gaelic-football {
    background-position: 0 -1450px;
}

.sport-icon.gaelic-hurling {
    background-position: 0 -1500px;
}

.sport-icon.golf {
    background-position: 0 -1550px;
}

.sport-icon.handball {
    background-position: 0 -1600px;
}

.sport-icon.hockey {
    background-position: 0 -1650px;
}

.sport-icon.kabaddi {
    background-position: 0 -1700px;
}

.sport-icon.motosport {
    background-position: 0 -1750px;
}

.sport-icon.nordic-combination {
    background-position: 0 -1800px;
}

.sport-icon.olymp {
    background-position: 0 -1850px;
}

.sport-icon.pessapalo {
    background-position: 0 -1900px;
}

.sport-icon.plachtenie {
    background-position: 0 -1950px;
}

.sport-icon.rugby {
    background-position: 0 -2000px;
}

.sport-icon.skeleton {
    background-position: 0 -2050px;
}

.sport-icon.ski-jumping {
    background-position: 0 -2100px;
}

.sport-icon.snooker {
    background-position: 0 -2150px;
}

.sport-icon.snowboarding {
    background-position: 0 -2200px;
}

.sport-icon.softball {
    background-position: 0 -2250px;
}

.sport-icon.specials {
    background-position: 0 -2300px;
}

.sport-icon.speedskating {
    background-position: 0 -2350px;
}

.sport-icon.squash {
    background-position: 0 -2400px;
}

.sport-icon.table-tennis {
    background-position: 0 -2450px;
}

.sport-icon.tennis {
    background-position: 0 -2500px;
}

.sport-icon.triathlon {
    background-position: 0 -2550px;
}

.sport-icon.universal {
    background-position: 0 -2600px;
}

.sport-icon.volleyball {
    background-position: 0 -2650px;
}

.sport-icon.water-polo {
    background-position: 0 -2700px;
}

.sport-label {
    font-size: 11px;
    text-align: center;
    color: #FFFFFF;
    white-space: nowrap;
    font-weight: 400;
    font-family: "Roboto Condensed", sans-serif;
}

.sport-item.selected .sport-label {
    color: #47D66E;
    font-weight: 600;
}

/* Events Container */
.synottip-events-container {
    width: 100%;
    min-height: 200px;
    position: relative;
}

/* Loading Overlay */
.synottip-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
	border-radius: 0px;
}

.synottip-loading-message {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #FFFFFF;
    padding: 20px;
    text-align: center;
}

.loading-message,
.no-events,
.error-message {
    padding: 40px 20px;
    text-align: center;
    color: #FFFFFF;
    font-size: 17px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
}

.error-message {
    color: #ff6b6b;
}

.error-message p {
    margin: 5px 0;
}

/* Live Events List */
.live-events-list {
    width: 100%;
}

.live-eventlist-item-cat {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-eventlist-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.live-eventlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-name {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 27.2px;
}

.other-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 17px;
    font-family: "Roboto Condensed", sans-serif;
    color: rgba(255, 255, 255, 0.8);
}

.match-status {
    white-space: nowrap;
    color: #47D66E;
}

.main-result {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #47D66E;
    margin: 0 5px;
}

.half-result {
    font-size: 17px;
    font-family: "Roboto Condensed", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 5px;
}

.event-list-hr {
    margin: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .synottip-live-events-widget {
        font-size: 15px;
        padding: 15px;
    }
    
    .scroll-with-arrows-content .d-flex {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .sport-item {
        min-width: 60px;
        padding: 6px 8px;
    }
    
    /* Icons keep same size and scale on mobile */
    
    .sport-label {
        font-size: 10px;
    }
    
    .live-eventlist-item {
        padding: 12px;
    }
    
    .event-name {
        font-size: 14px;
    }
    
    .main-result {
        font-size: 15px;
    }
    
    .other-details {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sport-item {
        min-width: 55px;
        padding: 5px 6px;
    }
    
    .sport-icon {
        width: 40px;
        height: 40px;
        /* Keep same scale and margins on small mobile */
    }
    
    .sport-label {
        font-size: 9px;
    }
    
    .live-eventlist-item-cat {
        padding: 10px 12px;
        font-size: 20px;
    }
    
    .live-eventlist-item {
        padding: 10px;
    }
    
    .event-name {
        font-size: 13px;
    }
    
    .main-result {
        font-size: 14px;
    }
}

/* Disclaimer */
.synottip-disclaimer {
    padding: 15px 20px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-text {
    margin: 0;
    font-size: 11px;
    font-family: "Roboto Condensed", sans-serif;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (max-width: 768px) {
    .synottip-disclaimer {
        padding: 12px 15px;
        margin-top: 15px;
    }
    
    .disclaimer-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .synottip-disclaimer {
        padding: 10px 12px;
        margin-top: 12px;
    }
    
    .disclaimer-text {
        font-size: 9px;
    }
}

/* Utility Classes */
.d-flex {
    display: flex;
}

.flex-grow-1 {
    flex-grow: 1;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-message {
    animation: pulse 1.5s ease-in-out infinite;
}

