/* narasimha reddy nis 007 creacting by 16-10-2025 06:40 */

/* ledger state */
.reverse-row {
    background-color: var(--reverse-bg-color) !important;
    color: var(--reverse-text-color) !important;
}


/* ledger end */

/* state balance-sheet css in inline css chenge */
.legend-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.legend-color {
    display: inline-block;
    width: 20px;
    height: 10px;
    margin-right: 5px;
    border-radius: 2px;
}

/* End balance-sheet css */

/* (this one css state/Pre_Approval_PPAList) */
.custom-rounded {
    border-radius: 10px;
}

.custom-margin {
    margin: 40px;
}

/* (this one css END/Pre_Approval_PPAList) */

/* Receipt_&_pyment css state */
.rounded-header {
    border-radius: 10px;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
}

.legend b {
    margin-right: 10px;
}

/* --- Merged .color-box rule --- */
.color-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* Using 4px from the more specific rule */
    vertical-align: middle;
}

/* --- Combined Legend/Color-Box Colors (from Balance Sheet & Receipt/Payment) --- */
.legend-color.scheme,
.legend-color.pool,
.scheme,
.pool {
    background-color: #a76e19;
}

.legend-color.group,
.legend-color.program,
.group,
.program {
    background-color: #3cb5a4;
}

.legend-color.activity,
.activity {
    background-color: #cda73c;
}

.legend-color.object,
.object {
    background-color: #0e8599;
}

.legend-color.closing-balance,
.closing-balance {
    background-color: #737407;
}

/* Modal container (for Receipt & Payment) */
.modaldiv {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    background: #fafafa;
    font-family: Arial, sans-serif;
}

/* Each row (for Receipt & Payment) */
.divrow {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

/* Header styling (for Receipt & Payment) */
.drillheader {
    font-weight: bold;
    background-color: #f0f0f0;
}

/* Each cell (for Receipt & Payment) */
.cell {
    padding: 6px;
    text-align: center;
}

/* Widths for each column (for Receipt & Payment) */
.sno {
    width: 100px;
}

.date {
    width: 250px;
}

.grant-type {
    width: 300px;
}

.net {
    width: 250px;
}

.narration {
    width: 450px;
}

/* Right-aligned cells */
.align-right {
    text-align: right;
}

/* Receipt_&_pyment css END */

/* scheme_exp_tree css state */
#book_servicesContainer,
#book_budgetError,
#book_fundsError,
#book_chequeNumberContainer,
#book_chequeDateContainer {
    display: none;
}

.alert {
    margin-bottom: 20px;
}

.alert-success {
    margin-bottom: 20px;
}

/* scheme_exp_tree css end */

#connectorSVG {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.custom-select {
    width: 200px;
    height: 40px;
}

/* --- Grouped modal titles --- */
#addModalLabel,
#editModalLabel,
.modal-title,
.custom-modal-title,
.view-modal-title {
    margin-top: -6px;
}

/* --- Grouped error divs --- */
#nameErrorDiv,
#editNameErrorDiv,
#addPartyTypeNameError,
#editPartyTypeNameError,
#add_pay_name_error,
#edit_pay_name_error {
    display: none;
}

/* Container spacing */
.filter-container {
    display: flex;
    gap: 1rem;
    /* Bootstrap’s gap-3 = 1rem */
    align-items: center;
}

/* Wrapper for each dropdown */
.select-wrapper {
    width: 200px;
}

/* Optional — make selects consistent */
.select-wrapper select {
    height: 40px;
    border-radius: 4px;
}

/* Optional — pointer cursor and smooth appearance */
.selectpicker {
    cursor: pointer;
}

/* Optional hover focus states for better UI */
.selectpicker:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.custom-caret+.dropdown-toggle::after {
    content: "^";
    /* caret symbol */
    font-size: 14px;
    border: none !important;
    /* remove default triangle */
    position: absolute;
    right: 12px;
    /* adjust position */
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    /* caret color */
}

#headingOne {
    border-radius: 10px;
}

.accordion-header {
    border-radius: 10px;
}

.voucher-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.voucher-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

/* Color mapping */
.voucher-box.expenditure {
    background-color: #FFB85F;
}

.voucher-box.contra {
    background-color: #5FCED7;
}

.voucher-box.income {
    background-color: #48B9E7;
}

.voucher-box.payment {
    background-color: #F0C1C6;
}

