/**
 * @author Nuno Bessa (nunoferreirabessa@gmail.com)
 * @copyright 2018
 */

@font-face {
  font-family: "open_sansregular";
  src: url("fonts/OpenSans-Regular-webfont.eot");
  src: url("fonts/OpenSans-Regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/OpenSans-Regular-webfont.woff") format("woff"),
    url("fonts/OpenSans-Regular-webfont.ttf") format("truetype"),
    url("fonts/OpenSans-Regular-webfont.svg#open_sansregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@keyframes animated-hero {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 100%;
  }
}

html,
body {
  height: 100%;
}

body {
  font-family: open_sansregular !important;
  background-image: url("images/body.jpg");
  background-color: #f3f0e8;
  color: #273240;
}

table.no-border {
  border: 0;
}

textarea {
  resize: vertical;
}

textarea.no-resize {
  resize: none;
}

h4 {
  color: #525252;
}

select {
  padding-bottom: 0 !important;    
  line-height: 25px;
  padding-top: 0;
}

.disabled {
  pointer-events: none;
  opacity: 0.35;
}

.full {
  width: 100%;
}

.framed-no-shadow {
  width: 100%;
  padding: 0.5rem;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #cacaca;
  overflow-y: auto;
}

.framed {
  padding: 0.5rem;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #cacaca;
  overflow-y: auto;
  box-shadow: 0 7px 7px grey;
}

.framed-small {
  padding: 0.25rem;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #cacaca;
  overflow-y: auto;
  box-shadow: 0 3px 3px grey;
}

.navigation_container {
  margin: 0;
  padding: 0;
}

#main_menu {
  margin: 0;
}

.accordion-menu li[role="treeitem"] {
  background: transparent;
  color: #425166;
  border: 0;
  border-radius: 14px;
  padding: 0.1rem 0;
}

.accordion-menu li[role="treeitem"]:hover {
  background: rgba(20, 64, 96, 0.06);
}

.accordion-menu li[role="treeitem"] > a {
  background: transparent;
  color: #425166;
  border-radius: 14px;
  font-weight: 600;
}

.accordion-menu ul.is-active,
.accordion-menu li.is-active {
  background: transparent;
}

.accordion-menu ul.is-active > a,
.accordion-menu li.is-active > a {
  color: #0f4c5c !important;
  background: rgba(15, 76, 92, 0.1);
}

.accordion-menu li[role="treeitem"] > a > span {
  padding-left: 0.65rem;
}

.relative {
  position: relative;
}

#booking_client_address {
  padding-right: 25px;
}

#loading {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 18rem),
    rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(3px);
  cursor: wait;
  display: none;
  z-index: 10000000;
}

#loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 47%, transparent 48%),
    conic-gradient(from 0deg, #2f6f8a, #83d7ef, #f7f3eb, #2f6f8a);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  animation: loading-orbit 1.05s linear infinite;
}

#loading::after {
  content: "";
  background: url('images/please_wait.png');
  position: absolute;
  top: 50%;
  left: 50%;
  width: 69px;
  height: 43px;
  transform: translate(-50%, -50%);
  animation: loading-pulse 1.4s ease-in-out infinite;
}

body.is-loading {
  overflow: hidden;
}

.loading {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  top: 50%;
  border: 16px solid #e2e2e2; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
  z-index: 1011;
}

.top-bar {
  z-index: 999999;
}

.top-bar,
.top-bar ul {
  background-color: transparent !important;
}

.shadow {
  background-image: url(images/header-shadow.png);
  background-repeat: repeat-x;
  background-position: left bottom;
  height: 4px;
  border-top: 1px solid #bababa;
  z-index: 9999999999 !important;
}

#main-container {
  top: 88px;
  position: relative;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loading-orbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.04);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes loading-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.logo img {
  cursor: pointer;
  max-height: 52px;
}

img#logo_user {
  max-height: 75px;
  margin-left: 1em;
}

#logoUploadButton,
#logoSmallUploadButton {
  cursor: pointer;
}

.uploadButton {
  background: transparent url(images/upload_button.png) center center no-repeat;
  cursor: pointer;
  display: inline-block;
  width: 54px;
  height: 54px;
  margin-left: 16px;
}

.welcome div:nth-child(1) {
  margin-top: 0.2em;
  margin-bottom: 0.4em;
}

.welcome div:nth-child(2) a {
  margin-bottom: 0.3em;
}

.app-topbar {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(245,240,230,0.92)) !important;
  backdrop-filter: blur(10px);
}

.app-topbar__brand {
  display: flex;
  align-items: center;
}

.app-topbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  justify-content: flex-end;
}

.app-topbar__welcome {
  color: #5a6877;
  text-align: right;
}

.app-topbar__welcome a {
  color: #0f4c5c;
}

.app-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(15, 76, 92, 0.16);
  border-radius: 10px;
  background: #ffffff;
  color: #0f4c5c;
  box-shadow: 0 10px 24px rgba(15, 76, 92, 0.08);
}

.app-menu-toggle:hover,
.app-menu-toggle:focus {
  background: #f8fbfb;
  color: #0f4c5c;
}

.shadow {
  background-image: none;
  background: linear-gradient(90deg, rgba(15, 76, 92, 0.14), rgba(15, 76, 92, 0));
  height: 1px;
  border-top: 0;
}

.app-shell {
  position: relative;
  min-height: calc(100vh - 110px);
}

.app-shell__content {
  width: 100%;
  padding: 0 1rem 2rem;
}

.booking-page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 28px;
  background: #172d38;
  box-shadow: 0 18px 42px rgba(15, 76, 92, 0.12);
}

.booking-page-hero__backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(10px) saturate(0.95);
  transform: scale(1.05);
  opacity: 0.48;
  animation: animated-hero 10s linear infinite alternate;
}

.booking-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 35, 0.92), rgba(31, 55, 66, 0.78), rgba(245, 241, 232, 0.08));
}

.booking-page-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 130px minmax(240px, 1fr) minmax(270px, 420px);
  gap: 1.25rem;
  align-items: start;
  padding: 1.15rem 1.3rem;
}

.booking-page-hero__poster {
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background: #eef2f5;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.booking-page-hero__poster img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.booking-page-hero__main {
  min-width: 0;
  color: #fff;
}

.booking-page-hero__main .breadcrumbs {
  margin-bottom: 0.75rem;
}

.booking-page-hero__main .breadcrumbs a,
.booking-page-hero__main .breadcrumbs .disabled {
  color: rgba(255, 255, 255, 0.74);
}

.booking-page-kicker {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-page-hero h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.booking-page-hero p {
  margin: 0.55rem 0 0.3rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.booking-page-hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.booking-page-hero__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.booking-page-hero__summary article {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.booking-page-hero__summary span,
.booking-page-hero__summary small {
  color: rgba(255, 255, 255, 0.72);
}

.booking-page-hero__summary > article > span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-page-hero__summary strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.booking-page-actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: -0.15rem;
}

.store-orders-hero .booking-page-hero__content {
  grid-template-columns: 112px minmax(220px, 1fr) minmax(270px, 430px);
  align-items: center;
}

.store-orders-hero__logo img {
  aspect-ratio: 1 / 1;
}

.store-orders-hero .booking-page-hero__main p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.store-orders-hero__summary article strong {
  font-size: 1rem;
}

.button {
  border-radius: 10px;
}

.booking-page-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  border-radius: 10px;
}

#booking-page {
  overflow-x: hidden;
  border-radius: 26px;
  border-color: rgba(47, 111, 138, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.96));
  box-shadow: 0 16px 38px rgba(15, 76, 92, 0.1);
}

#booking-page #panelb2,
#booking-page #panelb2 > .grid-container,
#booking-page #panelb2 > .grid-container > .grid-x {
  max-width: 100%;
  min-width: 0;
}

#booking-page #panelb2 > .grid-container > .grid-x {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.2rem;
}

#booking-page #panelb2 > .grid-container > .grid-x > .medium-2.cell {
  flex: 0 0 285px;
  width: 285px;
  max-width: 285px;
  padding: 0;
}

#booking-page #panelb2 .map-seats-container {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  width: auto;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 250, 0.96));
  box-shadow: 0 12px 28px rgba(15, 76, 92, 0.08);
}

#booking-page #panelb2 #map-composer-container {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

#booking-page #panelb2 #map-composer {
  display: inline-block;
  width: max-content;
  min-width: 0;
  max-width: none;
}

#booking-page #panelb2 #map-composer table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0.08rem;
}

#booking-page #panelb2 #map-composer-container table thead th,
#booking-page #panelb2 #map-composer-container table tbody td {
  border: 0;
  background: transparent;
}

#booking-page #panelb2 #map-composer-container table thead th:first-child,
#booking-page #panelb2 #map-composer-container table tbody td:first-child {
  border-radius: 8px;
  background: rgba(47, 111, 138, 0.08);
  color: #223244;
}

#booking-page #panelb2 .button.tiny.seat {
  border-radius: 5px !important;
  box-shadow: inset 0 0 0 1px rgba(15, 35, 45, 0.12);
}

#booking-page #panelb2 .button.tiny.seat:not(.noedit):hover {
  transform: scale(1.25);
  filter: brightness(112%);
  box-shadow: 0 4px 10px rgba(15, 76, 92, 0.18);
}

#booking-page #panelb2 #map-legend {
  padding: 0.85rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 235, 0.98));
  box-shadow: 0 12px 28px rgba(15, 76, 92, 0.08);
}

#booking-page #panelb2 #map-legend::before {
  content: "Tipos de bilhete";
  display: block;
  margin-bottom: 0.75rem;
  color: #223244;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#booking-page #panelb2 > .grid-container > .grid-x > .medium-2.cell > hr {
  display: none;
}

#booking-page #panelb2 #map-legend > .map-legend-section {
  position: relative;
  margin-bottom: 0.65rem;
  padding: 0.72rem;
  border: 1px solid rgba(47, 111, 138, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#booking-page #panelb2 #map-legend > .map-legend-section:hover {
  border-color: rgba(47, 111, 138, 0.22);
  box-shadow: 0 10px 20px rgba(15, 76, 92, 0.08);
  transform: translateY(-1px);
}

#booking-page #panelb2 #map-legend > .map-legend-section:has(input[name="seat_legend_radios"]:checked) {
  border-color: rgba(47, 111, 138, 0.42);
  box-shadow: 0 0 0 3px rgba(47, 111, 138, 0.1), 0 12px 24px rgba(15, 76, 92, 0.12);
}

#booking-page #panelb2 .map-legend-section .clearfix {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

#booking-page #panelb2 .map-legend-section .float-left,
#booking-page #panelb2 .map-legend-section .float-right {
  float: none !important;
}

#booking-page #panelb2 .map-legend-section .switch {
  flex: 0 0 auto;
  margin: 0 !important;
}

#booking-page #panelb2 .map-legend-name {
  flex: 1 1 auto;
  min-width: 0;
  height: auto;
  overflow: hidden;
  color: #223244;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#booking-page #panelb2 .map-legend-section .clearfix + .clearfix {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(47, 111, 138, 0.08);
}

#booking-page #panelb2 .map-legend-price,
#booking-page #panelb2 .map-legend-amount,
#booking-page #panelb2 .map-legend-sum {
  height: 34px;
  margin: 0 !important;
  border-color: rgba(47, 111, 138, 0.16);
  border-radius: 10px;
  background: rgba(239, 243, 244, 0.75);
  color: #223244;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

#booking-page #panelb2 .map-legend-price {
  width: 62px;
}

#booking-page #panelb2 .map-legend-amount {
  width: 48px;
}

#booking-page #panelb2 .map-legend-sum {
  width: 76px;
}

#booking-page #panelb2 .map-legend-currency {
  margin-left: 0;
  color: #607083;
  font-size: 0.85rem;
  font-weight: 800;
}

#booking-page #panelb2 #seat_legend_amount_total,
#booking-page #panelb2 #seat_legend_sum_total,
#booking-page #panelb2 #seat_legend_deposit {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(47, 111, 138, 0.06);
}

#booking-page #panelb2 > .grid-container > .grid-x > .medium-2.cell > .clearfix:first-child {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(15, 76, 92, 0.06);
}

#booking-page #panelb2 > .grid-container > .grid-x > .medium-2.cell > .clearfix:first-child .float-left {
  float: none !important;
}

#booking-page #panelb2 #manual_insert {
  margin: 0 0 0.75rem;
  padding: 0.85rem;
  border: 1px dashed rgba(47, 111, 138, 0.24);
  border-radius: 18px;
  background: rgba(47, 111, 138, 0.06);
}

#booking-page #panelb2 #manual_insert .clearfix {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#booking-page #panelb2 #manual_insert .float-left,
#booking-page #panelb2 #manual_insert .float-right {
  float: none !important;
}

#booking-page #panelb2 #manual_insert_ticket_amount {
  width: 100%;
  height: 36px;
  margin: 0;
  border-radius: 10px;
}

