table.dataTable tr.dtrg-group.dtrg-level-0 td {
    font-weight: bold;
}
table.dataTable tr.dtrg-group td {
    background-color: #e0e0e0;
}
table.dataTable tr.dtrg-group.dtrg-level-1 td:first-child{
    padding-left: 0.5em;
}
table.dataTable tr.dtrg-group.dtrg-level-1 td{
    background-color: #f0f0f0;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}
table.dataTable tr.dtrg-group.dtrg-level-2 td:first-child {
    padding-left: 1em;
}
table.dataTable tr.dtrg-group.dtrg-level-2 td {
    background-color: #fff0f0;
}

table.dataTable tr.dtrg-group.dtrg-level-3 td:first-child {
    padding-left: 1.5em;
}
table.dataTable tr.dtrg-group.dtrg-level-3 td {
    background-color: #f0f0f0;
}
table.dataTable.compact tbody tr td.order_id {
    padding-left: 2em;
}


#pinbody {
  position: relative;
  background-color: #272a2f;
  font-family: 'Sofia Sans Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: larger;
  height: 100%;
  width: 100%;
}
#restartbtn {
  text-align: center;
  color: #fff;
  cursor: pointer;
  margin: 20px;
}
#loginbtn {
  text-align: center;
  color: #fff;
  cursor: pointer;
  margin: 20px;
}
.pintable {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
}

.pincell {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  width: 100%;
  text-align: center;
}


/*------
# Pincode
----*/

#pincode {
  position: fixed;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  z-index: 9999;
  background: linear-gradient(175deg, rgb(5, 68, 94) 0%, rgb(24, 154, 180) 130%, rgb(117, 230, 218) 170%);
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.6);
}

#pinnumbers {
  max-width: 300px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  display: block;
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  transition: all 1s ease-out;
  opacity: 1;
}

#pinnumbers.hide {
  opacity: 0.3;
}

#pincode button {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
  background-color: rgba(0, 0, 0, 0.35);
  border: 0;
  color: #fff;
  font-size: 25px;
  line-height: 50px;
  border-radius: 100%;
  opacity: 1;
  outline: 0;
  border: 2px solid #fff0;
  box-shadow: 5px 10px 25px #04040480;
}

#pincode button:active {
  background-color: rgba(0, 0, 0, 0.6);
  outline: 0;
}

#pinfields {
  max-width: 95vw;
  padding: 0 20px;
  margin: 50px auto;
  position: relative;
  display: block;
}

#pinfields .numberfield {
  text-align: center;
  margin: 1px;
  padding: 1px;
}

#pinfields .numberfield span {
  height: 10px;
  width: 10px;
  border: 2px solid #fff;
  background-color: transparent;
  border-radius: 100%;
  position: relative;
  display: inline-block;
  text-align: center;
}

#pinfields .numberfield.active span {
  background-color: #fff;
}

#pinfields .numberfield.right span {
  background-color: #272a2f;
  border-color: #272a2f;
  transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
}


/*------
# Toast Grid
----*/

.pingrid {
  list-style: none;
  margin-left: -20px;
}

.grid__col--1-of-3,
.grid__col--2-of-6,
.grid__col--4-of-12 {
  width: 33.33333%;
}

.grid__col--1-of-4,
.grid__col--2-of-8,
.grid__col--3-of-12 {
  width: 25%;
}

.grid__col {
  box-sizing: border-box;
  display: inline-block;
  margin-right: -.25em;
  min-height: 1px;
  padding-left: 20px;
  vertical-align: top;
}

.grid__col--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.grid__col--d-first {
  float: left;
}

.grid__col--d-last {
  float: right;
}

.grid--no-gutter {
  margin-left: 0;
  width: 100%;
}

.grid--no-gutter .grid__col {
  padding-left: 0;
}

.grid--no-gutter .grid__col--span-all {
  margin-left: 0;
  width: 100%;
}

.grid__col--ab {
  vertical-align: bottom;
}

.grid__col--am {
  vertical-align: middle;
}

.miss {
  -webkit-animation: miss .8s ease-out 1;
  animation: miss .8s ease-out 1;
}

@-webkit-keyframes miss {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  10% {
    -webkit-transform: translate(-25px, 0);
    transform: translate(-25px, 0);
  }
  20% {
    -webkit-transform: translate(25px, 0);
    transform: translate(25px, 0);
  }
  30% {
    -webkit-transform: translate(-20px, 0);
    transform: translate(-20px, 0);
  }
  40% {
    -webkit-transform: translate(20px, 0);
    transform: translate(20px, 0);
  }
  50% {
    -webkit-transform: translate(-10px, 0);
    transform: translate(-10px, 0);
  }
  60% {
    -webkit-transform: translate(10px, 0);
    transform: translate(10px, 0);
  }
  70% {
    -webkit-transform: translate(-5px, 0);
    transform: translate(-5px, 0);
  }
  80% {
    -webkit-transform: translate(5px, 0);
    transform: translate(5px, 0);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@keyframes miss {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  10% {
    -webkit-transform: translate(-25px, 0);
    transform: translate(-25px, 0);
  }
  20% {
    -webkit-transform: translate(25px, 0);
    transform: translate(25px, 0);
  }
  30% {
    -webkit-transform: translate(-20px, 0);
    transform: translate(-20px, 0);
  }
  40% {
    -webkit-transform: translate(20px, 0);
    transform: translate(20px, 0);
  }
  50% {
    -webkit-transform: translate(-10px, 0);
    transform: translate(-10px, 0);
  }
  60% {
    -webkit-transform: translate(10px, 0);
    transform: translate(10px, 0);
  }
  70% {
    -webkit-transform: translate(-5px, 0);
    transform: translate(-5px, 0);
  }
  80% {
    -webkit-transform: translate(5px, 0);
    transform: translate(5px, 0);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

#preload-wrap {position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden;}
#preload-wrap canvas {position: absolute; left: 50%; top: 50%; width: 500px; height: 500px; margin: -250px 0 0 -250px; -outline: 1px solid #fff;}
.preload-info {position: absolute; left: 0; right: 0; bottom: 0; font-size: 12px; color: #ccc; line-height: 2em; text-align: center;}

.place-wrap {
    background: #fffdfd14;
    padding: 1em;
    margin: 1em auto;
}

.place-label {
  display: block;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #D4F1F4;
  font-weight: 400;
}

.place-label {
  display: block;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #D4F1F4;
  font-weight: 400;
}

.shadow-text {
 -webkit-text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.65);
 -moz-text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.65);
 text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.65);
}

/* FullCalendar адаптация */
#reservation-calendar .fc-event {
    cursor: pointer;
    border: none !important;
    padding: 4px 6px !important;
    font-size: 12px !important;
}
#reservation-calendar .fc-event.confirmed { background-color: #28a745 !important; }
#reservation-calendar .fc-event.active { background-color: #007bff !important; }
#reservation-calendar .fc-event.cancelled {
    background-color: #6c757d !important;
    text-decoration: line-through;
}

/* Добавьте эти стили в ваш CSS */
.fc-timeline-slots .fc-cell-content {
    padding: 4px 6px;
    font-size: 12px;
}

.fc-resource-area .fc-cell-content {
    padding: 8px;
    font-weight: bold;
}

.fc-timeline-event {
    padding: 2px 4px;
    font-size: 11px;
    border-radius: 3px;
}

.fc-timegrid-axis-cushion {
    font-size: 12px;
}

.fc-toolbar-chunk {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.fc-toolbar-chunk > * {
    margin-right: 6px !important;
}
.fc-toolbar-chunk > *:last-child {
    margin-right: 0 !important;
}