.voucher-box.journal {
    background-color: #BBBBBB;
}

.voucher-box.contra-ho {
    background-color: #5FCED7;
}

.voucher-search,
#voucherSearchInput {
    width: 250px;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
}

/* --- Merged .custom-accordion-header rules --- */
.custom-accordion-header {
    border-radius: 10px;
    overflow: hidden;
    /* ensures rounded corners apply properly */
}

/* Optional: enhance the look */
.custom-accordion-header.bg-black {
    background-color: #000;
    color: #fff;
}

/* Optional: Add hover effect for better UX */
.custom-accordion-header:hover {
    background-color: #222;
    cursor: pointer;
}

/* --- End merge --- */

.report-table {
    width: 100%;
}

.report-table th.text-right {
    text-align: right;
    font-weight: 600;
}

/* Apply to all select boxes with class 'form-select' */
.form-select {
    width: 200px;
    height: 40px;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    padding: 5px 8px;
    /* background-color: #fff; */
    font-size: 14px;
    transition: border-color 0.2s ease;
}

/* Add focus effect for better UX */
.form-select:focus {
    border-color: #000;
    outline: none;
}

/* Reuse your text alignment */
.text-right {
    text-align: right;
}

/* Style for total or summary rows */
.total-row {
    font-weight: bold;
}

/* --- Grouped .hidden-message and .text-danger (removed duplicates) --- */
.hidden-message {
    display: none;
}

.text-danger {
    font-weight: 500;
    font-size: 14px;
}

/* --- End group --- */

/* Custom style for allocated funds input */
.allocated-funds {
    font-weight: bold;
    color: green;
}

/* --- Merged styles for the attachment iframe --- */
.attachment-frame {
    width: 100%;
    height: 75vh;
    /* 75% of viewport height */
    border: none;
    /* replaces frameborder="0" */
    display: block;
    box-sizing: border-box;
    background: transparent;
    /* optional: safe default */
}

/* Responsive tweak for small screens */
@media (max-height: 600px) {
    .attachment-frame {
        height: 60vh;
    }
}

/* Optional: focus outline for accessibility */
.attachment-frame:focus {
    outline: 3px solid #5B9DD9;
    outline-offset: 2px;
}

/* NOTE: These .modaldiv, .divrow, .cell rules are different
   from the ones above and apply to a different layout.
   They are NOT duplicates. */
