/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@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-red-50: oklch(97.1% 0.013 17.38);
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-200: oklch(88.5% 0.062 18.334);
    --color-red-300: oklch(80.8% 0.114 19.571);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-orange-50: oklch(98% 0.016 73.684);
    --color-orange-100: oklch(95.4% 0.038 75.164);
    --color-orange-200: oklch(90.1% 0.076 70.697);
    --color-orange-300: oklch(83.7% 0.128 66.29);
    --color-orange-500: oklch(70.5% 0.213 47.604);
    --color-orange-700: oklch(55.3% 0.195 38.402);
    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-100: oklch(96.2% 0.059 95.617);
    --color-amber-200: oklch(92.4% 0.12 95.746);
    --color-amber-300: oklch(87.9% 0.169 91.605);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-yellow-50: oklch(98.7% 0.026 102.212);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-200: oklch(94.5% 0.129 101.54);
    --color-yellow-300: oklch(90.5% 0.182 98.111);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-lime-50: oklch(98.6% 0.031 120.757);
    --color-lime-100: oklch(96.7% 0.067 122.328);
    --color-lime-200: oklch(93.8% 0.127 124.321);
    --color-lime-300: oklch(89.7% 0.196 126.665);
    --color-lime-700: oklch(53.2% 0.157 131.589);
    --color-green-50: oklch(98.2% 0.018 155.826);
    --color-green-100: oklch(96.2% 0.044 156.743);
    --color-green-200: oklch(92.5% 0.084 155.995);
    --color-green-300: oklch(87.1% 0.15 154.449);
    --color-green-400: oklch(79.2% 0.209 151.711);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-green-900: oklch(39.3% 0.095 152.535);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-cyan-50: oklch(98.4% 0.019 200.873);
    --color-cyan-100: oklch(95.6% 0.045 203.388);
    --color-cyan-200: oklch(91.7% 0.08 205.041);
    --color-cyan-300: oklch(86.5% 0.127 207.078);
    --color-cyan-400: oklch(78.9% 0.154 211.53);
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-cyan-600: oklch(60.9% 0.126 221.723);
    --color-cyan-700: oklch(52% 0.105 223.128);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-indigo-50: oklch(96.2% 0.018 272.314);
    --color-indigo-100: oklch(93% 0.034 272.788);
    --color-indigo-200: oklch(87% 0.065 274.039);
    --color-indigo-300: oklch(78.5% 0.115 274.713);
    --color-indigo-700: oklch(45.7% 0.24 277.023);
    --color-purple-50: oklch(97.7% 0.014 308.299);
    --color-purple-100: oklch(94.6% 0.033 307.174);
    --color-purple-200: oklch(90.2% 0.063 306.703);
    --color-purple-300: oklch(82.7% 0.119 306.383);
    --color-purple-400: oklch(71.4% 0.203 305.504);
    --color-purple-500: oklch(62.7% 0.265 303.9);
    --color-purple-600: oklch(55.8% 0.288 302.321);
    --color-purple-700: oklch(49.6% 0.265 301.924);
    --color-purple-800: oklch(43.8% 0.218 303.724);
    --color-pink-50: oklch(97.1% 0.014 343.198);
    --color-pink-100: oklch(94.8% 0.028 342.258);
    --color-pink-200: oklch(89.9% 0.061 343.231);
    --color-pink-300: oklch(82.3% 0.12 346.018);
    --color-pink-700: oklch(52.5% 0.223 3.958);
    --color-rose-50: oklch(96.9% 0.015 12.422);
    --color-rose-100: oklch(94.1% 0.03 12.58);
    --color-rose-200: oklch(89.2% 0.058 10.001);
    --color-rose-300: oklch(81% 0.117 11.638);
    --color-rose-700: oklch(51.4% 0.222 16.935);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-lg: 0.5rem;
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
      -o-tab-size: 4;
         tab-size: 4;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.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 {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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;
  }
  ::-moz-placeholder {
    opacity: 1;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::-moz-placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    -webkit-appearance: button;
       -moz-appearance: button;
            appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .\@container {
    container-type: inline-size;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .left-1 {
    left: calc(var(--spacing) * 1);
  }
  .isolate {
    isolation: isolate;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .m-2 {
    margin: calc(var(--spacing) * 2);
  }
  .mx-2 {
    margin-inline: calc(var(--spacing) * 2);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mr-4 {
    margin-right: calc(var(--spacing) * 4);
  }
  .mr-8 {
    margin-right: calc(var(--spacing) * 8);
  }
  .mr-12 {
    margin-right: calc(var(--spacing) * 12);
  }
  .mb-0 {
    margin-bottom: calc(var(--spacing) * 0);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }
  .ml-12 {
    margin-left: calc(var(--spacing) * 12);
  }
  .ml-auto {
    margin-left: auto;
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .table {
    display: table;
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-full {
    height: 100%;
  }
  .h-screen {
    height: 100vh;
  }
  .max-h-full {
    max-height: 100%;
  }
  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }
  .w-1 {
    width: calc(var(--spacing) * 1);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-32 {
    width: calc(var(--spacing) * 32);
  }
  .w-64 {
    width: calc(var(--spacing) * 64);
  }
  .w-full {
    width: 100%;
  }
  .max-w-\[1400px\] {
    max-width: 1400px;
  }
  .max-w-\[1800px\] {
    max-width: 1800px;
  }
  .max-w-full {
    max-width: 100%;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .shrink {
    flex-shrink: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-col-resize {
    cursor: col-resize;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-9 {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-0 {
    gap: calc(var(--spacing) * 0);
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-auto {
    overflow: auto;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-t-lg {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
  .rounded-b-lg {
    border-bottom-right-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-1 {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-t-2 {
    border-top-style: var(--tw-border-style);
    border-top-width: 2px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }
  .border-b-4 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 4px;
  }
  .border-l-4 {
    border-left-style: var(--tw-border-style);
    border-left-width: 4px;
  }
  .border-amber-300 {
    border-color: var(--color-amber-300);
  }
  .border-cyan-200 {
    border-color: var(--color-cyan-200);
  }
  .border-cyan-300 {
    border-color: var(--color-cyan-300);
  }
  .border-cyan-500 {
    border-color: var(--color-cyan-500);
  }
  .border-cyan-600 {
    border-color: var(--color-cyan-600);
  }
  .border-gray-200 {
    border-color: var(--color-gray-200);
  }
  .border-gray-300 {
    border-color: var(--color-gray-300);
  }
  .border-gray-700 {
    border-color: var(--color-gray-700);
  }
  .border-green-300 {
    border-color: var(--color-green-300);
  }
  .border-green-500 {
    border-color: var(--color-green-500);
  }
  .border-indigo-300 {
    border-color: var(--color-indigo-300);
  }
  .border-lime-300 {
    border-color: var(--color-lime-300);
  }
  .border-orange-300 {
    border-color: var(--color-orange-300);
  }
  .border-pink-300 {
    border-color: var(--color-pink-300);
  }
  .border-purple-300 {
    border-color: var(--color-purple-300);
  }
  .border-red-500 {
    border-color: var(--color-red-500);
  }
  .border-rose-300 {
    border-color: var(--color-rose-300);
  }
  .border-yellow-300 {
    border-color: var(--color-yellow-300);
  }
  .bg-amber-50 {
    background-color: var(--color-amber-50);
  }
  .bg-amber-200 {
    background-color: var(--color-amber-200);
  }
  .bg-cyan-50 {
    background-color: var(--color-cyan-50);
  }
  .bg-cyan-100 {
    background-color: var(--color-cyan-100);
  }
  .bg-cyan-200 {
    background-color: var(--color-cyan-200);
  }
  .bg-cyan-300 {
    background-color: var(--color-cyan-300);
  }
  .bg-cyan-500 {
    background-color: var(--color-cyan-500);
  }
  .bg-cyan-600 {
    background-color: var(--color-cyan-600);
  }
  .bg-gray-50 {
    background-color: var(--color-gray-50);
  }
  .bg-gray-300 {
    background-color: var(--color-gray-300);
  }
  .bg-gray-700 {
    background-color: var(--color-gray-700);
  }
  .bg-gray-900 {
    background-color: var(--color-gray-900);
  }
  .bg-green-50 {
    background-color: var(--color-green-50);
  }
  .bg-green-100 {
    background-color: var(--color-green-100);
  }
  .bg-green-200 {
    background-color: var(--color-green-200);
  }
  .bg-indigo-50 {
    background-color: var(--color-indigo-50);
  }
  .bg-indigo-200 {
    background-color: var(--color-indigo-200);
  }
  .bg-lime-50 {
    background-color: var(--color-lime-50);
  }
  .bg-lime-200 {
    background-color: var(--color-lime-200);
  }
  .bg-orange-50 {
    background-color: var(--color-orange-50);
  }
  .bg-orange-100 {
    background-color: var(--color-orange-100);
  }
  .bg-orange-200 {
    background-color: var(--color-orange-200);
  }
  .bg-orange-300 {
    background-color: var(--color-orange-300);
  }
  .bg-pink-50 {
    background-color: var(--color-pink-50);
  }
  .bg-pink-200 {
    background-color: var(--color-pink-200);
  }
  .bg-purple-50 {
    background-color: var(--color-purple-50);
  }
  .bg-purple-100 {
    background-color: var(--color-purple-100);
  }
  .bg-purple-200 {
    background-color: var(--color-purple-200);
  }
  .bg-purple-400 {
    background-color: var(--color-purple-400);
  }
  .bg-purple-800 {
    background-color: var(--color-purple-800);
  }
  .bg-red-50 {
    background-color: var(--color-red-50);
  }
  .bg-red-100 {
    background-color: var(--color-red-100);
  }
  .bg-red-300 {
    background-color: var(--color-red-300);
  }
  .bg-red-600 {
    background-color: var(--color-red-600);
  }
  .bg-rose-50 {
    background-color: var(--color-rose-50);
  }
  .bg-rose-200 {
    background-color: var(--color-rose-200);
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .bg-yellow-50 {
    background-color: var(--color-yellow-50);
  }
  .bg-yellow-200 {
    background-color: var(--color-yellow-200);
  }
  .object-contain {
    -o-object-fit: contain;
       object-fit: contain;
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[18px\] {
    font-size: 18px;
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-\[xs\] {
    color: xs;
  }
  .text-amber-700 {
    color: var(--color-amber-700);
  }
  .text-blue-600 {
    color: var(--color-blue-600);
  }
  .text-cyan-400 {
    color: var(--color-cyan-400);
  }
  .text-cyan-500 {
    color: var(--color-cyan-500);
  }
  .text-cyan-600 {
    color: var(--color-cyan-600);
  }
  .text-cyan-700 {
    color: var(--color-cyan-700);
  }
  .text-emerald-600 {
    color: var(--color-emerald-600);
  }
  .text-gray-50 {
    color: var(--color-gray-50);
  }
  .text-gray-300 {
    color: var(--color-gray-300);
  }
  .text-gray-400 {
    color: var(--color-gray-400);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-600 {
    color: var(--color-gray-600);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .text-green-400 {
    color: var(--color-green-400);
  }
  .text-green-700 {
    color: var(--color-green-700);
  }
  .text-green-900 {
    color: var(--color-green-900);
  }
  .text-indigo-700 {
    color: var(--color-indigo-700);
  }
  .text-lime-700 {
    color: var(--color-lime-700);
  }
  .text-orange-500 {
    color: var(--color-orange-500);
  }
  .text-orange-700 {
    color: var(--color-orange-700);
  }
  .text-pink-700 {
    color: var(--color-pink-700);
  }
  .text-purple-500 {
    color: var(--color-purple-500);
  }
  .text-purple-600 {
    color: var(--color-purple-600);
  }
  .text-purple-700 {
    color: var(--color-purple-700);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-red-600 {
    color: var(--color-red-600);
  }
  .text-red-700 {
    color: var(--color-red-700);
  }
  .text-rose-700 {
    color: var(--color-rose-700);
  }
  .text-white {
    color: var(--color-white);
  }
  .text-yellow-600 {
    color: var(--color-yellow-600);
  }
  .text-yellow-700 {
    color: var(--color-yellow-700);
  }
  .capitalize {
    text-transform: capitalize;
  }
  .italic {
    font-style: italic;
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .underline {
    text-decoration-line: underline;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .grayscale {
    --tw-grayscale: grayscale(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .sepia {
    --tw-sepia: sepia(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-filter {
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .hover\:bg-amber-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-amber-100);
      }
    }
  }
  .hover\:bg-cyan-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-cyan-100);
      }
    }
  }
  .hover\:bg-cyan-200 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-cyan-200);
      }
    }
  }
  .hover\:bg-cyan-500 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-cyan-500);
      }
    }
  }
  .hover\:bg-gray-400 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-gray-400);
      }
    }
  }
  .hover\:bg-gray-600 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-gray-600);
      }
    }
  }
  .hover\:bg-green-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-green-100);
      }
    }
  }
  .hover\:bg-green-200 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-green-200);
      }
    }
  }
  .hover\:bg-indigo-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-indigo-100);
      }
    }
  }
  .hover\:bg-lime-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-lime-100);
      }
    }
  }
  .hover\:bg-orange-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-orange-100);
      }
    }
  }
  .hover\:bg-orange-200 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-orange-200);
      }
    }
  }
  .hover\:bg-pink-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-pink-100);
      }
    }
  }
  .hover\:bg-purple-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-purple-100);
      }
    }
  }
  .hover\:bg-purple-200 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-purple-200);
      }
    }
  }
  .hover\:bg-purple-600 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-purple-600);
      }
    }
  }
  .hover\:bg-red-200 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-red-200);
      }
    }
  }
  .hover\:bg-red-500 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-red-500);
      }
    }
  }
  .hover\:bg-rose-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-rose-100);
      }
    }
  }
  .hover\:bg-yellow-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-yellow-100);
      }
    }
  }
  .hover\:shadow-md {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
}
@layer theme {
  :root {
    --font-sans: "ShareTechMono", system-ui, sans-serif;
    --color-blue-600: #3b82f6;
  }
}
@font-face {
  font-family: "Quicksand";
  src: url(fonts/a8b2db068fc584f9235c.ttf)
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DynaPuff";
  src: url(fonts/8e7f33764104f9ee7c07.ttf)
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PatrickHand";
  src: url(fonts/e3cb058ed14557a61d38.ttf)
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "sourGummy";
  src: url(fonts/a1a8a759263dcbc35092.ttf)
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ShareTechMono";
  src: url(fonts/d753b5dc50d171ecc94b.ttf)
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
  font-family: "ShareTechMono", sans-serif !important;
}
body {
  background: #ffffff;
  color: #02505a;
  font-family: Arial, Helvetica, sans-serif;
}
.cm-editor {
  height: 100%;
  font-size: 18px;
}
.cm-scroller {
  overflow: auto;
}
.line-clamp-2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
button {
  transition: all 0.2s ease-in-out;
  border-radius: 4px;
  font-weight: 600;
}
.btn-code-ui button {
  border-radius: 8px;
}
.code-output-ui {
  font-size: 1.2rem;
}
.code-output-ui button {
  border-radius: 0px;
  border-bottom-width: 4px;
}
.cm-editor.cm-focused {
  outline: none;
}
.cm-line {
  padding-left: 4px;
}
.atlas-active-line {
  background-color: rgba(225, 0, 255, 0.2);
  border-left: 6px solid #ff7300;
}
.atlas-active-line-executing {
  background-color: rgba(76, 175, 80, 0.15);
  border-left: 6px solid #2da831;
}
.atlas-active-line-error {
  background-color: rgba(244, 67, 54, 0.15);
  border-left: 3px solid #f44336;
}
.cm-foldGutter {
  width: 16px;
  margin-right: 4px;
}
.cm-gutterElement .cm-foldMarker {
  cursor: pointer;
  color: #999;
  font-size: 14px;
}
.cm-gutterElement .cm-foldMarker:hover {
  color: #fff;
}
.cm-foldPlaceholder {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 0 4px;
  margin: 0 2px;
  cursor: pointer;
}
.story-canvas-main {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #bca6d3 #f1f1f1;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e1b5ff;
  border-radius: 10px;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.308) transparent;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
    }
  }
}