#booking-page #panelb2 #manual_insert .button {
  height: 36px;
  margin: 0;
  border-radius: 10px;
}

#booking-page #panelb1,
#booking-page #panelb3,
#booking-page #panelb4 {
  min-width: 0;
}

#booking-page #panelb1 > .grid-container > .grid-x,
#booking-page #panelb3 > .grid-container > .grid-x,
#booking-page #panelb6 > .grid-container > .grid-x {
  gap: 1rem 0;
}

#booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-8.cell,
#booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-4.cell,
#booking-page #panelb1 > .grid-container > .grid-x > .medium-12.cell,
#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell,
#booking-page #panelb3 > .grid-container > .grid-x > .cell:not(.medium-12),
#booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell,
#booking-page #panelb6 > .grid-container > .grid-x > .medium-12.cell {
  position: relative;
  min-width: 0;
  padding: 1.05rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.94));
  box-shadow: 0 12px 28px rgba(15, 76, 92, 0.07);
}

#booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-8.cell::before,
#booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-4.cell::before,
#booking-page #panelb1 > .grid-container > .grid-x > .medium-12.cell::before,
#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell::before,
#booking-page #panelb3 > .grid-container > .grid-x > .cell:not(.medium-12) > .medium-6.cell::before,
#booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell::before {
  display: block;
  margin-bottom: 0.85rem;
  color: #2f6f8a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-8.cell::before {
  content: "Dados da reserva";
}

#booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-4.cell::before {
  content: "Notas do produto";
}

#booking-page #panelb1 > .grid-container > .grid-x > .medium-12.cell::before {
  content: "Contactos";
}

#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell:first-of-type::before {
  content: "Estado financeiro";
}

#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell:nth-child(2)::before {
  content: "Pagamentos";
}

#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell:nth-child(3)::before {
  content: "Faturas";
}

#booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell::before {
  content: "Resumo da reserva";
}

#booking-page #panelb1 label,
#booking-page #panelb3 label {
  color: #223244;
  font-size: 0.84rem;
  font-weight: 800;
}

#booking-page .booking-client-history-field {
  align-items: stretch;
  display: flex;
  gap: .45rem;
}

#booking-page .booking-client-history-field .ts-wrapper,
#booking-page .booking-client-history-field select {
  flex: 1 1 auto;
  min-width: 0;
}

#booking-page .booking-client-history-button {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 2.65rem;
  justify-content: center;
  margin: 0;
  min-height: 2.65rem;
  padding: 0;
}

#booking-page .booking-client-history-button.is-disabled {
  cursor: not-allowed;
  opacity: .45;
  pointer-events: none;
}

#booking-page #panelb1 input,
#booking-page #panelb1 select,
#booking-page #panelb1 textarea,
#booking-page #panelb3 input,
#booking-page #panelb3 select,
#booking-page #panelb3 textarea {
  border-color: rgba(47, 111, 138, 0.16);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(47, 111, 138, 0.03);
}

#booking-page #panelb1 input:focus,
#booking-page #panelb1 select:focus,
#booking-page #panelb1 textarea:focus,
#booking-page #panelb3 input:focus,
#booking-page #panelb3 select:focus,
#booking-page #panelb3 textarea:focus {
  border-color: rgba(47, 111, 138, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 111, 138, 0.1);
}

#booking-page #panelb1 textarea,
#booking-page #panelb3 textarea {
  min-height: 74px;
}

#booking-page #panelb1 #booking_product_obs {
  min-height: 230px;
  background: rgba(239, 243, 244, 0.72);
}

#booking-page #panelb1 .switch,
#booking-page #panelb3 .switch {
  margin-bottom: 0;
}

#booking-page #panelb1 > .grid-container > .grid-x > .medium-12.cell {
  overflow-x: auto;
}

#booking-page #panelb1 > .grid-container > .grid-x > .medium-12.cell > .medium-12.cell {
  width: 100%;
  padding: 0;
}

#booking-page #panelb1 table,
#booking-page #panelb3 table {
  overflow: hidden;
  border: 1px solid rgba(47, 111, 138, 0.1);
  border-radius: 16px;
}

#booking-page #client_contacts_table {
  min-width: 760px;
}

#booking-page #client_contacts_table td {
  vertical-align: middle;
}

#booking-page #client_contacts_table .booking-contact-input {
  height: 36px;
  margin: 0;
  border-radius: 11px;
  font-size: 0.86rem;
}

#booking-page #client_contacts_table .switch {
  display: inline-block;
}

#booking-page #client_contacts_table .button {
  margin: 0;
}

#booking-page #panelb1 table thead,
#booking-page #panelb3 table thead {
  background: rgba(47, 111, 138, 0.08);
}

#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell > .grid-container {
  padding: 0;
}

#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell > .grid-container > .grid-x {
  align-items: end;
}

#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell .cell {
  margin-bottom: 0.35rem;
}

#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell input[readonly],
#booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell input[type="text"] {
  height: 42px;
  margin-bottom: 0;
  font-weight: 800;
}

#booking-page #panelb3 > .grid-container > .grid-x > .cell:not(.medium-12) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#booking-page #panelb3 > .grid-container > .grid-x > .cell:not(.medium-12) > .medium-6.cell {
  width: 100%;
  padding: 1.05rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.94));
  box-shadow: 0 12px 28px rgba(15, 76, 92, 0.07);
}

#booking-page #panelb3 > .grid-container > .grid-x > .cell:not(.medium-12) > .medium-6.cell > label {
  margin-bottom: 0;
}

#booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

#booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell::before,
#booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell > .cell {
  grid-column: 1 / -1;
}

#booking-page #panelb4 .booking_summary_item {
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-width: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(47, 111, 138, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

#booking-page #panelb4 .booking_summary_label {
  color: #607083;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#booking-page #panelb4 .booking_summary_value {
  min-width: 0;
  color: #223244;
  font-weight: 750;
  line-height: 1.45;
}

#booking-page #panelb4 .booking_summary_value ul {
  margin-bottom: 0;
}

#booking-page #panelb4 #booking_booked_by {
  margin-bottom: 0;
}

#booking-page #panelb4 .button.large.expanded {
  margin: 0.6rem 0 0;
  border-radius: 16px;
}

#booking-page .booking-finance-cards {
  width: 100%;
}

#booking-page .booking-finance-toolbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 0 1rem;
}

#booking-page .booking-finance-toolbar h4 {
  color: #226f88;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

#booking-page .booking-finance-toolbar p {
  color: #657587;
  margin: .2rem 0 0;
}

#booking-page .booking-finance-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

#booking-page .booking-finance-card {
  align-items: flex-start;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(34, 111, 136, .16);
  border-radius: 22px;
  box-shadow: 0 16px 35px rgba(8, 31, 45, .08);
  display: grid;
  gap: .9rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 1rem;
}

#booking-page .booking-finance-card__icon {
  align-items: center;
  background: rgba(34, 111, 136, .12);
  border-radius: 10px;
  color: #226f88;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
  font-size: 24px;
}

#booking-page .booking-finance-card__body h5 {
  color: #12273a;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 .25rem;
}

#booking-page .booking-finance-card__body p,
#booking-page .booking-finance-card__body small {
  color: #526273;
  display: block;
  line-height: 1.35;
  margin: 0;
}

#booking-page .booking-finance-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: flex-end;
}

#booking-page .booking-finance-card__actions .button {
  border-radius: 10px;
  margin: 0;
  width: 30px;
}

#booking-page .booking-finance-card__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .4rem;
}

#booking-page .booking-finance-pill {
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: .28rem .55rem;
  text-transform: uppercase;
}

#booking-page .booking-finance-pill.is-paid {
  background: rgba(49, 190, 128, .18);
  color: #168452;
}

#booking-page .booking-finance-pill.is-open {
  background: rgba(216, 179, 70, .2);
  color: #8b6613;
}

#booking-page .booking-finance-card__reference {
  border-top: 1px solid rgba(34, 111, 136, .12);
  color: #657587;
  font-size: .8rem;
  grid-column: 1 / -1;
  padding-top: .75rem;
  white-space: pre-line;
  padding-left: 56px;
}

#booking-page .booking-finance-empty,
#popup_invoice_lines .booking-finance-empty {
  background: rgba(255, 255, 255, .72);
  border: 1px dashed rgba(34, 111, 136, .24);
  border-radius: 18px;
  color: #657587;
  padding: 1rem;
  text-align: center;
  margin-bottom: 16px;
}

.booking-popup-form label {
  color: #26384b;
  font-weight: 700;
}

.booking-popup-lines-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: .5rem 0 .8rem;
}

.booking-popup-lines-header h4 {
  color: #226f88;
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.booking-popup-line {
  align-items: center;
  background: rgba(34, 111, 136, .06);
  border: 1px solid rgba(34, 111, 136, .12);
  border-radius: 16px;
  display: grid;
  gap: .6rem;
  grid-template-columns: minmax(180px, 1fr) 110px 120px 120px auto;
  margin-bottom: .6rem;
  padding: .7rem;
}

.booking-popup-line input,
.booking-popup-line select,
.booking-popup-form input,
.booking-popup-form select,
.booking-popup-form textarea {
  border-radius: 14px;
}

@media screen and (max-width: 1100px) {
  .booking-page-hero__content {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .booking-page-hero__summary,
  .booking-page-actions {
    grid-column: 2 / -1;
  }

  #booking-page #panelb2 > .grid-container > .grid-x > .medium-2.cell {
    flex-basis: 255px;
    width: 255px;
    max-width: 255px;
  }

  #booking-page #panelb2 .map-legend-price {
    width: 54px;
  }

  #booking-page #panelb2 .map-legend-amount {
    width: 42px;
  }

  #booking-page #panelb2 .map-legend-sum {
    width: 68px;
  }

  #booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  #booking-page .booking-finance-toolbar,
  #booking-page .booking-finance-card {
    display: block;
  }

  #booking-page .booking-finance-toolbar .button,
  #booking-page .booking-finance-card__actions {
    margin-top: .75rem;
    width: 100%;
  }

  .booking-popup-line {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  #booking-page #panelb2 > .grid-container > .grid-x {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  #booking-page #panelb2 > .grid-container > .grid-x > .medium-2.cell,
  #booking-page #panelb2 .map-seats-container {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #booking-page #panelb2 .map-seats-container,
  #booking-page #panelb2 #map-legend {
    padding: 0.75rem;
    border-radius: 18px;
  }

  #booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-8.cell,
  #booking-page #panelb1 > .grid-container > .grid-x > .small-12.medium-4.cell,
  #booking-page #panelb1 > .grid-container > .grid-x > .medium-12.cell,
  #booking-page #panelb3 > .grid-container > .grid-x > .medium-12.cell,
  #booking-page #panelb3 > .grid-container > .grid-x > .cell:not(.medium-12) > .medium-6.cell,
  #booking-page #panelb4 > .grid-container > .grid-x > .medium-12.cell {
    padding: 0.85rem;
    border-radius: 18px;
  }

  #booking-page #panelb3 > .grid-container > .grid-x > .cell:not(.medium-12) {
    grid-template-columns: 1fr;
  }

  #booking-page #panelb4 .booking_summary_item {
    grid-template-columns: 1fr;
  }
}

.button,
.button.success,
.button.alert,
.button.secondary,
.input-group-button .button {
  background: #2f6f8a;
  border: 1px solid #2f6f8a;
  color: #ffffff;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.button:focus,
.button.success:hover,
.button.success:focus,
.button.alert:hover,
.button.alert:focus,
.button.secondary:hover,
.button.secondary:focus,
.input-group-button .button:hover,
.input-group-button .button:focus {
  background: #25586e;
  border-color: #25586e;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 111, 138, 0.18);
}

.button.success.disabled,
.button.alert.disabled,
.button.secondary.disabled,
.button.disabled {
  box-shadow: none;
}

.switch-paddle {
  background: #c9c9c9;
  border-radius: 10px;
}

.switch-paddle::after {
  border-radius: 7px;
}

.switch input:checked ~ .switch-paddle,
.switch-input:checked ~ .switch-paddle {
  background: #2f6f8a !important;
}

.switch input:focus ~ .switch-paddle,
.switch-input:focus ~ .switch-paddle {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 138, 0.16);
}

.switch input:checked:focus ~ .switch-paddle,
.switch-input:checked:focus ~ .switch-paddle {
  background: #25586e !important;
}

.product-context-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem auto 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,244,236,0.96));
  box-shadow: 0 12px 30px rgba(15, 76, 92, 0.08);
}

.product-context-panel__product {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 520px;
  min-width: 280px;
  max-width: 760px;
  align-self: center;
}

.product-context-panel__label {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #607083;
}

.product-context-panel__control {
  flex: 1 1 420px;
  min-width: 220px;
  display: flex;
  align-items: center;
}

.product-context-panel__control .ts-wrapper,
.product-context-panel__control select {
  margin: 0;
}

