/* Aldrin Editor Component Styles */

/* Utility Classes */
.inno-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.inno-pointer-events-none {
  pointer-events: none;
}

.inno-pointer-events-auto {
  pointer-events: auto;
}

.inno-cursor-pointer {
  cursor: pointer;
}

.inno-cursor-grab {
  cursor: grab;
}

.inno-cursor-grabbing {
  cursor: grabbing;
}

.inno-select-none {
  user-select: none;
}

.inno-outline-none {
  outline: none;
}

.inno-outline-hidden {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.inno-focus\:outline-none:focus {
  outline: none;
}

/* Display */
.inno-block {
  display: block;
}

.inno-inline-block {
  display: inline-block;
}

.inno-inline-flex {
  display: inline-flex;
}

.inno-flex {
  display: flex;
}

.inno-grid {
  display: grid;
}

.inno-hidden {
  display: none;
}

/* Position */
.inno-relative {
  position: relative;
}

.inno-absolute {
  position: absolute;
}

.inno-fixed {
  position: fixed;
}

/* Z-index */
.inno-z-10 {
  z-index: 10;
}

.inno-z-50 {
  z-index: 50;
}

/* Inset */
.inno-inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.inno-top-0 {
  top: 0;
}

.inno-left-0 {
  left: 0;
}

.inno-right-0 {
  right: 0;
}

.inno-bottom-0 {
  bottom: 0;
}

.inno-top-4 {
  top: 1rem;
}

.inno-right-4 {
  right: 1rem;
}

.inno-left-2 {
  left: 0.5rem;
}

.inno-top-\[50\%\] {
  top: 50%;
}

.inno-left-\[50\%\] {
  left: 50%;
}

/* Transform */
.inno-translate-x-\[-50\%\] {
  transform: translateX(-50%);
}

.inno-translate-y-\[-50\%\] {
  transform: translateY(-50%);
}

/* Flex Direction */
.inno-flex-col {
  flex-direction: column;
}

.inno-flex-col-reverse {
  flex-direction: column-reverse;
}

.inno-flex-row {
  flex-direction: row;
}

.inno-flex-wrap {
  flex-wrap: wrap;
}

/* Flex Alignment */
.inno-items-center {
  align-items: center;
}

.inno-items-start {
  align-items: flex-start;
}

.inno-justify-center {
  justify-content: center;
}

.inno-justify-end {
  justify-content: flex-end;
}

.inno-justify-between {
  justify-content: space-between;
}

/* Gap */
.inno-gap-1 {
  gap: 0.25rem;
}

.inno-gap-2 {
  gap: 0.5rem;
}

.inno-gap-4 {
  gap: 1rem;
}

/* Width */
.inno-w-4 {
  width: 1rem;
}

.inno-w-5 {
  width: 1.25rem;
}

.inno-w-10 {
  width: 2.5rem;
}

.inno-w-full {
  width: 100%;
}

.inno-w-fit {
  width: fit-content;
}

.inno-w-px {
  width: 1px;
}

.inno-w-\[450px\] {
  width: 450px;
}

.inno-max-w-full {
  max-width: 100%;
}

.inno-max-w-\[200px\] {
  max-width: 200px;
}

.inno-max-w-\[calc\(100\%-2rem\)\] {
  max-width: calc(100% - 2rem);
}

.inno-min-w-\[8rem\] {
  min-width: 8rem;
}

/* Height */
.inno-h-4 {
  height: 1rem;
}

.inno-h-5 {
  height: 1.25rem;
}

.inno-h-8 {
  height: 2rem;
}

.inno-h-9 {
  height: 2.25rem;
}

.inno-h-10 {
  height: 2.5rem;
}

.inno-h-11 {
  height: 2.75rem;
}

.inno-h-12 {
  height: 3rem;
}

.inno-h-full {
  height: 100%;
}

.inno-h-px {
  height: 1px;
}

.inno-h-\[35px\] {
  height: 35px;
}

.inno-min-h-\[200px\] {
  min-height: 200px;
}

.inno-max-h-32 {
  max-height: 8rem;
}

.inno-max-h-\(--radix-dropdown-menu-content-available-height\) {
  max-height: var(--radix-dropdown-menu-content-available-height);
}

.inno-size-3\.5 {
  width: 0.875rem;
  height: 0.875rem;
}

.inno-size-4 {
  width: 1rem;
  height: 1rem;
}

.inno-size-2 {
  width: 0.5rem;
  height: 0.5rem;
}

/* Padding */
.inno-p-1 {
  padding: 0.25rem;
}

.inno-p-2 {
  padding: 0.5rem;
}

.inno-p-4 {
  padding: 1rem;
}

.inno-p-6 {
  padding: 1.5rem;
}

.inno-p-\[2px\] {
  padding: 2px;
}

.inno-px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.inno-px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.inno-px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.inno-px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.inno-px-\[1px\] {
  padding-left: 1px;
  padding-right: 1px;
}

.inno-py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.inno-py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.inno-py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.inno-py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.inno-pl-2 {
  padding-left: 0.5rem;
}

.inno-pl-4 {
  padding-left: 1rem;
}

.inno-pl-8 {
  padding-left: 2rem;
}

.inno-pr-2 {
  padding-right: 0.5rem;
}

/* Margin */
.inno-m-0 {
  margin: 0;
}

.inno-mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.inno-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.inno-mt-2 {
  margin-top: 0.5rem;
}

.inno-mt-10 {
  margin-top: 2.5rem;
}

.inno-my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.inno-my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.inno-my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.inno-my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.inno-mr-2 {
  margin-right: 0.5rem;
}

.inno-ml-auto {
  margin-left: auto;
}

.inno--mx-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}