.swal2-container {
  z-index: 20999 !important;
}

.swal2-modal {
  border-radius: 10px !important;
}
/**swal css*/
.swal2-modal,
.swal2-icon,
.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
  background-color: rgba(245, 225, 252, 0.947) !important;
  opacity: 0.95 !important;
}

.swal2-input {
  border: 1px solid #c89ef88c;
  color: #43046d;
}

.swal2-title,
.swal2-input-label {
  color: #43046d;
}

.swal2-input:focus {
  border: 2px solid #9f52f88c;
}

.swal2-confirm {
  background-color: #9d23eeb7;
}
#playCanvas {
  width: 720px !important;
  height: 555px !important;
  min-width: 720px !important;
  min-height: 555px !important;
  max-width: 720px !important;
  max-height: 555px !important;
  -o-object-fit: none !important;
     object-fit: none !important;
  image-rendering: auto;
}

/* Make container scrollable if canvas is too large */
#playSimulatorTab > div:first-child {
  overflow: auto;
}

#log-output {
  scrollbar-width: thin;
  scrollbar-color: #4b5563 #1f2937;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #0e0e0e;
}

#log-output::-webkit-scrollbar {
  width: 8px;
}

#log-output::-webkit-scrollbar-track {
  background: #1f2937;
}

#log-output::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 4px;
}

