/* The Bro-chestrator - Custom Styles */

:root {
    --beer-yellow: #f5a623;
    --poker-green: #2d5a27;
    --grill-red: #c41e3a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border-radius: 10px;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Hall of Fame/Shame specific */
#hallOfFame p,
#hallOfShame p {
    padding: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
}

/* Flake badge colors */
.flake-low {
    color: #28a745;
}

.flake-medium {
    color: #ffc107;
}

.flake-high {
    color: #dc3545;
}

/* Event type badges */
.badge-poker {
    background-color: var(--poker-green);
}

.badge-sports {
    background-color: #0d6efd;
}

.badge-bbq {
    background-color: var(--grill-red);
}

/* Custom button styles */
.btn-beer {
    background-color: var(--beer-yellow);
    color: #000;
}

.btn-beer:hover {
    background-color: #d4900f;
    color: #000;
}

/* Animations */
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Stats cards */
.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Table styling */
.table-dark {
    --bs-table-bg: transparent;
}

.table-dark tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Form controls in dark mode */
.form-control.bg-secondary,
.form-select.bg-secondary {
    border-color: #495057;
}

.form-control.bg-secondary:focus,
.form-select.bg-secondary:focus {
    border-color: var(--beer-yellow);
    box-shadow: 0 0 0 0.25rem rgba(245, 166, 35, 0.25);
}

/* Member avatar placeholder */
.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Leaderboard styling */
.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.2s;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .card-body h2 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Footer styling */
footer {
    border-top: 1px solid #333;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #495057;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}
