/* Styling for the Handsontable container */
.table-input-container {
    width: 100%;
    border: 1px solid #d1d5db;
    /* Gray-300 equivalent border */
    border-radius: 0.375rem;
    /* 6px, rounded-md equivalent */
    flex-shrink: 0;
    /* Prevent table container from shrinking */
    overflow: hidden;
    /* Handsontable manages its own scrolling, hide container's overflow */
}

/* General Handsontable cell alignment for numeric data */
.handsontable .htCore td.htNumeric {
    text-align: right;
}

/* Style for read-only cells to appear disabled */
.handsontable .htDimmed {
    color: #a0a0a0;
    background-color: #f0f0f0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Additional styling for disabled cells */
.handsontable .htDimmed input {
    background-color: #f0f0f0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed !important;
}

.handsontable .ht_clone_left,
.handsontable .ht_clone_top,
.handsontable .ht_clone_top_left_corner {
    z-index: 0 !important;
}



/* This targets the dropdown list that appears when you edit a cell */
.handsontable.listbox td {
    background: white !important;
    color: black !important;
    border-color: #f0f0f0;
}

/* This styles the currently selected or hovered item in the dropdown list */
.handsontable.listbox .current,
.handsontable.listbox .ht__highlight {
    background: #e9e9e9 !important;
}

