:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid #333;
}

.fade-enter { animation: fadeIn 0.4s ease-in forwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge-admin { color: #dc3545; font-weight: bold; } 
.badge-veteran { color: #af58f6; } 
.badge-rookie { color: #27f00d; } 
.badge-diamond { color: #b9f2ff; text-shadow: 0 0 5px #00d2ff; }
.badge-gold { color: #ffd700; }
.badge-silver { color: #c0c0c0; }
.badge-bronze { color: #cd7f32; }

.contributor-row { cursor: pointer; transition: background-color 0.2s; }
.contributor-row:hover { background-color: #2a2a2a; }

/* Background colors with slight transparency for the "dark" feel */
.bg-gold { background-color: rgba(255, 215, 0, 0.15) !important; }
.bg-silver { background-color: rgba(192, 192, 192, 0.15) !important; }
.bg-bronze { background-color: rgba(205, 127, 50, 0.15) !important; }

/* Icon Colors */
.text-gold { color: #ffd700; }
.text-silver { color: #c0c0c0; }
.text-bronze { color: #cd7f32; }

/* Optional: Keep the hover effect visible on top of the backgrounds */
.table-hover tbody tr.bg-gold:hover,
.table-hover tbody tr.bg-silver:hover,
.table-hover tbody tr.bg-bronze:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.markdown-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

.markdown-body pre {
    background-color: #0d1117;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.markdown-body img { max-width: 100%; }