/* Custom styles for NHL All-Time Leaders */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

.nav-pills .nav-link {
    color: #495057;
    font-weight: 500;
    margin: 0 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    color: #0d6efd;
    transform: translateY(-2px);
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.table-dark {
    background-color: #343a40;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(13, 110, 253, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.1);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.player-name {
    font-weight: 600;
}

.player-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.player-link:hover {
    color: #0b5ed7;
    text-decoration: underline;
    transform: translateX(2px);
}

.player-position {
    font-size: 0.9em;
    color: #6c757d;
    font-weight: 500;
}

.player-team {
    font-weight: 500;
    color: #198754;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1em;
    color: #dc3545;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

#loading {
    padding: 60px 0;
}

#stats-container {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 110, 253, 0.3);
}

footer {
    margin-top: auto;
}

.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rank-column {
    font-weight: 700;
    font-size: 1.1em;
    color: #495057;
}

.rank-1 { color: #ffd700; }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .nav-pills .nav-link {
        margin: 5px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
}

/* Team colors (partial list) */
.team-TOR { color: #003e7e; }
.team-MTL { color: #af1e31; }
.team-EDM { color: #041e42; }
.team-CGY { color: #c8102e; }
.team-VAN { color: #001f5b; }
.team-BOS { color: #ffb81c; }
.team-NYR { color: #0038a8; }
.team-DET { color: #ce1126; }