.product-context-panel__control .ts-control {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.product-context-panel__control .ts-wrapper.single .ts-control {
  height: 38px;
}

.product-context-panel__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  white-space: nowrap;
  align-self: center;
}

.product-context-panel__actions > .product-context-toolbar,
.product-context-panel__actions > .product-context-panel__search {
  align-self: center;
}

.product-context-panel__search {
  flex: 0 1 320px;
  width: 320px;
  min-width: 240px;
  max-width: 320px;
}

.product-context-panel__search.footable-filtering-external,
.product-context-panel__search.footable-filtering-right {
  display: flex;
  align-items: center;
  margin: 0;
}

.product-context-panel__search form.float-right {
  float: none !important;
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
}

.product-context-toolbar {
  flex: 0 0 auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.button-group .button {
  border-radius: 0;
}

.button-group .button:first-child {
  border-radius: 10px 0 0 10px;
}

.button-group .button:last-child {
  border-radius: 0 10px 10px 0;
}

.footable .button {
  border-radius: 10px !important;
} 

.product-context-toolbar .button-group {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.product-context-toolbar .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.product-context-search {
  width: 100%;
  margin-bottom: 0;
}

.product-context-panel__search #table_search,
.product-context-panel__search .input-group {
  margin-bottom: 0 !important;
}

.product-context-search .input-group-field,
.product-context-search .button,
.product-context-search .input-group-label {
  margin-bottom: 0;
  min-height: 38px;
}

.product-context-search .input-group-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-orders-panel {
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.store-orders-panel__summary {
  flex: 1 1 220px;
  max-width: none;
}

.store-orders-panel__store {
  color: #223244;
  font-size: 1rem;
  font-weight: 800;
}

.store-orders-panel__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-orders-panel__toggles .button-group,
.store-orders-panel__printer .button-group {
  gap: 0.35rem;
  margin-bottom: 0;
}

.store-orders-panel__toggles .switch,
.store-orders-panel__toggles .switch-paddle,
.store-orders-panel__printer select {
  margin-bottom: 0;
}

.store-orders-panel__printer-button {
  height: 38px;
  cursor: default;
}

.store-orders-panel__printer select {
  height: 38px;
  min-width: 210px;
}

.event-bookings-page-header {
  margin-bottom: 0.4rem;
}

.event-bookings-page-header .breadcrumbs {
  margin-bottom: 0;
}

.event-bookings-toolbar {
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.event-bookings-toolbar__title {
  display: block;
  flex: 1 1 420px;
  max-width: none;
  min-width: 260px;
}

.event-bookings-toolbar__title h2 {
  margin: 0;
  color: #223244;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.event-bookings-toolbar__title p {
  margin: 0.35rem 0 0;
  color: #42546a;
}

.event-bookings-title__label {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.event-bookings-toolbar__event {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #223244;
  line-height: 1.25;
}

.event-bookings-toolbar__event strong {
  font-size: 1rem;
}

.event-bookings-toolbar__event span {
  color: #607083;
  font-size: 0.86rem;
}

.event-bookings-toolbar__actions {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.event-bookings-layout {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.event-bookings-aside,
.event-bookings-main {
  min-width: 0;
}

.event-bookings-card {
  padding: 0.7rem;
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,244,236,0.96));
  box-shadow: 0 16px 34px rgba(15, 76, 92, 0.12);
}

.event-bookings-poster {
  border-radius: 22px;
  background: #f5f7f7;
  box-shadow: 0 14px 28px rgba(20, 48, 61, 0.16);
}

.event-bookings-poster__image {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.event-bookings-card .container-tag {
  top: -56px;
  right: -56px;
  z-index: 2;
  width: 112px;
  height: 112px;
}

.event-bookings-card .container-tag.green {
  background: linear-gradient(135deg, #0a8f38, #1fb457) !important;
}

.event-bookings-card .container-tag.red {
  background: linear-gradient(135deg, #b71c1c, #e53935) !important;
}

.event-bookings-card #available_tickets_title {
  line-height: 30px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

.event-bookings-nav {
  gap: 0.35rem;
  margin: 0.75rem 0 0;
}

.event-bookings-nav .button {
  border-radius: 13px !important;
}

.event-bookings-summary {
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(15, 76, 92, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.event-bookings-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(15, 76, 92, 0.1);
  color: #34465a;
  font-size: 0.86rem;
}

.event-bookings-summary__row:last-child {
  border-bottom: 0;
}

.event-bookings-summary__row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-bookings-summary__row strong {
  color: #223244;
  font-weight: 800;
}

.event-bookings-summary__total {
  margin-top: 0.2rem;
  color: #223244;
  font-weight: 800;
}

.event-bookings-summary__empty {
  color: #607083;
  font-size: 0.86rem;
  text-align: center;
}

.event-bookings-main table.footable {
  margin-top: 0;
}

@media screen and (max-width: 1100px) {
  .event-bookings-layout {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  }
}

@media screen and (max-width: 900px) {
  .event-bookings-layout {
    grid-template-columns: 1fr;
  }

  .event-bookings-card {
    max-width: 360px;
  }
}

@media screen and (max-width: 767px) {
  .store-orders-panel {
    align-items: stretch;
    padding: 0.85rem;
  }

  .store-orders-panel__summary,
  .store-orders-panel__actions,
  .store-orders-panel__toggles,
  .store-orders-panel__printer,
  .store-orders-panel__printer .button-group,
  .store-orders-panel__search {
    width: 100%;
  }

  .store-orders-panel__actions {
    gap: 0.65rem;
  }

  .store-orders-panel__toggles .button-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .store-orders-panel__toggles .button,
  .store-orders-panel__toggles a.button {
    width: 100%;
    min-width: 0;
  }

  .store-orders-panel__toggles .switch {
    display: flex;
    justify-content: center;
  }

  .store-orders-panel__printer .button-group {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .store-orders-panel__printer select {
    min-width: 0;
    width: 100%;
  }

  .event-bookings-page-header h2 {
    font-size: 1.35rem;
  }

  .event-bookings-toolbar__title {
    min-width: 0;
  }

  .event-bookings-toolbar__title h2 {
    font-size: 1.35rem;
  }

  .event-bookings-toolbar__actions {
    justify-content: stretch;
  }

  .event-bookings-toolbar__context {
    min-width: 0;
  }

  .event-bookings-card {
    max-width: none;
  }

  .event-bookings-summary__row {
    font-size: 0.82rem;
  }
}

.app-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1002;
}

.app-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 92vw);
  height: 100vh;
  padding: 1rem;
  background: linear-gradient(180deg, #fffdf9, #f3efe7);
  box-shadow: -18px 0 48px rgba(15, 23, 42, 0.18);
  transform: translateX(calc(100% + 2rem));
  transition: transform 0.25s ease;
  z-index: 1003;
  overflow-y: auto;
}

.app-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 76, 92, 0.12);
}

.app-menu-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #223244;
}

.app-menu-subtitle {
  color: #6a7788;
  font-size: 0.92rem;
}

.app-menu-close {
  margin: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: #425166;
}

.app-menu-close:hover,
.app-menu-close:focus {
  background: rgba(15, 76, 92, 0.08);
  color: #0f4c5c;
}

body.app-menu-open {
  overflow: hidden;
}

body.app-menu-open .app-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.app-menu-open .app-menu-drawer {
  transform: translateX(0);
}

.app-menu-drawer .accordion-menu a {
  padding: 0.9rem 0.95rem;
}

.app-menu-drawer .nested {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(15, 76, 92, 0.1);
}

@media screen and (max-width: 767px) {
  #main-container {
    top: 82px;
  }

  .app-topbar {
    min-height: 82px;
    padding: 0.85rem 1rem;
  }

  .app-topbar__welcome {
    display: none;
  }

  .app-menu-toggle span {
    display: none;
  }

  .app-shell__content {
    padding: 0 0.35rem 1.5rem;
  }

  .app-menu-drawer {
    width: min(340px, 92vw);
  }

  .booking-page-hero {
    border-radius: 22px;
  }

  .booking-page-hero__content {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.9rem;
  }

  .booking-page-hero__summary,
  .booking-page-actions {
    grid-column: 1 / -1;
  }

  .booking-page-hero__summary {
    grid-template-columns: 1fr;
  }

  .booking-page-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .booking-page-hero h2 {
    font-size: 1.65rem;
  }

  .product-context-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .product-context-cell {
    width: 100%;
    flex: 0 0 100%;
  }

  .product-context-panel__product,
  .product-context-panel__actions,
  .product-context-panel__control,
  .product-context-panel__search,
  .product-context-search {
    width: 100%;
    max-width: none;
  }

  .product-context-panel__product,
  .product-context-panel__actions {
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 auto;
    margin-left: 0;
    max-width: none;
  }

  .product-context-panel__control,
  .product-context-panel__search {
    flex: 0 0 auto;
  }

  .product-context-toolbar .button-group,
  .product-context-toolbar {
    width: 100%;
  }

  .product-context-toolbar .button,
  .product-context-toolbar a.button {
    flex: 1 1 auto;
  }

  #booking_product_info {
    width: 100%;
    min-width: 0;
    margin: 0 0 1rem;
  }
}

@media screen and (min-width: 768px) {
  .app-topbar {
    padding: 1rem 2rem;
  }

  .app-shell__content {
    padding: 0 1.5rem 2.5rem;
  }

  .app-menu-drawer {
    top: 88px;
    right: 0;
    height: calc(100vh - 104px);
    border-radius: 24px;
    border: 1px solid rgba(15, 76, 92, 0.08);
  }

  body.app-menu-open .app-menu-overlay {
    background: rgba(15, 23, 42, 0.18);
  }
}

.card-container {
  position: relative;
  margin: 0 10px 1rem;
  padding: 0.5rem;
  border-radius: 2px;
  overflow-y: auto;
  background: linear-gradient(white, whitesmoke);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: all .2s ease-in-out;
}

.card-container:hover {
  color: #4484ce;
  background-color: #fff;
  outline: 4px solid #4484ce;
  transform: scale(1.02);
}

.card-tab-container {
  position: absolute;
  top: 28px;
  right: 30px;
  width: 25px;
}

.card-tab-container .button {
  padding: 0.5em 0.3em !important;
}

.card {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  margin-bottom: 0;
}

.card-divider,
.card-section {
  padding: 0.5em !important;
  background-color: transparent;
}

.card-title span {
  font-weight: bold;
}

.card-footer {
  position: absolute;
  height: 70px;
  background-color: rgba(68, 132, 206, 0.8);
  width: 100%;
  padding: 7px 10px;
  margin-left: -8px;
  color: whitesmoke !important;
  font-size: 0.8em;
  bottom: 0;
  display: none;
}

.card-container.banner .card-footer {
  height: 100%;
  width: 50%;
}

.products-page {
  padding-bottom: 2rem;
}

.products-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.products-page__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}

.products-page__tools .button,
.products-page__tools .input-group {
  margin-bottom: 0;
}

.products-page #table_search.products-search {
  width: min(360px, 42vw) !important;
  margin-bottom: 0;
}

.products-view-toggle {
  margin-bottom: 0;
}

.products-grid {
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f5f1e8);
  box-shadow: 0 12px 28px rgba(15, 76, 92, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(47, 111, 138, 0.28);
  box-shadow: 0 18px 38px rgba(15, 76, 92, 0.16);
  transform: translateY(-4px) scale(1.015);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  background: #e7ecef;
}

.product-card__media--poster {
  aspect-ratio: 2 / 3;
}

.product-card__media--banner {
  aspect-ratio: 16 / 7;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__body {
  flex: 1 1 auto;
  padding: 0.9rem 1rem 0.85rem;
}

.product-card__body h3 {
  margin: 0 0 0.65rem;
  color: #223244;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-card__meta {
  color: #657386;
  font-size: 0.82rem;
  line-height: 1.35;
}

.product-card__meta + .product-card__meta {
  margin-top: 0.35rem;
}

.product-card__meta i {
  width: 1.15rem;
  margin-right: 0.35rem;
  color: #2f6f8a;
  text-align: center;
}

.product-card__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(47, 111, 138, 0.1);
  background: rgba(255, 255, 255, 0.62);
}

.product-card__action,
.product-card__action.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  min-height: 2.35rem;
  margin: 0;
  padding: 0.55rem 0.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.product-card__action span {
  padding-left: 0;
}

.product-card--banner .product-card__body {
  min-height: 115px;
}

.product-info-page {
  padding-bottom: 2.5rem;
}

.product-info-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 28px;
  background: #1c2f3a;
  box-shadow: 0 18px 42px rgba(15, 76, 92, 0.12);
}

.product-info-hero__backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(10px) saturate(0.9);
  transform: scale(1.04);
  opacity: 0.42;
  animation: animated-hero 10s linear infinite alternate;
}

.product-info-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 29, 38, 0.9), rgba(25, 50, 62, 0.72), rgba(245, 241, 232, 0.16));
}

