/* Ensure the container uses grid layout */
.org-row {
    display: grid;
    grid-template-columns: 3fr 1fr 2fr; /* Adjust the fractions to match your desired widths */
    gap: 10px; /* Space between columns */
    align-items: end; /* Aligns the content to the bottom of the grid area */
    margin-bottom: 20px; /* Space below the row */
}

/* Ensure each input group aligns content to the bottom */
.input-group {
    display: flex;
    flex-direction: column; /* Stack label and input */
}

/* Labels and inputs are aligned together */
.input-group label {
    text-align: left; /* Left align labels */
    margin-bottom: 5px; /* Space between label and input */
}

/*
.input-group input,
.input-group select {
    width: 100%;
    box-sizing: border-box; 
}
*/

/* Set a consistent height for all input fields */
.input-group input,
.input-group select {
    height: 40px; /* Set the desired height */
    line-height: 1.5; /* Adjust the line height for better text alignment */
    padding: 5px; /* Adjust padding as needed */
    box-sizing: border-box; /* Include padding and border in the element's width and height */
    font-size: 16px; /* Ensure consistent text size */
}

/* Basic reset for margin/padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Table container that enables horizontal scrolling */
.table-container {
    width: 100%;
    overflow-x: auto; /* Allow horizontal scrolling if needed */
}

/* Table styling */
table {
    border-collapse: collapse;
    width: 100%; /* Ensure table takes up full width */
    min-width: 600px; /* Set a minimum width to avoid the table shrinking too much on mobile */
}

/* Table cell and header formatting */
td, th {
    padding: 5px;
    vertical-align: middle;
    border: 1px solid #ccc;
}

/* Force consistent row height */
tr {
    height: auto;
}

/* Center the checkbox and label vertically and horizontally */
.checkbox-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.checkbox-group label {
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    padding: 0;
}

/* Button styling */
button {
    width: 80px;
    height: 30px;
    margin-bottom: 2px;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensure text is centered vertically */
}

/* Flex container for stacking EDIT and DELETE buttons */
.button-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center; /* Center buttons horizontally */
}

td {
    font-size: 14px; /* Adjust as desired for consistent font size */
}

td, th {
    padding: 6px 6px !important; /* Adjusts top/bottom and left/right padding */
}

table {
    border-collapse: collapse;
    width: 100%;
}



table {
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
}

td, th {
    font-family: inherit !important;
    font-size: inherit !important;
}

/* For chart.js */
.chart-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    height: 400px; /* Ensure a consistent height */
}

/* For chart.js */
#salesChart {
    width: 100%;
    height: 100%;
}

/* Media query to handle smaller screen sizes */
@media screen and (max-width: 600px) {
    table {
        min-width: 400px; /* Reduce the minimum width for smaller devices */
    }
}