/* =====================================================
   LS Match List Widget — Structure Only
   All sizes / colours → Elementor Controls (selectors in widget PHP)
   ===================================================== */

/* ── Container ── */
.ls-match-list-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* ── Top Navigation ── */
.ls-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-style: solid;     /* width + color → Elementor */
    margin-bottom: 0;
    gap: 10px;
    flex-wrap: wrap;
    /* padding, background, border-radius → Elementor */
}

.ls-filter-tabs {
    display: flex;
    flex-shrink: 0;
    /* gap → Elementor (tab_gap) */
}

/* ── Tab Buttons ── */
.ls-tab-btn {
    background: transparent;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* padding, border-radius, color, typography → Elementor */
}

.ls-tab-btn:hover {
    opacity: 0.85;
}

/* ── Date Navigation ── */
.ls-date-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* gap → Elementor (date_gap) */
}

.ls-date-display {
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    /* color, typography → Elementor */
}

.ls-date-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: background-color 0.2s ease;
    /* hover bg + icon stroke → Elementor */
}

.ls-date-btn svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* ── Content Area ── */
.ls-matches-content {
    min-height: 200px;
    /* padding, background, border-radius → Elementor */
}

/* ── League Section ── */
.ls-league-section {
    /* margin-bottom → Elementor (league_section_gap) */
}

.ls-league-header {
    display: flex;
    align-items: center;
    /* padding, background, border-radius, gap, margin-bottom → Elementor */
}

.ls-league-logo {
    object-fit: contain;
    flex-shrink: 0;
    /* width / height → Elementor (league_logo_size) */
}

.ls-league-header h4 {
    margin: 0;
    font-weight: 600;
    /* color, typography → Elementor */
}

/* ── Match Row ── */
.ls-match-row {
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    /* padding, gap, border-radius, margin-bottom, background → Elementor */
}

.ls-match-row:hover {
    transform: translateX(2px);
    /* background → Elementor (match_row_hover_bg) */
}

/* ── Match Time ── */
.ls-match-time {
    text-align: center;
    font-weight: 600;
    flex-shrink: 0;
    /* min-width, color, typography → Elementor */
}

.ls-status-ft {
    /* background, color, padding, border-radius, typography → Elementor */
}

.ls-live-min {
    font-weight: 700;
    /* color, typography → Elementor */
}

/* ── Teams Stack ── */
.ls-teams-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* gap → Elementor (teams_stack_gap) */
}

.ls-team-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ls-team-brand {
    display: flex;
    align-items: center;
    flex: 1;
    /* gap → Elementor (team_logo_gap) */
}

.ls-team-logo {
    object-fit: contain;
    flex-shrink: 0;
    /* width / height → Elementor (team_logo_size) */
}

.ls-team-name {
    /* color, typography → Elementor */
}

.ls-team-score {
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
    /* min-width, color, typography → Elementor */
}

/* ── Emoji placeholder ── */
.ls-emoji-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ls-league-emoji { flex-shrink: 0; }
.ls-team-emoji   { flex-shrink: 0; }

/* ── Loading / Error ── */
.ls-loading-spinner {
    font-size: 12px;
    margin-right: 3px;
}

/* ── Mobile Responsive ── */
@media (max-width: 640px) {
    .ls-top-nav {
        gap: 8px;
        justify-content: center;
    }

    .ls-filter-tabs {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .ls-date-nav {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
}