.product-info-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  padding: 1.4rem;
}

.product-info-hero__poster {
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  background: #eef2f5;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.24);
}

.product-info-hero__poster img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.product-info-hero__main {
  color: #fff;
}

.product-info-hero__main .breadcrumbs {
  margin-bottom: 1rem;
}

.product-info-hero__main .breadcrumbs a,
.product-info-hero__main .breadcrumbs .disabled {
  color: rgba(255, 255, 255, 0.74);
}

.product-info-kicker {
  display: inline-flex;
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info-hero h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-info-hero p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.product-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-info-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  border-radius: 10px;
}

.product-edit-hero {
  margin-bottom: 1rem;
}

.product-edit-hero .product-info-hero__content {
  grid-template-columns: 130px minmax(0, 1fr);
  padding: 1.15rem 1.3rem;
}

.product-edit-hero .product-info-hero h2,
.product-edit-hero h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.product-edit-hero .product-info-hero__main .breadcrumbs {
  margin-bottom: 0.75rem;
}

.product-info-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.product-info-stats article {
  padding: 1rem;
  border: 1px solid rgba(47, 111, 138, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(15, 76, 92, 0.07);
}

.product-info-stats span {
  display: block;
  margin-bottom: 0.35rem;
  color: #687789;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-info-stats strong {
  display: block;
  color: #223244;
  font-size: 1.05rem;
  line-height: 1.2;
}

.product-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1rem;
  align-items: start;
}

.product-info-main {
  display: grid;
  gap: 1rem;
}

.product-info-card {
  padding: 1rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f7f3eb);
  box-shadow: 0 14px 34px rgba(15, 76, 92, 0.08);
}

.product-info-card > header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.product-info-card--map > header {
  justify-content: space-between;
}

.product-info-card > header > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.product-info-card header i {
  color: #2f6f8a;
}

.product-info-card h3 {
  margin: 0;
  color: #223244;
  font-size: 1.08rem;
  font-weight: 900;
}

.product-info-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-info-details div,
.product-info-event-list div {
  padding: 0.9rem;
  border: 1px solid rgba(47, 111, 138, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.product-info-details span,
.product-info-event-list span {
  display: block;
  margin-bottom: 0.28rem;
  color: #687789;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-info-details strong,
.product-info-event-list strong {
  color: #223244;
}

.product-info-card--map p {
  margin-top: -0.25rem;
  color: #5f6f82;
}

#product_info_map {
  min-height: 320px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(47, 111, 138, 0.12);
}

.product-info-event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-info-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: rgba(47, 111, 138, 0.12);
  color: #2f6f8a;
  font-weight: 900;
  margin-left: auto;
  padding: 0 12px;
}

.product-info-obs {
  color: #334155;
  line-height: 1.6;
}

.product-info-side {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 76, 92, 0.08);
}

.product-info-side img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-info-side__caption {
  padding: 0.9rem 1rem;
}

.product-info-side__caption strong,
.product-info-side__caption span {
  display: block;
}

.product-info-side__caption strong {
  color: #223244;
}

.product-info-side__caption span {
  color: #667587;
  font-size: 0.85rem;
}

#toggle_bookings_table_bt {
  border-radius: 10px;
}

@media screen and (max-width: 1023px) {
  .product-info-layout {
    grid-template-columns: 1fr;
  }

  .product-info-side {
    position: static;
  }

  .product-info-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .product-info-hero__content {
    grid-template-columns: 1fr;
  }

  .product-info-hero__poster {
    max-width: 210px;
  }

  .product-info-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .product-info-details,
  .product-info-event-list,
  .product-info-stats {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .products-page__header,
  .products-page__tools {
    flex-direction: column;
    align-items: stretch;
  }

  .products-page__tools {
    width: 100%;
  }

  .products-page #table_search.products-search {
    width: 100% !important;
  }

  .products-view-toggle,
  .products-view-toggle .button {
    width: 100%;
  }
}

#uploadButton {
  cursor: pointer;
}

.map-legend-container,
.map-seats-container {
  display: inline-block;
  vertical-align: top;
  width: 100%;
}

.button.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.button.dead {
  pointer-events: none;
}

.button.tiny.seat {
  padding: 0.7em !important;
  margin: 0.0845em 0.0345em !important;
  max-width: 0.3em;
  max-height: 0.3em;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.button.tiny.seat:not(.noedit):hover {
  filter: brightness(150%);
}

.button.tiny.seat.noedit {
  pointer-events: none;
  -webkit-filter: opacity(0.2);
  filter: opacity(0.2);
}

.button.tiny.seat.empty {
  pointer-events: none;
  background-color: white;
  border: 0;
}

.button.tiny.seat > small {
  margin-left: -0.3em;
}

.fc-center h2 {
  font-size: 1.8em !important;
}

.tabs-content.fluid {
  margin-top: -3px !important;
}

.tabs li.tabs-title a {
  font-size: 1.3rem !important;
  background: #e2e2e2;
  color: #525252;
  margin-top: 0.41rem;
  height: 3.5rem;
}

.tabs li.tabs-title a span {
  font-size: 0.85rem !important;
  padding-left: 8px;
  line-height: 0.75rem;
}

a.button span {
  padding-left: 8px;
}

.tabs li a {
  border-top: 1px solid #d8d8d8 !important;
  border-left: 1px solid #d8d8d8 !important;
  border-right: 1px solid #d8d8d8 !important;
  border-bottom: 0 !important;
}

.vertical.tabs li a {
  margin-top: 0 !important;
  height: 4rem !important;
}

.vertical.tabs li.is-active a {
  border-top: 1px solid #d8d8d8 !important;
  border-left: 1px solid #d8d8d8 !important;
  border-bottom: 1px solid #d8d8d8 !important;
  border-right: 1px solid #d8d8d8 !important;
}

.tabs-content .tabs-panel.is-active {
  border-left: 1px solid #d8d8d8 !important;
  border-right: 1px solid #d8d8d8 !important;
  border-bottom: 1px solid #d8d8d8 !important;
  border-top: 1px solid #d8d8d8 !important;
}

.tabs-title > a:focus,
.tabs-title > a[aria-selected="true"] {
  background: #fff !important;
  color: #4484ce !important;
  margin-top: 0 !important;
  height: 4rem !important;
}

table {
  border: 1px solid #e2e2e2;
}

table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

table th {
  background: #e2e2e2;
}

#table_products,
#table_events,
#table_event_types,
#table_locations,
#table_maps,
#table_map_seat_types,
#table_actors,
#table_actor_types,
#table_actor_attachments,
#table_users,
#table_clients,
#table_event_bookings,
#table_product_events,
#table_product_bookings,
.fc-view-container {
  margin-bottom: 3.5em !important;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

#table_poster_products,
#div_actor_info {
  margin-bottom: 3.5em !important;
}

.fields-container {
  margin: 0 0 1rem;
  padding: 0.5rem;
  border-radius: 2px;
  border: 1px solid #cacaca;
  overflow-y: auto;
}

.fields-container .clearfix {
  max-height: 35px;
  overflow: hidden;
}

.fields-container .clearfix:hover {
  background-color: whitesmoke;
}

#map-composer-container {
  /*padding: 0 0 0 1rem !important;*/
  overflow-x: auto;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#map-composer-container table thead th,
#map-composer-container table tbody td {
  padding: 0.04em !important;
}

#map-composer-container table thead th:first-child,
#map-composer-container table tbody td:first-child {
  max-width: 177px;
  font-weight: bold;
  background: #e2e2e2;
  width: 18px;
}

#map-composer-container table thead th:not(:first-child),
#map-composer-container table tbody td:not(:first-child) {
  max-width: 26px;
}

#map-composer-container select {
  max-width: 20px;
  margin: 0 0.2rem 0 0;
  padding: 0 1.8em 0 0;
  color: #fff;
  max-height: 20px;
  font-size: 0.8em;
}

#map-composer-container .input-group {
  margin-bottom: 0;
}

#map-composer-container .input-group span {
  min-width: 30px;
  max-height: 20px;
  font-size: 0.8em;
  padding: 0 0.3em !important;
}

#map-composer table {
  width: auto;
}

.map-legend-section {
  padding: 0.2em 0;
}

.map-legend-section .switch {
  margin-bottom: 0.5em !important;
  margin-right: 0.4em;
}

.map-legend-item {
  padding: 2px;
  overflow: hidden;
}

.map-legend-price {
  width: 48px;
  margin-right: 0.4em;
}

.map-legend-amount {
  width: 35px;
  margin-right: 0.4em;
}

.map-legend-sum {
  width: 70px;
}

.map-legend-currency {
  margin-left: 5px;
}

.map-legend-name {
  height: 25px;
  font-size: 0.9em;
}
.map-legend-sum,
.map-legend-amount,
.map-legend-price {
  height: 25px;
  font-size: 0.9em;
  padding: 2px;
}

#seat_legend_amount_total {
  margin-left: 0;
  margin-right: 0.4em;
}

#table_search {
  width: auto !important;
  margin-bottom: 2em;
}

#table_search .input-group-label {
  cursor: pointer;
}

#table_search .input-group-label {
  border-radius: 10px 0 0 10px;
}

#table_search .button {
  border-radius: 0 10px 10px 0;
}

table.footable select,
table.footable .button-group,
table.footable .button.small,
table.footable .switch {
  margin-bottom: 0 !important;
}

.search-field-selector {
  margin-top: 3em !important;
}

div.fc-view table {
  margin-bottom: 0 !important;
}

#product_events_list,
#product_event_info {
  width: 100% !important;
}

.event_start,
.event_title {
  line-height: 1.8em;
}

.event_start > i,
.event_title > i,
.event_tickets > i {
  margin-left: 0.2em;
  margin-right: 0.5em;
  width: 14px;
  text-align: center;
}

.event_button {
  padding: 0.3em 0.4em;
  margin: 2px;
}

.orbit-bullets {
  display: none;
}

#products_orbit,
#products_bookings_orbit {
  margin-bottom: 2em;
  /*margin-bottom:0!important;*/
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  background: linear-gradient(white, silver);
  border: 1px solid #cacaca;
}

#orbit_product_name,
#orbit_num_events,
#orbit_from_to {
  padding: 0.2em 0.5em;
}

.reveal-modal-bg {
  position: fixed;
}
.reveal-modal {
  position: fixed;
}

#modal_container.reveal:not(.auth-modal) {
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f5f1e8);
  box-shadow: 0 26px 70px rgba(15, 76, 92, 0.18);
  overflow: hidden;
}

#modal_container.reveal:not(.auth-modal) form {
  margin: 0;
}

#modal_container.reveal:not(.auth-modal) h3 {
  margin: -1rem -1rem 1.25rem;
  padding: 1.15rem 4rem 1.1rem 1.35rem;
  border-bottom: 1px solid rgba(47, 111, 138, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 243, 245, 0.92));
  color: #223244;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

#modal_container.reveal:not(.auth-modal) > .close-button,
#modal_container.reveal:not(.auth-modal) form > .close-button {
  top: 0.9rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(47, 111, 138, 0.08);
  color: #2f6f8a;
  font-size: 1.55rem;
  line-height: 1;
}

#modal_container.reveal:not(.auth-modal) > .close-button:hover,
#modal_container.reveal:not(.auth-modal) > .close-button:focus,
#modal_container.reveal:not(.auth-modal) form > .close-button:hover,
#modal_container.reveal:not(.auth-modal) form > .close-button:focus {
  background: rgba(47, 111, 138, 0.16);
  color: #25586e;
}

#modal_container.reveal:not(.auth-modal) label {
  color: #334155;
  font-weight: 700;
}

#modal_container.reveal:not(.auth-modal) input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
#modal_container.reveal:not(.auth-modal) select,
#modal_container.reveal:not(.auth-modal) textarea {
  border-color: rgba(47, 111, 138, 0.14);
  border-radius: 12px;
  box-shadow: none;
}

#modal_container.reveal:not(.auth-modal) input:focus,
#modal_container.reveal:not(.auth-modal) select:focus,
#modal_container.reveal:not(.auth-modal) textarea:focus {
  border-color: rgba(47, 111, 138, 0.42);
  box-shadow: 0 0 0 3px rgba(47, 111, 138, 0.08);
}

#modal_container.reveal:not(.auth-modal) .input-group {
  height: auto;
}

#modal_container.reveal:not(.auth-modal) .input-group-label {
  border-color: rgba(47, 111, 138, 0.14);
  border-radius: 12px 0 0 12px;
  background: rgba(47, 111, 138, 0.08);
  color: #2f6f8a;
}

#modal_container.reveal:not(.auth-modal) .input-group-field {
  border-radius: 0 12px 12px 0;
}

.style5 {
  font-size: 2em;
  color: rgba(245, 159, 26, 0.8);
  text-shadow: 1px 4px 6px #fff, 0 0 0 #000, 1px 4px 6px #fff;
}

