        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #121212;
            color: #e0e0e0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: auto;
        }

        h1,
        h2,
        h3 {
            color: #bb86fc;
            border-bottom: 2px solid #373737;
            padding-bottom: 10px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        th,
        td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #373737;
        }

        th {
            background-color: #1f1f1f;
        }

        tr:hover {
            background-color: #2a2a2a;
        }

        a {
            color: #03dac6;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        .message {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
        }

        .success {
            background-color: #03dac6;
            color: #121212;
        }

        .error {
            background-color: #cf6679;
            color: #121212;
        }

        .card {
            background-color: #1f1f1f;
            border: 1px solid #373737;
            border-radius: 8px;
            padding: 20px;
            margin-top: 20px;
        }

        form label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        form input[type="file"],
        form input[type="password"] {
            display: block;
            width: calc(100% - 20px);
            padding: 8px;
            margin-top: 5px;
            margin-bottom: 15px;
            background-color: #373737;
            border: 1px solid #555;
            color: #e0e0e0;
            border-radius: 4px;
        }

        form button {
            background-color: #bb86fc;
            color: #121212;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            margin-top: 15px;
        }

        form button:hover {
            background-color: #a76ae4;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
        }

        .stats-item {
            background-color: #2a2a2a;
            padding: 15px;
            border-radius: 5px;
            text-align: center;
        }

        .stats-item-label {
            font-size: 0.9em;
            color: #888;
            display: block;
        }

        .stats-item-value {
            font-size: 1.5em;
            font-weight: bold;
        }

        .opponent-list {
            list-style: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .opponent-list li a {
            background-color: #373737;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 0.9em;
            transition: background-color 0.2s;
        }

        .opponent-list li a:hover {
            background-color: #4a4a4a;
        }

        .h2h-score {
            font-weight: bold;
            font-size: 1.2em;
        }

        .h2h-score.winner {
            color: #03dac6;
        }

        footer {
            text-align: center;
            margin-top: 40px;
            color: #888;
            font-size: 0.9em;
        }

        /* DataTables Dark Theme Customization */
        .dataTables_wrapper .dataTables_length,
        .dataTables_wrapper .dataTables_filter,
        .dataTables_wrapper .dataTables_info,
        .dataTables_wrapper .dataTables_processing,
        .dataTables_wrapper .dataTables_paginate {
            color: #e0e0e0;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            color: #e0e0e0 !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
            color: #666 !important;
        }

        .dataTables_wrapper .dataTables_length select,
        .dataTables_wrapper .dataTables_filter input {
            background-color: #373737;
            color: #e0e0e0;
            border: 1px solid #555;
        }

        /* In index.php, add these styles inside the <style> tag */

        /* Tooltip Container */
        .tooltip-container {
            position: relative;
            display: inline-block;
            cursor: help;
            color: #888;
            margin-left: 8px;
            font-style: italic;
        }

        /* The Tooltip Text (hidden by default) */
        .tooltip-container .tooltip-text {
            visibility: hidden;
            width: 300px;
            background-color: #373737;
            color: #e0e0e0;
            text-align: left;
            border-radius: 6px;
            padding: 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            /* Position the tooltip above the icon */
            left: 50%;
            margin-left: -150px;
            /* Use half of the width to center the tooltip */
            opacity: 0;
            transition: opacity 0.3s;
            font-style: normal;
        }

        /* Tooltip Arrow */
        .tooltip-container .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #373737 transparent transparent transparent;
        }

        /* Show the tooltip text when you mouse over the tooltip container */
        .tooltip-container:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

        /* Style for the list inside the tooltip */
        .tooltip-text ul {
            padding-left: 20px;
            margin: 0;
        }

        /* --- Custom Bootstrap Button Styles --- */

        /* Primary Button (Active Toggle) - Purple */
        .btn-primary {
            --bs-btn-color: #121212;
            /* Dark text for contrast */
            --bs-btn-bg: #bb86fc;
            /* Your main purple color */
            --bs-btn-border-color: #bb86fc;
            --bs-btn-hover-color: #121212;
            --bs-btn-hover-bg: #a76ae4;
            /* A slightly darker purple for hover */
            --bs-btn-hover-border-color: #a76ae4;
            --bs-btn-active-color: #121212;
            --bs-btn-active-bg: #9b51e0;
            /* An even darker purple for active/click */
            --bs-btn-active-border-color: #9b51e0;
            --bs-btn-focus-shadow-rgb: 187, 134, 252;
            /* For the glow effect */
        }

        /* Secondary Button (Inactive Toggle) - Dark Grey */
        .btn-outline-secondary {
            --bs-btn-color: #e0e0e0;
            /* Light text */
            --bs-btn-border-color: #373737;
            /* Dark border */
            --bs-btn-hover-color: #121212;
            --bs-btn-hover-bg: #03dac6;
            /* Your teal color for hover */
            --bs-btn-hover-border-color: #03dac6;
            --bs-btn-active-color: #121212;
            --bs-btn-active-bg: #02bfa8;
            /* A darker teal for active/click */
            --bs-btn-active-border-color: #02bfa8;
        }