.modaldiv {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.divrow {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.cell {
    padding: 6px 8px;
    border-right: 1px solid #eee;
    box-sizing: border-box;
}

.cell:last-child {
    border-right: none;
}

.text-center {
    text-align: center;
}

/* This .drillheader rule is different from the one above */
.drillheader {
    background-color: #f9f9f9;
    font-weight: bold;
}

/* Column width classes */
.col-50 {
    width: 50px;
}

.col-100 {
    width: 100px;
}

.col-150 {
    width: 150px;
}

.col-200 {
    width: 200px;
}

.col-300 {
    width: 300px;
}

.add-party-error {
    display: none;
}

/* Optional: additional styling for error messages */
.add-party-error {
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.edit-party-error {
    display: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

/* Make table take full width */
.full-width {
    width: 100%;
}

/* --- Grouped container display:none rules --- */

/* #edit_chequeDateContainer,
#approval_section,
#edit_rejection_reason_container,
#batch_id_section,
#credit_batch_id_container,
#debit_batch_id_container,
#view_servicesContainer,
#view_chequeNumberContainer,
#view_chequeDateContainer {
    display: none;
} */

/* --- End group --- */

/* Table column widths */
.col-sno {
    width: 5%;
}

.col-object {
    width: 15%;
}

.col-description {
    width: 20%;
}

.col-amount {
    width: 13%;
}

.col-release-amt {
    width: 13%;
}

.col-vendor {
    width: 14%;
}

.col-status {
    width: 20%;
}

.col-release {
    width: 10%;
}

#proposal-error {
    min-height: 18px;
}

/* Styles for the connector SVG */
.connector-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#modal-voucher-no {
    font-size: 28px;
}

/* External CSS for accordion header rounded corners */
.accordion-header-rounded {
    border-radius: 10px;

    /* keeps rounded edges clean if background color overlaps */
}

/* Optional enhancement: text color for black background */
.accordion-header-rounded.bg-black {
    color: #fff;
}

/* Optional hover effect */
.accordion-header-rounded:hover {
    background-color: #222;
    /* slightly lighter black on hover */
    transition: background-color 0.3s ease;
}

/* --- Merged Accordion toggle button fixed size --- */
.accordion-toggle-btn {
    width: 36px;
    height: 36px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

/* Hover effect for better UX */
.accordion-toggle-btn:hover {
    background-color: #222;
    /* slightly lighter black */
}

/* Focus outline for accessibility */
.accordion-toggle-btn:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* --- Merged Accordion body styling --- */
#accordionExample .accordion-body {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 30px;
}

/* --- Merged Filter section layout --- */
.filter-section {
    display: flex;
    justify-content: center;
    padding: 10px 30px;
    /* Adds left-right spacing */
    width: 100%;
}

.filter-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 25px;
    /* Equal spacing between each box */
    flex-wrap: wrap;
    width: 100%;
}

/* Individual item boxes */
.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Label styling */
.filter-item label {
    color: #000;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* Inputs and select styling */
.filter-item .form-select,
.filter-item .form-control {
    font-size: 0.9rem;
    height: 34px;
    line-height: 1;
    padding: 4px 10px;
    width: 180px;
}

/* Search button same height as inputs */
.search-btn,
.filter-item .btn {
    height: 34px;
    font-size: 0.9rem;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .filter-item .form-select,
    .filter-item .form-control {
        width: 220px;
    }
}

/* --- Deduplicated: Right-align the Total header cell --- */
.text-end-total {
    text-align: right;
    font-weight: 600;
    /* optional: make text slightly bolder */
    padding-right: 8px;
    /* optional: spacing for neat layout */
}

/* Custom container with max width and full width */
.container-custom {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    /* centers the container horizontally */
    box-sizing: border-box;
}

/* --- Deduplicated: Accordion & Form Styling --- */
.accordion-header button {
    border-radius: 10px !important;
    color: white;
}

/* Form layout styling */
form#budgetHeadFilterForm {
    padding: 10px;
}

/* Label styling */
form#budgetHeadFilterForm label {
    color: #000;
    font-size: 0.9rem;
}

/* Inputs & selects */
form#budgetHeadFilterForm .form-select,
form#budgetHeadFilterForm .form-control {
    width: 180px;
    height: 34px;
    font-size: 0.9rem;
    padding: 4px 10px;
}

/* Button styling */
form#budgetHeadFilterForm .btn {
    height: 34px;
    font-size: 0.9rem;
}

/* Card */
.card {
    background-color: #fff;
    border-radius: 10px;
}

/* Responsive layout */
@media (max-width: 992px) {
    form#budgetHeadFilterForm .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    form#budgetHeadFilterForm .form-select,
    form#budgetHeadFilterForm .form-control {
        width: 220px;
    }
}

/* --- Deduplicated: Utility class to hide elements --- */
.hidden {
    display: none !important;
}



/* Link this file in your HTML like this: <link rel="stylesheet" href="styles.css"> */

/* --- Container for alignment --- */
.search-container {
    display: flex;
    align-items: center;
    /* Vertically aligns the input and button */
    gap: 8px;
    /* Adds space between the input and button */
}

/* --- Input Field Styles --- */
.search-input {
    padding: 6px 8px;
    width: 220px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* --- Button Styles --- */
.search-button {
    padding: 6px 12px;
    background: black;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}



.entries-control label {
    margin: 0;
    font-weight: 500;
}

.entries-control select {
    width: 80px;
}

.entries-control span {
    margin-left: 3px;
}



/* Export buttons inline (do not change colors) */
.sticky-export-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* Search section inline */
.search-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    /* space between input and button */
}

.search-input {
    padding: 5px 10px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-button {
    display: none;
    /* hides the button completely */
}

.toolbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    /* optional spacing between items */
}


#searchBtn {
    display: none !important;
}

.small-select {
    width: 20px !important;
    padding-right: 0;
    text-align: center;
}

/* for budget alloction module show entries field */

.search-budget-allocation {
    width: 150px !important;
}

/* --- REVERSE VOUCHER STYLE --- */
.reverse-voucher .voucher-title {
    color: var(--reverse-text-color) !important;
}
.reverse-voucher.card {
    background-color: var(--reverse-bg-color) !important;
}

.reverse-voucher .table-bordered> :not(caption)>*>* {
     background-color: var(--reverse-bg-color) !important;
    color: var(--reverse-text-color) !important;
}

