@import "media-library.css";

@layer theme {
  :root,:host {
      --font-sans: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
      --font-mono: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
      --color-slate-400: oklch(.704 .04 256.788);
      --color-slate-800: oklch(.279 .041 260.031);
      --color-slate-950: oklch(.129 .042 264.695);
      --color-zinc-900: oklch(.21 .006 285.885);
      --color-white: #fff;
      --spacing: .25rem;
      --container-xs: 20rem;
      --container-sm: 24rem;
      --container-md: 28rem;
      --container-2xl: 42rem;
      --text-xs: .75rem;
      --text-xs--line-height: calc(1/.75);
      --text-sm: .875rem;
      --text-sm--line-height: calc(1.25/.875);
      --text-base: 1rem;
      --text-base--line-height: 1.5 ;
      --text-lg: 1.125rem;
      --text-lg--line-height: calc(1.75/1.125);
      --text-xl: 1.25rem;
      --text-2xl: 1.5rem;
      --text-2xl--line-height: calc(2/1.5);
      --text-5xl: 3rem;
      --text-5xl--line-height: 1;
      --text-7xl: 4.5rem;
      --text-7xl--line-height: 1;
      --font-weight-medium: 500;
      --font-weight-semibold: 600;
      --font-weight-bold: 700;
      --tracking-tight: -.025em;
      --tracking-widest: .1em;
      --radius-sm: .25rem;
      --radius-md: .375rem;
      --radius-lg: .5rem;
      --default-transition-duration: .15s;
      --default-transition-timing-function: cubic-bezier(.4,0,.2,1);
      --default-font-family: var(--font-sans);
      --default-mono-font-family: var(--font-mono);
      --color-background: hsl(var(--background));
      --color-foreground: hsl(var(--foreground));
      --color-muted: hsl(var(--muted));
      --color-muted-foreground: hsl(var(--muted-foreground));
      --color-popover: hsl(var(--popover));
      --color-border: hsl(var(--border)/var(--border-alpha,1));
      --color-primary: hsl(var(--primary));
      --color-secondary-foreground: hsl(var(--secondary-foreground));
      --color-destructive: hsl(var(--destructive)/var(--destructive-alpha,1));
      --color-ring: hsl(var(--ring));
      --font-geist-sans: Geist Sans,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"
  }
}

@layer base {
  *,:after,:before,::backdrop {
      box-sizing: border-box;
      border: 0 solid;
      margin: 0;
      padding: 0
  }

  ::file-selector-button {
      box-sizing: border-box;
      border: 0 solid;
      margin: 0;
      padding: 0
  }

  html,:host {
      -webkit-text-size-adjust:100%;
      tab-size: 4;
      line-height: 1.5;
      font-family: var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");
      font-feature-settings: var(--default-font-feature-settings,normal);
      font-variation-settings: var(--default-font-variation-settings,normal);
      -webkit-tap-highlight-color: transparent
  }

  hr {
      height: 0;
      color: inherit;
      border-top-width: 1px
  }

  abbr:where([title]) {
      -webkit-text-decoration:underline dotted;
      text-decoration: underline dotted
  }

  h1,h2,h3,h4,h5,h6 {
      font-size: inherit;
      font-weight: inherit
  }

  a {
      color: inherit;
      -webkit-text-decoration: inherit;
      text-decoration: inherit
  }

  b,strong {
      font-weight: bolder
  }

  code,kbd,samp,pre {
      font-family: var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);
      font-feature-settings: var(--default-mono-font-feature-settings,normal);
      font-variation-settings: var(--default-mono-font-variation-settings,normal);
      font-size: 1em
  }

  small {
      font-size: 80%
  }

  sub,sup {
      vertical-align: baseline;
      font-size: 75%;
      line-height: 0;
      position: relative
  }

  sub {
      bottom: -.25em
  }

  sup {
      top: -.5em
  }

  table {
      text-indent: 0;
      border-color: inherit;
      border-collapse: collapse
  }

  :-moz-focusring {
      outline: auto
  }

  progress {
      vertical-align: baseline
  }

  summary {
      display: list-item
  }

  ol,ul,menu {
      list-style: none
  }

  img,svg,video,canvas,audio,iframe,embed,object {
      vertical-align: middle;
      display: block
  }

  img,video {
      max-width: 100%;
      height: auto
  }

  button,input,select,optgroup,textarea {
      font: inherit;
      font-feature-settings: inherit;
      font-variation-settings: inherit;
      letter-spacing: inherit;
      color: inherit;
      opacity: 1;
      background-color: #0000;
      border-radius: 0
  }

  ::file-selector-button {
      font: inherit;
      font-feature-settings: inherit;
      font-variation-settings: inherit;
      letter-spacing: inherit;
      color: inherit;
      opacity: 1;
      background-color: #0000;
      border-radius: 0
  }

  :where(select:is([multiple],[size])) optgroup {
      font-weight:bolder
  }

  :where(select:is([multiple],[size])) optgroup option {
      padding-inline-start:20px
  }

  ::file-selector-button {
      margin-inline-end:4px}

  ::placeholder {
      opacity: 1
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size:1px) {
      ::placeholder {
          color:color-mix(in oklab,currentColor 50%,transparent)
      }
  }

  textarea {
      resize: vertical
  }

  ::-webkit-search-decoration {
      -webkit-appearance: none
  }

  ::-webkit-date-and-time-value {
      min-height: 1lh;
      text-align: inherit
  }

  ::-webkit-datetime-edit {
      display: inline-flex
  }

  ::-webkit-datetime-edit-fields-wrapper {
      padding: 0
  }

  ::-webkit-datetime-edit {
      padding-block:0}

  ::-webkit-datetime-edit-year-field {
      padding-block:0}

  ::-webkit-datetime-edit-month-field {
      padding-block:0}

  ::-webkit-datetime-edit-day-field {
      padding-block:0}

  ::-webkit-datetime-edit-hour-field {
      padding-block:0}

  ::-webkit-datetime-edit-minute-field {
      padding-block:0}

  ::-webkit-datetime-edit-second-field {
      padding-block:0}

  ::-webkit-datetime-edit-millisecond-field {
      padding-block:0}

  ::-webkit-datetime-edit-meridiem-field {
      padding-block:0}

  :-moz-ui-invalid {
      box-shadow: none
  }

  button,input:where([type=button],[type=reset],[type=submit]) {
      appearance:button
  }

  ::file-selector-button {
      appearance: button
  }

  ::-webkit-inner-spin-button {
      height: auto
  }

  ::-webkit-outer-spin-button {
      height: auto
  }

  [hidden]:where(:not([hidden=until-found])) {
      display:none!important
  }

  .fr-select li.uk-active>a {
      --uk-nav-item-bg: hsl(var(--accent));
      --uk-nav-item-color: hsl(var(--accent-foreground))
  }
}

