body {
   background: #eee url(../img/dimension.png);
   padding-top: 70px;
   padding-bottom: 30px;
}

body>div.container {
   /* background-color: #fff;
   border: 0.25em solid #ddd;
   border-radius: 1em;
   padding: 1.5em;*/
}

table a:hover {
   text-decoration: none;
}

a.navbar-brand img { height: 1em; }

.top10 { margin-top: 10%; }

.padding-right0 { padding-right: 0px; }
.padding-left0 { padding-left: 0px; }

.client-statistics .panel {
   margin-bottom: 20px;
}

.client-statistics .panel-heading {
   min-height: 40px;
}

.client-statistics .panel-body strong {
   display: block;
   font-size: 24px;
   line-height: 1.2;
   white-space: nowrap;
}

@media (max-width: 480px) {
   .client-statistics .panel-body strong {
      font-size: 20px;
   }
}

.closed { background-color: #a3a3a3; }
.spinner { position: relative !important; display: inline-block; }

.tt-menu,
.gist {
   text-align: left;
}

.typeahead {
   background-color: #fff;
}

.typeahead:focus {
   border: 2px solid #0097cf;
}

.tt-query {
   -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
   -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
   box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
   color: #999
}

.tt-menu {
   width: 422px;
   margin: 12px 0;
   padding: 8px 0;
   background-color: #fff;
   border: 1px solid #ccc;
   border: 1px solid rgba(0, 0, 0, 0.2);
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
   -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
   box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
   padding: 3px 20px;
   font-size: 18px;
   line-height: 24px;
}

.tt-suggestion:hover {
   cursor: pointer;
   color: #fff;
   background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
   color: #fff;
   background-color: #0097cf;

}

.tt-suggestion p {
   margin: 0;
}
.twitter-typeahead {
   display: inline !important;
}

span.time_remaining.label { font-size: 100% }

.no-padding { padding: 0; }

#schedule table>thead.tableFloatingHeaderOriginal {
   background-color: white;
}

#schedule .schedule-seat-title {
   text-align: center;
   font-size: 16px;
   line-height: 1.3;
}

@media (max-width: 767px) {
   #schedule .schedule-seat-title {
      font-size: 14px;
   }

   #schedule .schedule-table {
      table-layout: fixed;
      width: calc(90% * var(--schedule-seat-count));
      min-width: 100%;
      max-width: none;
      font-size: 12px;
      line-height: 1.35;
   }

   #schedule .schedule-hour-column {
      width: calc(5ch + 5px);
   }

   #schedule .schedule-table > thead > tr > th,
   #schedule .schedule-table > tbody > tr > td {
      padding: 3px;
      white-space: normal;
      overflow-wrap: anywhere;
   }

   #schedule .schedule-table > thead > tr > th.schedule-hour-cell,
   #schedule .schedule-table > tbody > tr > td.schedule-hour-cell {
      padding-left: 2px;
      padding-right: 2px;
      white-space: nowrap;
      overflow-wrap: normal;
      text-align: center;
   }

   #schedule .panel {
      margin-bottom: 4px;
   }

   #schedule .panel-heading,
   #schedule .panel-body {
      padding: 4px;
   }

   #schedule .panel-heading {
      padding-bottom: 0;
   }

   #schedule .panel-heading small {
      font-size: inherit;
   }

   #schedule .label {
      display: inline-block;
      max-width: 100%;
      white-space: normal;
      line-height: inherit;
   }

   #schedule .label-personalisation {
      font-size: inherit !important;
   }

   #schedule .btn-toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 3px;
      margin: 3px 0 0;
   }

   #schedule .btn-xs {
      min-width: 32px;
      min-height: 32px;
      padding: 4px;
      white-space: normal;
   }

   #schedule .btn-toolbar::before,
   #schedule .btn-toolbar::after {
      display: none;
   }

   #schedule .btn-toolbar > .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      float: none;
      min-width: 24px;
      min-height: 24px;
      padding: 2px 4px;
      margin: 0;
      font-size: 11px;
      line-height: 1.2;
      white-space: nowrap;
   }

   #schedule .btn-toolbar > .btn .glyphicon {
      top: 0;
      font-size: 12px;
   }

   #schedule .checkbox {
      margin: 2px 0 0;
   }

   #schedule .checkbox label {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
   }

   #schedule .well {
      margin: 6px 0 0;
      padding: 8px;
   }

   #schedule .well .row {
      margin-left: -4px;
      margin-right: -4px;
   }

   #schedule .well [class*="col-"] {
      padding-left: 4px;
      padding-right: 4px;
   }

   #schedule .well .form-control {
      font-size: 16px;
   }
}

.custom-tooltip {
   margin: 8px;
   padding: 8px;
   border: 1px solid black;
   background-color: #FFF;
   position: absolute;
   z-index: 2;
   max-width: 600px;
}

.previous-booking {
   margin-top: 5px; 
   border-top: 1px solid #888;
   max-height: 100px;
   overflow: 'scroll'
}
.sticky-col {
   position: sticky;
   background-color: white;
}

.first-col {
   width: 50px;
   min-width: 50px;
   max-width: 50px;
   left: 0;
   text-align: center;
   padding-left: 0 !important;
   padding-right: 0 !important;
   vertical-align: middle !important;
}

.second-col {
   width: 150px;
   min-width: 150px;
   max-width: 150px;
   left: 50px;
}
#locations_view .table-responsive {
   padding-right: 1px;
}
.v-align-center {
   vertical-align: middle !important;
}
.td-last-month,
.td-last-month-admin {
   display: flex;
   flex-wrap: wrap;
}
.td-last-month span {
   flex: 1 0 33%;
}
.td-last-month-admin span {
   flex: 1 0 45%;
}
.td-last-month span:first-child,
.td-last-month-admin span:first-child {
   color:#d9534f
}
.mb-0 {
   margin-bottom: 0;
}
.m-0 {
   margin: 0;
}
.price-with-voucher, .booking-fraud {
   font-size: 100%;
}
.booking-fraud {
   background-color: #615fff !important;
}
.label-personalisation {
   font-size: 14px !important;
}
.d-none {
    display: none !important;
}
.td-white {
    background-color: #fff !important;
}
.d-inline {
    display: inline !important;
}
#global-loading-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(255, 255, 255, 0.8); /* sau întunecat: rgba(0,0,0,0.5) */
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 9999;
}

.loading-dots {
   display: flex;
   gap: 8px;
}

.loading-dots span {
   width: 14px;
   height: 14px;
   border-radius: 50%;
   background-color: #333;
   animation: loading-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading-bounce {
   0%, 80%, 100% {
      transform: scale(0);
      opacity: 0.5;
   }
   40% {
      transform: scale(1);
      opacity: 1;
   }
}