.reverse-voucher .view-details-btn {
    
    color: var(--reverse-text-color) !important;
     background-color: var(--reverse-bg-color) !important;
}

.reverse-voucher .view-details-btn .zmdi-eye {
   color: var(--reverse-text-color) !important;
}

/* Ensure printing works */
@media print {
    .reverse-voucher .table-bordered> :not(caption)>*>* {
         background-color: var(--reverse-bg-color) !important;
        color: var(--reverse-text-color) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* General table styling */
.day-book-table th {
    font-weight: bold;
}

.custom-heading {
    border-radius: 10px;
}

.btn {
    font-weight: 600;
}

@media (max-width: 768px) {
    .row.align-items-start {
        flex-direction: column;
    }
}

#budgetError {
    display: none;
}

#fundsError {
    display: none;
}

#chequeNumberContainer {
    display: none;
}

#chequeDateContainer {
    display: none;
}

#edit_servicesContainer {
    display: none;
}

#edit_budgetError {
    display: none;

}

#edit_fundsError {
    display: none;
}

#edit_chequeNumberContainer {
    display: none;
}

#edit_chequeDateContainer {
    display: none;
}

#approval_section {
    display: none;
}

#edit_rejection_reason_container {
    display: none;
}

#batch_id_section {
    display: none;
}

#credit_batch_id_container {
    display: none;
}

#debit_batch_id_container {
    display: none;
}

#view_servicesContainer {
    display: none;
}

#view_chequeNumberContainer {
    display: none;
}

#view_chequeDateContainer {
    display: none;
}

/* General Styling */
.card-title {
    font-weight: 600;
    color: #333;
}

.accordion-header button {
    color: white;
}

.color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border-radius: 3px;
}

.legend b {
    margin-right: 10px;
}

.btn {
    font-weight: 600;
}

@media (max-width: 768px) {
    .row.align-items-start {
        flex-direction: column;
    }
}

.custom-heading {
    border-radius: 10px;
}

.custom-accordion-btn {
    width: 36px;
    height: 36px;
}

/* Accordion body styling */
#accordionExample .accordion-body {
    background-color: #fff;
    border-radius: 10px;
}

/* Filter section layout */
.filter-section {
    display: flex;
    justify-content: center;
    padding: 10px 30px;
    /* Adds left-right spacing */
}

.filter-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 25px;
    /* Equal spacing between each box */
    flex-wrap: wrap;
}

/* Individual item boxes */
.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Label styling */
.filter-item label {
    color: #000;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* Inputs and select styling */
.filter-item .form-select,
.filter-item .form-control {
    font-size: 0.9rem;
    height: 34px;
    line-height: 1;
    padding: 4px 10px;
    width: 180px;
}

/* Search button same height as inputs */
.search-btn {
    height: 34px;
    font-size: 0.9rem;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

.attachment-frame {
    width: 100%;
    height: 75vh;
    border: none;
    /* replaces frameborder="0" which is deprecated */
}

.custom-heading {
    border-radius: 10px;
}

.custom-accordion-btn {
    width: 36px;
    height: 36px;
}

/* Accordion body styling */
#accordionExample .accordion-body {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 30px;
}

/* Filter section layout */
.filter-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.filter-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    width: 100%;
}

/* Individual filter boxes */
.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Inputs & select styling */
.filter-item .form-select,
.filter-item .form-control {
    font-size: 0.9rem;
    height: 34px;
    line-height: 1;
    padding: 4px 10px;
    width: 180px;
}

/* Search button styling */
.filter-item .btn {
    height: 34px;
    font-size: 0.9rem;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .filter-item .form-select,
    .filter-item .form-control {
        width: 220px;
    }
}

.color-swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 3px;
}

/* Example color classes */
.color-red {
    background-color: #ff0000;
}

.color-green {
    background-color: #00ff00;
}

.color-blue {
    background-color: #0000ff;
}

/* Header styling */
.custom-heading {
    border-radius: 10px;
}

/* Optional button styling */
.custom-accordion-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    /* same as bg-black */
}

.hidden-section {
    display: none;
}

.hidden-section {
    display: none;
}

.hidden-section {
    display: none;
}

.custom-heading {
    border-radius: 10px;
}

.custom-container {
    max-width: 1200px;
    width: 100%;
}

