﻿/* MODERN NAVBAR */
.navbar-dark {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(8, 145, 178, 0.1);
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(8, 145, 178, 0.15);
}

.navbar-brand {
    padding: 0 !important;
    margin-right: 1rem !important;
    margin-top: -3px;
    margin-left: 0.5rem;
}

    .navbar-brand img {
        height: 40px;
        width: 40px;
        transition: transform 0.3s ease;
    }

    .navbar-brand:hover img {
        transform: scale(1.1);
    }

.navbar-nav > li:first-child {
    margin-left: 0.5rem;
}

.nav-link {
    color: #cbd5e1 !important;
    padding: 0.5rem 0.75rem !important;
    margin: 0 0.35rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #ff8c42, #ff6b00);
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    .nav-link:hover::before {
        width: 70%;
    }

    .nav-link:hover {
        background: rgba(255, 140, 66, 0.12) !important;
        color: #ff8c42 !important;
        transform: translateY(-1px);
    }

.nav-item.active .nav-link {
    background: rgba(255,140,66,0.15);
    color: #ff8c42 !important;
}

.dropdown-menu {
    background: #1e293b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid rgba(100, 116, 139, 0.3);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: slideDown 0.2s ease;
    min-width: 200px;
    z-index: 1050;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    transition: all 0.15s ease;
    border-radius: 4px;
    margin: 2px 4px;
    padding: 0.4rem 0.75rem !important;
    font-size: 0.875rem;
    font-weight: 400;
    color: #e2e8f0;
}

    .dropdown-item:hover {
        background: #ff8c42;
        color: white;
    }

.dropdown-divider {
    margin: 0.5rem 10px;
    border-top: 1px solid rgba(100, 116, 139, 0.3);
}

.navbar input.form-control {
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
    padding: 0.45rem 1rem;
    font-weight: 400;
    font-size: 0.9rem;
    min-width: 180px;
}

    .navbar input.form-control::placeholder {
        color: rgba(255,255,255,0.6);
        font-weight: 400;
    }

    .navbar input.form-control:focus {
        background: rgba(255,255,255,0.15);
        border-color: #ff8c42;
        box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
        color: white;
        outline: none;
    }

.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .navbar-right .nav-link {
        font-weight: 600;
        padding: 0.4rem 1rem !important;
        font-size: 0.875rem;
        margin: 0 !important;
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 6px;
        color: white !important;
        background: transparent;
    }

        .navbar-right .nav-link:hover {
            background: rgba(255,255,255,0.05);
            border-color: rgba(255,255,255,0.3);
        }

/* Badge in navbar */
.badge-comments {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b00 100%);
    border: none;
    border-radius: 8px;
    padding: 0.35rem 0.65rem !important;
    font-weight: 600;
    font-size: 0.8rem;
    color: white !important;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
}

/* PLAYER HEADER */
.player-header {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 50%, #155e75 100%);
    color: white;
    padding: 2rem 1rem 1rem 1rem;
    border-radius: 0 0 24px 24px;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 32px rgba(8, 145, 178, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .player-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
        pointer-events: none;
    }

.player-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.player-controls {
    margin-top: 0.5rem;
}

/* ALERT BOX */
.alert-info {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(100, 116, 139, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #0891b2;
}

    .alert-info strong {
        color: #60a5fa;
        font-weight: 700;
    }

    .alert-info a {
        color: #38bdf8;
        font-weight: 600;
        text-decoration: none;
    }

        .alert-info a:hover {
            text-decoration: underline;
        }

/* CARD BASED DESIGN - Light with Borders */
.card-based {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 0;
    border: 1px solid rgba(100, 116, 139, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .card-based::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 140, 66, 0.05), transparent );
        transition: left 0.5s;
    }

    .card-based:hover::before {
        left: 100%;
    }

    .card-based:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-color: rgba(255, 140, 66, 0.3);
    }

.card-header-custom {
    color: #ff8c42;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    padding-left: 1rem;
    border-bottom: 2px solid rgba(100, 116, 139, 0.2);
    position: relative;
}

    .card-header-custom::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #ff8c42, #ff6b00);
        border-radius: 0;
    }