.sub-table .button,
.sub-table input,
.sub-table .switch,
.sub-table div,
.sub-table select {
  margin: 0;
}

#tothetop {
  border-radius: 50%;
  background-color: #4484ce;
  color: #fff;
  width: 3em;
  height: 3em;
  position: fixed;
  bottom: 1em;
  right: 1em;
  text-align: center;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  padding-top: 0.4em;
  display: none;
  z-index: 1000000;
}

#tothetop:hover {
  background-color: #3070b9;
}

#tothetop i {
  line-height: 1.5em;
}

.fc-event {
  font-size: 0.8em;
}

.fc-event:hover {
  filter: brightness(120%) !important;
}

.fc-event span.label.alert {
  margin-bottom: 0.2em;
  pointer-events: none;
}

ul.breadcrumbs {
  margin: 0 0 12px;
}

.breadcrumbs .disabled {
  color: #333;
}

.reveal.auth-modal {
  max-width: 430px;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.reveal.auth-modal h3 {
  display: none;
}

.reveal.auth-modal > .close-button {
  display: none;
}

.auth-panel {
  padding: 1.7rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #f5f1e8);
  box-shadow: 0 26px 70px rgba(15, 76, 92, 0.18);
}

.auth-panel__brand {
  margin-bottom: 1.35rem;
  text-align: center;
}

.auth-panel__brand img {
  max-width: 250px;
  margin-bottom: 0.8rem;
}

.auth-panel__brand h4 {
  margin: 0 0 0.45rem;
  color: #6284aa;
  font-size: 1.2rem;
  font-weight: 800;
}

.auth-panel__brand p {
  margin: 0;
  color: #667587;
  line-height: 1.45;
  font-size: 0.9rem;
}

.auth-panel__fields {
  margin-bottom: 2.35rem;
}

.auth-panel__fields label {
  color: #334155;
  font-weight: 700;
}

.auth-input {
  height: auto;
  margin-top: 0.35rem;
  margin-bottom: 0.95rem;
}

.auth-input .input-group-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.85rem;
  border-color: rgba(47, 111, 138, 0.14);
  border-radius: 14px 0 0 14px;
  background: rgba(47, 111, 138, 0.08);
  color: #2f6f8a;
}

.auth-input .input-group-field {
  border-color: rgba(47, 111, 138, 0.14);
  border-radius: 0 14px 14px 0;
  box-shadow: none;
  height: 2.85rem;
}

.auth-input--password .input-group-field {
  border-right: 0;
  border-radius: 0;
}

.auth-password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  min-width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(47, 111, 138, 0.14);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  background: #fff;
  cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus {
  background: rgba(47, 111, 138, 0.08);
  outline: 0;
}

.auth-password-toggle img {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0.78;
}

.auth-password-toggle:hover img,
.auth-password-toggle:focus img {
  opacity: 1;
}

.auth-primary {
  min-height: 2.85rem;
  border-radius: 14px;
  font-weight: 800;
}

.auth-link {
  display: block;
  width: 100%;
  font-size: 14px;
  margin-top: 0.9rem;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  color: #2f6f8a;
  font-weight: 700;
  cursor: pointer;
}

.auth-link:hover,
.auth-link:focus {
  color: #25586e;
  text-decoration: underline;
  outline: 0;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.65rem;
}

.auth-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  margin-bottom: 0;
  border-radius: 14px;
  font-weight: 800;
}

.auth-actions .button span {
  padding-left: 0.45rem;
}

.auth-message {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  line-height: 1.45;
}

.auth-message.is-success,
.auth-message.is-error {
  display: block;
}

.auth-message.is-success {
  background: rgba(64, 158, 112, 0.14);
  color: #23724d;
}

.auth-message.is-error {
  background: rgba(198, 15, 19, 0.12);
  color: #8a1f22;
}

body.auth-backdrop-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -999998;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 244, 222, 0.12), transparent 20rem),
    radial-gradient(circle at 50% 50%, transparent 0, transparent 22rem, rgba(0, 0, 0, 0.4) 48rem),
    linear-gradient(120deg, rgba(5, 10, 16, 0.62), rgba(28, 10, 8, 0.28), rgba(5, 10, 16, 0.7));
}

body.auth-backdrop-active::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -999997;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.24;
  mix-blend-mode: soft-light;
}

#available_tickets_title {
  text-transform: uppercase;
  bottom: 0;
  position: absolute;
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
}

a[href="https://froala.com/wysiwyg-editor"], 
a[href="https://www.froala.com/wysiwyg-editor?k=u"]
{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent !important;
  color: transparent !important;
  pointer-events: none;
  height: 0 !important;
}

.breadcrumbs li {
  font-size: 0.8875rem !important;
}

div#product_bookings_calendar,
div#product_events_calendar {
  margin-bottom: 3.5em !important;
}

div#manual_insert {
  min-width: 100%;
}

select#manual_insert_ticket_type,
input#manual_insert_ticket_amount {
  height: 25px;
  padding: 0 0 0 5px;
  font-size: 0.8em;
}

input#manual_insert_ticket_amount {
  width: 140px;
}

.fr-separator {
  background: #e2e2e2 !important;
}

.seat.temporary {
  background-color: whitesmoke !important;
  cursor: not-allowed;
}

#booking_product_info {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.85rem;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border: 1px solid rgb(215, 215, 215);
  padding: 8px 10px;
  font-size: 0.9em;
  background-color: rgb(226, 226, 226);
  min-width: 400px;
}

#booking_product_info > .float-left {
  float: none !important;
}

#booking_product_info img {
  height: 108px;
  margin-right: 10px;
}

.poster-container {
  position: relative;
  display: block;
  overflow: hidden;
}

.container-tag {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  transform: rotate(45deg);
  -webkit-box-shadow: -2px 2px 7px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: -2px 2px 7px 0px rgba(0, 0, 0, 0.15);
  box-shadow: -2px 2px 7px 0px rgba(0, 0, 0, 0.15);
}

.container-tag.red {
  background: red !important;
}

.container-tag.green {
  background: green !important;
}

.container-tag div {
  color: white !important;
}

#callout-container {
  position: fixed;
  background-color: #c9c9c1;
  padding: 0 15px 15px 15px;
  height: 350px;
  width: 400px;
  max-width: 400px;
  margin-top: -315px;
  left: 50%;
  margin-left: -200px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 999999;
  opacity: 0.5;
}

#callout-container-msg {
  position: relative;
  background: #7b7b75;
  height: 315px;
  overflow-y: auto;
}

#callout-container-msg .callout {
  font-size: 0.9em !important;
  margin: 0em !important;
}

#callout-container-handle {
  position: relative;
  color: #7b7b75;
  height: 40px;
  font-size: 25px;
  padding: 5px;
  text-align: center;
  cursor: pointer;
}

#callout-num-alerts {
  position: absolute;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #c60f13;
  color: white;
  text-align: center;
  font-size: 0.5em;
  font-weight: bold;
  top: 7px;
  line-height: 21px;
}

#callout-sound-alerts {
  position: absolute;
  right: 27px;
  font-size: 16px;
  top: 9px;
  cursor: pointer;
}

#callout-sound-alerts:hover {
  color: whitesmoke !important;
}

#callout-remove-alerts {
  position: absolute;
  right: 54px;
  font-size: 21px;
  top: 7px;
  cursor: pointer;
}

#callout-remove-alerts:hover {
  color: whitesmoke !important;
}

#callout-title {
  position: absolute;
  text-transform: uppercase;
  font-size: 0.5em;
  margin-top: 2px;
  left: 0;
}

ul#booking-tabs,
ul#product-tabs {
  border: 0;
}

#print-dropdown a {
  cursor: pointer !important;
  padding: 0.4em 0;
  display: block;
  font-size: 0.9em;
}

#location_map,
#product_info_map {
  width: 100%;
  height: 250px;
  border-radius: 2px;
  border: 1px solid #cacaca;
  margin: 0 auto 2em;
  z-index: 2;
}

.product-info-card #product_info_map {
  min-height: 320px;
  height: 320px;
  margin: 0;
  border-radius: 20px;
  border-color: rgba(47, 111, 138, 0.12);
}

.statistics-page {
  padding-bottom: 2.5rem;
}

.statistics-page__header {
  margin-bottom: 1rem;
}

.statistics-page__header h2 {
  margin: 0.4rem 0 0.2rem;
  color: #223244;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.statistics-page__header p {
  margin: 0;
  color: #667587;
}

.statistics-product-panel {
  margin-left: 0;
  margin-right: 0;
}

.statistics-product-panel .product-context-panel__product,
.statistics-product-panel .product-context-panel__control,
.statistics-product-panel .ts-wrapper {
  min-width: 0;
}

.statistics-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.statistics-card {
  display: flex;
  gap: 0.75rem;
  min-height: 118px;
  padding: 1rem;
  border: 1px solid rgba(47, 111, 138, 0.1);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f7f3eb);
  box-shadow: 0 12px 30px rgba(15, 76, 92, 0.07);
}

.statistics-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 16px;
  background: rgba(47, 111, 138, 0.1);
  color: #2f6f8a;
}

.statistics-card span,
.statistics-insights span {
  display: block;
  margin-bottom: 0.35rem;
  color: #687789;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.statistics-card strong,
.statistics-insights strong {
  display: block;
  color: #223244;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.15;
}

.statistics-card small {
  display: block;
  margin-top: 0.35rem;
  color: #748195;
  line-height: 1.3;
}

.statistics-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.statistics-insights article {
  padding: 1rem;
  border: 1px dashed rgba(47, 111, 138, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.statistics-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.statistics-chart {
  padding: 1rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f7f3eb);
  box-shadow: 0 14px 34px rgba(15, 76, 92, 0.08);
}

.statistics-chart--wide {
  grid-column: 1 / -1;
}

.statistics-chart header {
  margin-bottom: 0.9rem;
}

.statistics-chart h3 {
  margin: 0;
  color: #223244;
  font-size: 1.1rem;
  font-weight: 900;
}

.statistics-chart p {
  margin: 0.2rem 0 0;
  color: #667587;
  font-size: 0.9rem;
}

.statistics-chart > div {
  position: relative;
  height: 330px;
  width: 100%;
  overflow: hidden;
}

.statistics-chart--wide > div {
  height: 390px;
}

.statistics-chart canvas {
  max-width: 100% !important;
}

.statistics-loading {
  margin-top: 1rem;
}

@media screen and (max-width: 1280px) {
  .statistics-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .statistics-chart-grid,
  .statistics-insights {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .statistics-page {
    padding: 0 0.35rem 1.5rem;
  }

  .statistics-page__header {
    margin-bottom: 0.75rem;
  }

  .statistics-page__header h2 {
    font-size: 1.35rem;
  }

  .statistics-page__header p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .statistics-product-panel {
    padding: 0.85rem;
    border-radius: 16px;
  }

  .statistics-product-panel .product-context-panel__product {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }

  .statistics-product-panel .product-context-panel__label {
    margin-bottom: 0.25rem;
  }

  .statistics-product-panel .product-context-panel__control {
    width: 100%;
    flex: 0 0 auto;
  }

  .statistics-cards {
    grid-template-columns: 1fr;
  }

  .statistics-card {
    min-height: 0;
    padding: 0.85rem;
  }

  .statistics-insights article,
  .statistics-chart {
    padding: 0.85rem;
    border-radius: 18px;
  }

  .statistics-chart > div,
  .statistics-chart--wide > div {
    height: 280px;
  }
}

#print-dropdown a:hover {
  font-weight: bold;
}

.fc-day-top .button {
  margin: 3px 0 0;
}

.switch.disabled {
  opacity: 0.75;
  pointer-events: none;
}

tr.disabled {
  opacity: 0.75;
  pointer-events: none;
}

tr.no-results div,
.footable-empty {
  background: url("images/exclamation.png") no-repeat center center;
  height: 105px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.fc-toolbar .fc-center {
  margin-top: -7px !important;
}

.orbit-previous,
.orbit-next {
  z-index: 1 !important;
}

.fc-event,
.fc-event:hover {
  -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
}

#product_bookings_calendar {
  padding: 1.1rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 236, 0.96));
  box-shadow: 0 18px 42px rgba(15, 76, 92, 0.09) !important;
}

#product_bookings_calendar .fc-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

#product_bookings_calendar .fc-toolbar .fc-left,
#product_bookings_calendar .fc-toolbar .fc-center,
#product_bookings_calendar .fc-toolbar .fc-right {
  float: none;
  margin: 0 !important;
}

#product_bookings_calendar .fc-toolbar .fc-left {
  justify-self: start;
}

#product_bookings_calendar .fc-toolbar .fc-center {
  justify-self: center;
}

#product_bookings_calendar .fc-toolbar .fc-right {
  justify-self: end;
}

#product_bookings_calendar .fc-toolbar h2 {
  margin: 0;
  color: #223244;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: capitalize;
}