/* Text */
.inno-text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.inno-text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.inno-text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.inno-text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.inno-text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.inno-text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.inno-text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.inno-text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.inno-font-medium {
  font-weight: 500;
}

.inno-font-semibold {
  font-weight: 600;
}

.inno-font-bold {
  font-weight: 700;
}

.inno-leading-none {
  line-height: 1;
}

.inno-tracking-widest {
  letter-spacing: 0.1em;
}

.inno-text-center {
  text-align: center;
}

.inno-text-left {
  text-align: left;
}

.inno-underline {
  text-decoration-line: underline;
}

.inno-underline-offset-4 {
  text-decoration-line: underline;
  text-underline-offset: 4px;
}

.inno-whitespace-nowrap {
  white-space: nowrap;
}

.inno-italic {
  font-style: italic;
}

/* Colors */
.inno-text-blue-600 {
  color: rgb(37 99 235);
}

.inno-text-muted-foreground {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

.inno-text-primary {
  color: hsl(var(--primary, 222.2 84% 4.9%));
}

.inno-text-primary-foreground {
  color: hsl(var(--primary-foreground, 210 40% 98%));
}

.inno-text-destructive {
  color: hsl(var(--destructive, 0 84.2% 60.2%));
}

.inno-text-destructive-foreground {
  color: hsl(var(--destructive-foreground, 210 40% 98%));
}

.inno-text-secondary-foreground {
  color: hsl(var(--secondary-foreground, 222.2 84% 4.9%));
}

.inno-text-accent-foreground {
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-text-popover-foreground {
  color: hsl(var(--popover-foreground, 222.2 84% 4.9%));
}

/* Background Colors */
.inno-bg-primary {
  background-color: hsl(var(--primary, 222.2 84% 4.9%));
}

.inno-bg-secondary {
  background-color: hsl(var(--secondary, 210 40% 96%));
}

.inno-bg-destructive {
  background-color: hsl(var(--destructive, 0 84.2% 60.2%));
}

.inno-bg-accent {
  background-color: hsl(var(--accent, 210 40% 96%));
}

.inno-bg-background {
  background-color: hsl(var(--background, 0 0% 100%));
}

.inno-bg-popover {
  background-color: hsl(var(--popover, 0 0% 100%));
}

.inno-bg-border {
  background-color: hsl(var(--border, 214.3 31.8% 91.4%));
}

.inno-bg-gray-200 {
  background-color: rgb(229 231 235);
}

.inno-bg-gray-300 {
  background-color: rgb(209 213 219);
}

.inno-bg-white {
  background-color: rgb(255 255 255);
}

.inno-bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}

.inno-bg-\[deepskyblue\] {
  background-color: deepskyblue;
}

/* Focus States */
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-ring:focus {
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-ring:focus-visible {
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%));
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.focus\:bg-accent:focus {
  background-color: hsl(var(--accent, 210 40% 96%));
}

.focus\:text-accent-foreground:focus {
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

/* Border */
.inno-border {
  border-width: 1px;
}

.inno-border-b {
  border-bottom-width: 1px;
}

.inno-border-gray-300 {
  border-color: rgb(209 213 219);
}

.inno-border-input {
  border-color: hsl(var(--input, 214.3 31.8% 91.4%));
}

.inno-border-border {
  border-color: hsl(var(--border, 214.3 31.8% 91.4%));
}

/* Border Radius */
.inno-rounded {
  border-radius: 0.25rem;
}

.inno-rounded-sm {
  border-radius: 0.125rem;
}

.inno-rounded-md {
  border-radius: 0.375rem;
}

.inno-rounded-lg {
  border-radius: 0.5rem;
}

.inno-rounded-full {
  border-radius: 9999px;
}

.inno-rounded-xs {
  border-radius: 0.0625rem;
}

/* Shadow */
.inno-shadow {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.inno-shadow-md {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.inno-shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Opacity */
.inno-opacity-0 {
  opacity: 0;
}

.inno-opacity-30 {
  opacity: 0.3;
}

.inno-opacity-50 {
  opacity: 0.5;
}

.inno-opacity-70 {
  opacity: 0.7;
}

.inno-opacity-95 {
  opacity: 0.95;
}

/* Transition */
.inno-transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.inno-transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.inno-duration-150 {
  transition-duration: 150ms;
}

.inno-duration-200 {
  transition-duration: 200ms;
}

.inno-duration-500 {
  transition-duration: 500ms;
}

/* Transform */
.inno-will-change-transform {
  will-change: transform;
}

/* Overflow */
.inno-overflow-hidden {
  overflow: hidden;
}

.inno-overflow-x-hidden {
  overflow-x: hidden;
}

.inno-overflow-y-auto {
  overflow-y: auto;
}

.inno-overflow-y-scroll {
  overflow-y: scroll;
}

/* Object Fit */
.inno-object-contain {
  object-fit: contain;
}

/* Disabled States */
.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.disabled\:opacity-95:disabled {
  opacity: 0.95;
}

/* Data States */
.data-\[disabled\]\:pointer-events-none[data-disabled] {
  pointer-events: none;
}

.data-\[disabled\]\:opacity-50[data-disabled] {
  opacity: 0.5;
}

.data-\[inset\]\:pl-8[data-inset] {
  padding-left: 2rem;
}

.data-\[variant\=destructive\]\:text-destructive[data-variant="destructive"] {
  color: hsl(var(--destructive, 0 84.2% 60.2%));
}

.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant="destructive"]:focus {
  background-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.1);
}

.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant="destructive"]:focus {
  color: hsl(var(--destructive, 0 84.2% 60.2%));
}

.data-\[state\=open\]\:bg-accent[data-state="open"] {
  background-color: hsl(var(--accent, 210 40% 96%));
}

.data-\[state\=open\]\:text-accent-foreground[data-state="open"] {
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

/* Ring Offset */
.inno-ring-offset-background {
  --tw-ring-offset-color: hsl(var(--background, 0 0% 100%));
}

/* Animations */
.inno-animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Data animations */
.data-\[state\=open\]\:animate-in[data-state="open"] {
  animation-name: enter;
  animation-duration: 150ms;
  animation-timing-function: ease-out;
}

.data-\[state\=closed\]\:animate-out[data-state="closed"] {
  animation-name: exit;
  animation-duration: 150ms;
  animation-timing-function: ease-in;
}

.data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
  animation-name: fadeOut;
}

.data-\[state\=open\]\:fade-in-0[data-state="open"] {
  animation-name: fadeIn;
}

.data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
  animation-name: zoomOut;
}