/* PLAYER INFO TABLE */
.info-table {
    width: 100%;
    table-layout: auto;
}

    .info-table tr {
        border-bottom: 1px solid rgba(100, 116, 139, 0.2);
    }

        .info-table tr:last-child {
            border-bottom: none;
        }

    .info-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        color: #1e293b;
    }

        .info-table td:first-child {
            font-weight: 600;
            color: #334155;
            width: 45%;
            white-space: nowrap;
        }

        .info-table td:last-child {
            color: #0f172a;
            font-weight: 600;
            white-space: nowrap;
            width: 55%;
        }

        .info-table td span {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 4px;
            max-width: 100%;
            box-sizing: border-box;
        }

    .info-table thead th {
        font-weight: 700;
        color: #ff8c42;
        border-bottom: 2px solid rgba(100, 116, 139, 0.3);
        padding-bottom: 0.5rem;
    }

    .info-table a {
        color: #0891b2;
        text-decoration: none;
    }

        .info-table a:hover {
            text-decoration: underline;
            color: #ff8c42;
        }

/* Position display */
.edit-minutes-positions {
    display: flex;
    gap: 2px;
}

    .edit-minutes-positions div {
        display: inline-block;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 600;
    }

/* NEWS SECTION */
.news-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #0891b2;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.2s ease;
}

    .news-card:hover {
        background: rgba(255, 140, 66, 0.05);
        transform: translateX(4px);
        border-left-color: #ff8c42;
    }

.news-date {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

    .news-date a {
        color: #0891b2;
        text-decoration: none;
    }

        .news-date a:hover {
            color: #ff8c42;
        }

.injury-span {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* COMMENT CARDS */
.comment-scroll-wrapper {
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
}

    .comment-scroll-wrapper::-webkit-scrollbar {
        width: 6px;
    }

    .comment-scroll-wrapper::-webkit-scrollbar-track {
        background: rgba(100, 116, 139, 0.1);
        border-radius: 3px;
    }

    .comment-scroll-wrapper::-webkit-scrollbar-thumb {
        background: #0891b2;
        border-radius: 3px;
    }

        .comment-scroll-wrapper::-webkit-scrollbar-thumb:hover {
            background: #0e7490;
        }

.comment-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 3px solid rgba(100, 116, 139, 0.3);
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s ease;
}

    .comment-card:hover {
        background: rgba(255, 140, 66, 0.05);
        border-left-color: #ff8c42;
        transform: translateX(6px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .comment-card:first-child {
        background: rgba(255, 240, 200, 0.6);
        border-left-color: rgba(255, 193, 7, 0.7);
        box-shadow: 0 1px 4px rgba(255, 193, 7, 0.1);
    }

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.comment-username {
    font-weight: 600;
    color: #ff8c42;
    text-decoration: none;
}

    .comment-username:hover {
        color: #ff6b00;
    }

.comment-date {
    color: #64748b;
    font-size: 0.8rem;
}

.comment-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.5;
}

.vote-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid rgba(100, 116, 139, 0.3);
    background: rgba(255, 255, 255, 0.8);
    color: #475569;
    transition: all 0.2s ease;
    min-width: 60px;
}

    .vote-btn:hover {
        background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
        color: white;
        border-color: transparent;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(8, 145, 178, 0.3);
    }

    .vote-btn:active {
        transform: translateY(0);
    }

/* SCHEDULE GRID */
.schedule-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 0.5rem;
    max-width: 100%;
}

.schedule-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    font-size: 0.8rem;
}

    .schedule-table th,
    .schedule-table td {
        border: 1px solid rgba(100, 116, 139, 0.3);
        padding: 0.5rem 0.25rem;
        text-align: center;
    }

    .schedule-table th {
        background: #1e3a8a;
        font-weight: 600;
        color: white;
    }

    .schedule-table td {
        background: rgba(255, 255, 255, 0.8);
        color: #1e293b !important;
    }

        .schedule-table td[style*="f1fff1"] {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%) !important;
            color: #047857 !important;
            font-weight: 600;
        }

        .schedule-table td[style*="ffffff"] {
            background: rgba(255, 255, 255, 0.8) !important;
            color: #1e293b !important;
        }

        .schedule-table td[style*="f5fff5"] {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%) !important;
            color: #047857 !important;
            font-weight: 600;
        }

        .schedule-table td[style*="fffdfd"],
        .schedule-table td[style*="fff2f2"] {
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%) !important;
            color: #b91c1c !important;
            font-weight: 600;
        }

        .schedule-table td[style*="ffeded"],
        .schedule-table td[style*="ffe0e0"] {
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(220, 38, 38, 0.2) 100%) !important;
            color: #991b1b !important;
            font-weight: 700;
        }

        .schedule-table td[style*="c0ffc0"] {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0.3) 100%) !important;
            color: #065f46 !important;
            font-weight: 700;
        }