/* Accordion Styling */
.accordion-header button {
    border-radius: 10px !important;
    color: white;
}

/* Form layout styling */
form#budgetHeadFilterForm {
    padding: 10px;
}

/* Label styling */
form#budgetHeadFilterForm label {
    color: #000;
    font-size: 0.9rem;
}

/* Inputs & selects */
form#budgetHeadFilterForm .form-select,
form#budgetHeadFilterForm .form-control {
    width: 180px;
    height: 34px;
    font-size: 0.9rem;
    padding: 4px 10px;
}

/* Button styling */
form#budgetHeadFilterForm .btn {
    height: 34px;
    font-size: 0.9rem;
}

/* Card */
.card {
    background-color: #fff;
    border-radius: 10px;
}

/* Responsive layout */
@media (max-width: 992px) {
    form#budgetHeadFilterForm .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    form#budgetHeadFilterForm .form-select,
    form#budgetHeadFilterForm .form-control {
        width: 220px;
    }
}

/* Removes the built-in "X" clear button in search inputs (Chrome, Safari, Edge) */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

/* Optional: Make it look more like a normal text field */
input[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

.bold-row {
    font-weight: bold;
}

/* Basic cell color */
.th-basic {
    background-color: #7bbcba;
    color: black;
}

/* Additions (like IGST, CGST, SGST, etc.) */
.th-addition {
    background-color: #FFB85F;
    color: black;
}

/* Gross/Invoice total */
.th-gross {
    background-color: #FFB85F;
    font-weight: bold;
}

/* Deductions (like TDS, PT, EPF, etc.) */
.th-deduction {
    background-color: #F89E88;
    color: black;
}

/* Net (gradient style like your old table) */
.th-net {
    background: linear-gradient(to right,
            #ffb85f 0%,
            #ffb85f 33%,
            #8ed2c9 33%,
            #8ed2c9 66%,
            #f89e88 66%,
            #f89e88 100%);
    font-weight: bold;
    color: black;
}

/* =======Base Sidebar ========*/
.minileftbar {
    background: linear-gradient(180deg, #111, #1f1f1f);
    width: 40px;
    height: 100vh;
    padding-top: 15px;
    /* box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.05); */
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

/* Menu Layout */
.minileftbar .menu_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.minileftbar .menu_list li {
    text-align: center;

}

/* Icon Base */
/* .minileftbar .menu_list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    color: #bfbfbf;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
} */

/* Hover Effect */
.minileftbar .menu_list li a:hover {
    color: #00e6ff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(0, 230, 255, 0.3);
}

/* Active Icon */
.minileftbar .menu_list li.active a,
.minileftbar .menu_list li.open a {
    /* background: radial-gradient(circle at 30% 30%, #ffffff, #ffe7c3); */
    color: #ff9800 !important;
    /* box-shadow: 0 0 20px rgba(255, 152, 0, 0.7), inset 0 0 8px rgba(255, 255, 255, 0.6); */
    /* transform: scale(1.2); */
    border-radius: 2px;
}

/* Active Icon Glow */
/* .minileftbar .menu_list li.active i,
.minileftbar .menu_list li.open i {
    color: #ff9800;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
} */

/* Floating glow pulse for active */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 152, 0, 0.6), 0 0 30px rgba(255, 152, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 152, 0, 0.9), 0 0 50px rgba(255, 152, 0, 0.4);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 152, 0, 0.6), 0 0 30px rgba(255, 152, 0, 0.2);
    }
}

/* .minileftbar .menu_list li.active a {
    animation: glowPulse 1.8s infinite ease-in-out;
} */

/* Logout + Settings hover distinction */
.minileftbar .menu_list li a[title="Settings"]:hover i {
    color: #8bc34a;
}

.minileftbar .menu_list li a[title="Logout"]:hover i {
    color: #f44336;
}

/* =====================END================== */




/* Optional styling for better look & feel */
.dataTables_wrapper .dataTables_length select {
    width: auto !important;
    /* display: inline-block; */
    margin-left: 5px;
    margin-right: 5px;

}

.dataTables_wrapper .dataTables_filter input {
    width: 200px !important;
    display: inline-block;
    margin-left: 5px;
    display: inline-flex;
}

input {
  
    width: 300px;
    /* margin-bottom: 15px; */
    font-size: 16px;
}



