.mainpage_SideBarLink__7ZoEr {
    text-wrap: nowrap;
}

.mainpage_overallWrapper__bXs4C {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #ECEFF1; /* Consistent text color */
    padding: 20px;
}

.mainpage_overallWrapper__bXs4C * b {
    padding: 0px !important;
}





.mainpage_loader__EUiJ0 {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #29B6F6; /* Vibrant blue for visibility */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: mainpage_spin__n_Cbz 1s linear infinite;
    position: fixed; /* Fixed within the overallWrapper */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes mainpage_spin__n_Cbz {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.mainpage_cont__SQRSI, .mainpage_cont2__bf8N1 {
    margin-left: 15rem; /* Sidebar space */
    width: calc(100% - 15rem); /* Adjust width considering sidebar */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 10px; /* Increased lateral padding */
    border-radius: 40px;
    background-color: #ffffff; /* Dark background for contrast */
}



.mainpage_h1__tzyFa {
    font-size: 2rem;
    overflow: hidden !important;
    text-align: center !important;
    color: #0089ab; /* Bright text for headers */
}

.mainpage_select__9n3DD {
    padding: 0.8rem 1rem; /* Increased padding for better usability */
    background-color: #222; /* Dark background for sleek look */
    color: #0089ab; /* Lighter color for readability */
    border: 1px solid #333; /* Subtle border for definition */
    font-size: 1rem; /* Adequate font size for readability */
    width: 30%; /* Full width for better alignment with other elements */
    text-align: center;
    border-radius: 2em;
    outline: none; /* Remove default focus outline */
    -webkit-appearance: none; /* Disable native appearance on WebKit browsers */
    -moz-appearance: none; /* Disable native appearance on Mozilla browsers */
    appearance: none; /* Disable native appearance on modern browsers */
    cursor: pointer; /* Cursor change to indicate it's clickable */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Style for arrow indicator */
.mainpage_select__9n3DD::-ms-expand {
    display: none; /* Hide the default dropdown arrow in IE/Edge */
}



.mainpage_headerSection__xZHd9 * {
    color: 0089ab; 
}

.mainpage_headerSection__xZHd9 h1 select {
    background-color: #ECECEC;
    border: 0.5px solid #2E2E30;
}


.mainpage_option__RWtIh {
    background-color: #ECECEC; /* Slightly lighter option background */
    color: #2E2E30;
}

.mainpage_headerSection__xZHd9 {
    margin-bottom: 40px;
    background-color: #ECECED; /* Consistent background */
    border-radius: 2rem;
    align-items: center;
    text-align: center; /* Center content */
    margin-bottom: 40px;
    font-size: 1.9em;
    font-weight: 900;
}

.mainpage_headerSection__xZHd9 h1 {
    padding: 30px;
}


.mainpage_tableContainer__IUvD_ {
    margin-top: 40px;
    min-height: 28vh;
    background-color: #ECECEC; /* Matching the background */
    padding: 1rem;
    padding-bottom: 0px !important;
    border-radius: 2rem; /* Rounded corners for the container */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    overflow: hidden; /* Ensures the inner table respects container's rounded corners */
}

.mainpage_table__VC3MJ {
    border-collapse: separate;
    border-spacing: 0; /* Removes default spacing to control borders */
    width: 100%;
    margin: 0; /* Resets any default margin */
    font-size: 1rem; /* Maintaining larger font size for readability */
    color: black; /* Light color for readability */
}

.mainpage_table__VC3MJ th, .mainpage_table__VC3MJ td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333; /* Subtle border for separation */
    min-width: 120px; /* Fixed minimum width for columns */
}

.mainpage_table__VC3MJ th {
    background-color: #ECECEC; /* Even darker shade for header */
    color: black; /* White color for header text */
}

/* Hover effect for table rows */
.mainpage_table__VC3MJ tr:hover {
    background-color: #c4c4c4; /* Slightly lighter for hover effect */
}

.mainpage_dataSection__Pwm_9 {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 40px; /* Increased gap for better spacing */
    padding: 20px; /* Padding around each chart container */
    min-height: 20vh;
}

.mainpage_dataSection__Pwm_9 > *:nth-child(odd):nth-last-child(1) {
    display: flex;
    justify-content: space-around;
    grid-column: 1 / -1; /* Make it span both columns */
}

/* Alternatively, if there are more than two elements, target the second-to-last element if it's odd, as well as the last element */
.mainpage_dataSection__Pwm_9 > *:nth-child(odd):nth-last-child(2),
.mainpage_dataSection__Pwm_9 > *:nth-last-child(1) {
    grid-column: 1 / -1; /* Make both span both columns */
}

.mainpage_chartContainerLarge__t8n66, .mainpage_chartContainer__p68Ti {
    display: flex;
    background-color: #ececec; /* Consistent background */
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px 0px 20px 20px; /* Added internal padding for graphs */
    max-height: 500px;
    align-items: center; /* Center alignment of charts */
    justify-content: center;
    flex-direction: column;
}

.mainpage_chartContainerLarge__t8n66 > canvas, .mainpage_chartContainer__p68Ti > canvas {
    min-height: 300px !important;
    max-width: 100%; /* Ensure canvas doesn't exceed container width */
    height: 100% !important; /* Maintain aspect ratio */
}

.mainpage_h2__q80dw {
    display: flex;
    align-items: center;
    overflow: hidden !important;
    font-size: 1.2em !important;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
    color: #0089ab; /* Adjusted to match overall color scheme */
    margin-bottom: 10px; /* Space above graphs */
}

@media screen and (max-width: 1350px) {
    
    .mainpage_cont__SQRSI, .mainpage_cont2__bf8N1 {
        margin-left: 0 !important;
    }

    .mainpage_chartContainerLarge__t8n66, .mainpage_chartContainer__p68Ti {
        display: flex;
        flex-direction: column;
        /* background-color: #262629; Consistent background */
        border-radius: 0.5rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        padding: 20px; /* Added internal padding for graphs */
        /* max-height: 33vh; Maximum height for graph containers */
    }

    .mainpage_table__VC3MJ {
        table-layout: fixed !important;
        overflow-x: auto; /* Horizontal scroll on small screens */
    }

    .mainpage_table__VC3MJ th, .mainpage_table__VC3MJ td {
        min-width: 150px; /* Wider cells for readability */
    }

    .mainpage_dataSection__Pwm_9 {
        display: grid;
        grid-template-columns: repeat(1, minmax(300px, 1fr));
        grid-template-rows: repeat(auto-fill, minmax(400px, auto)); /* Example: Adjust as needed */
        gap: 40px; /* Increased gap for better spacing */
    }
    
    .mainpage_cont__SQRSI, .mainpage_cont2__bf8N1 {
        width: 100vw;
        height: fit-content;
    }
}

@media screen and (max-width: 1350px) {
    .mainpage_card__DUD10 {
        width: 100% !important;
        padding: 0px !important;
    }
    .mainpage_badge__xNpps {
        margin-left: 0px !important;
    }
    .mainpage_overallWrapper__bXs4C {
        margin: 0 auto !important;
        width: 100vw !important;
        padding: 0px !important;
        flex-direction: column;
    }

    .mainpage_cont__SQRSI, .mainpage_cont2__bf8N1 {
        margin-left: 0;
    }

    .mainpage_headerSection__xZHd9, .mainpage_dataSection__Pwm_9 {
        padding: 0;
    }
}

@media screen and (max-width: 800px) {
    .mainpage_cardContainer__pqY_1 {
        flex-direction: column !important;
    }
}

/* styles.module.css */
.mainpage_cardContainer__pqY_1 {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.mainpage_card__DUD10 {
    padding: 0px !important;
    width: 100%;
    background-color: transparent;
}

.mainpage_cardHeader__fBv_R {
    color: #006a8b;
    overflow: hidden !important;
    font-size: calc(12px + 1vw); /* Adjust the font size based on viewport width */
    margin-bottom: 10px;
    white-space: nowrap; /* Prevent text from wrapping to a new line */
}

.mainpage_ShitWrapper__se0X7 {
    overflow: hidden !important;
}

.mainpage_list__S3dnY span {
    overflow: hidden !important;
}

.mainpage_listItem__o5aNp {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.mainpage_badge__xNpps {
    margin-left: 4rem;
    margin-right: 8px;
}

.mainpage_card__DUD10 {
    width: 100% !important;
    padding: 0px !important;
}


.mainpage_pauseSummaryContainer__mSNF0 {
    margin-bottom: 3rem;
}
  
.mainpage_pauseSummaryCard__mWXkx {
    box-shadow: var(--shadow-xs);
}
  
.mainpage_pauseSummaryHeader__JCumd {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-cyan-light);
    color: var(--color-dark);
    padding: 8px;
    border-radius: 4px;
}
  
.mainpage_pauseSummaryTotal__ZWZR8 {
    background-color: var(--color-cyan);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
}
  
.mainpage_pauseTime__7kxkq {
    display: flex;
    align-items: center;
    margin: 8px 0;
}
  
.mainpage_pauseTimeLabel__Vq10P {
    margin-right: 1rem;
    font-weight: bold;
}
  
.mainpage_timeComponent__B6p07 {
    margin-right: 8px;
    padding: 2px 4px;
    border-radius: 4px;
    display: inline-block;
}
  
.mainpage_hours__XSM2O {
    background-color: var(--color-light-blue);
}

.mainpage_minutes__4SVYu {
    background-color: var(--color-light-green);
}

.mainpage_seconds__cfw2d {
    background-color: var(--color-light-red);
}


.mainpage_addIcon__tzz6t {
    transition: all 0.25s ease;
    color: hsla(0, 0%, 20%, 0.85);
    border-radius: 99999px; 
}

.mainpage_addIcon__tzz6t:hover {
    transform: scale(1.015, 1.015);
    color: hsla(0, 0%, 20%, 1);

}



@media screen and (max-width: 1050px) {

    .mainpage_col1__iZ1RK {
        width: 30vw !important;
    }
    
    .mainpage_col2__CMquH {
        width: 30vw !important;
    }
    
    .mainpage_col3___TzRi {
        width: 40vw !important;
    }

}


@media screen and (max-width: 700px) {

    .mainpage_col1__iZ1RK {
        width: 40vw !important;
    }
    
    .mainpage_col2__CMquH {
        width: 20vw !important;
    }
    
    .mainpage_col3___TzRi {
        width: 40vw !important;
    }

}


@media screen and (max-width: 840px) {
    .mainpage_col4__8EXMr {
        width: 10vw !important;
    }
}
