/* LUGI Profixio Integration - Clean Modern Styles */

/* Full width container */
.lugi-full-width-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Container with max-width */
.lugi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.lugi-page-header {
    background: #96242d;
    color: white;
    padding: 40px 0 30px;
    margin-bottom: 40px;
}

.lugi-page-title {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 25px;
    color: white !important;
    text-align: center;
}

/* Team Navigation */
.lugi-team-navigation {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 20px;
}

.lugi-nav-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lugi-nav-link:first-child {
    border-radius: 25px 0 0 25px;
}

.lugi-nav-link:last-child {
    border-radius: 0 25px 25px 0;
}

.lugi-nav-link:only-child {
    border-radius: 25px;
}

.lugi-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.lugi-nav-link.active {
    background: white;
    color: #96242d;
    font-weight: 600;
}

/* Content Areas */
.lugi-matches-content,
.lugi-standings-content {
    max-width: 100%;
}

/* Match List Container */
.lugi-matches-container {
    margin: 0;
}

.lugi-matches-container h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #96242d;
    display: inline-block;
}

/* Match Grid Layout */
.lugi-matches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Match Item Cards */
.lugi-match-item {
    background: transparent;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}


.lugi-match-item.played {
    background: transparent;
    border-left: 4px solid #28a745;
}

.lugi-match-item.upcoming {
    border-left: 4px solid #96242d;
}

/* Match Date and Time */
.match-date-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: white;
}

.match-date {
    font-weight: 600;
    color: white;
}

.match-time {
    background: transparent;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    color: white;
}

/* Match Teams Layout */
.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.home-team, .away-team {
    font-weight: 600;
    font-size: 1.1em;
    color: #f0f0f0;
}

.home-team {
    text-align: right;
}

.away-team {
    text-align: left;
}

.lugi-team {
    color: #ff9eae;
    font-weight: 700;
    position: relative;
}

/* Match Score */
.match-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.3em;
    font-weight: 700;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 20px;
    min-width: 80px;
}

.match-score .home-score,
.match-score .away-score {
    color: #96242d;
}

.match-score .score-separator {
    color: black;
}

/* Match Venue */
.match-venue {
    font-size: 0.85em;
    color: white;
    text-align: center;
    background: transparent;
    padding: 8px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.venue-icon {
    font-size: 1.1em;
}

/* Match Team Label with Ticket/Stream Links */
.match-team-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px;
}

.team-badge {
    background: transparent;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.team-badge.herr {
    background-color: #610010;
}

.team-badge.dam {
    background-color: #a41028;
}

.series-badge {
    background: transparent;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: 500;
}

/* Ticket/Stream Links */
.match-ticket-link {
    margin-left: auto;
    padding: 6px 14px;
    background: transparent;
    border: none;
    color: white !important;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.match-ticket-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.match-ticket-link.stream-link {
    color: white !important;
}

/* Standings Table */
.lugi-standings-container {
    background: transparent;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

.lugi-standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.lugi-standings-table th {
    background: #610010;
    color: white;
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lugi-standings-table th:first-child {
    border-radius: 8px 0 0 0;
}

.lugi-standings-table th:last-child {
    border-radius: 0 8px 0 0;
}

.lugi-standings-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.lugi-standings-table .team-name {
    text-align: left;
    font-weight: 500;
}

.lugi-standings-table tr:hover {
    background: #f8f9fa;
}

.lugi-team-row {
    background: #fef4f5 !important;
    font-weight: 700;
    border-left: 4px solid #610010;
}

.lugi-team-row td {
    color: #610010 !important;
    font-weight: 600;
}

.lugi-team-row:hover {
    background: #fde8ea !important;
}

.lugi-standings-table .points {
    font-weight: 700;
    color: #96242d;
    font-size: 1.1em;
}

/* Mini Standings Widget */
.lugi-mini-standings {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lugi-mini-standings .lugi-standings-table {
    font-size: 0.9em;
}

/* Next Match Widget */
.lugi-next-match-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #96242d;
}

.lugi-next-match-widget h3 {
    margin: 0 0 15px;
    color: #96242d;
    font-size: 1.2em;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lugi-container {
        padding: 0 15px;
    }
    
    .lugi-page-header {
        padding: 30px 0 20px;
        margin-bottom: 30px;
    }
    
    .lugi-page-title {
        font-size: 2em;
        margin-bottom: 20px;
    }
    
    .lugi-team-navigation {
        flex-direction: column;
        gap: 2px;
    }
    
    .lugi-nav-link {
        border-radius: 0 !important;
        text-align: center;
    }
    
    .lugi-nav-link:first-child {
        border-radius: 8px 8px 0 0 !important;
    }
    
    .lugi-nav-link:last-child {
        border-radius: 0 0 8px 8px !important;
    }
    
    .lugi-matches {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .match-teams {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    
    .home-team, .away-team {
        text-align: center;
    }
    
    .lugi-standings-table {
        font-size: 0.8em;
    }
    
    .lugi-standings-table th,
    .lugi-standings-table td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .lugi-page-title {
        font-size: 1.8em;
    }
    
    .lugi-nav-link {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .match-score {
        font-size: 1.1em;
        padding: 8px 12px;
    }
}