#log-output::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* Add to your CSS file */
#playConsolePanel {
  transition: width 0.3s ease, min-width 0.3s ease;
  height: 555px !important;
  max-height: 555px !important;
  min-height: 555px !important;
  max-width: 340px !important;
  transition: width 0.3s ease, min-width 0.3s ease;
}

#playConsoleContent {
  transition: display 0.3s ease;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

#playConsoleTitle {
  transition: opacity 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
}

.console-btn {
  transition: display 0.3s ease, opacity 0.3s ease;
}

#playConsoleResizer {
  transition: background-color 0.2s ease;
}


#playConsoleResizer {
  height: 555px !important;
  transition: background-color 0.2s ease;
}


   
      .context-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
      }
                          
      .context-menu {
        position: fixed;
        background: rgb(255, 255, 255, 0.7);
        border-radius: 12px;
        box-shadow: 
          0 10px 40px rgba(0, 0, 0, 0.15),
          0 0 0 1px rgba(0, 0, 0, 0.05);
        z-index: 9998;
        overflow: hidden;
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
        backdrop-filter: blur(20px);
        /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
        overflow-x:hidden;
      }
      

      .context-menu-overlay.show {
        opacity: 1;
        visibility: visible;
      }

      .context-menu.show {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
      
      /*.context-menu-header {
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        background: #dcbafa;
        font-weight: 600;
        font-size: 0.9rem;
        color: #393a3a;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align:center;
      }*/
      
      .context-menu-header {
        padding: 10px 12px 0;
        background: #dcbafa;
        text-align: center;
      }

      .context-menu-heading {
        font-size: 20px;
        font-weight: 600;
        color: #330469;
        margin: 0 0 8px;
      }

      .context-menu-subtitle {
        font-size: 14px;
        color: #654886;
        padding-bottom: 4px;
      }
      
      .context-menu-list {
        height: calc(100% - 80px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 0px;
      }
      
      .context-menu-list::-webkit-scrollbar {
        width: 6px;
      }
      
      .context-menu-list::-webkit-scrollbar-track {
        background: #f8f9fa;
      }
      
      .context-menu-list::-webkit-scrollbar-thumb {
        background: #dee2e6;
        border-radius: 3px;
      }
      
      .context-menu-list::-webkit-scrollbar-thumb:hover {
        background: #adb5bd;
      }
      
      .context-menu-item {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        cursor: pointer;
        transition: all 0.15s ease;
        border-left: 4px solid transparent;
        -webkit-user-select: none;
           -moz-user-select: none;
                user-select: none;
      }
      
      .context-menu-item:hover:not(.disabled) {
        background: #ecd4fd91;
        border-left-color: #dcbafa;
        transform: translateX(2px);
      }
      
      .context-menu-item:active:not(.disabled) {
        background: #e9ecef;
      }
      
      .context-menu-item.disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
      
      .context-menu-item.separator {
        border-top: 1px solid #e1d1ff;
        margin: 8px 4px 8px 4px;
        padding: 0;
        height: 1px;
      }
      
      .context-menu-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        /*border: 1px solid #ddb9fd;*/
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        font-size: 1.2rem;
        flex-shrink: 0;
        background: rgba(252, 238, 252, 1);
        color: #e8d2faff;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }

      .context-menu-icon.icon-image {
        padding: 8px;
        /*background: transparent;*/
        /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
      }

      .context-menu-icon.icon-css-class {
        background: transparent;
        box-shadow: none;
        color: #495057;
      }

      .context-menu-icon.icon-svg {
        padding: 8px;
      }
      
      .context-menu-icon img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        border-radius: 10px;
      }
      
      .context-menu-icon svg {
        width: 24px;
        height: 24px;
      }
      
      .context-menu-content {
        flex: 1;
        min-width: 0;
      }
      
      .context-menu-title {
        font-weight: 600;
        font-size: 0.95rem;
        color: #3f4142;
        margin-bottom: 0 0 8px;
        line-height: 1.2;
      }
      
      .context-menu-description {
        font-size: 14px;
        color: #6c757d;
        line-height: 1.3;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .context-menu-tags {
        display:flex;
        font-size: 0.8rem;
        flex-direction:row;
        flex-wrap: wrap;
        color: #8b46fa;
        overflow: hidden;
        gap:8px;
      }

      .context-menu-tags-item {
        background-color: #eee0f8;
        border-radius: 4px;
        padding: 2px;
      }
      
      @media (max-width: 768px) {
        .context-menu {
          max-width: calc(100vw - 40px);
        }
      }
/* settings-popup.css */

/* Base overlay styles */
.settings-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
}

.settings-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Main popup container */
.settings-popup {
  position: fixed;
  background: rgb(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 9998;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(-10px);
  backdrop-filter: blur(20px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.settings-popup.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Header section */
.settings-popup-header {
  padding: 10px 12px 0;
  background: #ccecf8;
  text-align: center;
}

.settings-popup-title {
  font-size: 20px;
  font-weight: 600;
  color: #330469;
  margin: 0 0 8px;
}

.settings-popup-subtitle {
  font-size: 14px;
  color: #654886;
  padding-bottom: 4px;
}

/* Content section */
.settings-popup-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
}

/* Custom scrollbar for content */
.settings-popup-content::-webkit-scrollbar {
  width: 6px;
}

.settings-popup-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.settings-popup-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.settings-popup-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Category sections */
.settings-category {
  margin-bottom: 24px;
}

.settings-category:last-child {
  margin-bottom: 0;
}

.settings-category-title {
  font-size: 18px;
  font-weight: bold;
  color: #7e002a;
  margin: 0 0 12px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid #e5e7eb;
}

/* Individual setting items */
.setting-item {
  margin-bottom: 20px;
  /*background-color: #f8f2fc;
  padding: 4px;*/
}

.setting-item:last-child {
  margin-bottom: 0;
}

.setting-item.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.setting-label {
  font-size: 14px;
  font-weight: 600;
  color: #026d8d;
  margin-bottom: 4px;
  display: block;
  line-height: 1.4;
}

.setting-description {
  font-size: 14px;
  color: #477e88;
  margin-bottom: 8px;
  line-height: 1.4;
}

.setting-control {
  width: 100%;
}

/* Input styles */
.setting-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  color: #43055c;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.setting-input:focus {
  outline: none;
  border-color: #62a8f8;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.setting-input:disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Textarea specific */
.setting-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  line-height: 1.5;
}

/* Toggle switch */
.setting-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: #d1d5db;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.toggle-switch:hover {
  background: #9ca3af;
}

.toggle-switch.active {
  background: #1cb4fa;
}

.toggle-switch.active:hover {
  background: #09acf8;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active::after {
  transform: translateX(20px);
}

/* Number input with increment/decrement */
.setting-number {
  display: flex;
  align-items: center;
  gap: 8px;
}

.number-input {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.number-button {
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: #413751;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.number-button:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.number-button:active {
  background: #e5e7eb;
  transform: scale(0.95);
}

.number-button:disabled {
  background: #f9fafb;
  color: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

/* Slider control */
.setting-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-input {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3bb2f6;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.slider-input::-webkit-slider-thumb:hover {
  background: #17b0f7;
}

.slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3bbbf6;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider-value {
  min-width: 60px;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  flex-shrink: 0;
}

/* Multi-select */
.setting-multiselect {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  max-height: 120px;
  overflow-y: auto;
  background: white;
}

.setting-multiselect::-webkit-scrollbar {
  width: 6px;
}

.setting-multiselect::-webkit-scrollbar-track {
  background: #f8fafc;
}

.setting-multiselect::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f1f5f9;
}

.multiselect-option:last-child {
  border-bottom: none;
}

.multiselect-option:hover {
  background: #f8fafc;
}

.multiselect-option.selected {
  background: #eff6ff;
  color: #1d9dd8;
}

.multiselect-option.selected:hover {
  background: #dbeafe;
}

.multiselect-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #2592eb;
  cursor: pointer;
}

/* Footer section */
.settings-popup-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
  background: #f3e9fd;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  justify-content: center;
}

/* Button styles */
.settings-button {
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
  display: inline-flex;
  text-align:center;
}

.settings-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.settings-button.primary {
  background: #2087c2;
  color: white;
  border-color: #2087c2;
  align-items: center;
  justify-content: center;
}

.settings-button.primary:hover:not(:disabled) {
  background: #20befc;
  border-color: #20befc;
}

.settings-button.primary:active:not(:disabled) {
  background: #1cabd6;
  transform: translateY(1px);
}

.settings-button.secondary {
  background: white;
  color: #374151;
  border-color: #d1d5db;
}

.settings-button.secondary:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.settings-button.secondary:active:not(:disabled) {
  background: #e5e7eb;
  transform: translateY(1px);
}

.settings-button.danger {
  background: #330f75;
  color: white;
  border-color: #330f75;
}

.settings-button.danger:hover:not(:disabled) {
  background: #451396;
  border-color: #451396;
}

.settings-button.danger:active:not(:disabled) {
  background: #4d0e72;
  transform: translateY(1px);
}

/* Responsive design */
@media (max-width: 600px) {
  .settings-popup {
    width: 95vw !important;
    height: 90vh !important;
    margin: 5vh auto;
    top: 0;
    left: 0;
    transform: none;
    position: absolute;
  }

  .settings-popup.show {
    transform: none;
  }

  .settings-popup-header {
    padding: 16px 20px 12px;
  }

  .settings-popup-content {
    padding: 16px 20px;
  }

  .settings-popup-footer {
    padding: 12px 20px;
    flex-direction: column;
  }

  .settings-button {
    width: 100%;
  }
}

/* Dark mode support */
/*@media (prefers-color-scheme: dark) {
  .settings-popup {
    background: #1f2937;
    color: #f9fafb;
  }

  .settings-popup-header {
    border-bottom-color: #374151;
  }

  .settings-popup-title {
    color: #f9fafb;
  }

  .settings-popup-subtitle {
    color: #9ca3af;
  }

  .settings-category-title {
    color: #e5e7eb;
    border-bottom-color: #374151;
  }

  .setting-label {
    color: #e5e7eb;
  }

  .setting-description {
    color: #9ca3af;
  }

  .setting-input {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
  }

  .setting-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
  }

  .setting-input:disabled {
    background: #2d3748;
    color: #6b7280;
  }

  .number-button {
    background: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
  }

  .number-button:hover {
    background: #4b5563;
  }

  .toggle-switch {
    background: #4b5563;
  }

  .toggle-switch.active {
    background: #3b82f6;
  }

  .slider-input {
    background: #4b5563;
  }

  .slider-value {
    color: #e5e7eb;
  }

  .setting-multiselect {
    background: #374151;
    border-color: #4b5563;
  }

  .multiselect-option {
    border-bottom-color: #4b5563;
  }

  .multiselect-option:hover {
    background: #4b5563;
  }

  .multiselect-option.selected {
    background: #1e3a8a;
    color: #93c5fd;
  }

  .settings-popup-footer {
    background: #111827;
    border-top-color: #374151;
  }

  .settings-button.secondary {
    background: #374151;
    color: #e5e7eb;
    border-color: #4b5563;
  }

  .settings-button.secondary:hover:not(:disabled) {
    background: #4b5563;
  }
}*/

/* Crossword Modal Styles */
.crossword-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.crossword-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.crossword-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  background: rgb(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 1001;
  overflow: hidden;
  opacity: 0;
  backdrop-filter: blur(20px);
  overflow-x: hidden;
}

.crossword-modal.show {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%);
}

