/* VCP Isar Theme Colors */
:root {
    --vcp-blue: #00468C;
    --vcp-light-blue: #0066cc;
    --vcp-yellow: #FFD700;
    --vcp-white: #FFFFFF;
}

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--vcp-blue);
}

/* Logo Effects */
.logo-container {
    position: relative;
}

.logo-container img {
    transition: transform 0.3s ease;
}

/* Removed hover effect - logo is not clickable */

/* Text Styles */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Scoreboard Card */
.scoreboard-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

/* Removed hover effect - tables are not clickable */

/* Table Styling */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

table thead th {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* Tab Styling */
.tab-container {
    position: relative;
    z-index: 10;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.tab-button.active {
    background: white;
    color: var(--vcp-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Animation for Row Entries */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Top Rankings Styling */
.rank-1, .rank-2, .rank-3 {
    font-weight: 600;
}

.rank-1 td:first-child {
    position: relative;
    color: var(--vcp-yellow);
}

.rank-2 td:first-child {
    position: relative;
    color: #C0C0C0; /* Silver */
}

.rank-3 td:first-child {
    position: relative;
    color: #CD7F32; /* Bronze */
}

/* Hover-Effekt für Tabellenzeilen */
tr:hover {
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}

/* VCP Isar spezifische Styles */
.bg-vcp-blue {
    background-color: var(--vcp-blue);
}

/* Challenge Info Message Links */
#challenge-info-message a {
    color: var(--vcp-yellow);
    text-decoration: underline;
    text-decoration-color: rgba(255, 215, 0, 0.5);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

#challenge-info-message a:hover {
    color: #fff;
    text-decoration-color: #fff;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

#challenge-info-message a:visited {
    color: rgba(255, 215, 0, 0.8);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    table thead th {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    table tbody td {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}