.data-\[state\=open\]\:zoom-in-95[data-state="open"] {
  animation-name: zoomIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes exit {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

/* Lists */
.inno-list-disc {
  list-style-type: disc;
}

.inno-list-decimal {
  list-style-type: decimal;
}

.inno-pl-5 {
  padding-left: 1.25rem;
}

/* Prose */
.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}

.prose h1 {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.prose h2 {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.prose h3 {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.prose h4 {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose ul {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose blockquote {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-left-width: 0.25rem;
  border-left-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-left: 1em;
}

.inno-dark\:prose-invert {
  --tw-prose-body: #d1d5db;
  --tw-prose-headings: #f9fafb;
  --tw-prose-lead: #9ca3af;
  --tw-prose-links: #60a5fa;
  --tw-prose-bold: #f9fafb;
  --tw-prose-counters: #9ca3af;
  --tw-prose-bullets: #4b5563;
  --tw-prose-hr: #374151;
  --tw-prose-quotes: #f3f4f6;
  --tw-prose-quote-borders: #374151;
  --tw-prose-captions: #9ca3af;
  --tw-prose-code: #f9fafb;
  --tw-prose-pre-code: #d1d5db;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #4b5563;
  --tw-prose-td-borders: #374151;
  --tw-prose-invert-body: #0f172a;
  --tw-prose-invert-headings: #f8fafc;
  --tw-prose-invert-lead: #64748b;
  --tw-prose-invert-links: #3b82f6;
  --tw-prose-invert-bold: #f8fafc;
  --tw-prose-invert-counters: #64748b;
  --tw-prose-invert-bullets: #475569;
  --tw-prose-invert-hr: #334155;
  --tw-prose-invert-quotes: #e2e8f0;
  --tw-prose-invert-quote-borders: #334155;
  --tw-prose-invert-captions: #64748b;
  --tw-prose-invert-code: #f8fafc;
  --tw-prose-invert-pre-code: #cbd5e1;
  --tw-prose-invert-pre-bg: #0f172a;
  --tw-prose-invert-th-borders: #475569;
  --tw-prose-invert-td-borders: #334155;
}

/* Media Queries */
@media (min-width: 640px) {
.inno-sm\:text-left {
    text-align: left;
  }

.inno-sm\:flex-row {
    flex-direction: row;
  }

.inno-sm\:justify-end {
    justify-content: flex-end;
  }

.inno-sm\:max-w-lg {
    max-width: 32rem;
  }
}

/* Custom Component Styles */
.inno-origin-\(--radix-dropdown-menu-content-transform-origin\) {
  transform-origin: var(--radix-dropdown-menu-content-transform-origin);
}

/* Side-specific slide animations */
.data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] {
  animation-name: slideInFromTop;
}

.data-\[side\=left\]\:slide-in-from-right-2[data-side="left"] {
  animation-name: slideInFromRight;
}

.data-\[side\=right\]\:slide-in-from-left-2[data-side="right"] {
  animation-name: slideInFromLeft;
}

.data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"] {
  animation-name: slideInFromBottom;
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-0.5rem);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(0.5rem);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-0.5rem);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(0.5rem);
  }
  to {
    transform: translateY(0);
  }
}

/* SVG and icon specific styles */
.inno-\[\&_svg\]\:pointer-events-none svg {
  pointer-events: none;
}

.inno-\[\&_svg\]\:shrink-0 svg {
  flex-shrink: 0;
}

.inno-\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*='size-']) {
  width: 1rem;
  height: 1rem;
}

.inno-\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*='text-']) {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

.data-\[variant\=destructive\]\:\*\:\[svg\]\:\!text-destructive[data-variant="destructive"] * svg {
  color: hsl(var(--destructive, 0 84.2% 60.2%)) !important;
}

/* Dark mode variants */
.inno-dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20[data-variant="destructive"]:focus {
  background-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.2);
}

@media (prefers-color-scheme: dark) {
.inno-dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20[data-variant="destructive"]:focus {
    background-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.2);
  }
}

/* Additional utility classes for inno-editor */
.inno-editor {
  font-family: inherit;
  line-height: 1.5;
}

/* Fill current for icons */
.inno-fill-current {
  fill: currentColor;
}

/* Button Component Styles */
.inno-button-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-ring-offset-color: hsl(var(--background, 0 0% 100%));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border: 1px solid black;
  border-radius: 3px;
}

.inno-button-base:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%));
  --tw-ring-offset-width: 2px;
}

.inno-button-base:disabled {
  pointer-events: none;
  opacity: 0.95;
}

.inno-button-base:hover {
  cursor: pointer;
}

.inno-button-default {
  background-color: hsl(var(--primary, 222.2 84% 4.9%));
  color: hsl(var(--primary-foreground, 210 40% 98%));
}