/* Hide all form-related containers by default */
/* #servicesContainer,
#budgetError,
#fundsError,
#chequeNumberContainer,
#chequeDateContainer,
#edit_servicesContainer,
#edit_budgetError,
#edit_fundsError,
#edit_chequeNumberContainer,
#edit_chequeDateContainer,

#view_servicesContainer,
#view_chequeNumberContainer,
#view_chequeDateContainer {
    display: none !important;
} */

/* Optional: when visible, apply fade-in animation */
.show {
    /* display: block !important; */
    animation: fadeIn 0.3s ease-in;
}

/* Optional fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}








/* ============================
   MODAL TITLE & VOUCHER NUMBER
   ============================ */

.modal-title {
    font-size: 20px;
    /* base title size */
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.View-Detailed-Info {
    font-size: 28px;
    /* replaces inline style */
    font-weight: 700;
    color: #007b83;
    /* accent color for voucher number */
}

/* Optional: Adjust for smaller screens */
@media (max-width: 768px) {
    .modal-title {
        font-size: 18px;
        text-align: center;
    }

    .View-Detailed-Info {
        font-size: 24px;
    }
}



/* Filter Styles */


.bootstrap-select>.dropdown-toggle {
    background-color: #fff;
    border-color: #ced4da;
}

.filter-form .form-group label {
    margin-bottom: .2rem;
    font-weight: bold;
}

.filter-form .form-group {
    margin-bottom: 0.5rem;
}

.filter-form .bootstrap-select .filter-option-inner-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-form .row>div {
    margin-bottom: 1rem;
}

/* Loading Overlay Styles */
/* .spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
 */



/* Make Date Inputs smaller */
.date-input {
    max-width: 150px;
}


/* ===================================
   ACCORDION HEADER - FILTER SECTION
   =================================== */

.heading-filter {
    border-radius: 5px 5px 0 0;
    /* replaces inline style */
    background-color: #000;
    /* same as bg-black */
    color: #fff;
    /* same as text-white */
    padding: 10px 15px;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

/* Optional hover effect */
.heading-filter:hover {
    background-color: #1a1a1a;
    cursor: pointer;
}

/* Optional: Shadow for better separation */
.heading-filter {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive styling */
@media (max-width: 768px) {
    .heading-filter {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================
   ACCORDION BODY STYLING
   ============================ */

.custom-accordion-body {
    padding: 15px;
    /* replaces inline style */
    background-color: #fff;
    /* clean white background */
    border: 1px solid #dee2e6;
    /* subtle border */
    border-top: none;
    /* seamless join with header */
    border-radius: 0 0 5px 5px;
    /* rounded bottom corners */
    color: #333;
    /* readable text color */
}

/* Optional hover / transition effect */
.custom-accordion-body:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

/* Responsive: make padding smaller on small screens */
@media (max-width: 768px) {
    .custom-accordion-body {
        padding: 10px;
    }
}

/* =======================================
   CUSTOM ACCORDION BUTTON STYLING
   ======================================= */

.custom-accordion-btn {
    background: none !important;
    /* removes Bootstrap default background */
    box-shadow: none !important;
    /* removes Bootstrap focus shadow */
    border: none;
    /* removes border */
    color: #fff;
    /* white text */
    padding: 0;
    /* replaces p-0 */
    font-weight: 500;
    text-align: left;
}

/* Hover effect for better UX */
.custom-accordion-btn:hover {
    background-color: #1a1a1a !important;
    color: #fff;
    cursor: pointer;
}

/* Remove default accordion caret icon */
.custom-accordion-btn::after {
    display: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .custom-accordion-btn {
        font-size: 14px;
    }
}


/* ===== Toolbar Container using Inline-Block Layout ===== */
.toolbar-container {
    width: 100%;
    /* white-space: nowrap; */
    /* keeps both divs on same line */
    margin-bottom: 10px;
}

/* Export buttons container */
.sticky-export-bar {
    display: inline-block;
    /* inline layout */
    vertical-align: middle;
    /* aligns with search box */
}

.btn-export {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-right: 5px;
}

.btn-export:hover {
    background-color: #222;
}

.icon-fix {
    font-size: 13px;
}

/* Search box container */
.search-container {
    display: inline-block;
    /* side by side with export bar */
    vertical-align: middle;
    float: right;
    /* pushes it to the right side */
}

#searchInput {
    width: 220px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Responsive handling for mobile */
@media (max-width: 768px) {

    .sticky-export-bar,
    .search-container {
        display: block;
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }

    #searchInput {
        width: 90%;
    }
}

.toolbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* optional – keeps it responsive */
    gap: 10px;
    margin-bottom: 10px;
}

.sticky-export-bar {
    /* display: flex; */
    align-items: center;
    gap: 8px;
}





.search-container {
    display: inline-block;
}

#searchInput {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    width: 200px;
}


/* Style for the "Show/Hide Columns" button */
        #colVisBtn {
            margin-bottom: 15px;
        }

        /* Style for items in the dropdown menu */
        .col-toggle-item {
            cursor: pointer;
            padding: 8px 12px;
            display: block;
            text-decoration: none;
            color: #212529;
            /* Default state (unchecked) */
        }

        /* Style for the "checked" (visible) state */
        .col-toggle-item.active {
            font-weight: bold;
            background-color: #f0f0f0;
        }

        /* Add a "checkbox" indicator */
        .col-toggle-item::before {
            content: '\2610';
            /* Empty checkbox symbol */
            margin-right: 10px;
            font-size: 1.2em;
        }

        .col-toggle-item.active::before {
            content: '\2611';
            /* Checked checkbox symbol */
        }

form#budgetHeadFilterForm .form-control{
    margin-bottom: -4px;
    margin-left: 10px;
}

