[data-scrolled="true"] .participant-frozen-column {
  box-shadow: inset -8px 0 8px -8px rgb(15 23 42 / 18%);
  border-right: 1px solid rgb(15 23 42 / 5%);
}

.participant-column-filters > th {
  padding-top: 6px;
  padding-bottom: 6px;
}

.participant-column-filters > th > div > form input:not([type="hidden"]):not([type="checkbox"]),
.participant-column-filters > th > div > button[data-multi-mapping-target="trigger"] {
  height: 36px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.participant-column-filters input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  transition: none;
}

.participant-column-filters input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus {
  box-shadow: none;
  outline: 1px solid var(--color-primary-500);
  outline-offset: -1px;
}

.participant-column-filters [data-multi-mapping-target="trigger"] > span {
  flex-wrap: nowrap;
  overflow: hidden;
}

nav[aria-label="pagination"] > *:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

nav[aria-label="pagination"] > *:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

[data-controller~="drawer"]:has(.photo-album-form),
[data-controller~="drawer"]:has(.photo-upload-form) {
  height: 100dvh;
  overflow: hidden;
}

.photo-album-form-footer,
.photo-upload-form-footer {
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

body:has([data-controller~="drawer"][aria-modal="true"] :is(.photo-album-form, .photo-upload-form)) [data-feedback-target="trigger"] {
  display: none;
}

[data-slot="toggle-field"] {
  align-items: center !important;
}

.col-span-5 {
  grid-column: span 5 / span 5;
}

.col-span-7 {
  grid-column: span 7 / span 7;
}

.col-span-8 {
  grid-column: span 8 / span 8;
}

.text-2xs {
  font-size: 10px;
  line-height: 14px;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

#body :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]):is(:focus, :focus-visible) {
  outline-width: 1px !important;
  outline-offset: -1px !important;
  outline-style: solid;
  --tw-ring-shadow: 0 0 #0000;
}

body:has(remote-modal-container div[aria-modal="true"]) [drawer-backdrop] {
  z-index: 32;
}

tags.tagify {
  border-radius: 5px;
  outline-style: var(--tw-outline-style);
  outline-width: 1px;
  outline-color: var(--color-gray-300);
  border: none !important;
}

tags.tagify .tagify__input {
  padding: 0;
  margin: 0;
}

.tagify--empty .tagify__input::before {
  position: static;
}

.session-form-modal-body {
  overflow-anchor: none;
}

.session-form-modal-body .tagify__dropdown__wrapper {
  max-height: 18rem !important;
  overscroll-behavior: contain;
}

.badge-container {
}

.badge-preview {
  width: 100%;
  aspect-ratio: attr(data-aspect-ratio);
  max-width: 100%;
  height: auto;
}

.badge-preview.flipped {
  transform: scaleX(-1) scaleY(-1);
}

@media (max-width: 768px) {
  .badge-container {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .badge-container {
    max-width: 250px;
  }
}

[class*="[&>input]:mt-[0.15em]"] > input {
  margin-top: 0 !important;
}

.lexxy-code-language-picker {
  display: inline-flex;
  width: auto;
}

.form-option-editor lexxy-editor.option-label-editor {
  --lexxy-editor-padding: 0.5rem;
  --lexxy-toolbar-button-size: 1.75rem;
  border-color: #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-option-editor lexxy-editor.option-label-editor:focus-within {
  border-color: #3b82f6;
  outline: 1px solid #3b82f6;
  outline-offset: -1px;
}

.form-option-editor .option-label-editor .lexxy-editor__content {
  min-height: 2.5rem;
  min-block-size: 2.5rem;
  padding: 0.5rem 0.75rem;
  overflow-wrap: anywhere;
}

.form-option-editor .option-label-editor .lexxy-editor__content p {
  margin: 0 0 0.25rem;
  line-height: 1.5;
}

.form-option-editor .option-label-editor .lexxy-editor__content p:last-child {
  margin-bottom: 0;
}

.form-option-editor .option-label-editor lexxy-toolbar {
  display: flex;
  flex-wrap: wrap;
  padding: 0.125rem 0.375rem;
  border-color: #e5e7eb;
}

.form-option-editor [data-option-input-shell]:has(.option-label-editor) {
  padding-bottom: 1rem;
}

.form-option-editor [data-option-input-shell]:has(.option-label-editor) > [data-option-status] {
  top: auto;
  right: 0.25rem;
  bottom: 0;
  transform: none;
}

lexxy-editor.comment-editor {
  position: relative;
}

lexxy-editor.comment-editor .lexxy-prompt-menu {
  top: 2.75rem !important;
  left: 0.5rem !important;
  right: 0.5rem !important;
  z-index: 20;
  width: auto !important;
  max-height: calc(100% - 3.25rem);
  margin: 0;
  padding: 0.25rem;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

lexxy-editor.comment-editor .lexxy-prompt-menu__item {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0.5rem 0.625rem;
  list-style: none;
  border-radius: 0.5rem;
}

lexxy-editor.comment-editor .lexxy-prompt-menu__item::marker {
  content: "";
}

lexxy-editor.comment-editor .lexxy-prompt-menu__item [class*="truncate"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

lexxy-editor .lexxy-youtube-embed {
  display: block;
  margin: 0.75rem 0;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
  position: relative;
}

lexxy-editor .lexxy-youtube-embed a {
  color: inherit;
  text-decoration: none;
}

lexxy-editor .lexxy-youtube-embed::before {
  content: "▶";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #dc2626;
}

.lexxy-content .lexxy-youtube-embed {
  margin: 1rem 0;
}

.lexxy-content .lexxy-youtube-embed__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #000;
}

.lexxy-content .lexxy-youtube-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

lexxy-editor p,
.lexxy-content p {
  line-height: 1.55;
  margin: 0 0 0.5rem;
}

lexxy-editor.confirmation-email-editor,
lexxy-editor.notification-email-editor,
lexxy-editor[preset="email"],
lexxy-editor.confirmation-email-editor .lexxy-editor__content,
lexxy-editor.notification-email-editor .lexxy-editor__content,
lexxy-editor[preset="email"] .lexxy-editor__content,
lexxy-editor.confirmation-email-editor .lexxy-editor__content p,
lexxy-editor.notification-email-editor .lexxy-editor__content p,
lexxy-editor[preset="email"] .lexxy-editor__content p,
lexxy-editor.confirmation-email-editor .lexxy-editor__content li,
lexxy-editor.notification-email-editor .lexxy-editor__content li,
lexxy-editor[preset="email"] .lexxy-editor__content li {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #374151;
}

lexxy-editor p:last-child,
.lexxy-content p:last-child {
  margin-bottom: 0;
}

lexxy-editor ul,
.lexxy-content ul,
lexxy-editor ol,
.lexxy-content ol {
  margin-bottom: 0.5rem;
}


body::-webkit-scrollbar {
  width: 5px;
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.overflow-y-auto::-webkit-scrollbar {
  width: 5px;
  background: transparent;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.portal-theme-dark label,
.portal-theme-dark .text-gray-700,
.portal-theme-dark .text-gray-900 {
  color: rgba(226, 232, 240, 1) !important;
}

.portal-theme-dark .text-gray-500,
.portal-theme-dark .text-gray-600 {
  color: rgba(148, 163, 184, 1) !important;
}

.portal-theme-dark h2,
.portal-theme-dark h3 {
  color: white !important;
}

.portal-theme-swiss label,
.portal-theme-swiss .text-gray-700 {
  color: black !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.portal-theme-modern label,
.portal-theme-modern .text-gray-700,
.portal-theme-modern .text-gray-900 {
  color: rgba(45, 212, 191, 1) !important;
}

.portal-theme-modern .text-gray-500,
.portal-theme-modern .text-gray-600 {
  color: rgba(148, 163, 184, 1) !important;
}

.portal-theme-modern h2,
.portal-theme-modern h3 {
  color: white !important;
}

.portal-theme-modern input:not([type="checkbox"]):not([type="radio"]),
.portal-theme-modern select,
.portal-theme-modern textarea {
  background-color: rgba(51, 65, 85, 0.5) !important;
  border-color: rgba(71, 85, 105, 0.5) !important;
  color: white !important;
}

.portal-theme-modern input::placeholder,
.portal-theme-modern textarea::placeholder {
  color: rgba(100, 116, 139, 1) !important;
}

.portal-theme-modern input:focus,
.portal-theme-modern select:focus,
.portal-theme-modern textarea:focus {
  border-color: rgba(20, 184, 166, 0.5) !important;
  --tw-ring-color: rgba(20, 184, 166, 0.3) !important;
}

.rsvp-radio-confirm:checked + .rsvp-option-confirm {
  background-color: rgb(20, 184, 166) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.4) !important;
}

.rsvp-radio-decline:checked + .rsvp-option-decline {
  background-color: rgb(244, 63, 94) !important;
  color: white !important;
  border-color: rgb(244, 63, 94) !important;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.4) !important;
}

.seating-drop-indicator {
  pointer-events: none;
  flex-shrink: 0;
}

.seating-drop-indicator--horizontal {
  height: 52px;
  width: 100%;
  margin: 4px 0;
  background-color: rgb(239, 246, 255) !important;
  border: 2px dashed rgb(59, 130, 246) !important;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seating-drop-indicator--vertical {
  width: 4px;
  height: 100%;
  margin: 0 4px;
  align-self: stretch;
  background-color: rgb(59, 130, 246);
  border-radius: 2px;
}

.seating-dragging {
  opacity: 0.4;
  transform: scale(0.98);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.seating-drop-active {
  background-color: rgb(239, 246, 255) !important;
  border-color: rgb(147, 197, 253) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

[data-seating-dnd-target="seat"],
[data-seating-dnd-target="table"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}

[data-seating-dnd-target="seat"].seating-dragging,
[data-seating-dnd-target="table"].seating-dragging {
  transition: none;
}

[data-seating-dnd-target="seat"].seating-drag-over,
[data-seating-dnd-target="table"].seating-drag-over {
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-seating-dnd-target="guest"].seating-dragging {
  opacity: 0.4;
  background-color: rgb(239, 246, 255);
}

.seating-empty-placeholder {
  transition: all 0.2s ease;
}

.seating-empty-placeholder.seating-drop-active {
  border-color: rgb(59, 130, 246) !important;
  background-color: rgb(239, 246, 255) !important;
  transform: scale(1.02);
}

.seating-drop-spacer {
  transition: height 0.15s ease;
}

[data-seating-dnd-target="seatList"][data-full="true"]:not(.absolute) {
  position: relative;
}

[data-seating-dnd-target="seatList"][data-full="true"].seating-full-drag-over::after {
  content: attr(data-full-message);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(254, 243, 199, 0.95);
  border: 2px dashed rgb(245, 158, 11);
  border-radius: 0.5rem;
  color: rgb(180, 83, 9);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 10;
  pointer-events: none;
}

.form-builder-drop-indicator {
  height: 4px;
  width: 100%;
  margin: 6px 0;
  background-color: rgb(59, 130, 246);
  border-radius: 2px;
  pointer-events: none;
  position: relative;
}

.form-builder-drop-indicator::before,
.form-builder-drop-indicator::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgb(59, 130, 246);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.form-builder-drop-indicator::before {
  left: -4px;
}

.form-builder-drop-indicator::after {
  right: -4px;
}

.form-builder-dragging {
  opacity: 0.4;
  transform: scale(0.98);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

[data-form-builder-dnd-target="question"].form-builder-dragging,
[data-survey-builder-dnd-target="item"].form-builder-dragging {
  transition: none;
}

[data-form-builder-dnd-target="question"],
[data-survey-builder-dnd-target="item"] {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

[data-form-builder-dnd-target="question"].form-builder-drag-over,
[data-survey-builder-dnd-target="item"].form-builder-drag-over {
  transform: scale(1.005);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  border-color: rgb(147, 197, 253) !important;
}

.form-builder-list-active {
  background-color: rgb(239, 246, 255);
  border-radius: 0.75rem;
}

.section-mover-drop-indicator {
  height: 4px;
  width: 100%;
  margin: 4px 0;
  background-color: rgb(59, 130, 246);
  border-radius: 2px;
  pointer-events: none;
  position: relative;
}

.section-mover-drop-indicator::before,
.section-mover-drop-indicator::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgb(59, 130, 246);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.section-mover-drop-indicator::before {
  left: -4px;
}

.section-mover-drop-indicator::after {
  right: -4px;
}

.section-mover-dragging {
  opacity: 0.4;
  transform: scale(0.98);
}

[data-section-mover-target="section"].section-mover-dragging {
  transition: none;
}

[data-controller~="section-mover"]:has(.section-mover-dragging) iframe[data-controller~="email-content-frame"] {
  pointer-events: none;
}

.section-list-drop-indicator {
  height: 2px;
  width: 100%;
  background-color: var(--color-primary-500);
}

.section-list-dragging {
  opacity: 0.4;
}

.sortable-ghost {
  opacity: 0.4;
  background-color: rgb(239, 246, 255) !important;
  border: 2px dashed rgb(59, 130, 246) !important;
  border-radius: 0.5rem;
}

.sortable-chosen {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
  z-index: 50;
}

.sortable-drag {
  opacity: 1 !important;
  background-color: white !important;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.is-dragging {
  cursor: grabbing !important;
}

body.is-sorting {
  user-select: none;
  cursor: grabbing;
}

body.is-sorting * {
  cursor: grabbing !important;
}

body.is-sorting iframe,
body.is-sorting [data-controller~="feedback"],
body.is-sorting [data-controller~="frill-widget"] {
  pointer-events: none !important;
}

[data-controller~="frill-widget"] {
  position: fixed !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.Frill_Trigger_Floating,
.Frill_Trigger_Tab,
.Frill_Survey,
.Frill_View_Modal,
.Frill_View_Sidebar,
.Frill_Notification_Banner,
.Frill_Notification_Modal,
.Frill_Notification_Snippet {
  position: fixed !important;
  z-index: 99999;
}

.Frill_View_Modal:not(.Frill_View_Modal--open),
.Frill_View_Sidebar:not(.Frill_View_Sidebar--open),
.Frill_Notification_Banner:not(.Frill_Notification_Banner--open),
.Frill_Notification_Modal:not(.Frill_Notification_Modal--open),
.Frill_Notification_Snippet:not(.Frill_Notification_Snippet--open),
.Frill_Survey:not(.Frill_Survey--open) {
  display: none !important;
}

.children-drop-zone {
  min-height: 4px;
  padding-left: 1.25rem;
  transition: min-height 0.15s ease, background-color 0.15s ease;
}

.children-drop-zone:empty {
  min-height: 0;
  padding-left: 0;
}

body.is-sorting .children-drop-zone {
  min-height: 2.5rem;
  border: 1px dashed transparent;
  border-radius: 0.375rem;
  margin: 0.125rem 0.5rem 0.125rem 2rem;
}

body.is-sorting .children-drop-zone:empty {
  min-height: 2.5rem;
  padding-left: 1.25rem;
  border-color: rgb(209, 213, 219);
  background-color: rgb(249, 250, 251);
}

[data-sortable-list-target="item"] {
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

body.is-sorting [data-sortable-list-target="item"] {
  will-change: transform;
}

[data-sortable-list-target="handle"] {
  cursor: grab;
  touch-action: none;
}

[data-sortable-list-target="handle"]:active {
  cursor: grabbing;
}

.tagify--sortable .tagify__tag {
  cursor: grab;
  touch-action: none;
}

.tagify--sortable .tagify__tag:active {
  cursor: grabbing;
}

.tagify--sortable .tagify__tag__removeBtn,
.tagify--sortable .tagify__input {
  cursor: auto;
}
