/* FinoTicket floating launcher + panel (front end only). */
.fino-wp-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--fino-primary, #2563eb);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.fino-wp-launcher--left {
  right: auto;
  left: 20px;
}

.fino-wp-panel {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 99991;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: none;
}
.fino-wp-panel--left {
  right: auto;
  left: 20px;
}
.fino-wp-panel[data-open="true"] {
  display: block;
}
.fino-wp-panel fino-console {
  display: block;
  width: 100%;
  height: 100%;
}

.fino-wp-error {
  padding: 12px;
  color: #b91c1c;
  font-size: 13px;
  text-align: center;
}

/* RTL: mirror the launcher when the locale is Persian. */
html[dir="rtl"] .fino-wp-launcher {
  right: auto;
  left: 20px;
}
html[dir="rtl"] .fino-wp-panel {
  right: auto;
  left: 20px;
}