.crossword-modal-header {
  padding: 24px 32px 20px;
  border-bottom: 1px solid #e9ecef;
  background: #dcbafa;
  color: white;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
}

.crossword-modal-title-container {
  flex: 1;
  min-width: 0;
}

.crossword-modal-title {
  margin: 0 0 8px 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #330469;
  line-height: 1.3;
}

.crossword-modal-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #654886;
  line-height: 1.4;
  opacity: 0.9;
  text-align: center;
}

.crossword-modal-close-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.crossword-modal-close-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.crossword-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  gap: 24px;
}

.crossword-grid-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.crossword-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #6b7280;
}

.crossword-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crossword-grid {
  display: inline-grid;
  gap: 2px;
  background: rgba(230, 204, 248, 0.2);
  padding: 2px;
  border-radius: 8px;
}

.crossword-cell {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.363);
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 150ms;
}

.crossword-cell.blocked {
  background: #0a0aa0;
  cursor: default;
  visibility: hidden;
  /*opacity: 0;*/
}

.crossword-cell.selected {
  background: #e4dbfe;
  border-color: #7301f5;
}

.crossword-cell.highlighted {
  background: #f3f4f6;
}

.crossword-cell.correct {
  background: #ead9fa;
  color: #5e0270;
}

.crossword-cell.incorrect {
  background: #fee2e2;
  color: #991b1b;
  animation: shake 300ms;
}

