/* WHV Spielplan PRO Frontend Styles */

/* Ergebnis Widget */
.whv-ergebnis-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.whv-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.whv-team {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.whv-team-heim {
    justify-content: flex-start;
}

.whv-team-gast {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.whv-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.whv-team-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.whv-result {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.whv-score {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
}

.whv-vs {
    font-size: 28px;
    font-weight: 700;
    color: #7f8c8d;
}

.whv-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 2px solid #ecf0f1;
    color: #7f8c8d;
    font-size: 14px;
}

.whv-buttons {
    margin-top: 20px;
    text-align: center;
}

.whv-button {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whv-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.whv-error {
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    text-align: center;
}

/* Spielplan Widget */
.whv-spielplan-widget {
    padding: 20px;
    background: #f5f6fa;
    border-radius: 8px;
}

.whv-spielplan-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.whv-spielplan-table th {
    background: #2c3e50;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.whv-spielplan-table td {
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.whv-spielplan-table tr:hover {
    background: #f8f9fa;
}

/* Wochenende Widget */
.whv-wochenende-widget {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.whv-wochenende-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whv-wochenende-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .whv-teams-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .whv-team {
        width: 100%;
        justify-content: center !important;
        flex-direction: row !important;
    }
    
    .whv-logo {
        width: 40px;
        height: 40px;
    }
    
    .whv-team-name {
        font-size: 16px;
    }
    
    .whv-score {
        font-size: 28px;
    }
    
    .whv-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .whv-ergebnis-container {
        padding: 20px;
    }
    
    .whv-wochenende-widget {
        grid-template-columns: 1fr;
    }
}
