:root {
  --cell-boders: rgb(151 151 151 / 38%);
  --data-table-background-color: white;
  --data-table-text-color: black;
  --data-table-head-text-color: rgb(247, 247, 247);
}

table,
th,
td {
  border: 1px solid #808080f2;
  border-collapse: collapse;
}


td {
  padding: 2px;
  border-right: solid 1px var(--cell-boders);
  width: fit-content;
}

tr {
  padding: 2px;
  border-bottom: solid 1px var(--cell-boders);
}

tbody tr {
  padding: auto;
}

tfoot tr {

  color: var(--table-head-color);
  ;
  font-size: larger;
  font-weight: bold;
}


.table-outer-container {
  box-shadow: 0 4px 14px hsl(355deg 25% 15%/10%);
  border-radius: 12px;
  padding: 10px;
  position: relative;
  background-color: white;
}

.table-inner-container {
  background-color: white;
  overflow: auto;
  max-height: 397px;
  /* min-height: 394px; */
}

.data_table {
  width: -webkit-fill-available;
  width: -moz-available;
  /* height: -webkit-fill-available;
  height: -moz-available; */
  position: relative;
  /* padding: 10px; */
  border-radius: 10px;
  margin: 5px;
}

.data_table table {
  font-size: 14px;
  width: -webkit-fill-available;
  width: -moz-available;
  border-radius: 10px;
}

.data_table thead {
  background: var(--table-head-color);
  color: var(--data-table-head-text-color);
  position: sticky;
  /* make the table heads sticky */
  top: 0px;
  z-index: 10;
}

.body-container thead {
  position: sticky;
  top: 0;
}

.sticky-header {
  position: fixed;
  top: 62px;
  width: auto;
  background: white;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
  display: none;
}

.data_table tfoot {
  position: sticky;
  background-color: gray;
  /* make the table heads sticky */
  bottom: 0px;
  z-index: 8;
}

.footer_cell_container {
  background-color: var(--table-head-color);
  color: white;
  padding: 4px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
  font-size: medium;
}

.table_cell_container {
  width: max-content;
}

.table-inner-container th,
.table-inner-container td {
  padding: 5px;
  text-align: left;
}

.data_table th {
  border-right: solid 1px white;
}

table.data_table th,
table.data_table td {
  padding: 2px;
  padding-left: 3px;
  padding-right: 3px;
}

.tr-no-data {
  display: block;
}

.td-no-data {
  display: table-cell;
  column-span: all;
  /* width: max-content; */
  table-layout: fixed;
  align-items: center;
  text-align: center;
}

.td-no-data-body {
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 10px;
}

.data_table th {
  text-align: center;
}

.th-hidden {
  display: none;
}

.tr-even-row {
  background: none;
  border-bottom: solid 1px var(--cell-boders);
}

.tr-odd-row {
  background: #efefef;
  border-bottom: solid 1px var(--cell-boders);
}

.tr-checked-row {
  background: var(--table-row-hover-color);
}

tbody tr:hover {
  background: var(--table-row-hover-color);
  color: white;
}

tbody tr:focus {
  background: var(--table-row-hover-color);
}

.td-command-column,
.th-command-column {
  display: flex;
}

.td-select-column,
.th-select-column {
  width: 10px;
}


/* Custom checkbox styling */

/* Default custom checkbox styling */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  margin: 0;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0px;
  left: 4px;
  height: 13px;
  width: 14px;
  background-color: #eee;
  border: groove 4px black;
}

.checkbox-container:hover input~.checkmark {
  border-color: #6c757d;
}

.checkbox-container input:checked~.checkmark {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 3px;
  top: -2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

/* Rounded Checkbox */
.rounded .checkmark {
  border-radius: 50%;
}

.rounded .checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 4px;
  height: 8px;
}

/* Switch Style */
.switch .checkmark {
  width: 40px;
  height: 24px;
  border-radius: 12px;
}

.switch .checkmark:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}