.crossword-cell-number {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.crossword-clues {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  max-height: calc(90vh - 200px);
}

.crossword-clue-section {
  background: rgba(245, 245, 248, 0.3);
  padding: 16px;
  border-radius: 8px;
}

.crossword-clue-section h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: #280a57;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crossword-clue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crossword-clue-item {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 150ms;
}

.crossword-clue-item:hover {
  background: rgba(170, 102, 234, 0.1);
}

.crossword-clue-item.active {
  background: rgba(198, 138, 255, 0.2);
  font-weight: 500;
}

.crossword-clue-item.completed {
  opacity: 0.5;
  text-decoration: line-through;
}

.crossword-clue-number {
  font-weight: 700;
  color: #8545ec;
  min-width: 20px;
}

.crossword-clue-text {
  flex: 1;
  color: #49366b;
}

.crossword-clue-item.active .crossword-clue-text {
  color: #6a07c7;
}

.crossword-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.crossword-button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms;
}

.crossword-button-primary {
  background: #8e66ea;
  color: white;
}

.crossword-button-primary:hover {
  background: #7b55d3;
  transform: translateY(-1px);
}

.crossword-button-secondary {
  background: #ebe4f8;
  color: #374151;
}

.crossword-button-secondary:hover {
  background: #d1d5db;
}

.crossword-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.crossword-completion {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin: 16px 0;
}

.crossword-completion h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
}

.crossword-completion p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .crossword-modal-body {
    flex-direction: column;
  }

  .crossword-clues {
    width: 100%;
    max-height: 300px;
  }

  .crossword-cell {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}


/* Flashcard Modal Styles */
.flashcard-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.flashcard-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.flashcard-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: auto;
  max-width: 900px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.flashcard-modal.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Header */
.flashcard-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid #e9ecef;
  background: #dcbafa;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
}

.flashcard-modal-title-container {
  flex: 1;
  min-width: 0;
}

.flashcard-modal-title {
  margin: 0 0 4px 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.flashcard-modal-subtitle {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
   text-align: center;
}

.flashcard-stats {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.flashcard-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgb(171, 50, 252);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.flashcard-modal-close-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.75rem;
  color: white;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.flashcard-modal-close-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Body - Two Column Layout */
.flashcard-modal-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  overflow: hidden;
}

/* Left Column - Questions */
.flashcard-question-container {
  padding: 32px;
  overflow-y: auto;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flashcard-question-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flashcard-question-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: #8b5cf6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flashcard-difficulty {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: capitalize;
  font-weight: 600;
}

.flashcard-difficulty-easy {
  background: #d1fae5;
  color: #065f46;
}

.flashcard-difficulty-medium {
  background: #fef3c7;
  color: #92400e;
}

.flashcard-difficulty-hard {
  background: #fee2e2;
  color: #991b1b;
}

.flashcard-question-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.5;
}

.flashcard-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flashcard-choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 200ms ease;
  text-align: left;
  width: 100%;
  font-size: 1rem;
}

.flashcard-choice:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #8b5cf6;
  transform: translateX(4px);
}

.flashcard-choice:disabled {
  cursor: default;
}

.flashcard-choice-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-weight: 700;
  color: #6b7280;
  flex-shrink: 0;
  transition: all 200ms ease;
}

.flashcard-choice:hover:not(:disabled) .flashcard-choice-label {
  border-color: #8b5cf6;
  color: #8b5cf6;
}

.flashcard-choice-text {
  flex: 1;
  color: #374151;
  line-height: 1.5;
}

.flashcard-choice.correct {
  background: #d1fae5;
  border-color: #10b981;
}