.dark\:flex:where(.dark,.dark *) {
  display:flex
}

.dark\:block:where(.dark,.dark *) {
  display:block
}

.dark\:hidden:where(.dark,.dark *) {
    display:none
}

.dark\:inline-block:where(.dark,.dark *) {
    display:inline-block
}

/* Sortable table styles */
.sortable-ghost-custom {
    opacity: 0.4 !important;
    background: #f0f9ff !important;
    border: 2px dashed #0078ff !important;
}

.sortable-chosen-custom {
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
}

.sortable-drag-custom {
    opacity: 0.9 !important;
    transform: rotate(2deg) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Force cleanup of any residual SortableJS classes */
tbody tr:not(.sortable-ghost-custom):not(.sortable-chosen-custom):not(.sortable-drag-custom) {
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    border: none !important;
    z-index: auto !important;
    transition: none !important;
}

/* Also clean up the old class names if they somehow get added */
tbody tr.uk-sortable-ghost,
tbody tr.uk-sortable-chosen,
tbody tr.uk-sortable-drag {
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    border: none !important;
    z-index: auto !important;
}

.drag-handle {
    transition: color 0.2s ease;
}

.drag-handle:hover {
    color: #0078ff !important;
    cursor: grab !important;
}

.drag-handle:active {
    cursor: grabbing !important;
}

/* Ensure proper table styling during drag */
.is-dragging {
    position: relative;
}

.is-dragging tr {
    transition: none !important;
}

/* Pricing Component Styles */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:not(.disabled-card):hover {
    transform: translateY(-8px);
}

.popular-card:not(.disabled-card) {
    transform: scale(1.05);
}

.popular-card:not(.disabled-card):hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card-content {
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.disabled-card {
    pointer-events: none;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(251, 146, 60, 0.3); }
    50% { box-shadow: 0 0 30px rgba(251, 146, 60, 0.5), 0 0 40px rgba(251, 146, 60, 0.3); }
}

.popular-card:not(.disabled-card) .pricing-card-content {
    animation: glow 3s ease-in-out infinite;
}

.aspect-square {
      aspect-ratio: 1
}

.object-cover {
      object-fit: cover
}

/* Media Browser Modal Styles */
.media-browser-overlay {
    background-color: rgba(0, 0, 0, 0.75);
}

.media-browser-modal {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.media-browser-body {
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 120px); /* Subtract header and footer height */
}

/* Coin Package Card Hover Effect */
.coin-package-card {
    transition: transform 250ms ease-in-out;
}

.coin-package-card:hover {
    transform: scale(1.05);
}