/* LAEYO Floating Contact Bar v1.0.0 — scoped to plugin elements. */
.laeyo-floating-contact {
  position: fixed;
  z-index: 9998;
  top: 50%;
  right: max(10px, env(safe-area-inset-right));
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  width: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e6ee;
  box-shadow: 0 4px 20px rgb(9 25 50 / 13%);
}
.laeyo-fc-button {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 76px;
  min-height: 66px;
  padding: 10px 4px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e7ebf1;
  background: #fff;
  color: #303640;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.laeyo-floating-contact .laeyo-fc-button { width: 100%; }
.laeyo-floating-contact .laeyo-fc-button:last-child { border-bottom: 0; }
.laeyo-fc-button:hover,
.laeyo-fc-button:focus-visible {
  color: #0757c9;
  background: #f1f6ff;
  text-decoration: none;
}
.laeyo-fc-button:focus-visible { outline: 2px solid #0757c9; outline-offset: -3px; }
.laeyo-fc-button .laeyo-fc-icon { display: block; flex: 0 0 auto; }
.laeyo-fc-button .laeyo-fc-label { display: block; white-space: normal; }

.laeyo-fc-dialog {
  box-sizing: border-box;
  width: min(660px, calc(100vw - 26px));
  max-width: none;
  max-height: calc(100dvh - 30px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #14233b;
  box-shadow: 0 16px 54px rgb(0 0 0 / 26%);
}
.laeyo-fc-dialog::backdrop { background: rgb(0 11 29 / 67%); }
.laeyo-fc-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e3e8f0;
}
.laeyo-fc-dialog-header h2 { margin: 0; color: #09234b; font-family: inherit; font-size: 21px; line-height: 1.35; font-weight: 600; }
.laeyo-fc-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #2b3b4e;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.laeyo-fc-dialog-close:hover { background: #eef2f8; }
.laeyo-fc-dialog-body { box-sizing: border-box; overflow: auto; padding: 18px 20px; max-height: calc(100dvh - 120px); }
.laeyo-fc-dialog-body iframe { display: block; width: 100%; height: min(65dvh, 650px); min-height: 360px; border: 0; background: #fff; }
.laeyo-fc-dialog-fallback { margin: 12px 0 0; font-size: 13px; text-align: right; }
.laeyo-fc-dialog-fallback a { color: #0757c9; }
body.laeyo-fc-dialog-active { overflow: hidden; }
@media (max-width: 767px) {
  .laeyo-floating-contact { width: 60px; right: max(4px, env(safe-area-inset-right)); }
  .laeyo-fc-button { min-height: 57px; padding: 8px 3px; gap: 4px; font-size: 10px; }
  .laeyo-fc-icon { width: 21px; height: 21px; }
  .laeyo-fc-dialog-header { padding: 12px 14px; }
  .laeyo-fc-dialog-body { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .laeyo-fc-button { transition: none; }
}