#product_bookings_calendar .fc-button,
#product_bookings_calendar .fc-state-default {
  min-height: 2.35rem;
  margin: 0 0.15rem 0 0;
  padding: 0 0.8rem;
  border: 1px solid rgba(47, 111, 138, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
  color: #2f6f8a;
  text-shadow: none;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

#product_bookings_calendar .fc-button:hover,
#product_bookings_calendar .fc-button:focus,
#product_bookings_calendar .fc-state-hover {
  border-color: rgba(47, 111, 138, 0.35);
  background: rgba(47, 111, 138, 0.08);
  color: #25586e;
  outline: 0;
}

#product_bookings_calendar .fc-state-active,
#product_bookings_calendar .fc-state-down,
#product_bookings_calendar .fc-newEvent-button {
  border-color: #2f6f8a;
  background: #2f6f8a;
  color: #ffffff;
}

#product_bookings_calendar .fc-newEvent-button:hover,
#product_bookings_calendar .fc-newEvent-button:focus {
  background: #25586e;
  color: #ffffff;
}

#product_bookings_calendar .fc-button-group {
  display: inline-flex;
  gap: 0.25rem;
}

#product_bookings_calendar .fc-button-group .fc-button {
  border-radius: 12px !important;
}

#product_bookings_calendar .fc-view-container {
  margin-bottom: 0 !important;
  border: 1px solid rgba(34, 50, 68, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none !important;
  overflow: hidden;
}

#product_bookings_calendar .fc-view,
#product_bookings_calendar .fc-view > table {
  background: #ffffff;
}

#product_bookings_calendar .fc-head th {
  padding: 0.75rem 0.5rem;
  border-color: rgba(34, 50, 68, 0.08);
  background: #edf3f5;
  color: #223244;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

#product_bookings_calendar .fc-day,
#product_bookings_calendar .fc-day-top {
  border-color: rgba(34, 50, 68, 0.08);
}

#product_bookings_calendar .fc-day {
  background: #ffffff;
}

#product_bookings_calendar .fc-other-month {
  background: #fbfaf6;
}

#product_bookings_calendar .fc-day-top {
  padding: 0.35rem 0.45rem;
}

#product_bookings_calendar .fc-day-number {
  color: #223244;
  font-weight: 800;
}

#product_bookings_calendar .fc-other-month .fc-day-number {
  color: #a7b0bc;
}

#product_bookings_calendar td.fc-today {
  background: rgba(47, 111, 138, 0.07);
}

#product_bookings_calendar .fc-event {
  margin: 0.12rem 0.25rem;
  border: 0 !important;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(34, 50, 68, 0.16) !important;
  overflow: hidden;
}

#product_bookings_calendar .fc-event:hover {
  filter: brightness(108%) !important;
  box-shadow: 0 10px 22px rgba(34, 50, 68, 0.22) !important;
}

.product-calendar-event {
  padding: 0.4rem 0.45rem 0.45rem;
  color: #ffffff;
  line-height: 1.25;
}

.product-calendar-event__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.product-calendar-event__time,
.product-calendar-event__tickets {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
}

.product-calendar-event__title {
  margin-bottom: 0.25rem;
  font-weight: 700;
  white-space: normal;
}

.product-calendar-event__tickets {
  opacity: 0.95;
}

.product-calendar-event__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.product-calendar-event__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.product-calendar-event__action:hover,
.product-calendar-event__action:focus {
  background: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.product-calendar-event .label.alert {
  margin: 0;
  border-radius: 10px;
  background: rgba(198, 15, 19, 0.92);
  color: #ffffff;
}

@media screen and (max-width: 767px) {
  #product_bookings_calendar {
    padding: 0.75rem;
    border-radius: 18px;
  }

  #product_bookings_calendar .fc-toolbar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  #product_bookings_calendar .fc-toolbar .fc-left,
  #product_bookings_calendar .fc-toolbar .fc-center,
  #product_bookings_calendar .fc-toolbar .fc-right {
    justify-self: stretch;
    text-align: center;
  }

  #product_bookings_calendar .fc-toolbar h2 {
    font-size: 1.25rem;
  }

  #product_bookings_calendar .fc-button-group,
  #product_bookings_calendar .fc-toolbar .fc-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  #product_bookings_calendar .fc-button {
    flex: 1 1 auto;
  }

  .product-calendar-event {
    padding: 0.3rem;
    font-size: 0.78rem;
  }
}

#product_events_calendar {
  padding: 1.1rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 236, 0.96));
  box-shadow: 0 18px 42px rgba(15, 76, 92, 0.09) !important;
}

#product_events_calendar .fc-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

#product_events_calendar .fc-toolbar .fc-left,
#product_events_calendar .fc-toolbar .fc-center,
#product_events_calendar .fc-toolbar .fc-right {
  float: none;
  margin: 0 !important;
}

#product_events_calendar .fc-toolbar .fc-left {
  justify-self: start;
}

#product_events_calendar .fc-toolbar .fc-center {
  justify-self: center;
}

#product_events_calendar .fc-toolbar .fc-right {
  justify-self: end;
}

#product_events_calendar .fc-toolbar h2 {
  margin: 0;
  color: #223244;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: capitalize;
}

#product_events_calendar .fc-button,
#product_events_calendar .fc-state-default {
  min-height: 2.35rem;
  margin: 0 0.15rem 0 0;
  padding: 0 0.8rem;
  border: 1px solid rgba(47, 111, 138, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
  color: #2f6f8a;
  text-shadow: none;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

#product_events_calendar .fc-button:hover,
#product_events_calendar .fc-button:focus,
#product_events_calendar .fc-state-hover {
  border-color: rgba(47, 111, 138, 0.35);
  background: rgba(47, 111, 138, 0.08);
  color: #25586e;
  outline: 0;
}

#product_events_calendar .fc-state-active,
#product_events_calendar .fc-state-down,
#product_events_calendar .fc-newEvent-button {
  border-color: #2f6f8a;
  background: #2f6f8a;
  color: #ffffff;
}

#product_events_calendar .fc-newEvent-button:hover,
#product_events_calendar .fc-newEvent-button:focus {
  background: #25586e;
  color: #ffffff;
}

#product_events_calendar .fc-button-group {
  display: inline-flex;
  gap: 0.25rem;
}

#product_events_calendar .fc-button-group .fc-button {
  border-radius: 12px !important;
}

#product_events_calendar .fc-view-container {
  margin-bottom: 0 !important;
  border: 1px solid rgba(34, 50, 68, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none !important;
  overflow: hidden;
}

#product_events_calendar .fc-view,
#product_events_calendar .fc-view > table {
  background: #ffffff;
}

#product_events_calendar .fc-head th {
  padding: 0.75rem 0.5rem;
  border-color: rgba(34, 50, 68, 0.08);
  background: #edf3f5;
  color: #223244;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

#product_events_calendar .fc-day,
#product_events_calendar .fc-day-top {
  border-color: rgba(34, 50, 68, 0.08);
}

#product_events_calendar .fc-day {
  background: #ffffff;
}

#product_events_calendar .fc-other-month {
  background: #fbfaf6;
}

#product_events_calendar .fc-day-top {
  padding: 0.35rem 0.45rem;
}

#product_events_calendar .fc-day-number {
  color: #223244;
  font-weight: 800;
}

#product_events_calendar .fc-other-month .fc-day-number {
  color: #a7b0bc;
}

#product_events_calendar td.fc-today {
  background: rgba(47, 111, 138, 0.07);
}

#product_events_calendar .fc-event {
  margin: 0.12rem 0.25rem;
  border: 0 !important;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(34, 50, 68, 0.16) !important;
  overflow: hidden;
}

#product_events_calendar .fc-event:hover {
  filter: brightness(108%) !important;
  box-shadow: 0 10px 22px rgba(34, 50, 68, 0.22) !important;
}

@media screen and (max-width: 767px) {
  #product_events_calendar {
    padding: 0.75rem;
    border-radius: 18px;
  }

  #product_events_calendar .fc-toolbar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  #product_events_calendar .fc-toolbar .fc-left,
  #product_events_calendar .fc-toolbar .fc-center,
  #product_events_calendar .fc-toolbar .fc-right {
    justify-self: stretch;
    text-align: center;
  }

  #product_events_calendar .fc-toolbar h2 {
    font-size: 1.25rem;
  }

  #product_events_calendar .fc-button-group,
  #product_events_calendar .fc-toolbar .fc-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  #product_events_calendar .fc-button {
    flex: 1 1 auto;
  }
}

.welcome {
  margin-top: 0.4rem;
}

.footable .pagination {
  margin: 5px 0 15px;
}

.pointer {
  cursor: pointer;
}

.accordion-menu
  .is-accordion-submenu-parent:not(.has-submenu-toggle)
  > a::after {
  border-color: #525252 transparent transparent;
}

#client_contacts_table input,
#booking_payments_table select,
#booking_invoices_table select,
#booking_payments_table input,
#booking_invoices_table input {
  max-height: 34px;
}

#booking-page #booking_payments_table {
  min-width: 760px;
}

#booking-page #booking_payments_table td {
  vertical-align: middle;
}

#booking-page #booking_payments_table .booking-payment-input {
  width: 100%;
  height: 36px;
  max-height: none;
  margin: 0;
  border-radius: 12px;
  font-size: 0.9rem;
}

#booking-page #booking_payments_table .booking-payment-obs {
  min-width: 220px;
}

#booking-page #booking_payments_table .button {
  margin: 0;
}

.booking-tickets-finalize-bar {
  align-items: center;
  background: linear-gradient(135deg, rgba(39, 117, 143, 0.1), rgba(39, 117, 143, 0.03));
  border: 1px solid rgba(39, 117, 143, 0.18);
  border-radius: 18px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
}

.booking-tickets-finalize-copy {
  color: #29475a;
  line-height: 1.35;
}

.booking-tickets-finalize-button {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .booking-tickets-finalize-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-tickets-finalize-button {
    width: 100%;
  }
}

.booking_summary_item {
  display: flex;
  margin-bottom: 0.3rem;
}

.admin-config-page {
  padding: 0 1.5rem 3rem;
}

.admin-list-page {
  padding: 0 1.5rem 3rem;
}

.admin-page-breadcrumbs {
  margin-bottom: 1rem;
}

.admin-list-hero {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(39, 117, 143, 0.12);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(33, 58, 70, 0.08);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin: 1rem 0 1.25rem;
  padding: 1.25rem;
}

.admin-list-hero__title span {
  align-items: center;
  color: #2b7893;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 0.35rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.admin-list-hero__title h1 {
  color: #203846;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.admin-list-hero__title p {
  color: #697d89;
  margin: 0.45rem 0 0;
}

.admin-toolbar {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 0.85rem;
  justify-content: flex-end;
  min-width: 320px;
}

.admin-toolbar__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.15rem;
}

.admin-toolbar__actions .button-group {
  margin: 0;
}

.admin-icon-button,
.admin-toolbar__actions .button {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  height: 42px;
  justify-content: center;
  margin: 0;
}

.admin-toolbar__search {
  flex: 0 1 360px;
}

.admin-toolbar__search form,
.admin-toolbar__search #table_search {
  margin: 0;
  width: 100%;
}

.admin-toolbar__search .input-group {
  height: 42px;
}

.admin-table-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(39, 117, 143, 0.12);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(33, 58, 70, 0.08);
  overflow: hidden;
}

.admin-table-card table {
  margin-bottom: 0;
}

.admin-form-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(39, 117, 143, 0.12);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(33, 58, 70, 0.08);
  margin-bottom: 1.25rem;
  padding: 1.25rem;
}

.admin-form-card h3 {
  color: #203846;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.admin-form-card label {
  color: #253f4e;
  font-weight: 700;
}

.admin-form-card input:not([type="checkbox"]):not([type="radio"]),
.admin-form-card select,
.admin-form-card textarea {
  border: 1px solid rgba(39, 117, 143, 0.2);
  border-radius: 14px;
  box-shadow: none;
}

.admin-form-card input:not([type="checkbox"]):not([type="radio"]):focus,
.admin-form-card select:focus,
.admin-form-card textarea:focus {
  border-color: #27758f;
  box-shadow: 0 0 0 3px rgba(39, 117, 143, 0.12);
}

.admin-media-card {
  background: rgba(39, 117, 143, 0.06);
  border: 1px solid rgba(39, 117, 143, 0.12);
  border-radius: 24px;
  padding: 1rem;
}

.admin-media-card .framed-no-shadow {
  border-radius: 20px;
  overflow: hidden;
}

.admin-media-card img {
  border-radius: 18px;
  width: 100%;
}

.admin-richtext-card {
  background: #fff;
  border: 1px solid rgba(39, 117, 143, 0.16);
  border-radius: 18px;
  min-height: 220px;
  overflow: hidden;
  padding: 1rem;
}

