/* Frontend Styles for Lokalstanding */

.lokalstanding-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header */
.lokalstanding-header {
    text-align: center;
    margin-bottom: 30px;
}

.lokalstanding-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333;
}

.lokalstanding-date {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Tabs */
.lokalstanding-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.lokalstanding-tab {
    padding: 8px 20px;
    border: none;
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lokalstanding-tab:hover {
    background: #e0e0e0;
}

.lokalstanding-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.lokalstanding-tab.active[data-club="urban_wagyu"] {
    background: linear-gradient(135deg, #5A6E4F 0%, #7A8E6F 100%);
}

.lokalstanding-tab.active[data-club="munch_club"] {
    background: linear-gradient(135deg, #B83E3E 0%, #D85E5E 100%);
}

/* Club Content */
.lokalstanding-club-content {
    display: none;
}

.lokalstanding-club-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Podium */
.lokalstanding-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
}

.lokalstanding-podium-item {
    flex: 0 0 30%;
    text-align: center;
    border-radius: 12px;
    padding: 20px 10px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.lokalstanding-podium-item:hover {
    transform: translateY(-5px);
}

.urban-wagyu .lokalstanding-podium-item {
    background: linear-gradient(135deg, #5A6E4F 0%, #7A8E6F 100%);
}

.munch-club .lokalstanding-podium-item {
    background: linear-gradient(135deg, #B83E3E 0%, #D85E5E 100%);
}

.podium-1 {
    min-height: 150px;
    order: 2;
}

.podium-2 {
    min-height: 130px;
    order: 1;
}

.podium-3 {
    min-height: 110px;
    order: 3;
}

.podium-position {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.podium-name {
    font-size: 14px;
    font-weight: 500;
    word-wrap: break-word;
}

/* List */
.lokalstanding-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lokalstanding-list-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.lokalstanding-list-item:last-child {
    border-bottom: none;
}

.lokalstanding-list-item:hover {
    background: #f9f9f9;
}

.list-position {
    font-size: 16px;
    font-weight: 700;
    color: #999;
    margin-right: 15px;
    min-width: 30px;
}

.list-name {
    flex: 1;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.list-indicator {
    font-size: 18px;
    min-width: 30px;
    text-align: right;
}

.indicator-up {
    color: #4CAF50;
}

.indicator-down {
    color: #F44336;
}

/* Empty state */
.lokalstanding-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    .lokalstanding-container {
        padding: 15px;
    }

    .lokalstanding-podium {
        gap: 10px;
        padding: 10px;
    }

    .lokalstanding-podium-item {
        flex: 0 0 28%;
        padding: 15px 5px;
    }

    .podium-position {
        font-size: 24px;
    }

    .podium-name {
        font-size: 12px;
    }

    .podium-1 {
        min-height: 120px;
    }

    .podium-2 {
        min-height: 100px;
    }

    .podium-3 {
        min-height: 80px;
    }
}