.switch .checkbox-container input:checked~.checkmark:after {
  transform: translateX(16px);
}

/* Different Colors */
.success .checkbox-container input:checked~.checkmark {
  background-color: #198754;
  border-color: #198754;
}

.danger .checkbox-container input:checked~.checkmark {
  background-color: #dc3545;
  border-color: #dc3545;
}

.warning .checkbox-container input:checked~.checkmark {
  background-color: #ffc107;
  border-color: #ffc107;
}


/* Custom checkbox styling */

.table_inputs {
  width: -webkit-fill-available;
  width: -moz-available;
  display: block;
  padding: 1px;
}

.edited_cell {
  background-color: var(--table-row-hover-color);
}

/* Hide the browser's default checkbox */

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}


.table-selection-controls {
  display: flex;
  align-items: center;
}

.tbl-btn-container {
  display: flex;
  justify-content: center;
}

.tbl-btn,
.tbl-btn-only-icon {
  align-self: center;
  margin: 0px 2px;
  display: inline-block;
  font-weight: bold;
  background: var(--primary-color);
  border: 3px solid transparent;
  color: var(--bg-color);
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 1px 2px;
  font-size: 16px;
  line-height: -3.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tbl-btn:hover {
  background: var(--hover-color);
  border: solid 3px white;
  outline: 1px solid var(--text-color);
  transition: 0.3s;
}

.tbl-btn-with-text {
  width: 100px;
}

.tbl-btn-only-icon {
  min-width: 55px;
}

.tbl-btn-edit {
  display: block;
}

.tbl-btn-edit:hover {
  background-color: var(--hover-color);
}

.tbl-btn-delete {
  display: block;
  background-color: red;
  color: white
}

.tbl-btn-delete:hover {
  background-color: var(--danger-color);
}

.tbl-btn-update {
  display: block;
}

.tbl-btn-cancel {
  display: block;
}

.tbl-btn-more-options {
  display: block;
  background-color: var(--second-color);
  min-width: 9px;
}

.td-more-options-column,
.th-more-options-column {
  width: 10px;
  min-width: 10px;
}

.tbl-fixed-column {
  /* position: absolute;
  margin-left: -100px;*/
  outline: none;
}

.fixed_col {
  position: -webkit-sticky;
  position: sticky;
  width: 5em;
  left: 0;
  top: auto;
  border-top-width: 1px;
  /*only relevant for first row*/
  margin-top: -1px;
  /*compensate for top border*/
}


.fixed_cell {
  transition: 0.8 ease;
  background-color: var(--table-head-color);
  color: white;
}

.fixed_col_header {
  background-color: var(--table-head-color);
  color: white;
}

.tb-pagination-container {
  display: flex;
  background: var(--table-head-color);
  color: white;
  height: 35px;
  justify-content: space-between;
  align-items: center;
  padding: 2px 10px;
  position: sticky;
  bottom: 1px;
  display: flex;
  gap: 15px;
  z-index: 5;

}

.table-pagination-container {
  display: flex;
}

.table-entries-total {
  tab-size: 20px;
}

.page-number-wrapper {
  display: flex;
  align-items: center;
}

.page-number-wrapper select {
  width: 44px;
  padding: 5px;
  border-radius: 5px;
  margin: 0px 3px;
  height: -webkit-fill-available;
}

.tbl-page-btn {
  /* align-self: center; */
  margin: 2px;
  display: flex;
  /* font-weight: 400; */
  background: var(--second-color);
  border: 1px solid transparent;
  color: var(--bg-color);
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  /* line-height: 1.5; */
  width: 27px;
  height: 28px;
  /* line-height: 1.5; */
  min-width: 27px;
  min-height: 28px;
  border-radius: 50%;
  /* border: 3px groove white; */
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  justify-content: center;
  align-items: center;
}

.tb-extreme-page-btn {
  border: 3px groove white;
}

.tbl-page-btn-disabled {
  background: #ada8a8;
  cursor: auto;
}

.tb-page-number-wrapper {
  display: flex;
}

.tb-page-number-wrapper select {
  height: -webkit-fill-available;
  height: -moz-available;
  padding: 5px;
  border-radius: 10px;
  margin: 0px 5px;
}

.rowLimit-select {
  display: flex;
  min-width: 175px;
  position: relative;
  align-items: center;
}

.rowLimit-select select {
  width: 55px;
  align-items: center;
  text-align: center;
  padding: 2px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--bg-color);
  background-clip: padding-box;
  border: 1px solid #ced4da;
  outline: none;
  border-radius: 10px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.table-outer-container .table-refresh-modal {
  display: none;
  height: -webkit-fill-available;
  height: -moz-available;
  width: -webkit-fill-available;
  width: -moz-available;
  position: absolute;
  z-index: 999;
  justify-content: center;
  background-color: #00000075;
}

.table-refresh-modal-content {
  background-color: var(--black-transparent);
  display: flex;
  /* display: block; */
  position: relative;
  width: 147px;
  height: 147px;
  border-radius: 10px;
  top: 50%;
  /* left: unset; */
  color: white;
  font-weight: bolder;
  /* height: -webkit-fill-available; */
  /* position: absolute; */
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.table-refresh-modal-img {
  display: block;
  height: 43px;
}

.tbl-header-container {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}

.table-img {
  cursor: zoom-in;
}

.table_selection_command_toggle_button {
  display: flex;
  gap: 5px;
  position: relative;
  background: black;
  cursor: pointer;
  align-items: center;
  padding: 5px 10px;
  border-radius: 10px;
}

.table_selection_command_toggle_button:hover .more_table_commands_content {
  display: flex;
}

.more_table_commands_content {
  display: none;
  position: absolute;
  width: max-content;
  padding: 10px;
  border-radius: 5px;
  top: 36px;
  left: -3px;
  right: 0;
  z-index: 11;
  background: #485456;
  /* min-width: 100px; */
  flex-direction: column;
}

.more_table_command_item {
  border-bottom: 1px solid gray;
  margin-bottom: 5px;
}

.col-header-container {
  width: -webkit-fill-available;
  top: 0;
  padding: 9px 5px;
  cursor: unset;
  /* left: 0; */
  bottom: 0;
  position: relative;
  height: -webkit-fill-available;
  display: flex;
  justify-content: space-between;
}

.col-header-text {
  display: flex;
  gap: 5px;
  /* display: block; */
  width: -webkit-fill-available;
  width: -moz-available;
  justify-content: center;
  align-items: center;
  font-size: small;
}

.col-header-icon {
  height: 13px;
}

.col-header-sort-icon {
  display: flex;
  gap: 3px;
  align-items: center;
  flex-direction: column;
}

.td-input-container {
  display: flex;
  width: -webkit-fill-available;
  width: -moz-available;
  height: -webkit-fill-available;
  height: -moz-available;
  justify-content: center;
}

.td-input-checkbox td {
  padding: 5px;
  max-width: 100px;
}

.grouped-row {
  display: table-row;
  background-color: #991700;
  color: white;
}

.grouped-row tr {
  padding: 10px;
}

.grouped-row-td {
  display: table-cell;
  column-span: 1000;
}

.tbl-group-row-container {
  padding-left: 10px;
  font-weight: bolder;
  border-bottom: 1px solid white;
}

.tbl-group-row-second-index {
  padding-left: 28px;
}

.grouped-row:hover {
  background-color: var(--second-color);
}

.table-message {
  background-color: var(--black-transparent);
  color: white;
  min-width: 352px;
  max-width: 222px;
  position: absolute;
  display: none;
  right: 0;
  bottom: 5px;
  min-height: 74px;
  /* border-radius: 10px; */
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  align-items: center;
  transition: 0.6s ease;
  /* transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%); */
}

.table-message-body {
  display: flex;
  width: 100%;
  height: -webkit-fill-available;
  height: -moz-available;
  padding: 10px;
}

.tbl-btn-bottom {
  display: block;
  background-color: var(--table-head-color);
  color: white;
  cursor: pointer;
}

.table-bottom-container {
  padding: 5px;
  padding-left: 9px;
  padding-right: 9px;
  font-size: smaller;
  min-width: 70px;
  text-align: center;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
}

.table-bottom-container button {
  padding: 5px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: smaller;
  min-width: 70px;
  text-align: center;
  border-radius: 10px;
  border: 0px;
  background-color: var(--button-color);
}

.table-bottom-container button:hover {
  background-color: var(--second-color);
}

.table-bottom-container button:disabled {
  background-color: rgb(196, 196, 196);
  color: rgb(121, 119, 119);
}

.btn-batch-edit {
  display: block;
}

.tbl-command-column {
  width: 70px;
  align-items: center;
  align-content: center;
}

.tbl-command-column td {
  width: 50px;
}

.details-container {
  /* height: -webkit-fill-available; */
  display: block;
  /* position: relative; */
  background-color: rgb(219 219 219 / 53%);
  margin: 10px;
  overflow: auto;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 14px hsl(391deg 12.08% 14.89% / 53%);
}

.details-title {
  display: block;
  font-weight: bolder;
  font-size: x-large;
}

.details-inner-container {
  display: flex;
}

.left-details-side {
  display: block;
}

.details-pic {
  display: block;
  width: 237px;
}

.right-details-side {
  display: block;
  width: -webkit-fill-available;
  width: -moz-available;
  border: 1px solid var(--cell-boders);
  border-radius: 10px;
  margin: 10px;
}

.details-table {
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
}

.detail-row {
  display: table-row;
  border-bottom: 14px solid transparent;
  outline: 1px dashed var(--cell-boders);
}

.detail-caption {
  display: block;
  display: table-cell;
  font-weight: bold;
  max-width: 243px;
}

.detail-value {
  display: table-cell;
}

.filter-row {
  display: flex;
  margin-top: 6px;
}

.filter-icon {
  display: flex;
  width: 50px;
  font-size: xx-large;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.filter-fields-container {
  display: flex;
  width: -webkit-fill-available;
  width: -moz-available;
}

.filter-fields-form-container {
  padding: 0px;
}

.filter-field-control {
  max-width: 159px;
  padding-left: 2px;
  padding-right: 2px;
}

.filter-field-control input,
select {
  display: block;
}

.filter-caption {
  display: flex;
  margin: auto;
}

.exp-options-container {
  display: flex;
}

.btn-export {
  display: block;
  min-width: 100px;
  height: 38px;
  font-size: medium;
  background-color: var(--second-color);
  color: white;
  border-collapse: collapse;
  outline: none;
  border: 0px solid;
  border-radius: 6px;
  cursor: pointer;
}

.exp-icon {
  display: block;
  font-size: xx-large;
}

.tbl-more-options-container {
  display: flex;
  justify-content: center;
  position: relative;
}


.tbl-contextMenu {
  display: none;
  position: absolute;
  /* transform-origin: top left; */
  /* transform: scale(0); */
  min-width: 100px;
  width: max-content;
  left: -144px;
  right: 0;
  padding: 5px;
  background: rgba(250, 250, 250, 0.98);
  box-shadow: 2px 2px 12px 4px rgba(100, 100, 100, 0.4);
  transition: transform 400ms ease-in-out 50ms;
}

.tbl-contextMenu table {
  border-collapse: collapse;
  border-spacing: 0;
  width: -webkit-fill-available;
  width: -moz-available;
}

.tbl-contextMenu table tr {
  border-collapse: collapse;
  border-spacing: 0;
  cursor: pointer;
}

.tbl-contextMenu td {
  border-collapse: collapse;
  border-spacing: 0;
}

.tbl-contextMenu.visible {
  transform: scale(1);
}

​.table-inner-container {
  position: relative;

  .tbl-more-options-container {
    position: absolute;

    .tbl-contextMenu {
      position: fixed;
    }
  }
}

.table-header-container {
  display: flex;
  flex-direction: column;
  background: var(--table-head-color);
  padding: 10px 5px;
  color: white;
  justify-content: space-between;
}

.table-header-button-container {
  margin-bottom: 7px;
  display: flex;
  gap: 5px;
}

.sort-allowed-col {
  cursor: pointer;
}

.table-header-control-container {
  display: flex;
  justify-content: space-between;
  height: 32px;
}

.table-row-limit-controls-container {
  display: flex;
}

.table-row-limit-controls-container label {
  display: flex;
  gap: 5px;
  align-items: center;
}

.table-row-limit-controls-container select {
  height: -webkit-fill-available;
  height: -moz-available;
  border-radius: 17px;
  align-items: center;
  align-content: center;
  text-align: center;
}

.table-search-input {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #dbd4d4;
  color: black;
  padding: 6px 5px;
  border-radius: 18px;
  overflow: hidden;
}

.table-search-input input {
  display: flex;
  background: unset;
  border: 0px;
  outline: unset;
  font-size: medium;
}

.tb-loading {
  position: absolute;
  display: none;
  align-items: center;
  justify-content: center;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black */
  color: white;
  z-index: 11;
}

.tb-loading img {
  width: 200px;
}

.sel_table_page_switch {
  text-decoration: none;
}

/* Loan table style (start)  */
.penality_col {
  background-color: #515050a6;
  color: white;
}

.expected_total_col {
  background-color: black;
  color: white;
  font-weight: bold;
}

.recovered_col {
  color: black;
}

.recovered_total_col {
  background-color: #0000ff91;
  color: white;
  font-weight: bold;
}

.balance_col {
  color: black;
}

.balance_total_col {
  background-color: #be1701b3;
  color: white;
  font-weight: bold;
}

.cleared_status_col {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: green;
  font-weight: bold;
  color: white;
  height: -webkit-fill-available;
  height: -moz-available;
  padding: 2px;
  border-radius: 10px;
}

.reduced_status_col {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  font-weight: bold;
  color: white;
  height: -webkit-fill-available;
  height: -moz-available;
  padding: 2px;
  border-radius: 10px;
}

.recapitalisation_cat_col {
  width: 100%;
  background: var(--second-color);
  color: white;
  font-weight: bold;
  font-size: small;
  padding: 3px 6px;
  border-radius: 9px;
  text-align: center;
}

.recapitalised_cat_col {
  width: 100%;
  background-color: black;
  color: white;
  font-weight: bold;
  font-size: small;
  padding: 3px 6px;
  border-radius: 9px;
  text-align: center;
}

.reduced_cat_col {
  width: 100%;
  background-color: rgb(99, 97, 97);
  color: white;
  font-weight: bold;
  font-size: small;
  padding: 3px 6px;
  border-radius: 9px;
  text-align: center;
}

.uncleared_status_col {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: medium;
  padding: 2px;
  font-weight: bold;
  border-radius: 10px;
}

.defaulted_status_col {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: medium;
  background-color: red;
  color: white;
  padding: 2px;
  font-weight: bold;
  border-radius: 10px;
}

/* Loan table style (end)   */
.inst_pay_btn {
  align-self: center;
  margin: 1px;
  display: inline-block;
  font-weight: bold;
  background: var(--second-color);
  border: 3px solid transparent;
  color: var(--bg-color);
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* padding: 0.375rem 0.75rem; */
  font-size: 16px;
  line-height: -3.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.inst_pay_btn:hover {
  border: 3px solid white;
  outline-color: black;
  outline-style: solid;
  outline-width: 1px;
}

/*  Card View */
.card_container {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  justify-content: center;
  gap: 1.5rem;
  background-color: var(--black-transparent);
  padding: 10px;
}

.card_box {
  width: -webkit-fill-available;
  width: -moz-available;
  border: 9px transparent solid;
  background-color: white;
  box-shadow: 0 4px 14px hsl(355deg 25% 15%/10%);
  padding: 15px;
  border-radius: 0.5rem;
  transition: 1s ease;
}

.card_box_inner_container {
  display: block;
}

.card_box:hover {
  border: 9px var(--hover-color) solid;
}

.card_row_caption_container {
  font-size: medium;
  font-weight: bold;
}

.table_batch_edit_input_container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.item_detail_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(637px, 1fr));
  /* justify-content: center; */
  gap: 1.5rem;
  padding: 10px;
}

.overlay_container {
  position: relative;
}

.overlay_container:hover .overlay {
  display: flex;
  transition: 0.5s ease;
}

.overlay {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.425);
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  width: -moz-available;
  height: -moz-available;
  height: 100%;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
}

.overlay_button_container {
  display: flex;
  gap: 29px;
}

.overlay_button {
  display: flex;
  color: white;
  font-size: xxx-large;
  cursor: pointer;
  padding: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: 0.5s ease;
  border: 2px solid transparent;
}

.overlay_button:hover {
  border: 2px solid white;
  transition: 0.5s ease;
}

.sd_section {
  width: -webkit-fill-available;
  width: -moz-available;
  border: 9px transparent solid;
  background: var(--gradient-bg);
  box-shadow: 0 4px 14px hsl(355deg 25% 15%/10%);
  padding: 15px;
  border-radius: 0.5rem;
  transition: 1s ease;
}

.sd_section_cell {
  width: fit-content;
  height: fit-content;
}

.circular_img_container {
  display: flex;
  flex-direction: column;
  border-radius: 50%;
  overflow: hidden;
  border: 2px black solid;
  align-items: center;
}

.sd_img_section img {
  width: 239px;
  height: 200px;
  border: 2px solid;
}

.sd_name {
  padding: 10px;
  background: var(--second-color);
  color: white;
  font-size: x-large;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 600;
}

.sd_section_title {
  background: linear-gradient(180deg, var(--second-color), #000000f7);
  padding: 10px;
  margin-bottom: 5px;
  color: white;
  text-transform: uppercase;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
}

.item_detail_row {
  display: flex;
  gap: 5px;
  margin-bottom: 2px;
  border-bottom: 2px solid darkgray;
  align-items: center;
  min-height: 42px;
  justify-content: space-between;

}

.item_detail_cell {
  width: -webkit-fill-available;
  width: -moz-available;
}

.item_detail_cell_caption {
  display: flex;
  width: 277px;
  border-right: 2px dashed darkgray;
  justify-content: space-between;
  font-weight: bold;
  font-size: 14px;
}

.item_detail_container table {
  width: 100%;
  border-collapse: collapse;
  border: 0px solid gray;
}

.item_detail_container tr,
.item_detail_container td {
  border: 0px solid gray;
  border-collapse: collapse;
}

.item_detail_container tr {
  border-bottom: 3px dotted lightgray;
}

.item_detail_container tr:hover {
  background-color: unset;
  background: unset;
}

.detail_row_container {
  padding: 10px;
  background: linear-gradient(180deg, #bae3f7, #dbd5d5e0);
  border-radius: 10px;
  color: black;
  margin-bottom: 10px;
}

.detail_row_container img {
  width: 213px;
  max-height: 177px;
}

.detail_row_inner_container {
  display: flex;
  gap: 10px;
}

.detail_row_section {
  cursor: unset;
}

.detail_row_item {
  cursor: unset;
  display: flex;
  width: 100%;
  gap: 10px;
  font-size: medium;
  align-items: center;
  border-bottom: 1px dotted gray;
  padding: 5px 3px;
}

.detail_row_item_caption {
  font-size: medium;
}

.detail_row_item_caption i {
  color: var(--primary-color);
}

.detail_row_item_value {
  cursor: unset;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-fade-out {
  animation: fadeOut 0.5s ease forwards;
}

.td_detail_value {
  min-width: 122px;
}

.inline_cell_value_text {
  width: 100%;
}

.inline_edit_controls_container {
  display: flex;
  gap: 2px;
  width: 100%;
  width: -moz-available;
  transition: 1s ease;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.inline_edit_controls_container select {
  display: unset;
  padding: 2px 5px;
  width: 100%;
  /* min-width: 121px; */
  /*  height: 32px; */
}

.detail_name {
  border-right: 2px dashed darkgray;
}

.detail_value {
  display: flex;
  width: -webkit-fill-available;
  width: -moz-available;
  align-items: center;
}

.inline_edit_container {
  display: flex;
  width: -webkit-fill-available;
  width: -moz-available;
  justify-content: space-between;
}

.inline_start_edit_container {
  transition: 1s ease;
}

.inline_edit_container input,
select,
textarea {
  width: -webkit-fill-available;
  width: -moz-available;
  height: auto;
  border-radius: 5px;
}

.inline_edit_input_control {
  background: transparent;
  border: unset;
}

.inline_edit_input_control:focus {
  background: transparent;
  border: unset;
  outline: unset;
}

.inline_edit_input_control_active {
  border: 2px var(--second-color) solid;
}

.inline_edit_input_control_active:hover {
  box-shadow: 0 0 2px 4px rgba(108, 92, 231, 0.4);
  transition: 0.5s ease-in;

}

.inline_edit_input_control_active:focus {
  border: 1px gray solid;
  outline: unset;
  box-shadow: 0 0 2px 4px rgba(108, 92, 231, 0.4);
  transition: 0.5s ease-in;
}

.inline_edit_button_container {
  display: flex;
  gap: 5px;
}

.inline_edit_container button {
  width: 50px;
  min-width: unset;
}

.inline_finish_edit_container {
  display: flex;
  gap: 5px;
  transition: 1s ease;
}

/*  Card View */
.right-to-left {
  display: flex;
  text-align: end;
  flex-direction: row-reverse;
}

.arabic-text {
  font-size: x-large;
  font-weight: 800;
}

.batch_commands_container {
  display: none;
  background: #0b0b0ecf;
  /* position: fixed; */
  bottom: 62px;
  left: 114px;
  right: 60px;
  border-radius: 10px;
  /*   z-index: 10; */
  /* width: 100%; */
  overflow: hidden;
  padding: 3px 7px;
}

.batch_commands_inner_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.batch_commands_summary {
  color: white;
  font-size: small;
}

.batch_commands_container button {
  background: transparent;
  border: 1px white solid;
  min-height: 23px;
  line-height: unset;
  padding: 2px 5px;
  text-align: center;
  font-size: small;
  min-width: 100px;
}

.batch_commands_container button:hover {
  background: white;
  color: black;
  border: 1px black solid;
}

.batch_commands_container .cancel_button button {
  border-radius: 50%;
  width: 24px;
  display: flex;
  min-width: unset;
  align-items: center;
  justify-content: center;
}

.more_table_command_item {
  display: flex;
  padding: 5px 10px;
  gap: 10px;
  align-items: center;
  border: 2px solid transparent;
}

.more_table_command_item .btn {
  width: 100%;
}

@media(max-width:752px) {
  .tb-pagination-container {
    font-size: x-small;
  }

  .tbl-page-btn {
    min-height: unset;
    min-width: unset;
    width: 14px;
    height: 24px;
    font-size: 10px;
    padding: 9px;
  }

  .page-number-wrapper select {
    width: fit-content;
    /* padding: 4px 10px; */
    padding-right: 14px;
    background-position: right 1px center;
  }

  .batch_commands_container button {
    min-width: fit-content;
  }

  .batch_commands_summary {
    font-size: 10px;
  }

  .tbl-header-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .filter-icon {
    display: none;
  }

  .filter-row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}



/* Batch Edit */