.flashcard-choice.correct .flashcard-choice-label {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.flashcard-choice.incorrect {
  background: #fee2e2;
  border-color: #ef4444;
  animation: shake 400ms ease;
}

.flashcard-choice.incorrect .flashcard-choice-label {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.flashcard-explanation {
  padding: 16px;
  background: #eff6ff;
  border-radius: 8px;
  color: #6e1eaf;
  line-height: 1.6;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.flashcard-explanation strong {
  color: #471e8a;
}

/* Navigation */
.flashcard-navigation {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.flashcard-button {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flashcard-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.flashcard-button-primary {
  background: #8b5cf6;
  color: white;
}

.flashcard-button-primary:hover:not(:disabled) {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.flashcard-button-secondary {
  background: #e5e7eb;
  color: #374151;
}

.flashcard-button-secondary:hover:not(:disabled) {
  background: #d1d5db;
  transform: translateY(-2px);
}

.flashcard-button-success {
  background: #10b981;
  color: white;
}

.flashcard-button-success:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Right Column - Category Sidebar */
.flashcard-category-sidebar {
  padding: 24px;
  background: linear-gradient(180deg, #faf5ff 0%, #f5f3ff 100%);
  border-left: 1px solid #e9d5ff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flashcard-category-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #e9d5ff;
  text-align: center;
}

.flashcard-category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 16px;
}

.flashcard-category-name {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.flashcard-category-description {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Progress Section */
.flashcard-progress-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.flashcard-progress-section h4 {
  margin: 0 0 16px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flashcard-progress-bar {
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.flashcard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6 0%, #6d28d9 100%);
  border-radius: 6px;
  transition: width 400ms ease;
  width: 0%;
}

.flashcard-progress-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flashcard-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.stat-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.stat-icon.correct {
  background: #d1fae5;
  color: #065f46;
}

.stat-icon.incorrect {
  background: #fee2e2;
  color: #991b1b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .flashcard-modal-body {
    grid-template-columns: 1fr;
  }

  .flashcard-category-sidebar {
    border-left: none;
    border-top: 1px solid #e9d5ff;
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .flashcard-modal {
    width: 95%;
    max-height: 95vh;
  }

  .flashcard-modal-header {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .flashcard-modal-title {
    font-size: 1.25rem;
  }

  .flashcard-stats {
    width: 100%;
    justify-content: space-between;
  }

  .flashcard-question-container {
    padding: 20px;
  }

  .flashcard-question-card {
    padding: 20px;
  }

  .flashcard-question-text {
    font-size: 1.25rem;
  }

  .flashcard-choice {
    padding: 12px 16px;
  }

  .flashcard-category-sidebar {
    padding: 20px;
  }

  .flashcard-navigation {
    gap: 8px;
  }

  .flashcard-button {
    padding: 10px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .flashcard-modal-title {
    font-size: 1.1rem;
  }

  .flashcard-question-text {
    font-size: 1.1rem;
  }

  .flashcard-choice {
    gap: 12px;
  }

  .flashcard-choice-label {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}
/* Word Search Modal Styles */

.wordsearch-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.wordsearch-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.wordsearch-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: auto;
  max-width: 1200px;
  max-height: 800px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.wordsearch-modal.show {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%);
}

.wordsearch-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid #e9ecef;
  background: #dcbafa;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 1;
}

.wordsearch-modal-title-container {
  flex: 1;
  min-width: 0;
}

.wordsearch-modal-title {
  margin: 0 0 4px 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.wordsearch-modal-subtitle {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
  text-align: center;
  color: #3c0f63;
}

.wordsearch-modal-close-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.wordsearch-modal-close-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.wordsearch-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  gap: 24px;
  max-height: calc(90vh - 40px);
}

.wordsearch-grid-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.wordsearch-stats {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #6b7280;
  justify-content: center;
}

.wordsearch-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.wordsearch-grid {
  display: inline-grid;
  gap: 2px;
  background: rgba(102, 126, 234, 0.1);
  padding: 2px;
  border-radius: 8px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.wordsearch-cell {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 150ms ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
}

.wordsearch-cell:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: #8b5cf6;
  transform: scale(1.05);
}

.wordsearch-cell.selected {
  background: rgba(108, 62, 168, 0.644);
  color: white;
  border-color: #a65ad8;
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
  font-weight: 700;
}

.wordsearch-cell.found {
  background: rgba(213, 170, 248, 0.315);
  border-color: #8660a08f;
  color: #5a0592;
  font-weight: 700;
}

.wordsearch-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.wordsearch-button {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wordsearch-button-primary {
  background: #8b5cf6;
  color: white;
}

.wordsearch-button-primary:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.wordsearch-new {
  background: #168340;
}

.wordsearch-button-secondary {
  background: #f3f4f6;
  background: #e5e7eb;
  color: #374151;
}

.wordsearch-button-secondary:hover {
  background: #e5e7eb;
}

.wordsearch-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.wordsearch-word-list {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(90vh - 220px);
  text-align: center;
}

.wordsearch-word-list h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wordsearch-words {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 10px;
}

.wordsearch-word-item {
  padding: 12px 16px;
  background: rgba(245, 245, 248, 0.6);
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #770707;
  cursor: default;
  transition: all 150ms ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}

.wordsearch-word-item:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: #c4b5fd;
}

.wordsearch-word-item.found {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #166534;
  text-decoration: line-through;
  opacity: 0.8;
}

.wordsearch-word-info {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 200ms;
}

.wordsearch-word-info:hover {
  opacity: 1;
}


/* Responsive Design */
@media (max-width: 768px) {
  .wordsearch-modal-body {
    flex-direction: column;
    max-height: calc(90vh - 140px);
  }

  .wordsearch-word-list {
    min-width: 100%;
    max-height: 200px;
  }

  .wordsearch-cell {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .wordsearch-grid {
    gap: 2px;
  }

  .wordsearch-modal-header {
    padding: 16px 20px;
  }

  .wordsearch-modal-title {
    font-size: 1.5rem;
  }

  .wordsearch-modal-body {
    padding: 16px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .wordsearch-modal {
    max-width: 95vw;
    max-height: 95vh;
  }

  .wordsearch-cell {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .wordsearch-grid {
    gap: 1px;
    padding: 4px;
  }

  .wordsearch-stats {
    gap: 16px;
    font-size: 12px;
  }

  .wordsearch-modal-title {
    font-size: 1.25rem;
  }

  .wordsearch-controls {
    gap: 8px;
  }

  .wordsearch-button {
    padding: 8px 16px;
    font-size: 12px;
  }
}

.about-info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(219, 206, 206, 0.6);
  z-index: 11998;
  opacity: 0;
  visibility: hidden;
}

.about-info {
  /*position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: rgb(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  backdrop-filter: blur(20px);
  overflow-x: hidden;*/
  position: fixed;
  background: rgb(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 11999;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(-10px);
  backdrop-filter: blur(20px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.about-info-overlay.show {
  opacity: 1;
  visibility: visible;
}

.about-info.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.about-info-header {
  padding: 10px 14px;
  background: #dcbafa;
  text-align: center;
  border-bottom: 1px solid #e8d2fa;
}

.about-info-heading {
  font-size: 24px;
  font-weight: 600;
  color: #330469;
  margin: 0 0 8px;
}

.about-info-subtitle {
  font-size: 16px;
  color: #654886;
  margin: 0;
  line-height: 1.4;
}

.about-info-content {
  height: calc(100% - 100px);
  overflow-y: auto;
  overflow-x: hidden;
}

.about-info-content::-webkit-scrollbar {
  width: 6px;
}

.about-info-content::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.about-info-content::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

.about-info-content::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.about-info-section {
  padding: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.about-info-section:last-child {
  border-bottom: none;
}

.about-info-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #330469;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #dcbafa;
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(252, 238, 252, 0.3);
  border: 1px solid #e8d2fa;
  transition: all 0.15s ease;
}

.team-member:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: rgba(252, 238, 252, 0.5);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 20%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 3px solid #dcbafa;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #654886;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.team-name {
  font-size: 16px;
  font-weight: 600;
  color: #330469;
  margin: 0 0 6px;
}

.team-description {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.4;
  margin: 0;
}

/* Team Member Social Links */
.team-socials {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 12px;
  width: 40px;
  align-items: center;
  justify-content: center;
}

.team-social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #dcbafa;
  text-decoration: none;
  color: #654886;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s ease;
  gap: 6px;
}

.team-social-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: #330469;
  color: #330469;
  transform: translateY(-1px);
}

.team-social-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.team-social-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
}

.team-social-icon svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 480px) {
  .team-social-item {
    padding: 6px 10px;
    font-size: 11px;
  }

  .team-social-icon {
    width: 14px;
    height: 14px;
  }
}

/* Social Section Styles */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: 12px;
  background: rgba(252, 238, 252, 0.3);
  border: 1px solid #e8d2fa;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.social-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: rgba(252, 238, 252, 0.6);
  border-color: #dcbafa;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: rgba(252, 238, 252, 1);
  color: #654886;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 8px;
}

.social-name {
  font-size: 14px;
  font-weight: 500;
  color: #330469;
  margin: 0;
}

/* Tech Section Styles */
.tech-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.tech-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(252, 238, 252, 0.3);
  border: 1px solid #e8d2fa;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.tech-item:hover {
  background: rgba(252, 238, 252, 0.6);
  transform: translateX(4px);
  border-color: #dcbafa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-item.no-link {
  cursor: default;
}

.tech-item.no-link:hover {
  transform: none;
}

.tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: rgba(252, 238, 252, 1);
  color: #654886;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tech-icon span {
  margin: 2px;
  word-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tech-icon.icon-image {
  padding: 8px;
}

.tech-icon.icon-css-class {
  background: transparent;
  box-shadow: none;
  color: #495057;
}

.tech-icon.icon-svg {
  padding: 8px;
}

.tech-icon img, .social-icon img{
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  border-radius: 6px;
}

.tech-icon svg {
  width: 24px;
  height: 24px;
}

.tech-content {
  flex: 1;
  min-width: 0;
}

.tech-title {
  font-weight: 600;
  font-size: 16px;
  color: #330469;
  margin: 0 0 6px;
  line-height: 1.2;
}

.tech-description {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tech-link-indicator {
  margin-left: 12px;
  color: #dcbafa;
  font-size: 18px;
  transition: transform 0.15s ease;
}

.tech-item:hover .tech-link-indicator {
  transform: translateX(4px);
}

.about-info-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #cb9af7;
  border: 1px solid #dcbafa;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #654886;
  font-size: 18px;
  line-height: 1;
  transition: all 0.15s ease;
  backdrop-filter: blur(10px);
}

.about-info-close:hover {
  background: #cb9af7;
  color: #330469;
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .socials-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-info {
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    max-width: none;
    max-height: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-info-header {
    padding: 16px 20px;
  }

  .about-info-section {
    padding: 20px;
  }

  .team-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .tech-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
}

@media (max-width: 480px) {
  .about-info {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
  }

  .about-info-section {
    padding: 16px;
  }

  .team-member {
    padding: 12px;
  }

  .tech-item {
    padding: 12px;
  }
}

/* Help Panel Styles */
.help-panel {
  position: fixed;
  top: 0;
  right: -520px;
  width: 520px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.935);
  border-left: 2px solid #1a252f;
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.help-panel.open {
  right: 0;
}

.help-toggle {
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 60px;
  background-color: #e2f1ffe1;
  border: 2px solid #1a252f;
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #00a0bd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 1;
}

.help-toggle:hover {
  background: #7ea9f87c;
  color: white;
}

.help-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.help-header {
  display: flex;
  align-items: center;
  padding: 12px;
  background: rgba(0, 129, 161, 0.911);
  flex-direction: column;
  width: 100%;
}

.help-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #f4defd;
}

.help-header-top {
  display: flex;

  justify-content: space-between;
  width: 100%;
}

.help-header-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-top: 8px;
}

.help-header-nav button {
  display: flex;
  margin-left: 8px;
  cursor: pointer;
  /*background-color: rgba(46, 198, 236, 0.911);*/
  border-radius: 50%;
  color: #575757;
  align-items: center;
  justify-content: center;
}

button:disabled {
  background-color: #929da0;
  color: #f6e8ff;
}

.help-header-nav button:not(:disabled):hover {
  background-color: rgba(21, 182, 223, 0.911);
  color: #292929;
}

.help-close {
  background: #2b5c68dc;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: right;
  justify-content: right;
  border-radius: 12px;
  transition: background 0.2s;
}

.help-close:hover {
  background: #813927bd;
}
/*
.help-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  color: #00444b;
  background-color: #f4f9fa;
}


/* Help Header Controls */
.help-header-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.help-pin {
  background: none;
  border: none;
  color: #ffaf04;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.2s;
}

.help-pin:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.help-pin.pinned {
  color: var(--accent);
  background: #fcd88c;
}

.help-pin.pinned:hover {
  background: rgba(158, 52, 219, 0.3);
}

.help-luna-main-body {
  width: 100%;
  height: 100vh;
  padding: 10px;
  display: block;
  overflow-y: auto;
}

.help-luna-body {
  line-height: 1.6;
  color: #6c757d;
  padding: 10px;
  width: 100%;
  height: auto;
}

.help-luna-body > p {
  color: #66664f;
}
.help-luna-body > p > strong {
  color: #015175;
}
.help-luna-body > ol > li {
  color: #037a1d;
  margin-left: 20px;
}
.help-luna-body > ul > li {
  color: #7a034c;
  margin-left: 20px;
}
.help-luna-body > pre {
  background-color: #eefde6;
  border-radius: 4px;
}
.help-luna-body > pre > code {
  color: #4e026e;
  padding: 4px;
}
.help-luna-body > div > pre {
  background-color: #f6e6fd;
  border-radius: 4px;
  color: #6e0238;
  padding: 4px;
}
.help-luna-body > h1 {
  color: #1e6e29;
  margin-bottom: 4px;
  text-align: left;
  font-size: 30px;
}

.help-luna-body > h2 {
  color: #92003d;
  margin-bottom: 4px;
  text-align: left;
  font-size: 20px;
}

pre,
code {
  overflow: auto;
  padding: 4px;
}

/* For Webkit browsers (Chrome, Safari, Edge) */
.help-luna-main-body::-webkit-scrollbar {
  width: 12px; /* Width of vertical scrollbar */
  height: 12px; /* Height of horizontal scrollbar */
}

.help-luna-main-body::-webkit-scrollbar-track {
  background: transparent; /* Transparent track */
}

.help-luna-main-body::-webkit-scrollbar-thumb {
  background: rgba(1, 81, 112, 0.3);
  border-radius: 6px;
}

.help-luna-main-body::-webkit-scrollbar-thumb:hover {
  background: rgba(1, 81, 112, 0.5);
}

/* For Firefox */
.help-luna-main-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(1, 81, 112, 0.5) transparent; /* thumb color, track color */
}

@keyframes luna-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.luna-spin-disable{
  display:none
}

.luna-spin-ease {
  animation: luna-spin 2s ease-in-out infinite;
}

@keyframes luna-spin-wobble {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg) scale(0.9);
  }
  100% {
    transform: rotate(360deg);
  }
}

.luna-spin-wobble {
  animation: luna-spin-wobble 2s ease-in-out infinite;
}

/**
 * StoryCanvas CSS Styles
 * Extracted styles for the StoryCanvas module
 */

/* Base wrapper styles */
.story-canvas-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: "Comic Neue", "Fredoka", cursive, sans-serif;
}

/* Drawer styles */
.story-canvas-drawer {
  position: absolute;
  left: -360px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  max-height: 100%;
  background: rgba(255, 236, 223, 0.897);
  color: #000;
  transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.story-canvas-drawer.open {
  left: 0;
}

/* Drawer toggle button */
.story-canvas-drawer-toggle {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  background: rgb(255, 176, 124);
  border: none;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.story-canvas-drawer-toggle:hover {
  transform: translateY(-50%) scale(1.1);
}

.story-canvas-drawer-toggle:active {
  transform: translateY(-50%) scale(0.95);
}

/* Drawer header */
.story-canvas-drawer-header {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(255, 165, 80, 0.89);
  backdrop-filter: blur(10px);
  align-items: center;
}

.story-canvas-drawer-header h3 {
  margin: 0;
  color: rgb(61, 76, 78);
  font-size: 24px;
  font-weight: 700;
}

.story-canvas-drawer-header p {
  margin: 8px 0 0;
  color: rgb(0, 0, 0);
  font-size: 16px;
}

/* Assets container */
.story-canvas-assets {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.story-canvas-assets::-webkit-scrollbar {
  width: 6px;
}

.story-canvas-assets::-webkit-scrollbar-track {
  background: transparent;
}

.story-canvas-assets::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.story-canvas-assets::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Asset cards */
.asset-card {
  background: rgba(255, 255, 255, 0);
  border-radius: 12px;
  padding: 12px;
  cursor: grab;
  transition: all 0.3s ease;
  text-align: center;
}

.asset-card:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.asset-card:active {
  cursor: grabbing;
  transform: scale(0.98);
}

.asset-card-preview {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #f8f8f841;
  overflow: hidden;
}

.asset-card-preview img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.asset-card-icon {
  font-size: 48px;
}

.asset-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Toolbar styles */
.story-canvas-toolbar {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 12px 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 9;
}

/* Toolbar buttons */
.toolbar-btn {
  background: #f0f0f0;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.toolbar-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toolbar-btn:active {
  transform: scale(0.95) translateY(0);
}

.toolbar-btn.active {
  background: #ff6b6b;
  color: white;
}

.toolbar-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.toolbar-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Toolbar separator */
.toolbar-separator {
  width: 2px;
  height: 32px;
  background: #e0e0e0;
}

/* Drawing cursor */
.drawing-mode {
  cursor: crosshair !important;
}

.drawing-mode * {
  cursor: crosshair !important;
}

.drawing-stroke-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Loading state */
.asset-loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Animation keyframes */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Utility classes */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

.bounce-in {
  animation: bounceIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Add to storyCanvas.css */
input[type="color"] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  border: 2px solid #e0e0e0;
  padding: 0;
  cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 6px;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: #e0e0e0;
  border-radius: 5px;
  height: 6px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff6b6b;
  cursor: pointer;
}

.color-picker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.color-picker-modal {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  min-width: 320px;
  max-width: 400px;
}

.color-picker-title {
  margin: 0 0 20px 0;
  font-family: "Comic Neue", sans-serif;
  color: #333;
  font-size: 24px;
}

.color-input-wrapper {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.color-input {
  width: 100px;
  height: 60px;
  border: 3px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
}

.color-picker-hex-input {
  width: 120px;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: monospace;
  font-size: 16px;
  text-align: center;
}

.color-picker-palette-title {
  margin: 20px 0 10px 0;
  font-family: "Comic Neue", sans-serif;
  color: #666;
  font-size: 14px;
}

.color-picker-palette {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin: 10px 0 20px 0;
}

.color-picker-button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-picker-button-container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 20px;
}

.color-picker-apply-button {
  padding: 12px 32px;
  background: #4ecdc4;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  font-family: "Comic Neue", sans-serif;
  transition: background 0.2s;
}

.color-picker-cancel-button {
  padding: 12px 32px;
  background: #ddd;
  color: #333;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  font-family: "Comic Neue", sans-serif;
  transition: background 0.2s;
}

.color-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.drawing-mode-indicator {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(146, 224, 255, 0.377);
  color: rgb(90, 90, 90);
  padding: 12px 24px;
  border-radius: 24px;
  font-family: "Comic Ncceue", sans-serif;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .story-canvas-drawer {
    width: 280px;
    left: -280px;
  }

  .story-canvas-drawer.open {
    left: 0;
  }

  .story-canvas-assets {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .story-canvas-toolbar {
    bottom: 16px;
    padding: 8px 16px;
    gap: 8px;
  }

  .toolbar-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
/* Custom Tippy themes */
.tippy-box[data-theme~='custom'] {
  background-color: #6366f1;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.tippy-box[data-theme~='luna-help'] {
  background-color: #bef3fa;
  color: rgb(66, 6, 145);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}

.tippy-box[data-theme~='custom'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: #6366f1;
}

.tippy-box[data-theme~='custom'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #6366f1;
}

.tippy-box[data-theme~='light-border'] {
  background-color: white;
  color: #374151;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tippy-box[data-theme~='light-border'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: white;
}

.tippy-box[data-theme~='light-border'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: white;
}