@media screen and (max-width: 767px) {
  .admin-list-page {
    padding: 0 0.85rem 2rem;
  }

  .admin-list-hero {
    align-items: stretch;
    border-radius: 22px;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }

  .admin-toolbar__actions {
    display: flex;
    width: 100%;
  }

  .admin-toolbar__actions > .button,
  .admin-toolbar__actions > .button-group,
  .admin-toolbar__actions .button-group .button,
  .admin-toolbar__actions .admin-icon-button {
    flex: 1 1 auto;
  }

  .admin-toolbar__search {
    flex: 1 1 auto;
    width: 100%;
  }

  .admin-table-card,
  .admin-form-card {
    border-radius: 22px;
  }

  .admin-table-card {
    overflow-x: auto;
  }
}

.admin-config-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10, 35, 48, 0.95), rgba(39, 117, 143, 0.78)),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 32%);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(22, 48, 60, 0.22);
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 1.25rem 0 1.5rem;
  min-height: 180px;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.admin-config-hero::after {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  content: "";
  height: 280px;
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
}

.admin-config-hero__content,
.admin-config-hero__status {
  position: relative;
  z-index: 1;
}

.admin-config-kicker {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.admin-config-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  margin: 0 0 0.65rem;
}

.admin-config-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 650px;
}

.admin-config-hero__status {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  min-width: 230px;
  padding: 1rem 1.2rem;
}

.admin-config-hero__status span {
  color: rgba(255, 255, 255, 0.64);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.admin-config-hero__status strong {
  color: #fff;
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

.admin-config-grid {
  display: grid;
  gap: 1.2rem;
}

.admin-config-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(39, 117, 143, 0.12);
  border-radius: 26px;
  box-shadow: 0 16px 46px rgba(33, 58, 70, 0.08);
  overflow: hidden;
}

.admin-config-card__header {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 238, 0.78));
  border-bottom: 1px solid rgba(39, 117, 143, 0.1);
  display: flex;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
}

.admin-config-card__icon {
  align-items: center;
  background: rgba(39, 117, 143, 0.11);
  border-radius: 16px;
  color: #27758f;
  display: flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.admin-config-card__header h3 {
  color: #233845;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}

.admin-config-card__header p {
  color: #657887;
  font-size: 0.9rem;
  margin: 0;
}

.admin-config-card__body {
  padding: 1.2rem 1rem 1.35rem;
}

.admin-config-field,
.admin-config-logo-card {
  color: #263c48;
  display: block;
  font-weight: 700;
  margin: 0;
}

.admin-config-field__label {
  align-items: center;
  color: #2b5f75;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.admin-config-field input,
.admin-config-field select,
.admin-config-card select,
.admin-config-card input:not([type="checkbox"]):not([type="radio"]) {
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(39, 117, 143, 0.2);
  border-radius: 14px;
  box-shadow: none;
  color: #162d3a;
  height: 42px;
  margin: 0;
}

.admin-config-field input:focus,
.admin-config-field select:focus,
.admin-config-card select:focus,
.admin-config-card input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: #27758f;
  box-shadow: 0 0 0 3px rgba(39, 117, 143, 0.12);
}

.admin-config-logo-card {
  background: linear-gradient(135deg, rgba(39, 117, 143, 0.08), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(39, 117, 143, 0.12);
  border-radius: 20px;
  padding: 1rem;
}

.admin-config-logo-frame {
  align-items: center;
  background: #fff;
  border: 1px dashed rgba(39, 117, 143, 0.24);
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 120px;
  padding: 1rem;
}

.admin-config-logo-frame--small {
  min-height: 92px;
}

.admin-config-logo-frame img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}

.admin-config-logo-frame--small img {
  max-height: 64px;
}

.admin-config-switch {
  align-items: center;
  background: rgba(39, 117, 143, 0.06);
  border: 1px solid rgba(39, 117, 143, 0.1);
  border-radius: 18px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.85rem 1rem;
}

.admin-config-switch__text {
  align-items: center;
  color: #2b5f75;
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.admin-config-switch .switch {
  flex: 0 0 auto;
  margin: 0;
}

.admin-config-note {
  align-items: center;
  background: rgba(39, 117, 143, 0.08);
  border: 1px solid rgba(39, 117, 143, 0.12);
  border-radius: 18px;
  color: #445f6d;
  display: flex;
  gap: 0.5rem;
  min-height: 72px;
  padding: 1rem;
}

@media screen and (max-width: 767px) {
  .admin-config-page {
    padding: 0 0.85rem 2rem;
  }

  .admin-config-hero {
    align-items: stretch;
    border-radius: 22px;
    flex-direction: column;
    min-height: 0;
    padding: 1.35rem;
  }

  .admin-config-hero__status {
    min-width: 0;
    width: 100%;
  }

  .admin-config-card {
    border-radius: 22px;
  }

  .admin-config-card__header {
    align-items: flex-start;
    padding: 1rem;
  }

  .admin-config-card__body {
    padding: 1rem 0.75rem;
  }

  .admin-config-switch {
    align-items: flex-start;
    flex-direction: column;
  }
}

.booking_summary_label {
  max-width: 170px;
  min-width: 170px;
}

#panelb4 .grid-x {
  justify-content: flex-start;
}

#panelb4 .cell,
#panelb4 h4,
#panelb4 .booking_summary_item,
#panelb4 .booking_summary_label,
#panelb4 .booking_summary_value {
  text-align: left;
}

#panelb4 .booking_summary_item {
  width: 100%;
}

.editable-container.editable-inline {
  width: 100% !important;
}

.editable-input {
  width: 100% !important;
}

.fields-container.disabled {
  pointer-events: none;
  opacity: 0.4;
}

.hidden {
  display: none;
}

#product_poster_bt,
product_banner_bt {
  cursor: pointer;
}

.flex {
  display: flex;
}

.invoice_lines {
  display: none;
  border-bottom: 1px solid #ccc !important;
}

.accordion-menu .nested.is-accordion-submenu {
  margin-left: 0 !important;
}

table thead,
table tbody,
table tfoot {
  border: 1px solid #d0d0d0 !important;
}

.margin_right {
  margin-right: 8px;
}

td .progress {
  margin-bottom: 0 !important;
}

input[type=color] {
  padding: 0;
  outline: 0;
  cursor: pointer;
}

input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;	
}

input[type=color]::-webkit-color-swatch {
  border: 1px solid #cccccc;
}

.tabs {
  border: 0;
  background: transparent;
}

.campaign_properties_buttons {
  position: absolute;
  right: 1em;
  top: 16px;
}

.tabs-content {
  border: 0;
}

.tabs-content .tabs-panel.is-active {
  border: 0 !important;
}

.tabs-content.fluid,
.tabs-content.fluid .tabs-panel,
.tabs-content.fluid .tabs-panel .grid-container.full {
  width: 100%;
  max-width: none;
}

#panelb2 .grid-x,
#panelb2 .cell {
  width: 100%;
  max-width: none;
}

.tabs-title {
  margin-left: -1px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem;
  border: 1px solid rgba(47, 111, 138, 0.12) !important;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tabs-title {
  margin-left: 0;
}

.tabs li.tabs-title a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  min-height: 3rem;
  height: auto !important;
  margin-top: 0 !important;
  padding: 0.8rem 1rem;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(47, 111, 138, 0.08);
  color: #405166;
  font-size: 1rem !important;
  line-height: 1.1;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tabs li.tabs-title a i {
  color: #2f6f8a;
}

.tabs li.tabs-title a span {
  padding-left: 0;
  font-size: 0.9rem !important;
  line-height: 1.1rem;
}

.tabs-title > a[aria-selected="true"],
.tabs-title.is-active > a {
  min-height: 3.35rem;
  height: auto !important;
  margin-top: 0 !important;
  border: 1px solid #25586e !important;
  background: linear-gradient(135deg, #2f6f8a, #1f4f63) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(47, 111, 138, 0.26);
  transform: translateY(-1px);
}

.tabs-title > a:focus {
  box-shadow: 0 0 0 3px rgba(47, 111, 138, 0.18);
  outline: 0;
}

.tabs-title > a[aria-selected="true"] i,
.tabs-title.is-active > a i,
.tabs-title > a[aria-selected="true"] span,
.tabs-title.is-active > a span {
  color: #ffffff !important;
}

.vertical.tabs {
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

.vertical.tabs li.tabs-title a {
  min-height: 2.75rem;
}

.tabs-content.fluid {
  margin-top: 0.8rem !important;
  background: transparent;
}

.tabs-content .tabs-panel.is-active {
  padding: 0;
  border: 0 !important;
  background: transparent;
}

#panelp1 .product-options-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

#panelp1 .product-options-media,
#panelp1 .product-options-main {
  min-width: 0;
}

#panelp1 .product-media-stack {
  display: grid;
  gap: 1rem;
}

#panelp1 .product-media-card,
#panelp1 .product-options-card {
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(31, 45, 61, 0.08);
}

#panelp1 .product-media-card {
  padding: 1rem;
}

#panelp1 .product-media-card label,
#panelp1 .product-options-grid label {
  color: #334155;
  font-weight: 700;
}

#panelp1 .product-media-card .fields-container {
  margin-top: 0.5rem;
  padding: 0.45rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}

#panelp1 .product-options-grid .fields-container {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-color: rgba(47, 111, 138, 0.14);
  border-radius: 16px;
  background: #fff;
}

#panelp1 .product-options-grid .fields-container .clearfix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.05rem;
  padding: 0.22rem 0;
  max-height: none;
  overflow: visible;
}

#panelp1 .product-options-grid .fields-container .float-left,
#panelp1 .product-options-grid .fields-container .float-right {
  float: none !important;
}

#panelp1 .product-options-grid .fields-container .float-left {
  min-width: 0;
  padding-right: 0.75rem;
  line-height: 1.25;
}

#panelp1 #product_weekdays .float-right,
#panelp1 #product_events .float-right {
  margin-left: auto;
}

#panelp1 #product_weekdays .clearfix,
#panelp1 #product_events .clearfix {
  gap: 0.75rem;
}

#panelp1 #product_weekdays .switch.small,
#panelp1 #product_events .switch.small {
  display: flex;
  justify-content: flex-end;
  min-width: 58px;
}

#panelp1 .product-options-grid .fields-container .switch.small,
#panelp1 .product-options-grid .fields-container .switch-paddle {
  margin-bottom: 0;
}

#panelp1 #product_poster_bt,
#panelp1 #product_banner_bt {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  cursor: pointer;
}

#panelp1 #product_poster_bt {
  max-height: 520px;
}

#panelp1 #product_banner_bt {
  aspect-ratio: 16 / 7;
}

#panelp1 .product-options-card {
  padding: 1rem;
}

#panelp1 .product-options-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.2rem 0 0.8rem;
  color: #2f6f8a;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#panelp1 .product-options-section-title:not(:first-child) {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 111, 138, 0.12);
}

#panelp1 .product-options-grid input:not([type="checkbox"]):not([type="radio"]),
#panelp1 .product-options-grid select,
#panelp1 .product-options-grid textarea {
  border-radius: 12px;
  border-color: rgba(79, 99, 115, 0.24);
  box-shadow: none;
}

#panelp1 .product-options-grid .switch {
  margin-bottom: 0;
}

.product-events-save-panel {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1rem;
}

.product-events-save-panel .switch {
  margin-bottom: 0;
}

.product-events-save-button {
  margin-bottom: 0;
  border-radius: 14px;
}

.product-autosave-note {
  border-radius: 16px;
}

@media screen and (max-width: 767px) {
  .product-events-save-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .product-events-save-button {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  #panelp1 .product-options-layout {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: 20px;
    scrollbar-width: thin;
  }

  .tabs li.tabs-title a {
    white-space: nowrap;
  }

  .tabs-content.fluid {
    padding: 0.75rem;
    border-radius: 22px;
  }
}

hr.full {
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0 2rem;
}

.button.secondary {
  border: 1px solid #ccc;
}

.button.molloni {
  background-color: #2f6f8a;
}

#script_compose {
  margin-top: 24px;
}

#script_sortable {
  margin-left: 0;
}

#script_sortable table {
  margin-bottom: 0;
  border: 0 !important;
}

#script_sortable li {
  list-style-type: none;
}

#script_sortable textarea {
  margin: 0;
}

#script_sortable .question_id {
  cursor: grab;
  user-select: none;
}

#script_sortable tbody {
  border: 0 !important;
}

.input-group {
  height: 2.4375rem;
}

#map-composer .input-group {
  height: auto !important;
}

#auto_extension_bt {
  position: absolute;
  margin-top: 31px;
  right: 20px;
}

.top-bar .top-bar-left, .top-bar .top-bar-right {
  flex: auto;
}

.is-submenu-item.is-accordion-submenu-item a {
  display: flex;
}

.product-documents-panel {
  background: #fbfaf6;
}

.product-documents-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f5f1e8);
}

.product-documents-intro h4 {
  margin: 0 0 0.25rem;
  color: #223244;
  font-size: 1.35rem;
}

.product-documents-intro p {
  margin: 0;
  color: #667587;
}

