/* Base styles */
.report-main-page {
    color: #fff;
    overflow:hidden;
background:#1A2436;
}

.report-menu-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    background:#1A2436;
    justify-content: center;;
}

.menu-label {
    font-weight: bold;
    font-size: 18px;
}

.report-header-dropdown {
    display: flex;
    gap: 10px;
}

.dropdown {
    position: relative;
    display: inline-block;
    color:#fff;
}

.dropdown-button {
       background:#1A2436;
    border: 1px solid #979797;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    min-width: 120px;
    text-align: left;
    color:#FFF;
}

.dropdown-content {
    display: none;
    position: absolute;
       background:#1A2436;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    color:#fff;
}

.dropdown-content a {
    color: #ffebeb;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
           background:#394966;
}

.dropdown:hover .dropdown-content {
    display: block;
    color:#fff;
}

/* Graph containers */
.graph-info-group {
padding:100px 0px;
}

.dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.first-graph-group {
display: flex;
gap: 20px;
padding:30px 0px
}

.bar-chart-container, .donut-chart-container {
flex: 1;
background:#1A2436;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.line-chart-container {
background: white;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chart-title {
    font-weight: bold;
    margin-bottom: 35px;
    font-size: 16px;
}

/* Bar chart styles */
.bar-chart {
    display: flex;
    height: 250px;
    align-items: flex-end;
    gap: 15px;
    padding-left: 50px;
    position: relative;
}

.y-axis-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 12px;
    color: #ffffff;
}

.bar {
    flex: 1;
    max-width: 60px;
    position: relative;
    transition: height 0.5s ease;
}

.bar-football { background-color: #4e79a7; }
.bar-basketball { background-color: #f28e2b; }
.bar-hockey { background-color: #e15759; }
.bar-baseball { background-color: #76b7b2; }
.bar-other { background-color: #59a14f; }

.bar-label {
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
}

.bar-value {
    position: absolute;
    top: -25px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

/* Donut chart styles */
.donut-chart {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.donut-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.donut-ring {
    fill: transparent;
    stroke: #eee;
    stroke-width: 8;
}

.donut-segment {
    fill: transparent;
    stroke: #4e79a7;
    stroke-width: 8;
    stroke-dashoffset: 25;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

/* Line chart styles */
.line-chart {
    position: relative;
    height: 250px;
    padding-left: 40px;
}

.donut-chart-title{text-align: center;;}
.y-axis-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.x-axis-line {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    font-size: 12px;
    color: #666;
}

.line-last-month-path {
    fill: none;
    stroke: #4e79a7;
    stroke-width: 2;
}

.line-last-year-path {
    fill: none;
    stroke: #e15759;
    stroke-width: 2;
    stroke-dasharray: 5,5;
}

.line-chart-graph {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-time {
    display: flex;
    flex-direction: column;
}

.time {
    font-size: 12px;
    color: #666;
}

.legend {
    display: flex;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-win {
    background-color: #4e79a7;
}

.legend-loss {
    background-color: #e15759;
}

/* Table styles */
.report-table-container {
    background: #131B2C;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.report-page-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.csv-dw {
    background-color:#328BF1;
    color: white;
    border: none;
    padding: 8px 22px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.sports-data-container {
    overflow: auto;;
    width: auto;
}

.sports-data-header div{
width:22%;
}
.sports-data-header, .sports-data-row {
    display:flex;
    padding: 12px 15px;
    align-items: center;
}

.sports-data-row div{width:22%;} 
.sports-data-header {
    background-color: #131B2C;
    font-weight: bold;

    color:white;
}

.sports-data-row {
    border-bottom: 1px solid #eee;
    
}

.sports-data-row:last-child {
    border-bottom: none;
}

.performance-value {
    font-weight: bold;
}

.success-rate {
    color: #4e79a7;
    font-weight: bold;
}

.result-win {
    color: #59a14f;
    font-weight: bold;
}

.result-lose {
    color: #e15759;
    font-weight: bold;
}

.profit-positive {
    color: #59a14f;
    font-weight: bold;
}

.profit-negative {
    color: #e15759;
    font-weight: bold;
}

.sports-data-row {
        border: 4px solid #323947;
    color: white;
    font-weight: 200;
    background: #0e0e0f;
    border-radius: 30px;
    margin-bottom: 11px;
    margin-top: 16px;
}
.aside nav .menu-active{
    flex-direction:row;
} 


    /* Responsive styles */
@media (max-width: 1024px) {
    .first-graph-group {
        flex-direction: column;
        gap:60px;
    }
    
    .sports-data-header, .sports-data-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .sports-data-header div:nth-child(4),
    .sports-data-header div:nth-child(5),
    .sports-data-row div:nth-child(4),
    .sports-data-row div:nth-child(5) {
        display: block;
    }
.sports-data-row{    width: 959px;
    max-width: 1200px;}
}

@media (max-width: 768px) {
    .report-header-dropdown {
display: grid
;
        grid-template-columns: 1fr 1fr;
    }
    
    .sports-data-header, .sports-data-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .sports-data-header div:nth-child(3),
    .sports-data-row div:nth-child(3) {
        display: block;
    }

    .report-page-header button{width:30%;}
    .sports-data-header div{
width: 61%;
        padding: 5px 45px;
}
.sports-data-row div{        width: 61%;
        padding: 5px 45px;}
}



.graph-info-group .bar-chart-container{
    padding:0px;
}



@media (max-width: 767px) {
    .graph-info-group {
        .bar-chart {
            margin: 0px 0px 0px 0px;
            margin-left:-60px;
            left:72px;
            width:88%;
            padding:28px;
            width:100%;
        }
            .y-axis-bar {
                left:-20px;
    }
    .report-page-header button{
    width:100%;
    }
    .bar-label{
            width: 48%;
            transform: rotate(-36deg);
            bottom: -49px;
            margin-left: -13px;
}
.report-menu-bar{flex-direction:column ;}
.sports-data-header, .sports-data-row {
    display: flex;
    width: 1000px;
    max-width: 1200px;
    text-align: unset;
}

}


.graph-info-group{padding:35px 0px;}
}
 
.sports-data-header, .sports-data-row{
    display: flex;
}

.sports-data-header div:nth-child(2),
.sports-data-header div:nth-child(1){color:#fff;}


.result-loss{color:red;font-size:17px;}