/* sales-report-style.css */

#sr-sales-report-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#sr-sales-report-form {
    margin-bottom: 20px;
}

#sr-sales-report-form .form-control {
    margin-bottom: 10px;
}

.sr-report-output table {
    margin-top: 20px;
}

.sr-report-output table tbody tr:last-child {
    font-weight: bold;
}

#sr-sales-chart {
    max-width: 100%;
    height: auto;
}

.text-center.my-3 {
    padding: 20px;
}


.controls-header {
    margin-bottom:8px;
    font-size:1.1em;
    font-weight:600  !important;
    margin-top:0px;
    color: #753989 !important;
    letter-spacing: -0.02em;
}

.master-header {
    margin-bottom:8px;
    font-size:1.8em !important;
    font-weight:800  !important;
    margin-top:0px;
    color: #753989 !important;
    letter-spacing: -0.05em !important;
}

/* Row: Use negative margins to offset the column gutters */
.controls-row {
    margin-left: -5px;
    margin-right: -5px;
}

/* Column: Add horizontal padding for the gap and remove any background */
.controls-row > .controls-box {
    padding: 15px;
    position: relative;
    background: transparent; /* Ensure the pseudo-element is visible */
    box-sizing: border-box;
}

/* Pseudo-element: Gray background with 10px rounded corners */
/* It’s inset (left/right: 5px) so the 5px padding on each side remains white */
.controls-row > .controls-box::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    right: 5px;
    padding:20px;
    background: linear-gradient(0deg, rgba(209,207,255,1) 0%, rgba(205,247,255,1) 100%);
    border-radius: 10px;
    z-index: 1;
}

/* Ensure any content inside the column appears above the pseudo-element */
.controls-row > .controls-box > * {
    position: relative;
    z-index: 2;
}

.csvbtn {
    background: #a8a8a8;
    background-image: -webkit-linear-gradient(top, #a8a8a8, #5c5c5c);
    background-image: -moz-linear-gradient(top, #a8a8a8, #5c5c5c);
    background-image: -ms-linear-gradient(top, #a8a8a8, #5c5c5c);
    background-image: -o-linear-gradient(top, #a8a8a8, #5c5c5c);
    background-image: linear-gradient(to bottom, #a8a8a8, #5c5c5c);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-family: Arial;
    color: #ffffff;
    font-size: 12px;
    padding: 6px 13px 6px 14px;
    border: solid #ffffff 0px;
    text-decoration: none;
}

.csvbtn:hover {
    background: #3b3b3b;
    background-image: -webkit-linear-gradient(top, #3b3b3b, #0a0a0a);
    background-image: -moz-linear-gradient(top, #3b3b3b, #0a0a0a);
    background-image: -ms-linear-gradient(top, #3b3b3b, #0a0a0a);
    background-image: -o-linear-gradient(top, #3b3b3b, #0a0a0a);
    background-image: linear-gradient(to bottom, #3b3b3b, #0a0a0a);
    text-decoration: none;
}

.controls-form-label {
    font-size: 0.8em !important;
}

.form-check-input:checked {
    background-color: #753989 !important;
    border-color: #753989 !important;
}

.select2-search__field {
    font-size:0.8em !important;
}

.table>tbody>tr>td {
    padding: 5px 10px;
    text-align: center;
    font-size: 0.8em;
}

.table>tbody>tr>th, .table>thead>tr>th {
    padding: 5px !important;
    font-weight: 700;
    text-align: center;
    margin-bottom:0px;
}