/* Table styles */
.autotable {
    border-collapse: collapse;
    width: 100%;   
}
.autotable thead {
    background-color: #000000;
}
.autotable thead tr {
    /* Optional: Ensure consistent row styling */
    line-height: 1.5;
}
.autotable thead tr th {
    color: #FFFFFF;
    border: 1px solid #dee2e6;
    padding: 8px;
    font-weight: bold; /* Enhance header emphasis */
    background-color: #000000;
}
.autotable tbody tr td {
    border: 1px solid #dee2e6;
    padding: 8px;
}
.bootstrap-controls .error {
    color: #dc3545;
}
/* Override Dolibarr styles for controls within bootstrap-controls */
.bootstrap-controls .form-control,
.bootstrap-controls .form-select {
    font-size: 0.875rem;
}
.bootstrap-controls button {
    font-size: 0.875rem;
}

#auto-table{
  border: 1px solid #ece6e6;
  padding: 8px;
}

.combopo{
  width: 100%;
}

.bootstrap-controls .total-items {
    font-size: 0.875rem;
    color: #212529;
    vertical-align: middle;
}
.rtv_list_margin{
    margin-top: -50px;
}
#tablelines tbody tr.even-row {
    background-color: white !important;
}
#tablelines tbody tr.odd-row {
    background-color:rgb(242, 243, 226) !important;
}
#tablelines tbody tr.editing-row {
    background-color: #ffeb3b !important;
    transition: background-color 0.3s ease;
}
.editing-row {
    border: 2px solid #4caf50 !important; /* Green border for add */
    background-color: #e8f5e9 !important; /* Light green background */
    transition: all 0.3s ease;
}

#po_rtvlist{
    padding: 7px;
    border: 1px solid #ccc;
    text-align: left;
    margin-bottom: 21px;
    margin-top: -45px;
    background-color: #ffffd9;
}