.btns-data {
    margin-right: 6px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 0px;
    border-radius: 4px;
    background: #858796;
    border-style: none;
}

.btns-data:disabled {
    background: #c1c3d1; /* Světlejší barva pro neaktivní tlačítko */
    cursor: not-allowed; /* Změna kurzoru na zakázaný */
    opacity: 0.9; /* Jemný efekt průhlednosti */
}

.btn-icons-data {
    margin-top: 6px;
    font-size: 16px;
    color: #ffffff;
}

.btns-data:hover {
    background-color: var(--buttons-hover-backcolor);
}
/* Globální styl pro tabulky */
#data_header {
    height: 35px;
    min-height: 35px;
    background-color: var(--bs-light);
}

table {
    /*table-layout: fixed; - NE, ROZHODÍ RODIČE*/
    width: 100%;
    border-collapse: collapse; /* Spojení hranic buňek, aby nebyly duplikované */
    white-space: nowrap; /*Zabrání zalamování textu v buňkách*/
    overflow: hidden; /* Skrytí obsahu, který by se mohl přesahovat */
    text-overflow: ellipsis; /* Zkrácení textu, který se nepořád vejde .... */
}

.table-body tr {
  cursor: pointer;
}

.table-hover tbody tr:hover {
  /*background-color:  #a5d6a7 !important;*/
  background-color:  #d5eb12 !important;
}

/* Styl pro buňky */

td, th {
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px;
  border: 1px solid #ddd;
  white-space: nowrap;
  font-size: 12px;
  cursor: pointer;
}

/* Hlavička tabulky */

thead th {
  text-align: left;
  background-color: #f8f9fa;
  font-weight: bold;
}

/* Specifické šířky a zarovnání sloupců */

th.t-sel {
  width: 14px;
  text-align: center;
  justify-content: center;
}

/* Styl samotného checkboxu */

td.sel input[type="checkbox"] {
  margin: 0;
  width: 10px;
}

th.t-hash-id, td.t-hash-id {
  width: 10px; /* 42px */
  text-align: left;
}

th.t-city, td.t-city {
  width: 10px; /* 60px */
  text-align: left;
}

th.t-city-part, td.t-city-part {
  width: 10px; /* 60px */
  text-align: left;
}

th.t-street, td.t-street {
  width: 10px; /* 60px */
  text-align: left;
}

th.t-active, td.t-active {
  width: 10px; /* 30px */
  text-align: center;
}

th.t-date-from, td.t-date-from, th.t-date-to, td.t-date-to {
  width: 10px; /* 40px */
  text-align: center;
}

th.t-days, td.t-days {
  width: 10px; /* 20px */
  text-align: center;
}

th.t-area, td.t-area {
  width: 10px; /* 28px */
  text-align: right;
}

th.t-price, td.t-price {
  width: 10px;  /* 40px */
  text-align: right;
}

th.t-pricem2, td.t-pricem2 {
  width: 10px; /* 30px */
  text-align: right;
}

th.t-subtype, td.t-subtype {
  width: 10px; /* 40px */
  text-align: center;
}

th.t-construction, td.t-construction{
    width: 10px; /* 40px */    
    text-align: right;
}

th.t-condition, td.t-condition{
    width: 10px; /* 40px */
    text-align: right;
}

/* Záložní tři tečky pro dlouhý text ve sloupcích */

td.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-body tr.row-highlight td {
  background-color: #d9ebda !important;
  color: inherit !important;
}

.table-body tr:hover td {
  background-color: #f1efcc !important;
  color: inherit;
  cursor: pointer;
}

.table-body tr.row-checked td {
    background-color: var(--color-table-selectedrow) !important;
    color: inherit !important;
  }

.table-header th.sorted-asc::after {
  content: ' 🔼';
}

.table-header th.sorted-desc::after {
  content: ' 🔽';
}

#no-table-data {
    display: none; /* Skrytý ve výchozím stavu */
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9); /* Jemné pozadí */
    color: #333;
    font-size: 10px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