/* CONTROLS */
.control-bar {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

    .control-bar input[type="checkbox"] {
        display: none;
    }

    .control-bar label {
        padding: 0.4rem 0.8rem;
        background: white;
        border: 2px solid rgba(100, 116, 139, 0.3);
        border-radius: 0;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #475569;
        display: inline-flex;
        align-items: center;
        line-height: 1.5;
        height: fit-content;
    }

    .control-bar input[type="submit"],
    .control-bar .btn-custom {
        display: inline-flex;
        align-items: center;
        line-height: 1.5;
        height: fit-content;
        vertical-align: middle;
    }

    .control-bar input[type="checkbox"]:checked + label {
        background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
        color: white;
        border-color: transparent;
    }

    .control-bar label:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-color: #ff8c42;
    }

.btn-custom {
    padding: 0.6rem 1rem;
    background: white;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
}

    .btn-custom:hover {
        background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
        color: white;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
    }

/* SHOW ALL BUTTON */
.btn-show-all {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b00 100%);
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
}

    .btn-show-all:hover {
        background: linear-gradient(135deg, #ff7a2e 0%, #ff5500 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
        cursor: pointer;
    }

/* PROJECTIONS TABLE */
.projections-table {
    width: 100%;
    margin: 0;
    font-size: 0.85rem;
}

    .projections-table th {
        background: #1e3a8a;
        color: white;
        padding: 0.6rem 0.4rem;
        font-weight: 600;
        font-size: 0.75rem;
        border: none;
        white-space: nowrap;
        text-align: right;
    }

        .projections-table th:first-child {
            border-radius: 8px 0 0 0;
            text-align: left;
        }

        .projections-table th:last-child {
            border-radius: 0 8px 0 0;
        }

    .projections-table td {
        padding: 0.5rem 0.4rem;
        border-bottom: 1px solid rgba(100, 116, 139, 0.2);
        text-align: right;
        color: #1e293b;
        background: rgba(255, 255, 255, 0.7);
    }

        .projections-table td:first-child {
            text-align: left;
            color: #475569;
            font-weight: 600;
        }

    .projections-table tbody tr {
        transition: all 0.2s ease;
    }

        .projections-table tbody tr:hover {
            background: rgba(8, 145, 178, 0.12);
            box-shadow: 0 0 20px rgba(8, 145, 178, 0.2);
            transform: scale(1.005);
        }

            .projections-table tbody tr:hover td {
                background: rgba(8, 145, 178, 0.12) !important;
                border-color: rgba(6, 182, 212, 0.3);
            }

    /* Value cell colors */
    .projections-table td[style*="f8fff8"] {
        background: rgba(16, 185, 129, 0.15) !important;
    }

    .projections-table td[style*="f1fff1"] {
        background: rgba(16, 185, 129, 0.2) !important;
    }

    .projections-table td[style*="f4fff4"] {
        background: rgba(16, 185, 129, 0.175) !important;
    }

    .projections-table td[style*="edffed"] {
        background: rgba(16, 185, 129, 0.25) !important;
    }

    .projections-table td[style*="e0ffe0"] {
        background: rgba(16, 185, 129, 0.35) !important;
    }

    .projections-table td[style*="e8ffe8"] {
        background: rgba(16, 185, 129, 0.3) !important;
    }

    .projections-table td[style*="ecffec"] {
        background: rgba(16, 185, 129, 0.275) !important;
    }

/* GAME LOG TABLE */
.game-log-wrapper {
    max-height: 600px;
    overflow-y: auto;
    border-radius: 0;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.game-log-table {
    width: 100%;
    font-size: 0.8rem;
}

    .game-log-table th {
        background: #1e3a8a;
        color: white;
        padding: 0.5rem 0.3rem;
        font-weight: 600;
        font-size: 0.75rem;
        position: sticky;
        top: 0;
        z-index: 10;
        white-space: nowrap;
        text-align: right;
    }

        .game-log-table th:first-child,
        .game-log-table th:nth-child(2),
        .game-log-table th:nth-child(3) {
            text-align: left;
        }

    .game-log-table td {
        padding: 0.4rem 0.3rem;
        border-bottom: 1px solid rgba(100, 116, 139, 0.2);
        text-align: right;
        color: #1e293b;
        background: rgba(255, 255, 255, 0.7);
    }

        .game-log-table td:first-child,
        .game-log-table td:nth-child(2),
        .game-log-table td:nth-child(3) {
            text-align: left;
        }

        .game-log-table td a {
            color: #0891b2;
            text-decoration: none;
        }

            .game-log-table td a:hover {
                color: #ff8c42;
            }

    .game-log-table tbody tr:hover {
        background: rgba(255, 140, 66, 0.08);
    }

    /* Game log value cells */
    .game-log-table td[style*="efffef"] {
        background: rgba(16, 185, 129, 0.2) !important;
    }

    .game-log-table td[style*="c6ffc6"] {
        background: rgba(16, 185, 129, 0.4) !important;
    }

    .game-log-table td[style*="fbfffb"] {
        background: rgba(16, 185, 129, 0.1) !important;
    }

.badge-danger {
    background: #dc2626;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* SELECT DROPDOWNS */
select.form-select {
    border-radius: 8px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    padding: 0.4rem 2rem 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    background-color: white;
    background-position: right 0.5rem center;
    color: #475569;
}

    select.form-select:focus {
        border-color: #0891b2;
        box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
        outline: none;
    }

/* LINK BUTTONS */
.link-button {
    padding: 0.6rem 1rem;
    background: white;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0891b2;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

    .link-button:hover {
        background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
        color: white;
        border-color: transparent;
        transform: translateY(-2px);
        text-decoration: none;
    }

.dropdown-toggle::after {
    display: none !important;
}

/* FOOTER */
footer {
    background: rgba(255, 255, 255, 0.9);
    color: #64748b;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(8, 145, 178, 0.15);
    margin-top: 2rem;
}

    footer a {
        color: #0891b2;
        text-decoration: none;
    }

/* UTILITY CLASSES */
.nowrap {
    white-space: nowrap;
}

.tdc {
    text-align: center;
}

.tdr {
    text-align: right;
}

.tdl {
    text-align: left;
}

/* SCROLLBAR STYLING */
/* Global scrollbar for all elements */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(100, 116, 139, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #0891b2;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #0e7490;
    }

/* Specific scrollbar overrides */
.comment-scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.comment-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(100, 116, 139, 0.1);
    border-radius: 3px;
}

.comment-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #0891b2;
    border-radius: 3px;
}

    .comment-scroll-wrapper::-webkit-scrollbar-thumb:hover {
        background: #0e7490;
    }

.game-log-wrapper::-webkit-scrollbar,
.schedule-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.game-log-wrapper::-webkit-scrollbar-track,
.schedule-wrapper::-webkit-scrollbar-track {
    background: rgba(100, 116, 139, 0.1);
    border-radius: 4px;
}

.game-log-wrapper::-webkit-scrollbar-thumb,
.schedule-wrapper::-webkit-scrollbar-thumb {
    background: #0891b2;
    border-radius: 4px;
}

    .game-log-wrapper::-webkit-scrollbar-thumb:hover,
    .schedule-wrapper::-webkit-scrollbar-thumb:hover {
        background: #0e7490;
    }

/* REMOVE CENTERED CONTAINER */
.container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
}

/* FORCE COLUMN LAYOUT */
.row {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.col-lg-2,
.col-lg-3,
.col-lg-7 {
    flex: 0 0 auto !important;
    max-width: none !important;
}

.col-lg-2 {
    width: 320px !important;
    flex-shrink: 0 !important;
}

.col-lg-3 {
    width: 300px !important;
    flex-shrink: 0 !important;
}

.col-lg-7 {
    flex: 1 !important;
    min-width: 550px !important;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .control-bar > div:first-child {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        justify-content: flex-start;
    }

    .btn-show-all {
        width: 100%;
        order: 999;
    }
}

@media (max-width: 992px) {
    .control-bar label,
    .btn-custom {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .player-name {
        font-size: 1.5rem;
    }

    .card-based {
        padding: 1rem;
    }

    .control-bar {
        gap: 0.4rem;
        justify-content: center;
    }

        .control-bar label,
        .btn-custom {
            font-size: 0.75rem;
            padding: 0.3rem 0.6rem;
        }

        .control-bar > div:first-child {
            justify-content: center;
        }

    .btn-show-all {
        width: 100%;
        margin-top: 0.5rem;
    }

    .col-lg-2,
    .col-lg-3,
    .col-lg-7 {
        width: 100% !important;
        min-width: 100% !important;
    }
}
