      /* Stats header start */
        .match-container {
            width: 100%;
            height: 100px;
            background-color: #ffffff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            position: relative;
        }

        .match-container::before,
        .match-container::after {
            content: '';
            position: absolute;
            top: 0;
            width: 80px;
            height: 100%;
        }

       /* 
        .match-container::before {
            left: 0;
            background: linear-gradient(to right, #d00, transparent);
        }

        .match-container::after {
            right: 0;
            background: linear-gradient(to left, #0d730d, transparent);
        }
        */
        .corner-flag {
            width: 90px;
            object-fit: cover;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        .team-section {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .team-section img {
            width: 50px;
            height: 30px;
            object-fit: cover;
            border-radius: 4px;
            border: 1px solid #ccc;
        }

        .team-details {
            text-align: left;
        }

        .team-details .team-name {
            font-size: 16px;
            font-weight: bold;
            color: #333;
        }

        .team-details .team-record {
            font-size: 14px;
            color: #777;
        }

        .score-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .score {
            font-size: 36px;
            font-weight: bold;
            color: #333;
        }

        .caret {
            font-size: 20px;
            color: #333;
        }

        .status {
            font-size: 16px;
            font-weight: bold;
            color: #666;
        }
        /* sub header*/
        .highlights-container {
            width: 100%;
            background-color: #ffffff;
            border-top: 2px solid #d00;
            padding: 10px 20px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            display: grid;
            grid-template-columns: 5fr 1fr 5fr;
        }

        .left-column {
            display: flex;
            justify-content: end;
            align-items: center;
            gap: 10px;
        }
        .left-column-container-inner{
            display: flex;
            flex-direction: column;
        }

        .highlight-section {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .highlight-section span {
            font-size: 14px;
            color: #333;
        }

        .highlight-section .goal-icon {
            width: 14px;
            height: 14px;
        }

        .highlight-section .red-card {
            width: 14px;
            height: 14px;
            background-color: #d00;
            display: inline-block;
        }

        .divider-container{
            display: flex;
            align-items: center;
            justify-content: center;
        }   

        .divider {
            height: 40px;
            width: 1px;
            background-color: #ccc;
        }

        .right-column {
            flex: 1;
        }

        @media(max-width: 768px){
            .match-container {
                justify-content: space-between;
                padding: 5px 20px;
            }

            .corner-flag{
                width: 60px;
            }
            .team-section{
                display: none;
            }
            .score-section {
                gap: 5px;
            }
    
            .score {
                font-size: 24px;
                font-weight: bold;
                color: #333;
            }
    
            .caret {
                font-size: 14px;
                color: #333;
            }
    
            .status {
                font-size: 14px;
                font-weight: bold;
                color: #666;
            }

            .left-column-container-inner, .right-column-container-inner{
                max-width: 300px;
                padding: 0;
            }

            .highlight-section > span {
                font-size: 10px;
            }
        }        
        /* Stats header end */

        /* Main section */
        .container {
            max-width: 1200px;
            margin: 20px auto;
            display: flex;
            gap: 20px;
        }
    
        .main__section {
            flex: 2;
        }
    
        .main-section {
            flex: 2;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
    
        .side-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
    
        .card {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
    
        .section-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
        }
    
        .club-logo {
            width: 100%;
            height: 50px;
            border-top: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    
        /* Possession Chart */
        .possession-chart {
            text-align: center;
            margin: 20px 0;
        }
    
        .possession-chart .circle {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 15px solid #333;
            border-left-color: #d00;
            border-right-color: #0d730d;
            position: relative;
            margin: 0 auto;
        }
    
        /* Match Stats Rows */
        .stat-row {
            display: flex;
            align-items: center;
            margin: 10px 0;
            gap: 10px;
        }
    
        .stat-value {
            font-weight: bold;
            width: 40px;
            text-align: center;
        }
    
        .stat-label {
            flex: 1;
            text-align: center;
        }
    
        .bar-container {
            flex: 2;
            display: flex;
            align-items: center;
            height: 10px;
            background: #eee;
            border-radius: 5px;
            overflow: hidden;
        }
    
        .bar-red {
            background-color: #d00;
            height: 100%;
        }
    
        .bar-green {
            background-color: #0d730d;
            height: 100%;
        }
    
        /* Game Information Section */
        .game-info p {
            margin: 5px 0;
        }
    
        /* Standings Section */
        .standings-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }
    
        .standings-table th,
        .standings-table td {
            text-align: center;
            padding: 8px;
            font-size: 14px;
            border-bottom: 1px solid #ddd;
        }
    
        .standings-table th {
            background-color: #f4f4f4;
            font-weight: bold;
        }
    
        .standings-table a {
            font-size: 14px;
            color: #007bff;
            text-decoration: none;
        }
    
        /* Football field */
        .field-item {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
    
        .field {
            background: url('../img/ground.png') no-repeat center center;
            background-size: cover;
            border-bottom: 5px solid #3e7a34;
            transform: perspective(500px) rotateX(50deg);
            border-radius: 6px;
            width: 220px;
            height: 280px;
        }
    
        /* NSL Extra Time */
        .nsl_ext_section {
            width: 100%;
            max-height: 300px;
            margin-bottom: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }
    
        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                gap: 5px;
                padding: 10px;
            }

            .stat-row {
                flex-direction: column; /* Stack rows vertically */
                gap: 2px;
                align-items: flex-start;
            }
    
            .bar-container {
                width: 100%; /* Allow bars to take full width */
                height: 12px; /* Slightly increase height for better visibility */
            }
    
            .bar-red,
            .bar-green {
                min-width: 5px;
            }
        }
    
        @media (max-width: 480px) {
            .main-section, .nsl_ext_section, 
            .box{
                max-width: 400px;
            }

            .stat-row {
                flex-direction: row; /* Align rows horizontally again */
                justify-content: space-between;
            }
    
            .bar-container {
                height: 8px; /* Slightly reduce height for mobile */
            }
    
            .stat-value {
                font-size: 12px;
            }
    
            .stat-label {
                font-size: 12px;
            }
        }