form#schemeFilterForm .form-control{
    margin-bottom: -4px;
    margin-left: 10px;
}

#colVisMenu {
        max-height: 250px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #fff !important;
}


/* -------- Pagination Layout -------- */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e5e5;
  margin-top: 16px;
  padding-top: 10px;
  font-family: "Inter", Arial, sans-serif;
}

/* Left side text */
#entryCount {
  font-size: 14px;
  color: #444;
  margin: 0;
}

/* Right side pagination buttons */
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

/* Common page button style (rounded) */
.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 50PX; /* rounded */
  background: #060606;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover effect */
.page-btn:hover {
  background: #828282;
  border-color: #fefefe;
}

/* Active page (black) */
.page-active {
  background: #828282;
  color: #fff;
  border-color: #000;
  font-weight: 1000;
}

/* Prev / Next text buttons (rounded edges) */
.page-btn.prev,
.page-btn.next {
  border-radius: 50px;
  padding: 0 14px;
  font-weight: 500;
}

/* Disabled buttons */
.page-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive alignment */
@media (max-width: 600px) {
  .pagination-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pagination {
    justify-content: flex-start;
  }
}


 .table-responsive {
        position: relative;
        min-height: 150px;
}

/* Min height for loading spinner visibility */

/* Table Styles (Keep your existing ones) */
.drillDown td,
.drillDown th {
        vertical-align: middle !important;
        border: 1px solid #dee2e6 !important;
        padding: 0.5rem !important;
        white-space: normal !important;
        /* Allow wrapping */
        word-wrap: break-word;
        /* Ensure long words break */
}



.text-right {
        text-align: right !important;
}

.text-center {
        text-align: center !important;
}

/* Legend Styles */
#legendContainer .legend-swatch {
        display: inline-block !important;
        width: 15px !important;
        height: 15px !important;
        border: 1px solid #888 !important;
        vertical-align: middle !important;
        margin-right: 3px !important;
        padding: 0 !important;
        flex: none !important;
        flex-basis: auto !important;
        max-width: none !important;
        text-align: initial !important;
}

.legend-separator {
        margin: 0 15px;
        color: #6c7d;
}

/* Make Date Inputs smaller */

/* --- MODAL TABLE STYLES --- */
#expenditureDetailModal .table-responsive {
        max-height: 450px;
        /* Set max height for modal body scroll */
        overflow-y: auto;
}

#expenditureDetailModal .table thead th {
        position: sticky;
        /* Make modal header sticky */
        top: 0;
        z-index: 1;
}

#expenditureDetailModal .table tfoot th {
        position: sticky;
        /* Make modal footer sticky */
        bottom: 0;
        z-index: 1;
}


/* CHECKBOX SIZE IN INPUT FILED  CSS*/
.checkbox-col {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 4px !important;
    vertical-align: middle;
}

.checkbox-col input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
}


/* income&exp,reciept&pay and balance sheet */

.th-colour{
    background-color: #a76e19;
    color: #FFFFFF;
}