.product-documents-intro__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.product-doc-card {
  margin-bottom: 0.85rem;
  padding: 0;
  border: 1px solid rgba(47, 111, 138, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(34, 50, 68, 0.06);
  overflow: hidden;
}

.product-doc-card__header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: #ffffff;
  color: #223244;
  text-align: left;
  cursor: pointer;
}

.product-doc-card__header:hover,
.product-doc-card__header:focus {
  background: #f7fafb;
  outline: 0;
}

.product-doc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: rgba(47, 111, 138, 0.1);
  color: #2f6f8a;
}

.product-doc-card__title {
  font-weight: 700;
  color: #223244;
}

.product-doc-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-doc-card__status.is-enabled {
  background: rgba(64, 158, 112, 0.16);
  color: #23724d;
}

.product-doc-card__status.is-disabled {
  background: rgba(102, 117, 135, 0.12);
  color: #667587;
}

.product-doc-card__chevron {
  color: #667587;
  transition: transform 0.18s ease;
}

.product-doc-card.is-open .product-doc-card__header {
  border-bottom-color: rgba(47, 111, 138, 0.1);
}

.product-doc-card.is-open .product-doc-card__chevron {
  transform: rotate(180deg);
}

.product-doc-card__body {
  padding: 1.1rem 1rem 1.25rem;
}

.product-doc-card__body > .cell {
  margin-bottom: 0.75rem;
}

.product-doc-card__body .switch {
  margin-bottom: 0;
}

.product-doc-card__body .help-text {
  color: #718095;
}

.product-doc-card__body label {
  color: #334155;
  font-weight: 600;
}

.product-doc-card__body .fr-wrapper,
.product-doc-card__body .fr-toolbar {
  border-color: rgba(47, 111, 138, 0.14) !important;
}

.product-doc-card__body .attachment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(47, 111, 138, 0.1);
  color: #2f6f8a;
  cursor: pointer;
}

.product-doc-card__body .attachment:hover {
  background: #2f6f8a;
  color: #ffffff;
}

.product-doc-card__separator {
  display: none !important;
}

.product-operators-panel {
  width: 100%;
}

.product-operators-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f5f1e8);
}

.product-operators-intro h4 {
  margin: 0 0 0.25rem;
  color: #223244;
  font-size: 1.35rem;
}

.product-operators-intro p {
  margin: 0;
  color: #667587;
}

.product-operators-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  background: rgba(47, 111, 138, 0.1);
  color: #2f6f8a;
}

.product-operators-count strong {
  font-size: 1.65rem;
  line-height: 1;
}

.product-operators-count span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-operators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.product-operator-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 295px;
  padding: 0.85rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(34, 50, 68, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-operator-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(34, 50, 68, 0.12);
}

.product-operator-card.is-enabled {
  border-color: rgba(47, 111, 138, 0.38);
  box-shadow: 0 14px 34px rgba(47, 111, 138, 0.16);
}

.product-operator-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0.55rem 0.55rem 2.15rem;
  border-radius: 14px;
  background: #fbfaf6;
  box-shadow: inset 0 0 0 1px rgba(34, 50, 68, 0.08);
}

.product-operator-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #eef1f3;
}

.product-operator-card__body {
  padding: 0.85rem 0.25rem 0.35rem;
  text-align: center;
}

.product-operator-card__body h5 {
  margin: 0 0 0.4rem;
  color: #223244;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-operator-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.65rem;
  border-radius: 10px;
  background: rgba(102, 117, 135, 0.12);
  color: #667587;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-operator-card.is-enabled .product-operator-card__status {
  background: rgba(64, 158, 112, 0.16);
  color: #23724d;
}

.product-operator-card__switch {
  display: flex;
  justify-content: center;
  margin: auto 0 0;
  padding-top: 0.65rem;
}

.product-operator-card__switch .switch-paddle {
  margin-bottom: 0;
}

.product-tickets-panel {
  width: 100%;
}

.product-tickets-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(47, 111, 138, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f5f1e8);
}

.product-tickets-intro h4 {
  margin: 0 0 0.25rem;
  color: #223244;
  font-size: 1.35rem;
}

.product-tickets-intro p {
  margin: 0;
  color: #667587;
}

.product-tickets-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  background: rgba(47, 111, 138, 0.1);
  color: #2f6f8a;
}

.product-tickets-count strong {
  font-size: 1.65rem;
  line-height: 1;
}

.product-tickets-count span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-tickets-grid {
  display: grid;
  gap: 1rem;
}

.product-ticket-card {
  border: 1px solid rgba(47, 111, 138, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(34, 50, 68, 0.06);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-ticket-card.is-enabled {
  border-color: rgba(47, 111, 138, 0.36);
  box-shadow: 0 14px 34px rgba(47, 111, 138, 0.12);
}

.product-ticket-card__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #ffffff;
}

.product-ticket-card__toggle {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #223244;
  text-align: left;
  cursor: pointer;
}

.product-ticket-card__toggle:hover,
.product-ticket-card__toggle:focus {
  outline: 0;
}

.product-ticket-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(47, 111, 138, 0.1);
  color: #2f6f8a;
}

.product-ticket-card__title {
  display: block;
  color: #223244;
  font-weight: 800;
}

.product-ticket-card__meta {
  display: block;
  margin-top: 0.15rem;
  color: #667587;
  font-size: 0.88rem;
  font-weight: 400;
}

.product-ticket-card__chevron {
  color: #667587;
  transition: transform 0.18s ease;
}

.product-ticket-card.is-open .product-ticket-card__chevron {
  transform: rotate(180deg);
}

.product-ticket-card__switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0;
}

.product-ticket-card__switch .switch,
.product-ticket-card__switch .switch-paddle {
  margin-bottom: 0;
}

.product-ticket-card__switch .switch-paddle {
  top: auto;
}

.product-ticket-card__body {
  display: none;
  padding: 1rem 1.15rem 1.2rem;
  border-top: 1px solid rgba(47, 111, 138, 0.1);
  background: linear-gradient(180deg, #fbfaf6, #ffffff);
}

.product-ticket-card.is-open .product-ticket-card__body {
  display: block;
}

.product-ticket-period-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.product-ticket-period-form label,
.product-ticket-card__body label {
  color: #334155;
  font-weight: 600;
}

.product-ticket-period-form .button,
.product-ticket-card__body .button {
  margin-bottom: 0;
}

.product-ticket-copy-periods {
  display: flex;
  align-items: stretch;
  height: auto;
  min-height: 2.75rem;
  margin-bottom: 1rem;
  padding: 0.35rem;
  border: 1px dashed rgba(47, 111, 138, 0.22);
  border-radius: 14px;
  background: rgba(47, 111, 138, 0.05);
}

.product-ticket-copy-periods .input-group-field,
.product-ticket-copy-periods select,
.product-ticket-copy-periods .button {
  height: 2.4375rem;
  margin-bottom: 0;
}

.product-ticket-copy-periods .input-group-button {
  display: flex;
}

.product-ticket-copy-periods .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-ticket-periods-table {
  margin-bottom: 0;
  border: 1px solid rgba(34, 50, 68, 0.1);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.product-ticket-periods-table table {
  margin-bottom: 0;
}

.product-ticket-periods-table thead {
  background: #edf3f5;
}

.product-ticket-periods-table th {
  color: #223244;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.product-ticket-periods-table tr#product_ticket_type_no_periods td {
  padding: 1.2rem;
  color: #667587;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .product-documents-intro,
  .product-documents-intro__actions,
  .product-operators-intro,
  .product-tickets-intro {
    flex-direction: column;
    align-items: stretch;
  }

  .product-doc-card__header {
    grid-template-columns: auto 1fr auto;
  }

  .product-doc-card__status {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .product-operators-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  }

  .product-operator-card {
    min-height: 250px;
  }

  .product-ticket-card__header {
    grid-template-columns: 1fr;
  }

  .product-ticket-card__switch {
    justify-content: flex-start;
  }

  .product-ticket-period-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

/* Modern FooTable surface */
table.footable {
  width: 100%;
  margin: 0 0 2rem !important;
  border: 1px solid rgba(47, 111, 138, 0.12) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(31, 45, 61, 0.08) !important;
  overflow: hidden;
}

table.footable thead,
table.footable tbody,
table.footable tfoot {
  border: 0 !important;
}

table.footable thead {
  background: linear-gradient(135deg, #edf3f5, #f7f3eb);
}

table.footable thead tr,
table.footable thead th {
  background: transparent !important;
}

table.footable thead th {
  padding: 1rem 0.9rem;
  border: 0 !important;
  border-bottom: 1px solid rgba(34, 50, 68, 0.08) !important;
  color: #223244;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

table.footable tbody tr {
  background: rgba(255, 255, 255, 0.78);
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

table.footable tbody tr:nth-child(even) {
  background: rgba(247, 250, 251, 0.9);
}

table.footable tbody tr:hover {
  background: rgba(47, 111, 138, 0.065);
  box-shadow: inset 4px 0 0 #2f6f8a;
}

table.footable tbody td {
  padding: 0.85rem 0.9rem;
  border: 0 !important;
  border-bottom: 1px solid rgba(34, 50, 68, 0.055) !important;
  color: #223244;
  vertical-align: middle;
}

table.footable tbody tr:last-child td {
  border-bottom: 0 !important;
}

table.footable a:not(.button) {
  color: #2f6f8a;
  font-weight: 700;
}

table.footable .button,
table.footable .button.small,
table.footable .button.tiny {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  margin: 0 0.08rem !important;
  border-radius: 10px;
  box-shadow: none;
}

table.footable .button-group {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  margin-bottom: 0 !important;
}

table.footable .switch {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0 !important;
  vertical-align: middle;
}

table.footable select,
table.footable input:not([type="checkbox"]):not([type="radio"]) {
  margin-bottom: 0;
  border-radius: 10px;
  border-color: rgba(47, 111, 138, 0.16);
  box-shadow: none;
}

table.footable .label {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-weight: 800;
}

table.footable > tfoot {
  background: rgba(247, 243, 235, 0.86);
}

table.footable > tfoot td {
  padding: 0.85rem 1rem;
  border: 0 !important;
  text-align: center;
}

.footable .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin: 0.9rem auto 1.2rem;
  text-align: center;
}

.footable tfoot .pagination,
table.footable > tfoot .pagination {
  float: none !important;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.footable .pagination li {
  margin: 0;
}

.footable .pagination-centered,
.footable .pagination-wrapper,
.footable .footable-pagination-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

table.footable > tfoot .label,
table.footable > tfoot span.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none !important;
  min-height: auto;
  width: auto;
  margin: 0.15rem auto 0;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: rgba(47, 111, 138, 0.1) !important;
  color: #4d6371;
  font-size: 0.78rem;
  font-weight: 800;
}

.footable .pagination li a,
.footable .pagination li span {
  min-width: 2.25rem;
  border-radius: 10px;
  color: #2f6f8a;
  font-weight: 800;
}

.footable .pagination li.current a,
.footable .pagination li.current span,
.footable .pagination li.active a,
.footable .pagination li.active span {
  background: #2f6f8a;
  color: #ffffff;
}

.footable-empty,
tr.no-results div {
  border-radius: 18px;
  background-color: rgba(47, 111, 138, 0.045);
}

@media screen and (max-width: 767px) {
  table.footable {
    border-radius: 18px;
    font-size: 0.92rem;
  }

  table.footable thead th,
  table.footable tbody td {
    padding: 0.7rem;
  }

  table.footable .button,
  table.footable .button.small,
  table.footable .button.tiny {
    min-width: 2rem;
    min-height: 2rem;
  }
}
/* Tom Select controls follow the rounded UI language used in the current refactor. */
.ts-wrapper {
  width: 100%;
}

.ts-wrapper.single .ts-control,
.ts-wrapper.multi .ts-control {
  min-height: 38px;
  border: 1px solid #d5e4eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  color: #102336;
  padding: 0.45rem 0.75rem;
}

.ts-wrapper.focus .ts-control {
  border-color: #287895;
  box-shadow: 0 0 0 3px rgba(40, 120, 149, 0.12);
}

.ts-wrapper.disabled .ts-control,
.ts-wrapper .ts-control.disabled {
  background: #e6e6e6;
  color: #555;
}

.ts-dropdown {
  border: 1px solid #d5e4eb;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16, 35, 54, 0.14);
  overflow: hidden;
  z-index: 1000000;
}

.ts-dropdown .option,
.ts-dropdown .no-results,
.ts-dropdown .spinner {
  padding: 0.65rem 0.85rem;
}

.ts-dropdown .active {
  background: #eaf4f7;
  color: #1f6f89;
}

.ts-wrapper.multi .ts-control > div {
  background: #287895;
  border-radius: 10px;
  color: #fff;
  padding: 0.15rem 0.55rem;
}

.ts-wrapper.plugin-clear_button .clear-button {
  color: #6b7b86;
  opacity: 1;
  right: 2rem;
}
