/* ascundere responsive table vechi */
.empty-beds-wrapper .responsive-table.table-0 {
    display: none!important;
}




/* ===========================================

   Paturi libere – page-template + .empty-beds

   =========================================== */



body.page-template.empty-beds .empty-beds-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 25px rgba(12, 48, 91, 0.05);
    max-width: 1024px;
    margin: 0 auto;
    padding: 10px 30px 26px;
    border-radius: 15px;
}



/* titlu deasupra tabelului */

body.page-template.empty-beds .general-content .empty-beds-wrapper h4 {

  color: var(--color-text, #0C305B);

  font-weight: 600;

  margin: 0 0 15px;

}



/* “data / alege altă zi” sus */

body.page-template.empty-beds .empty-beds-wrapper .timeframe {

     color: var(--color-primary, #0077FF);

    font-weight: 600;

    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto;

}
body.page-template.empty-beds .empty-beds-wrapper section h4 {
    padding: 0px !important;
}

body.page-template.empty-beds .empty-beds-wrapper .timeframe i {
    background: transparent;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    font-style: normal;
    color: var(--color-primary);
}



/* ====== calendarul de sus (plugin) ====== */

body.page-template.empty-beds .template-free-beds .calendar.clearfix .col-md-offset-8.col-md-4 {

  width: 100%;

  margin: 0;

  display: flex;

  justify-content: center;

}

body.page-template.empty-beds .empty-beds .calendar p {

  font-size: 16px;

  color: var(--color-text, #0C305B);

  font-weight: 600;

}

body.page-template.empty-beds .calendar.clearfix span.glyphicon.glyphicon-calendar {

  display: none;

}



/* ==================

   TABEL Paturi libere

   ================== */



body.page-template.empty-beds .table.table-beds {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: table !important;
    max-width: 880px;
    margin: 0 auto;
}



/* head */

body.page-template.empty-beds .table.table-beds thead td {

  background: #f5f8fb;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .04em;

  font-size: 1.2rem;

  color: rgba(12, 48, 91, .7);

  padding: 12px 14px;

}



/* celule de bază */

body.page-template.empty-beds .empty-beds .table > thead > tr > th,

body.page-template.empty-beds .empty-beds .table > tbody > tr > th,

body.page-template.empty-beds .empty-beds .table > tfoot > tr > th,

body.page-template.empty-beds .empty-beds .table > thead > tr > td,

body.page-template.empty-beds .empty-beds .table > tbody > tr > td,

body.page-template.empty-beds .empty-beds .table > tfoot > tr > td {

  vertical-align: middle;

}



body.page-template.empty-beds .table.table-beds.table-bordered td,

body.page-template.empty-beds .table.table-beds.table-bordered thead td,

body.page-template.empty-beds .table.table-beds.table-bordered tfoot td {

  background-color: #fff;

  border: solid 1px #0c305b24;

  color: var(--color-text, #0C305B);

  padding: 12px 14px;

  font-size: 1.25rem;

}



/* col. 1 – nr. crt. */

body.page-template.empty-beds .table-beds tbody td:nth-child(1) {

  width: 70px;

  text-align: center;

  font-weight: 500;

}



/* col. 2 – secția */

body.page-template.empty-beds .table-beds tbody td:nth-child(2) {

  font-weight: 600;

}



/* col. 3 – ora (mai mică) */

body.page-template.empty-beds .table-beds tbody td:nth-child(3) {

  text-align: center;

  color: rgba(12, 48, 91, .65);

  font-size: 1.05rem;        /* mai mic pentru ore */

  line-height: 1.1;

}



/* col. 4 – Libere: text verde + “pastilă” când există span (Nedeclarat) */

body.page-template.empty-beds .table-beds tbody td:nth-child(4) {

  text-align: center;

  font-weight: 600;

  font-size: 1.15rem;

  color: var(--pill-success-fg)!important; /* cifrele disponibile cu verde */

}

body.page-template.empty-beds .table-beds tfoot td:nth-child(2) {

  color: var(--pill-success-fg)!important; /* cifrele disponibile cu verde */

  text-align: center;

}

body.page-template.empty-beds .table-beds tfoot td:nth-child(3), body.page-template.empty-beds .table-beds tfoot td:nth-child(4) {

  text-align: center;

}

body.page-template.empty-beds .table-beds tbody td:nth-child(4) span {

  display: inline-block;

  padding: 4px 12px;

  border-radius: 999px;

  font-weight: 700;

  font-size: 1.15rem;

  background: var(--pill-success-bg);

  border: 1px solid var(--pill-success-br);

  color: var(--pill-success-fg);

}



/* col. 5 – Ocupate: pastilă neutră doar pentru span (Nedeclarat) */

body.page-template.empty-beds .table-beds tbody td:nth-child(5) {

  text-align: center;

  font-weight: 600;

  font-size: 1.15rem;

}

body.page-template.empty-beds .table-beds tbody td:nth-child(5) span {

  display: inline-block;

  padding: 4px 12px;

  border-radius: 999px;

  font-weight: 700;

  font-size: 1.15rem;

  background: #fff;

  border: 1px solid var(--pill-neutral-br);

  color: var(--pill-neutral-fg);

}



/* col. 6 – total: cifre mai “cuminți” */

body.page-template.empty-beds .table-beds tbody td:last-child {

  text-align: center;

  font-weight: 600;

  font-size: 1.15rem;

}



/* zebra + hover */

body.page-template.empty-beds .table-beds tbody tr:nth-child(even) td {

  background: #fcfdff;

}

body.page-template.empty-beds .table-beds tbody tr:hover td {

  background: rgba(0, 119, 255, .03);

}



/* ====== TOTAL (tfoot) ====== */

body.page-template.empty-beds .table-beds tfoot td {

  font-weight: 700;

  background: #f5f8fb;

}

body.page-template.empty-beds .table-beds tfoot td.total {

  text-align: right;

  text-transform: uppercase;

  letter-spacing: .04em;

  color: rgba(12, 48, 91, .7);

}



/* wrapper de secțiune din template */

body.page-template.empty-beds .template-free-beds .empty-beds-wrapper section {

  background: none;

  padding: 15px;

}



/* ===========================

   Responsive – sub 900px

   =========================== */

@media (max-width: 991px) {


body.page-template.empty-beds .table.table-beds.table-bordered td, body.page-template.empty-beds .table.table-beds.table-bordered thead td, body.page-template.empty-beds .table.table-beds.table-bordered tfoot td {
    padding: 6px 5px;
    font-size: 1rem;
}
body.page-template.empty-beds .table-beds tbody td:nth-child(4) span {
    padding: 3px 5px;
    font-size: 0.9rem;
}
body.page-template.empty-beds .table-beds tbody td:nth-child(5) span {
   padding: 3px 5px;
    font-size: 0.9rem;
}
body.page-template.empty-beds .table-beds tbody td:nth-child(1) {
    width: 35px;
}
body.page-template.empty-beds .empty-beds-wrapper {
    padding: 10px 10px 20px;
}
.main-content.template-free-beds .general-content {
    padding: 0;
}
}

@media (max-width: 760px)  {
    body.page-template.empty-beds .table.table-beds.table-bordered td, body.page-template.empty-beds .table.table-beds.table-bordered thead td, body.page-template.empty-beds .table.table-beds.table-bordered tfoot td {
        padding: 3px 2px;
        font-size: 0.9rem;
    }
        body.page-template.empty-beds .table-beds tbody td:nth-child(1) {
        width: 25px;
    }
  }