.inno-button-default:hover {
  background-color: hsl(var(--primary, 222.2 84% 4.9%) / 0.8);
}

.inno-button-destructive {
  background-color: hsl(var(--destructive, 0 84.2% 60.2%));
  color: hsl(var(--destructive-foreground, 210 40% 98%));
}

.inno-button-destructive:hover {
  background-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.9);
}

.inno-button-outline {
  border: 1px solid hsl(var(--input, 214.3 31.8% 91.4%));
  background-color: hsl(var(--background, 0 0% 100%));
}

.inno-button-outline:hover {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-button-secondary {
  background-color: hsl(var(--secondary, 210 40% 96%));
  color: hsl(var(--secondary-foreground, 222.2 84% 4.9%));
}

.inno-button-secondary:hover {
  background-color: hsl(var(--secondary, 210 40% 96%) / 0.8);
}

.inno-button-ghost:hover {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-button-link {
  color: hsl(var(--primary, 222.2 84% 4.9%));
  text-decoration-line: underline;
  text-underline-offset: 4px;
}

.inno-button-link:hover {
  text-decoration-line: underline;
}

.inno-button-size-default {
  height: 2.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.inno-button-size-sm {
  height: 2.25rem;
  border-radius: 0.375rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.inno-button-size-lg {
  height: 3rem;
  border-radius: 0.375rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.inno-button-size-icon {
  height: 2.5rem;
  width: 2.5rem;
}

.inno-spinner {
  width: 1rem;
  height: 1rem;
  animation: spin 1s linear infinite;
}

/* Select Component Styles */
.inno-select-trigger {
  display: flex;
  height: 2.5rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--input, 214.3 31.8% 91.4%));
  background-color: hsl(var(--background, 0 0% 100%));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-ring-offset-color: hsl(var(--background, 0 0% 100%));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.inno-select-trigger:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%));
  --tw-ring-offset-width: 2px;
}

.inno-select-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.inno-select-trigger[data-placeholder] {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

.inno-select-trigger[data-size="sm"] {
  height: 2.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.inno-select-icon {
  height: 1rem;
  width: 1rem;
  opacity: 0.5;
}

.inno-select-content {
  position: relative;
  z-index: 50;
  max-height: var(--radix-select-content-available-height);
  min-width: 8rem;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
  background-color: white;
  color: black;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  transform-origin: var(--radix-select-content-transform-origin);
  animation-duration: 150ms;
  animation-timing-function: ease-out;
}

.inno-select-content[data-state="open"] {
  animation-name: fadeIn, zoomIn;
}

.inno-select-content[data-state="closed"] {
  animation-name: fadeOut, zoomOut;
  animation-timing-function: ease-in;
}

.inno-select-content[data-side="bottom"] {
  animation-name: fadeIn, zoomIn, slideInFromTop;
}

.inno-select-content[data-side="left"] {
  animation-name: fadeIn, zoomIn, slideInFromRight;
}

.inno-select-content[data-side="right"] {
  animation-name: fadeIn, zoomIn, slideInFromLeft;
}

.inno-select-content[data-side="top"] {
  animation-name: fadeIn, zoomIn, slideInFromBottom;
}

.inno-select-content-popper[data-side="bottom"] {
  transform: translateY(0.25rem);
}

.inno-select-content-popper[data-side="left"] {
  transform: translateX(-0.25rem);
}

.inno-select-content-popper[data-side="right"] {
  transform: translateX(0.25rem);
}

.inno-select-content-popper[data-side="top"] {
  transform: translateY(-0.25rem);
}

.inno-select-viewport {
  padding: 0.25rem;
}

.inno-select-viewport-popper {
  height: var(--radix-select-trigger-height);
  width: 100%;
  min-width: var(--radix-select-trigger-width);
  scroll-margin-top: 0.25rem;
  scroll-margin-bottom: 0.25rem;
}

.inno-select-label {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.inno-select-item {
  position: relative;
  display: flex;
  width: 100%;
  cursor: pointer;
  user-select: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.125rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  padding-right: 2rem;
  padding-left: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.inno-select-item:focus {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-select-item[data-disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.inno-select-item svg {
  pointer-events: none;
  flex-shrink: 0;
}

.inno-select-item svg:not([class*='text-']) {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

.inno-select-item svg:not([class*='size-']) {
  width: 1rem;
  height: 1rem;
}

.inno-select-item-indicator {
  position: absolute;
  right: 0.5rem;
  display: flex;
  width: 0.875rem;
  height: 0.875rem;
  align-items: center;
  justify-content: center;
}

.inno-select-check-icon {
  width: 1rem;
  height: 1rem;
}

.inno-select-separator {
  background-color: hsl(var(--border, 214.3 31.8% 91.4%));
  pointer-events: none;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  height: 1px;
}

.inno-select-scroll-button {
  display: flex;
  cursor: default;
  align-items: center;
  justify-content: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.inno-select-chevron-icon {
  width: 1rem;
  height: 1rem;
}

/* Dialog Component Styles */
.inno-dialog-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background-color: rgb(0 0 0 / 0.5);
  animation-duration: 150ms;
  animation-timing-function: ease-out;
}

.inno-dialog-overlay[data-state="open"] {
  animation-name: fadeIn;
}

.inno-dialog-overlay[data-state="closed"] {
  animation-name: fadeOut;
  animation-timing-function: ease-in;
}

.inno-dialog-content {
  background-color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 50;
  display: grid;
  width: fit-content;
  max-width: calc(100% - 2rem);
  transform: translateX(-50%) translateY(-50%);
  gap: 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  animation-duration: 200ms;
}

.inno-dialog-content[data-state="open"] {
  animation-name: fadeIn, zoomIn;
  animation-timing-function: ease-out;
}

.inno-dialog-content[data-state="closed"] {
  animation-name: fadeOut, zoomOut;
  animation-timing-function: ease-in;
}

@media (min-width: 640px) {
  .inno-dialog-content {
    max-width: 32rem;
  }
}

.inno-dialog-close {
  --tw-ring-offset-color: hsl(var(--background, 0 0% 100%));
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 0.0625rem;
  opacity: 0.7;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.inno-dialog-close:hover {
  opacity: 1;
}

.inno-dialog-close:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%));
  --tw-ring-offset-width: 2px;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.inno-dialog-close:disabled {
  pointer-events: none;
}

.inno-dialog-close[data-state="open"] {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

.inno-dialog-close svg {
  pointer-events: none;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.inno-dialog-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .inno-dialog-header {
    text-align: left;
  }
}

.inno-dialog-footer {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .inno-dialog-footer {
    flex-direction: row;
    justify-content: flex-end;
  }
}

.inno-dialog-title {
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 600;
}

.inno-dialog-description {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Dropdown Menu Component Styles */
.inno-dropdown-menu-content {
  z-index: 50;
  max-height: var(--radix-dropdown-menu-content-available-height);
  width: fit-content;
  transform-origin: var(--radix-dropdown-menu-content-transform-origin);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
  background-color: white;
  color: black;
  padding: 0.25rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  animation-duration: 150ms;
  animation-timing-function: ease-out;
}

.inno-dropdown-menu-content[data-state="open"] {
  animation-name: fadeIn, zoomIn;
}

.inno-dropdown-menu-content[data-state="closed"] {
  animation-name: fadeOut, zoomOut;
  animation-timing-function: ease-in;
}

.inno-dropdown-menu-content[data-side="bottom"] {
  animation-name: fadeIn, zoomIn, slideInFromTop;
}

.inno-dropdown-menu-content[data-side="left"] {
  animation-name: fadeIn, zoomIn, slideInFromRight;
}

.inno-dropdown-menu-content[data-side="right"] {
  animation-name: fadeIn, zoomIn, slideInFromLeft;
}

.inno-dropdown-menu-content[data-side="top"] {
  animation-name: fadeIn, zoomIn, slideInFromBottom;
}

/* Scroll Area Component Styles */
.inno-scroll-area {
  position: relative;
  background-color: white;
}

.inno-scroll-area-viewport {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition-property: color, box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  outline: none;
}

.inno-scroll-area-viewport:focus-visible {
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%) / 0.5);
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  outline: 1px solid;
}

.inno-scroll-bar {
  display: flex;
  touch-action: none;
  padding: 1px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  user-select: none;
}

.inno-scroll-bar-vertical {
  height: 100%;
  width: 0.625rem;
  border-left: 1px solid transparent;
}

.inno-scroll-bar-horizontal {
  height: 0.625rem;
  flex-direction: column;
  border-top: 1px solid transparent;
}

.inno-scroll-bar-thumb {
  background-color: hsl(var(--border, 214.3 31.8% 91.4%));
  position: relative;
  flex: 1;
  border-radius: 9999px;
}

/* Drawer Component Styles */
.inno-drawer-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background-color: rgb(0 0 0 / 0.5);
  animation-duration: 150ms;
  animation-timing-function: ease-out;
}

.inno-drawer-overlay[data-state="open"] {
  animation-name: fadeIn;
}

.inno-drawer-overlay[data-state="closed"] {
  animation-name: fadeOut;
  animation-timing-function: ease-in;
}

.inno-drawer-content {
  background-color: hsl(var(--background, 0 0% 100%));
  position: fixed;
  z-index: 50;
  display: flex;
  height: auto;
  flex-direction: column;
}

.inno-drawer-content[data-vaul-drawer-direction="top"] {
  top: 0;
  left: 0;
  right: 0;
  margin-bottom: 6rem;
  max-height: 80vh;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border-bottom: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
}

.inno-drawer-content[data-vaul-drawer-direction="bottom"] {
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: 6rem;
  max-height: 80vh;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  border-top: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
}

.inno-drawer-content[data-vaul-drawer-direction="right"] {
  top: 0;
  bottom: 0;
  right: 0;
  width: 75%;
  border-left: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
}

.inno-drawer-content[data-vaul-drawer-direction="left"] {
  top: 0;
  bottom: 0;
  left: 0;
  width: 75%;
  border-right: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
}

@media (min-width: 640px) {
  .inno-drawer-content[data-vaul-drawer-direction="right"],
  .inno-drawer-content[data-vaul-drawer-direction="left"] {
    max-width: 24rem;
  }
}

.inno-drawer-handle {
  background-color: hsl(var(--muted, 210 40% 96%));
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  display: none;
  height: 0.5rem;
  width: 100px;
  flex-shrink: 0;
  border-radius: 9999px;
}

.inno-drawer-content[data-vaul-drawer-direction="bottom"] .inno-drawer-handle {
  display: block;
}

.inno-drawer-header {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 1rem;
  text-align: center;
}

.inno-drawer-content[data-vaul-drawer-direction="bottom"] .inno-drawer-header,
.inno-drawer-content[data-vaul-drawer-direction="top"] .inno-drawer-header {
  text-align: center;
}

@media (min-width: 768px) {
  .inno-drawer-header {
    gap: 0.375rem;
    text-align: left;
  }
}

.inno-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.inno-drawer-title {
  color: hsl(var(--foreground, 222.2 84% 4.9%));
  font-weight: 600;
}

.inno-drawer-description {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Toggle Component Styles */
.inno-toggle-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  background-color: #fff;
  color: #000;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.inno-toggle-base:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.inno-toggle-base:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.inno-toggle-base:hover,
.inno-toggle-base[data-state="on"] {
  background-color: #f3f4f6; /* Tailwind gray-100 */
  color: #000;
}

.inno-toggle-default {
  background-color: #fff;
}

.inno-toggle-outline {
  border: 1px solid #d1d5db; /* Tailwind gray-300 */
  background-color: #fff;
}

.inno-toggle-outline:hover,
.inno-toggle-outline[data-state="on"] {
  background-color: #f3f4f6;
  color: #000;
}

.inno-toggle-size-default {
  height: 2.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.inno-toggle-size-sm {
  height: 2.25rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.inno-toggle-size-lg {
  height: 2.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Toolbar Plugin Styles */
.inno-toolbar-container {
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgb(209 213 219);
}

.inno-toolbar-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.inno-toolbar-btn {
  margin-right: 0.25rem;
  display: flex;
  transform: scale(1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: transparent;
  padding: 0.375rem;
  color: rgb(75 85 99);
  transition-property: color, background-color, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  border: none;
}

.inno-toolbar-btn:hover {
  transform: scale(1.05);
  color: rgb(0 0 0);
}

.inno-floating-format-btn-active {
  background-color: rgba(223, 232, 250, 0.3);
}

.inno-toolbar-icon {
  height: 1rem;
  width: 1rem;
}

.inno-toolbar-divider {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  height: 100%;
  width: 1px;
  background-color: rgb(209 213 219);
}

.inno-toolbar-button {
  display: flex;
  width: fit-content;
  align-items: center;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.inno-alignment-button {
  display: flex;
  width: fit-content;
  align-items: center;
  cursor: pointer;
}

.inno-dropdown-fit {
  width: fit-content !important;
}

.inno-dropdown-icon {
  margin-right: 0.5rem;
  height: 1rem;
  width: 1rem;
}

/* Floating Format Toolbar Styles */
.inno-floating-format-toolbar {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  display: flex;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: rgb(255 255 255);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  will-change: transform;
}

.inno-floating-format-btn {
  margin-right: 0.25rem;
  display: flex;
  transform: scale(1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: transparent;
  padding: 0.375rem;
  color: rgb(75 85 99);
  transition-property: color, background-color, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  border: none;
}

.inno-floating-format-btn:hover {
  transform: scale(1.05);
  color: rgb(0 0 0);
}

.inno-floating-format-btn-active {
  background-color: rgba(223, 232, 250, 0.3);
}

.inno-floating-format-icon {
  height: 1rem;
  width: 1rem;
}

/* Floating Link Styles */
.inno-floating-link-editor {
  display: flex;
  width: 100%;
  gap: 0.25rem;
}

.inno-floating-link-input {
  width: 100%;
  max-width: 200px;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
  padding: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.inno-floating-link-buttons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.inno-floating-link-btn-small {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0.25rem;
  background-color: rgb(229 231 235);
  border-radius: 9999px;
  cursor: pointer;
}

.inno-floating-link-btn-small:hover {
  background-color: rgb(209 213 219);
}

.inno-floating-link-icon {
  width: 1rem;
  height: 1rem;
}

.inno-floating-link-display {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.inno-floating-link-url {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(37 99 235);
  text-decoration-line: underline;
}

/* Draggable Plugin Styles */
.inno-draggable-handle {
  position: absolute;
  left: 0;
  top: 0;
  cursor: grab;
  border-radius: 0.125rem;
  padding: 2px 1px;
  opacity: 0;
  will-change: transform;
}

.inno-draggable-handle:hover {
  background-color: rgb(229 231 235);
}

.inno-draggable-handle:active {
  cursor: grabbing;
}

.inno-draggable-icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.3;
}

.inno-draggable-target-line {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  height: 0.25rem;
  background-color: deepskyblue;
  opacity: 0;
  will-change: transform;
}

/* Image Plugin Styles */
.inno-image-preview-container {
  margin-top: 0.5rem;
}

.inno-image-preview {
  max-width: 100%;
  max-height: 8rem;
  object-fit: contain;
  border-radius: 0.25rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
}

/* Dialog Component Styles */
.inno-dialog-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background-color: rgb(0 0 0 / 0.5);
}

.inno-dialog-overlay[data-state="open"] {
  animation: fadeIn 150ms ease-out;
}

.inno-dialog-overlay[data-state="closed"] {
  animation: fadeOut 150ms ease-in;
}

.inno-dialog-content {
  background-color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 50;
  display: grid;
  width: 100%;
  max-width: calc(100% - 2rem);
  transform: translateX(-50%) translateY(-50%);
  gap: 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transition-duration: 200ms;
}

@media (min-width: 640px) {
  .inno-dialog-content {
    max-width: 32rem;
  }
}

.inno-dialog-content[data-state="open"] {
  animation: dialogIn 150ms ease-out;
}

.inno-dialog-content[data-state="closed"] {
  animation: dialogOut 150ms ease-in;
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

@keyframes dialogOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(0.95);
  }
}

.inno-dialog-close {
  --tw-ring-offset-color: hsl(var(--background, 0 0% 100%));
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%));
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 0.0625rem;
  opacity: 0.7;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.inno-dialog-close:hover {
  opacity: 1;
}

.inno-dialog-close:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-offset-width: 2px;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.inno-dialog-close:disabled {
  pointer-events: none;
}

.inno-dialog-close[data-state="open"] {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

.inno-dialog-close svg {
  pointer-events: none;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.inno-dialog-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .inno-dialog-header {
    text-align: left;
  }
}

.inno-dialog-footer {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .inno-dialog-footer {
    flex-direction: row;
    justify-content: flex-end;
  }
}

.inno-dialog-title {
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 600;
}

.inno-dialog-description {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Dropdown Menu Component Styles */
.inno-dropdown-menu-content {
  background-color: white;
  color: black;
  z-index: 50;
  max-height: var(--radix-dropdown-menu-content-available-height);
  width: fit-content;
  transform-origin: var(--radix-dropdown-menu-content-transform-origin);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
  padding: 0.25rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.inno-dropdown-menu-content[data-state="open"] {
  animation: dropdownIn 150ms ease-out;
}

.inno-dropdown-menu-content[data-state="closed"] {
  animation: dropdownOut 150ms ease-in;
}

.inno-dropdown-menu-content[data-side="bottom"] {
  animation: dropdownInFromTop 150ms ease-out;
}

.inno-dropdown-menu-content[data-side="left"] {
  animation: dropdownInFromRight 150ms ease-out;
}

.inno-dropdown-menu-content[data-side="right"] {
  animation: dropdownInFromLeft 150ms ease-out;
}

.inno-dropdown-menu-content[data-side="top"] {
  animation: dropdownInFromBottom 150ms ease-out;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dropdownOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes dropdownInFromTop {
  from {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dropdownInFromRight {
  from {
    opacity: 0;
    transform: translateX(0.5rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes dropdownInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-0.5rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes dropdownInFromBottom {
  from {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.inno-dropdown-menu-item {
  position: relative;
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.125rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  user-select: none;
  color: black;
}

.inno-dropdown-menu-item:focus {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-dropdown-menu-item[data-disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.inno-dropdown-menu-item[data-inset] {
  padding-left: 2rem;
}

.inno-dropdown-menu-item[data-variant="destructive"] {
  color: hsl(var(--destructive, 0 84.2% 60.2%));
}

.inno-dropdown-menu-item[data-variant="destructive"]:focus {
  background-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.1);
  color: hsl(var(--destructive, 0 84.2% 60.2%));
}

@media (prefers-color-scheme: dark) {
  .inno-dropdown-menu-item[data-variant="destructive"]:focus {
    background-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.2);
  }
}

.inno-dropdown-menu-item svg {
  pointer-events: none;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: black;
}

.inno-dropdown-menu-item[data-variant="destructive"] svg {
  color: black !important;
}

.inno-dropdown-menu-checkbox-item,
.inno-dropdown-menu-radio-item {
  position: relative;
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.125rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  padding-right: 0.5rem;
  padding-left: 2rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  user-select: none;
}

.inno-dropdown-menu-checkbox-item:focus,
.inno-dropdown-menu-radio-item:focus {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-dropdown-menu-checkbox-item[data-disabled],
.inno-dropdown-menu-radio-item[data-disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.inno-dropdown-menu-checkbox-item svg,
.inno-dropdown-menu-radio-item svg {
  pointer-events: none;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.inno-dropdown-menu-indicator {
  pointer-events: none;
  position: absolute;
  left: 0.5rem;
  display: flex;
  width: 0.875rem;
  height: 0.875rem;
  align-items: center;
  justify-content: center;
}

.inno-dropdown-menu-label {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.inno-dropdown-menu-label[data-inset] {
  padding-left: 2rem;
}

.inno-dropdown-menu-separator {
  background-color: hsl(var(--border, 214.3 31.8% 91.4%));
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  height: 1px;
}

.inno-dropdown-menu-shortcut {
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
  margin-left: auto;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.1em;
}

.inno-dropdown-menu-sub-trigger {
  display: flex;
  cursor: default;
  align-items: center;
  border-radius: 0.125rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  user-select: none;
}

.inno-dropdown-menu-sub-trigger:focus {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-dropdown-menu-sub-trigger[data-state="open"] {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-dropdown-menu-sub-trigger[data-inset] {
  padding-left: 2rem;
}

.inno-dropdown-menu-sub-content {
  background-color: hsl(var(--popover, 0 0% 100%));
  color: hsl(var(--popover-foreground, 222.2 84% 4.9%));
  z-index: 50;
  min-width: 8rem;
  transform-origin: var(--radix-dropdown-menu-content-transform-origin);
  overflow: hidden;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border, 214.3 31.8% 91.4%));
  padding: 0.25rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.inno-dropdown-menu-sub-content[data-state="open"] {
  animation: dropdownIn 150ms ease-out;
}

.inno-dropdown-menu-sub-content[data-state="closed"] {
  animation: dropdownOut 150ms ease-in;
}

/* Toggle Component Styles */
.inno-toggle-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
  outline: none;
  transition-property: color, box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.inno-toggle-base:hover {
  background-color: hsl(var(--muted, 210 40% 96%));
  color: hsl(var(--muted-foreground, 215.4 16.3% 46.9%));
}

.inno-toggle-base:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.inno-toggle-base[data-state="on"] {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-toggle-base:focus-visible {
  border-color: hsl(var(--ring, 222.2 84% 4.9%));
  --tw-ring-color: hsl(var(--ring, 222.2 84% 4.9%) / 0.5);
  --tw-ring-shadow: 0 0 0 3px var(--tw-ring-color);
  box-shadow: var(--tw-ring-shadow);
}

.inno-toggle-base[aria-invalid="true"] {
  --tw-ring-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.2);
  border-color: hsl(var(--destructive, 0 84.2% 60.2%));
}

@media (prefers-color-scheme: dark) {
  .inno-toggle-base[aria-invalid="true"] {
    --tw-ring-color: hsl(var(--destructive, 0 84.2% 60.2%) / 0.4);
  }
}

.inno-toggle-base svg {
  pointer-events: none;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.inno-toggle-default {
  background-color: transparent;
}

.inno-toggle-outline {
  border: 1px solid hsl(var(--input, 214.3 31.8% 91.4%));
  background-color: transparent;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.inno-toggle-outline:hover {
  background-color: hsl(var(--accent, 210 40% 96%));
  color: hsl(var(--accent-foreground, 222.2 84% 4.9%));
}

.inno-toggle-size-default {
  height: 2.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  min-width: 2.25rem;
}

.inno-toggle-size-sm {
  height: 2rem;
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  min-width: 2rem;
}

.inno-toggle-size-lg {
  height: 2.5rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  min-width: 2.5rem;
}

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */
.inno-anchor a {
	color: blue;
	text-decoration: underline;
}

.inno-image-control-wrapper--resizing {
	touch-action: none;
	user-select: none;
}

.inno-link-editor {
	display: flex;
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	transition: opacity 0.5s;
	will-change: transform;
	background-color: #fff;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
	opacity: 0;
	padding: 2px;
	width: fit-content;
}

.inno-image-container {
	position: relative;
	display: inline-block;
}

.inno-image-container img {
	cursor: pointer;
	pointer-events: auto;
}

.inno-image-container img.focused {
	outline: 2px solid rgb(60, 132, 244);
}

.inno-image-resizer {
	display: block;
	width: 7px;
	height: 7px;
	position: absolute;
	background-color: rgb(60, 132, 244);
	border: 1px solid #fff;
	pointer-events: auto;
	z-index: 10;
}

.inno-image-resizer.inno-image-resizer-n {
	top: -6px;
	left: 50%;
	cursor: n-resize !important;
	transform: translateX(-50%);
}

.inno-image-resizer.inno-image-resizer-ne {
	top: -6px;
	right: -6px;
	cursor: ne-resize !important;
}

.inno-image-resizer.inno-image-resizer-e {
	right: -6px;
	top: 50%;
	cursor: e-resize !important;
	transform: translateY(-50%);
}

.inno-image-resizer.inno-image-resizer-se {
	right: -6px;
	bottom: -6px;
	cursor: nwse-resize !important;
}

.inno-image-resizer.inno-image-resizer-s {
	bottom: -6px;
	left: 50%;
	cursor: s-resize !important;
	transform: translateX(-50%);
}

.inno-image-resizer.inno-image-resizer-sw {
	bottom: -6px;
	left: -6px;
	cursor: sw-resize !important;
}

.inno-image-resizer.inno-image-resizer-w {
	left: -6px;
	top: 50%;
	cursor: w-resize !important;
	transform: translateY(-50%);
}

.inno-image-resizer.inno-image-resizer-nw {
	top: -6px;
	left: -6px;
	cursor: nw-resize !important;
}

.inno-image-control-wrapper--resizing {
	touch-action: none;
	user-select: none;
}

/* Additional utility classes */
.inno-toolbar-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.125rem;
	border: none;
	background: transparent;
	cursor: pointer;
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.inno-toolbar-item:hover {
	background-color: hsl(var(--accent, 210 40% 96%));
}

.inno-no-arrow {
	-webkit-appearance: none;
	-moz-appearance: textfield;
	appearance: none;
}

.inno-no-arrow::-webkit-outer-spin-button,
.inno-no-arrow::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.inno-anchor {
	color: inherit;
}

/* Additional utility classes for components */
.inno-mb-2\.5 {
	margin-bottom: 0.625rem;
}

.inno-px-2\.5 {
	padding-left: 0.625rem;
	padding-right: 0.625rem;
}

.inno-py-1\.5 {
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
}

.inno-py-0\.5 {
	padding-top: 0.125rem;
	padding-bottom: 0.125rem;
}

.inno-flex-2 {
	flex: 2 2 0%;
}

.inno-min-w-0 {
	min-width: 0px;
}

.inno-min-w-\[300px\] {
	min-width: 300px;
}

.inno-w-40 {
	width: 10rem;
}

.inno-max-w-4xl {
	max-width: 56rem;
}

.inno-space-y-2 > :not([hidden]) ~ :not([hidden]) {
	--inno-space-y-reverse: 0;
	margin-top: calc(0.5rem * calc(1 - var(--inno-space-y-reverse)));
	margin-bottom: calc(0.5rem * var(--inno-space-y-reverse));
}

.inno-pb-2 {
	padding-bottom: 0.5rem;
}

.inno-max-h-\[90dvh\] {
	max-height: 90dvh;
}

.inno-overflow-auto {
	overflow: auto;
}

.inno-border-gray-400 {
	border-color: rgb(156 163 175);
}

.inno-text-gray-600 {
	color: rgb(75 85 99);
}

.inno-appearance-none {
	appearance: none;
}

/* Auto-embed plugin styles */
.inno-typeahead-popover {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
	margin-left: -1px;
	margin-top: 4px;
	padding: 4px;
	position: relative;
	width: 200px;
	z-index: 50;
}

.inno-item {
	cursor: pointer;
	display: block;
	margin: 0;
	padding: 8px 12px;
	width: 100%;
	background: none;
	border-radius: 8px;
	border: 2px solid transparent;
}

.inno-item.inno-selected {
	border-color: rgb(5, 150, 105);
}

.inno-text {
	display: flex;
	flex-direction: column;
	line-height: 20px;
	text-align: left;
	width: 200px;
}

.inno-auto-embed-menu {
	width: 350px;
}

.inno-link-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 8px 12px;
	padding: 12px 12px;
	border-radius: 15px;
	background-color: #eee;
	font-size: 15px;
	color: rgb(5, 5, 5);
	border: 0;
	outline: 0;
	position: relative;
	font-family: inherit;
}
