

  .hidden {
    display: none !important;
}
  /* ====================================
     BLOQUE 1: FONT AWESOME + FRAMEWORK DE UTILIDADES (Base)
     ==================================== */

  /* ==================== FONT AWESOME (VANILLA CSS) ==================== */
  .fa {
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
  }

  .fa,
  .fa-brands,
  .fa-classic,
  .fa-regular,
  .fa-sharp,
  .fa-solid,
  .fab,
  .far,
  .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
  }

  .fa-classic,
  .fa-regular,
  .fa-solid,
  .far,
  .fas {
    font-family: "Font Awesome 6 Free";
  }

  .fa-brands,
  .fab {
    font-family: "Font Awesome 6 Brands";
  }

  /* Tamaños de iconos */
  .fa-1x { font-size: 1em; }
  .fa-2x { font-size: 2em; }
  .fa-3x { font-size: 3em; }
  .fa-4x { font-size: 4em; }
  .fa-5x { font-size: 5em; }
  .fa-6x { font-size: 6em; }
  .fa-7x { font-size: 7em; }
  .fa-8x { font-size: 8em; }
  .fa-9x { font-size: 9em; }
  .fa-10x { font-size: 10em; }

  .fa-2xs {
    font-size: .625em;
    line-height: .1em;
    vertical-align: .225em;
  }

  .fa-xs {
    font-size: .75em;
    line-height: .08333em;
    vertical-align: .125em;
  }

  .fa-sm {
    font-size: .875em;
    line-height: .07143em;
    vertical-align: .05357em;
  }

  .fa-lg {
    font-size: 1.25em;
    line-height: .05em;
    vertical-align: -.075em;
  }

  .fa-xl {
    font-size: 1.5em;
    line-height: .04167em;
    vertical-align: -.125em;
  }

  .fa-2xl {
    font-size: 2em;
    line-height: .03125em;
    vertical-align: -.1875em;
  }

  .fa-fw {
    text-align: center;
    width: 1.25em;
  }

  .fa-ul {
    list-style-type: none;
    margin-left: var(--fa-li-margin, 2.5em);
    padding-left: 0;
  }

  .fa-ul > li {
    position: relative;
  }

  .fa-li {
    left: calc(var(--fa-li-width, 2em) * -1);
    position: absolute;
    text-align: center;
    width: var(--fa-li-width, 2em);
    line-height: inherit;
  }

  .fa-border {
    border-radius: var(--fa-border-radius, .1em);
    border: var(--fa-border-width, .08em) var(--fa-border-style, solid) var(--fa-border-color, #eee);
    padding: var(--fa-border-padding, .2em .25em .15em);
  }

  .fa-pull-left {
    float: left;
    margin-right: var(--fa-pull-margin, .3em);
  }

  .fa-pull-right {
    float: right;
    margin-left: var(--fa-pull-margin, .3em);
  }

  /* Animaciones */
  .fa-beat {
    -webkit-animation-name: fa-beat;
    animation-name: fa-beat;
    -webkit-animation-delay: var(--fa-animation-delay, 0s);
    animation-delay: var(--fa-animation-delay, 0s);
    -webkit-animation-direction: var(--fa-animation-direction, normal);
    animation-direction: var(--fa-animation-direction, normal);
    -webkit-animation-duration: var(--fa-animation-duration, 1s);
    animation-duration: var(--fa-animation-duration, 1s);
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
    animation-timing-function: var(--fa-animation-timing, ease-in-out);
  }

  .fa-bounce {
    -webkit-animation-name: fa-bounce;
    animation-name: fa-bounce;
    -webkit-animation-delay: var(--fa-animation-delay, 0s);
    animation-delay: var(--fa-animation-delay, 0s);
    -webkit-animation-direction: var(--fa-animation-direction, normal);
    animation-direction: var(--fa-animation-direction, normal);
    -webkit-animation-duration: var(--fa-animation-duration, 1s);
    animation-duration: var(--fa-animation-duration, 1s);
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(.28, .84, .42, 1));
    animation-timing-function: var(--fa-animation-timing, cubic-bezier(.28, .84, .42, 1));
  }

  .fa-fade {
    -webkit-animation-name: fa-fade;
    animation-name: fa-fade;
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(.4, 0, .6, 1));
    animation-timing-function: var(--fa-animation-timing, cubic-bezier(.4, 0, .6, 1));
  }

  .fa-beat-fade,
  .fa-fade {
    -webkit-animation-delay: var(--fa-animation-delay, 0s);
    animation-delay: var(--fa-animation-delay, 0s);
    -webkit-animation-direction: var(--fa-animation-direction, normal);
    animation-direction: var(--fa-animation-direction, normal);
    -webkit-animation-duration: var(--fa-animation-duration, 1s);
    animation-duration: var(--fa-animation-duration, 1s);
  }

  .fa-beat-fade {
    -webkit-animation-name: fa-beat-fade;
    animation-name: fa-beat-fade;
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(.4, 0, .6, 1));
    animation-timing-function: var(--fa-animation-timing, cubic-bezier(.4, 0, .6, 1));
  }

  .fa-flip {
    -webkit-animation-name: fa-flip;
    animation-name: fa-flip;
    -webkit-animation-delay: var(--fa-animation-delay, 0s);
    animation-delay: var(--fa-animation-delay, 0s);
    -webkit-animation-direction: var(--fa-animation-direction, normal);
    animation-direction: var(--fa-animation-direction, normal);
    -webkit-animation-duration: var(--fa-animation-duration, 1s);
    animation-duration: var(--fa-animation-duration, 1s);
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
    animation-timing-function: var(--fa-animation-timing, ease-in-out);
  }

  .fa-shake {
    -webkit-animation-name: fa-shake;
    animation-name: fa-shake;
    -webkit-animation-duration: var(--fa-animation-duration, 1s);
    animation-duration: var(--fa-animation-duration, 1s);
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, linear);
    animation-timing-function: var(--fa-animation-timing, linear);
  }

  .fa-shake,
  .fa-spin {
    -webkit-animation-delay: var(--fa-animation-delay, 0s);
    animation-delay: var(--fa-animation-delay, 0s);
    -webkit-animation-direction: var(--fa-animation-direction, normal);
    animation-direction: var(--fa-animation-direction, normal);
  }

  .fa-spin {
    -webkit-animation-name: fa-spin;
    animation-name: fa-spin;
    -webkit-animation-duration: var(--fa-animation-duration, 2s);
    animation-duration: var(--fa-animation-duration, 2s);
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, linear);
    animation-timing-function: var(--fa-animation-timing, linear);
  }

  .fa-spin-reverse {
    --fa-animation-direction: reverse;
  }

  .fa-pulse,
  .fa-spin-pulse {
    -webkit-animation-name: fa-spin;
    animation-name: fa-spin;
    -webkit-animation-direction: var(--fa-animation-direction, normal);
    animation-direction: var(--fa-animation-direction, normal);
    -webkit-animation-duration: var(--fa-animation-duration, 1s);
    animation-duration: var(--fa-animation-duration, 1s);
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
    animation-timing-function: var(--fa-animation-timing, steps(8));
  }

  /* Keyframes para animaciones */
  @-webkit-keyframes fa-beat {
    0%, 90% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
    45% {
      -webkit-transform: scale(var(--fa-beat-scale, 1.25));
      transform: scale(var(--fa-beat-scale, 1.25));
    }
  }

  
  


  @keyframes fa-beat {
    0%, 90% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
    45% {
      -webkit-transform: scale(var(--fa-beat-scale, 1.25));
      transform: scale(var(--fa-beat-scale, 1.25));
    }
  }

  @-webkit-keyframes fa-bounce {
    0% {
      -webkit-transform: scale(1) translateY(0);
      transform: scale(1) translateY(0);
    }
    10% {
      -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, .9)) translateY(0);
      transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, .9)) translateY(0);
    }
    30% {
      -webkit-transform: scale(var(--fa-bounce-jump-scale-x, .9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));
      transform: scale(var(--fa-bounce-jump-scale-x, .9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));
    }
    50% {
      -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, .95)) translateY(0);
      transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, .95)) translateY(0);
    }
    57% {
      -webkit-transform: scale(1) translateY(var(--fa-bounce-rebound, -.125em));
      transform: scale(1) translateY(var(--fa-bounce-rebound, -.125em));
    }
    64% {
      -webkit-transform: scale(1) translateY(0);
      transform: scale(1) translateY(0);
    }
    to {
      -webkit-transform: scale(1) translateY(0);
      transform: scale(1) translateY(0);
    }
  }

  @keyframes fa-bounce {
    0% {
      -webkit-transform: scale(1) translateY(0);
      transform: scale(1) translateY(0);
    }
    10% {
      -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, .9)) translateY(0);
      transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, .9)) translateY(0);
    }
    30% {
      -webkit-transform: scale(var(--fa-bounce-jump-scale-x, .9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));
      transform: scale(var(--fa-bounce-jump-scale-x, .9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -.5em));
    }
    50% {
      -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, .95)) translateY(0);
      transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, .95)) translateY(0);
    }
    57% {
      -webkit-transform: scale(1) translateY(var(--fa-bounce-rebound, -.125em));
      transform: scale(1) translateY(var(--fa-bounce-rebound, -.125em));
    }
    64% {
      -webkit-transform: scale(1) translateY(0);
      transform: scale(1) translateY(0);
    }
    to {
      -webkit-transform: scale(1) translateY(0);
      transform: scale(1) translateY(0);
    }
  }

  @-webkit-keyframes fa-fade {
    50% {
      opacity: var(--fa-fade-opacity, .4);
    }
  }

  @keyframes fa-fade {
    50% {
      opacity: var(--fa-fade-opacity, .4);
    }
  }

  @-webkit-keyframes fa-beat-fade {
    0%, to {
      opacity: var(--fa-beat-fade-opacity, .4);
      -webkit-transform: scale(1);
      transform: scale(1);
    }
    50% {
      opacity: 1;
      -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
      transform: scale(var(--fa-beat-fade-scale, 1.125));
    }
  }

  @keyframes fa-beat-fade {
    0%, to {
      opacity: var(--fa-beat-fade-opacity, .4);
      -webkit-transform: scale(1);
      transform: scale(1);
    }
    50% {
      opacity: 1;
      -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
      transform: scale(var(--fa-beat-fade-scale, 1.125));
    }
  }

  @-webkit-keyframes fa-flip {
    50% {
      -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
      transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
    }
  }

  @keyframes fa-flip {
    50% {
      -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
      transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
    }
  }

  @-webkit-keyframes fa-shake {
    0% {
      -webkit-transform: rotate(-15deg);
      transform: rotate(-15deg);
    }
    4% {
      -webkit-transform: rotate(15deg);
      transform: rotate(15deg);
    }
    8%, 24% {
      -webkit-transform: rotate(-18deg);
      transform: rotate(-18deg);
    }
    12%, 28% {
      -webkit-transform: rotate(18deg);
      transform: rotate(18deg);
    }
    16% {
      -webkit-transform: rotate(-22deg);
      transform: rotate(-22deg);
    }
    20% {
      -webkit-transform: rotate(22deg);
      transform: rotate(22deg);
    }
    32% {
      -webkit-transform: rotate(-12deg);
      transform: rotate(-12deg);
    }
    36% {
      -webkit-transform: rotate(12deg);
      transform: rotate(12deg);
    }
    40%, to {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  }

  @keyframes fa-shake {
    0% {
      -webkit-transform: rotate(-15deg);
      transform: rotate(-15deg);
    }
    4% {
      -webkit-transform: rotate(15deg);
      transform: rotate(15deg);
    }
    8%, 24% {
      -webkit-transform: rotate(-18deg);
      transform: rotate(-18deg);
    }
    12%, 28% {
      -webkit-transform: rotate(18deg);
      transform: rotate(18deg);
    }
    16% {
      -webkit-transform: rotate(-22deg);
      transform: rotate(-22deg);
    }
    20% {
      -webkit-transform: rotate(22deg);
      transform: rotate(22deg);
    }
    32% {
      -webkit-transform: rotate(-12deg);
      transform: rotate(-12deg);
    }
    36% {
      -webkit-transform: rotate(12deg);
      transform: rotate(12deg);
    }
    40%, to {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  }

  @-webkit-keyframes fa-spin {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(1turn);
      transform: rotate(1turn);
    }
  }

  @keyframes fa-spin {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(1turn);
      transform: rotate(1turn);
    }
  }

  /* Transformaciones */
  .fa-rotate-90 {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  .fa-rotate-180 {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .fa-rotate-270 {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }

  .fa-flip-horizontal {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
  }

  .fa-flip-vertical {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
  }

  .fa-flip-both,
  .fa-flip-horizontal.fa-flip-vertical {
    -webkit-transform: scale(-1);
    transform: scale(-1);
  }

  .fa-rotate-by {
    -webkit-transform: rotate(var(--fa-rotate-angle, none));
    transform: rotate(var(--fa-rotate-angle, none));
  }

  .fa-stack {
    display: inline-block;
    height: 2em;
    line-height: 2em;
    position: relative;
    vertical-align: middle;
    width: 2.5em;
  }

  .fa-stack-1x,
  .fa-stack-2x {
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: var(--fa-stack-z-index, auto);
  }

  .fa-stack-1x {
    line-height: inherit;
  }

  .fa-stack-2x {
    font-size: 2em;
  }

  .fa-inverse {
    color: var(--fa-inverse, #fff);
  }

  /* Utilidades de accesibilidad */
  .fa-sr-only,
  .fa-sr-only-focusable:not(:focus),
  .sr-only,
  .sr-only-focusable:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }

/* ==================== UTILIDADES ADICIONALES (INTEGRACIÓN) ==================== */

  /* Display */
  .inline { display: inline; }
  .inline-flex { display: inline-flex; }
  
  /* Flex */
  .items-end { align-items: flex-end; }
  .justify-start { justify-content: flex-start; }
  
  /* Spacing - Margin */
  .mr-1 { margin-right: 0.25rem; }
  .ml-11 { margin-left: 2.75rem; }
  
  /* Spacing - Padding */
  .pl-11 { padding-left: 2.75rem; }
  
  /* Typography */
  .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .whitespace-nowrap { white-space: nowrap; }
  .italic { font-style: italic; }
  
  /* Colors - Text (Adicionales) */
  .text-red-700 { color: #b91c1c; }
  .text-red-900 { color: #7f1d1d; }
  .text-green-700 { color: #15803d; }
  .text-yellow-700 { color: #a16207; }
  .text-blue-700 { color: #1d4ed8; }
  .text-blue-900 { color: #1e3a8a; }
  .text-indigo-300 { color: #a5b4fc; }
  .text-indigo-700 { color: #4338ca; }
  .text-indigo-800 { color: #3730a3; }
  .text-indigo-900 { color: #312e81; }
  .text-purple-700 { color: #7e22ce; }
  .text-purple-900 { color: #581c87; }
  .text-orange-500 { color: #f97316; }
  .text-orange-600 { color: #ea580c; }
  .text-orange-700 { color: #c2410c; }
  .text-orange-900 { color: #7c2d12; }
  
  /* Colors - Background (Adicionales) */
  .bg-gray-300 { background-color: #d1d5db; }
  .bg-gray-500 { background-color: #6b7280; }
  .bg-gray-600 { background-color: #4b5563; }
  .bg-gray-800 { background-color: #1f2937; }
  .bg-red-200 { background-color: #fecaca; }
  .bg-green-500 { background-color: #22c55e; }
  .bg-green-600 { background-color: #16a34a; }
  .bg-yellow-200 { background-color: #fef08a; }
  .bg-blue-500 { background-color: #3b82f6; }
  .bg-blue-600 { background-color: #2563eb; }
  .bg-purple-500 { background-color: #a855f7; }
  .bg-purple-600 { background-color: #9333ea; }
  .bg-orange-500 { background-color: #f97316; }
  .bg-orange-600 { background-color: #ea580c; }
  
  /* Shadow */
  .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
  
  /* Hover (Adicionales) */
  .hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
  .hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
  .hover\:bg-gray-600:hover { background-color: #4b5563; }
  .hover\:bg-green-700:hover { background-color: #15803d; }
  .hover\:text-red-800:hover { color: #991b1b; }
  
  /* Cursor */
  .cursor-default { cursor: default; }
  
  /* Opacity */
  .bg-opacity-50 { --tw-bg-opacity: 0.5; }
  .opacity-60 { opacity: 0.6; }
  
  /* List */
  .list-disc { list-style-type: disc; }
  .list-inside { list-style-position: inside; }
  
  /* Object Fit */
  .object-contain { object-fit: contain; }
  
/* Max Height (Corregido) */
  .max-h-500 { max-height: 500px; }
  .max-h-70vh { max-height: 70vh; }
  
  /* Min Height (Corregido) */
  .min-h-150 { min-height: 150px; }
  .min-h-200 { min-height: 200px; }
  
  /* Space */
  .space-y-1 > * + * { margin-top: 0.25rem; }
  .space-y-2 > * + * { margin-top: 0.5rem; }
  .space-y-3 > * + * { margin-top: 0.75rem; }
  .space-y-4 > * + * { margin-top: 1rem; }
  .space-y-6 > * + * { margin-top: 1.5rem; }
  
  /* Media Queries (Adicionales) */
  @media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:relative { position: relative; }
    .md\:translate-x-0 { transform: translateX(0); }
    .md\:items-center { align-items: center; }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  }

 /* ==================== CLASES FALTANTES PARA EL SIDEBAR Y LAYOUT ==================== */

/* Width específicos */
.w-72 { width: 18rem; }

/* Posicionamiento del menú móvil */
.-translate-x-full {
    transform: translateX(-100%);
}

.translate-x-0 {
    transform: translateX(0);
}

/* Transiciones */
.duration-300 {
    transition-duration: 300ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Background con opacidad */
.bg-black {
    background-color: #000000;
}

/* Para el overlay del menú móvil */
.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Tamaños de iconos */
.text-5xl { font-size: 3rem; line-height: 1; }

/* Rounded para el logo */
.rounded-full { border-radius: 9999px; }

/* Flex utilities adicionales */
.flex-shrink-0 { flex-shrink: 0; }

/* Colores de fondo adicionales para el sidebar */
.bg-white\/30 {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Media query para ocultar el botón hamburguesa en desktop */
@media (min-width: 768px) {
    .md\:hidden { display: none !important; }
    .md\:flex { display: flex !important; }
    .md\:relative { position: relative !important; }
    .md\:translate-x-0 { transform: translateX(0) !important; }
}

/* Asegurar que el sidebar tenga el ancho correcto */
.sidebar.w-72 {
    width: 18rem;
}

/* Clase para el menú de navegación */
.nav-link {
    display: block;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Z-index para capas */
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Posición fija para el botón hamburguesa y overlay */
.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.inset-y-0 {
    top: 0;
    bottom: 0;
}

/* Ajustes para el contenedor principal */
#app-container {
    position: relative;
    min-height: 100vh;
}

/* COMENTARIO: La regla conflictiva #app-container.md\:flex { display: block; } se eliminará
   ya que la siguiente media query la maneja correctamente */

@media (min-width: 768px) {
    #app-container.md\:flex {
        display: flex;
    }
}

/* Overflow para la sección principal */
.overflow-y-auto {
    overflow-y: auto;
}

/* Padding responsive para el main */
.p-6 {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .md\:p-10 {
        padding: 2.5rem;
    }
    /* >>> AÑADIDO: Padding izquierdo específico para evitar solapamiento en desktop <<< */
    main.md\:pl-72 {
        padding-left: 18rem; /* Asegura espacio igual al ancho del sidebar */
    }
    main.md\:p-10 { /* Resetear otros paddings si es necesario */
        padding-top: 2.5rem;
        padding-right: 2.5rem;
        padding-bottom: 2.5rem;
        /* El padding-left es manejado por md:pl-72 */
    }
    /* <<< FIN AÑADIDO >>> */
}

/* Asegurar que las imágenes del logo funcionen */
img {
    max-width: 100%;
    height: auto;
}
  

  /* ==================== UTILIDADES CSS VANILLA (REEMPLAZO DE TAILWIND) ==================== */

  /* Variables CSS */
  :root {
    --color-primary: #1e2a5a;
    --color-secondary: #00abe1;
    --color-accent: #f0f4f8;
    --color-text-light: #ffffff;
    --color-text-dark: #4a5568;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 3rem;
    --border-radius: 0.25rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  /* Utilidades de espaciado */
  .m-0 { margin: 0; }
  .mt-0 { margin-top: 0; }
  .mt-1 { margin-top: var(--spacing-xs); }
  .mt-2 { margin-top: var(--spacing-sm); }
  .mt-3 { margin-top: var(--spacing-md); }
  .mt-4 { margin-top: var(--spacing-lg); }
  .mt-6 { margin-top: var(--spacing-xl); }
  .mt-8 { margin-top: var(--spacing-2xl); }
  .mb-1 { margin-bottom: var(--spacing-xs); }
  .mb-2 { margin-bottom: var(--spacing-sm); }
  .mb-3 { margin-bottom: var(--spacing-md); }
  .mb-4 { margin-bottom: var(--spacing-lg); }
  .mb-6 { margin-bottom: var(--spacing-xl); }
  .mb-8 { margin-bottom: var(--spacing-2xl); }
  .mr-2 { margin-right: var(--spacing-sm); }
  .mr-3 { margin-right: var(--spacing-md); }
  .mr-4 { margin-right: var(--spacing-lg); }
  .ml-2 { margin-left: var(--spacing-sm); }
  .ml-4 { margin-left: var(--spacing-lg); }
  .ml-6 { margin-left: var(--spacing-xl); }
  .ml-8 { margin-left: var(--spacing-2xl); }

  .p-0 { padding: 0; }
  .p-2 { padding: var(--spacing-sm); }
  .p-3 { padding: var(--spacing-md); }
  .p-4 { padding: var(--spacing-lg); }
  .p-5 { padding: 1.25rem; }
  .p-6 { padding: var(--spacing-xl); }
  .px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
  .px-3 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
  .px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
  .px-6 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }
  .py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
  .py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
  .py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
  .py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
  .pt-2 { padding-top: var(--spacing-sm); }
  .pb-1 { padding-bottom: var(--spacing-xs); }
  .pl-8 { padding-left: var(--spacing-2xl); }

  /* Utilidades de display y flexbox */
  .flex { display: flex; }
  .hidden { display: none; }
  .block { display: block; }
  .inline-block { display: inline-block; }
  .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-center { justify-content: center; }
  .justify-between { justify-content: space-between; }
  .justify-end { justify-content: flex-end; }
  .flex-1 { flex: 1 1 0%; }
  .flex-grow { flex-grow: 1; }
  .flex-shrink-0 { flex-shrink: 0; }

  /* Utilidades de grid */
  .grid { display: grid; }
  .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gap-2 { gap: var(--spacing-sm); }
  .gap-3 { gap: var(--spacing-md); }
  .gap-4 { gap: var(--spacing-lg); }
  .gap-6 { gap: var(--spacing-xl); }
  .gap-x-4 { column-gap: var(--spacing-lg); }
  .gap-y-2 { row-gap: var(--spacing-sm); }

  /* Utilidades de texto */
  .text-xs { font-size: 0.75rem; line-height: 1rem; }
  .text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .text-base { font-size: 1rem; line-height: 1.5rem; }
  .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .text-5xl { font-size: 3rem; line-height: 1; }

  .font-medium { font-weight: 500; }
  .font-semibold { font-weight: 600; }
  .font-bold { font-weight: 700; }

  .text-left { text-align: left; }
  .text-center { text-align: center; }
  .text-right { text-align: right; }

  .text-white { color: #ffffff; }
  .text-gray-300 { color: #d1d5db; }
  .text-gray-400 { color: #9ca3af; }
  .text-gray-500 { color: #6b7280; }
  .text-gray-600 { color: #4b5563; }
  .text-gray-700 { color: #374151; }
  .text-gray-800 { color: #1f2937; }
  .text-blue-500 { color: #3b82f6; }
  .text-blue-600 { color: #2563eb; }
  .text-green-600 { color: #16a34a; }
  .text-red-600 { color: #dc2626; }
  .text-yellow-500 { color: #eab308; }
  .text-purple-600 { color: #9333ea; }
  .text-indigo-600 { color: #4f46e5; }

  /* Utilidades de fondo */
  .bg-white { background-color: #ffffff; }
  .bg-gray-50 { background-color: #f9fafb; }
  .bg-gray-100 { background-color: #f3f4f6; }
  .bg-gray-200 { background-color: #e5e7eb; }
  .bg-blue-50 { background-color: #eff6ff; }
  .bg-blue-100 { background-color: #dbeafe; }
  .bg-green-50 { background-color: #f0fdf4; }
  .bg-green-100 { background-color: #dcfce7; }
  .bg-yellow-50 { background-color: #fefce8; }
  .bg-yellow-100 { background-color: #fef9c3; }
  .bg-red-50 { background-color: #fef2f2; }
  .bg-red-100 { background-color: #fee2e2; }
  .bg-purple-50 { background-color: #faf5ff; }
  .bg-purple-100 { background-color: #f3e8ff; }
  .bg-indigo-50 { background-color: #eef2ff; }
  .bg-indigo-100 { background-color: #e0e7ff; }
  .bg-orange-50 { background-color: #fff7ed; }
  .bg-orange-100 { background-color: #ffedd5; }

  /* Utilidades de borde */
  .border { border-width: 1px; }
  .border-2 { border-width: 2px; }
  .border-t { border-top-width: 1px; }
  .border-t-2 { border-top-width: 2px; }
  .border-t-4 { border-top-width: 4px; }
  .border-b { border-bottom-width: 1px; }
  .border-b-2 { border-bottom-width: 2px; }
  .border-l { border-left-width: 1px; }
  .border-l-2 { border-left-width: 2px; }
  .border-l-4 { border-left-width: 4px; }

  .border-gray-200 { border-color: #e5e7eb; }
  .border-gray-300 { border-color: #d1d5db; }
  .border-blue-200 { border-color: #bfdbfe; }
  .border-blue-300 { border-color: #93c5fd; }
  .border-blue-500 { border-color: #3b82f6; }
  .border-green-200 { border-color: #bbf7d0; }
  .border-green-300 { border-color: #86efac; }
  .border-green-500 { border-color: #22c55e; }
  .border-red-200 { border-color: #fecaca; }
  .border-red-300 { border-color: #fca5a5; }
  .border-red-500 { border-color: #ef4444; }
  .border-yellow-500 { border-color: #eab308; }
  .border-purple-200 { border-color: #e9d5ff; }
  .border-purple-300 { border-color: #d8b4fe; }
  .border-purple-500 { border-color: #a855f7; }
  .border-indigo-200 { border-color: #c7d2fe; }
  .border-indigo-300 { border-color: #a5b4fc; }
  .border-orange-300 { border-color: #fdba74; }

  /* Border radius */
  .rounded { border-radius: var(--border-radius); }
  .rounded-md { border-radius: var(--border-radius-md); }
  .rounded-lg { border-radius: var(--border-radius-lg); }
  .rounded-xl { border-radius: var(--border-radius-xl); }
  .rounded-full { border-radius: 9999px; }
  .rounded-t-lg { border-top-left-radius: var(--border-radius-lg); border-top-right-radius: var(--border-radius-lg); }

  /* Sombras */
  .shadow { box-shadow: var(--shadow); }
  .shadow-md { box-shadow: var(--shadow-md); }
  .shadow-lg { box-shadow: var(--shadow-lg); }
  .shadow-xl { box-shadow: var(--shadow-xl); }

  /* Hover states */
  .hover\:shadow-md:hover { box-shadow: var(--shadow-md); }
  .hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
  .hover\:bg-gray-50:hover { background-color: #f9fafb; }
  .hover\:bg-blue-600:hover { background-color: #2563eb; }
  .hover\:bg-green-600:hover { background-color: #16a34a; }
  .hover\:bg-purple-600:hover { background-color: #9333ea; }
  .hover\:bg-orange-600:hover { background-color: #ea580c; }

  /* Transiciones */
  .transition-all { transition: all 0.15s ease; }
  .transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
  .transition-shadow { transition: box-shadow 0.15s ease; }

  /* Cursor */
  .cursor-pointer { cursor: pointer; }
  .cursor-not-allowed { cursor: not-allowed; }

  /* Overflow */
  .overflow-hidden { overflow: hidden; }
  .overflow-auto { overflow: auto; }
  .overflow-x-auto { overflow-x: auto; }
  .overflow-y-auto { overflow-y: auto; }

  /* Position */
  .relative { position: relative; }
  .absolute { position: absolute; }
  .fixed { position: fixed; }
  .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
  .inset-y-0 { top: 0; bottom: 0; }
  .top-0 { top: 0; }
  .top-2 { top: var(--spacing-sm); }
  .top-4 { top: var(--spacing-lg); }
  .top-5 { top: 1.25rem; }
  .right-0 { right: 0; }
  .right-2 { right: var(--spacing-sm); }
  .right-4 { right: var(--spacing-lg); }
  .bottom-0 { bottom: 0; }
  .left-0 { left: 0; }
  .left-4 { left: var(--spacing-lg); }

  /* Z-index */
  .z-30 { z-index: 30; }
  .z-40 { z-index: 40; }
  .z-50 { z-index: 50; }

  /* Width y Height */
  .w-full { width: 100%; }
  .w-1\/2 { width: 50%; }
  .w-1\/3 { width: 33.333333%; }
  .w-2\/3 { width: 66.666667%; }
  .w-1\/4 { width: 25%; }
  .w-3\/4 { width: 75%; }
  .w-6 { width: 1.5rem; }
  .w-8 { width: 2rem; }
  .w-12 { width: 3rem; }
  .w-16 { width: 4rem; }
  .w-20 { width: 5rem; }
  .w-24 { width: 6rem; }
  .w-32 { width: 8rem; }
  .w-48 { width: 12rem; }
  .w-64 { width: 16rem; }
  .w-auto { width: auto; }
  .w-max { width: max-content; }
  .w-min { width: min-content; }

  .h-full { height: 100%; }
  .h-6 { height: 1.5rem; }
  .h-8 { height: 2rem; }
  .h-12 { height: 3rem; }
  .h-16 { height: 4rem; }
  .h-20 { height: 5rem; }
  .h-24 { height: 6rem; }
  .h-32 { height: 8rem; }
  .h-48 { height: 12rem; }
  .h-64 { height: 16rem; }
  .h-auto { height: auto; }
  .h-screen { height: 100vh; }

  .min-h-screen { min-height: 100vh; }
  .max-w-2xl { max-width: 42rem; }
  .max-w-4xl { max-width: 56rem; }
  .max-w-6xl { max-width: 72rem; }
  .max-w-full { max-width: 100%; }
  .max-w-xs { max-width: 20rem; }
  .max-w-sm { max-width: 24rem; }
  .max-w-md { max-width: 28rem; }
  .max-w-lg { max-width: 32rem; }

  /* Opacidad */
  .opacity-0 { opacity: 0; }
  .opacity-25 { opacity: 0.25; }
  .opacity-50 { opacity: 0.5; }
  .opacity-75 { opacity: 0.75; }
  .opacity-100 { opacity: 1; }

  /* Transformaciones */
  .transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
  .scale-95 { --tw-scale-x: .95; --tw-scale-y: .95; }
  .scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; }
  .scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }

  /* Animaciones personalizadas */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes slideIn {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  @keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
      transform: translate3d(0,0,0);
    }
    40%, 43% {
      transform: translate3d(0,-30px,0);
    }
    70% {
      transform: translate3d(0,-15px,0);
    }
    90% {
      transform: translate3d(0,-4px,0);
    }
  }

  .animate-fadeIn { animation: fadeIn 0.5s ease-out; }
  .animate-slideIn { animation: slideIn 0.3s ease-out; }
  .animate-bounce { animation: bounce 1s infinite; }

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
  /* Responsive */
  @media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:w-auto { width: auto; }
  }

  @media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:w-1\/2 { width: 50%; }
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
    .md\:w-1\/4 { width: 25%; }
  }

  @media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:w-1\/4 { width: 25%; }
    .lg\:w-1\/3 { width: 33.333333%; }
  }

  /* Utilidades para formularios */
  .form-input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

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

  .form-select {
    display: block;
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    appearance: none;
  }

  .form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }

  /* Botones (Utilitarios) */
  /* NOTA: Tus estilos .btn-primary y .btn-secondary personalizados sobrescribirán estos */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: all 0.15s ease;
    cursor: pointer;
    text-decoration: none;
  }

  .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }

  .btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
  }

  .btn-primary:hover {
    background-color: #2563eb;
  }

  .btn-secondary {
    background-color: #6b7280;
    color: #ffffff;
  }

  .btn-secondary:hover {
    background-color: #4b5563;
  }

  .btn-success {
    background-color: #10b981;
    color: #ffffff;
  }

  .btn-success:hover {
    background-color: #059669;
  }

  .btn-danger {
    background-color: #ef4444;
    color: #ffffff;
  }

  .btn-danger:hover {
    background-color: #dc2626;
  }

  .btn-warning {
    background-color: #f59e0b;
    color: #ffffff;
  }

  .btn-warning:hover {
    background-color: #d97706;
  }

  .btn-outline {
    background-color: transparent;
    border-color: #d1d5db;
    color: #374151;
  }

  .btn-outline:hover {
    background-color: #f9fafb;
  }

  .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  /* Estados de accesibilidad */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }

  /* Focus visible para accesibilidad */
  .focus-visible:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
  }
 
 /* ==================== @FONT-FACE DECLARATIONS ==================== */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(../webfonts/fa-regular-400.woff2) format("woff2"),
       url(../webfonts/fa-regular-400.ttf) format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(../webfonts/fa-solid-900.woff2) format("woff2"),
       url(../webfonts/fa-solid-900.ttf) format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(../webfonts/fa-brands-400.woff2) format("woff2"),
       url(../webfonts/fa-brands-400.ttf) format("truetype");
}


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

  

  /* ==================== MEDIA QUERIES PARA RESPONSIVE (Framework) ==================== */
  @media (prefers-reduced-motion: reduce) {
    .fa-beat,
    .fa-beat-fade,
    .fa-bounce,
    .fa-fade,
    .fa-flip,
    .fa-pulse,
    .fa-shake,
    .fa-spin,
    .fa-spin-pulse {
      -webkit-animation-delay: -1ms;
      animation-delay: -1ms;
      -webkit-animation-duration: 1ms;
      animation-duration: 1ms;
      -webkit-animation-iteration-count: 1;
      animation-iteration-count: 1;
      -webkit-transition-delay: 0s;
      transition-delay: 0s;
      -webkit-transition-duration: 0s;
      transition-duration: 0s;
    }
    
    .animate-fadeIn,
    .animate-slideIn,
    .animate-bounce {
      animation: none;
    }
  }


  /* ====================================
     BLOQUE 2: ESTILOS DE TU APLICACIÓN (Específicos)
     ==================================== */
  
  /* NOTA: Las variables :root y la clase .hidden se eliminaron 
     de aquí porque ya están definidas en el bloque anterior.
  */
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--color-text-dark);
    min-height: 100vh;
  }
  
  .sidebar {
    background: rgba(30, 42, 90, 0.95);
    backdrop-filter: blur(10px);
    color: var(--color-text-light);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .sidebar a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #d1d5db;
    position: relative;
    overflow: hidden;
  }
  
  .sidebar a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--color-secondary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }
  
  .sidebar a:hover::before {
    transform: scaleY(1);
  }
  
  .sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    transform: translateX(4px);
  }
  
  .sidebar a.active {
    background: linear-gradient(90deg, var(--color-secondary), #00d4ff);
    color: var(--color-primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 171, 225, 0.4);
  }
  
  .content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1.5rem; /* Padding base para móviles */
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  @media (min-width: 768px) {
    .content-card {
      padding: 2.5rem; /* Padding para pantallas más grandes */
    }
  }
  
  .content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }
  
  h1 {
    font-size: 1.875rem; /* text-3xl para móviles */
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
  }

  @media (min-width: 768px) {
    h1 {
      font-size: 2.5rem; /* text-4xl para desktop */
    }
  }
  
  h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), transparent);
  }
  
  h2 {
    font-size: 1.5rem; /* text-2xl para móviles */
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
  }
  @media (min-width: 768px) {
    h2 {
      font-size: 1.875rem; /* text-3xl para desktop */
    }
  }
  
  h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #3b4b8c;
  }
  
  /* ESTILOS DE BOTÓN PERSONALIZADOS (Sobrescriben los del framework) */
  .btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), #00d4ff);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 171, 225, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
  }
  
  .btn-primary:hover::before {
    left: 100%;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 171, 225, 0.5);
    background: linear-gradient(135deg, var(--color-secondary), #00d4ff); /* Mantiene el fondo en hover */
  }
  
  .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  .btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
    background: linear-gradient(135deg, #64748b, #475569); /* Mantiene el fondo en hover */
  }
  
  .file-upload-area {
    border: 2px dashed var(--color-secondary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(0, 171, 225, 0.05);
    cursor: pointer;
  }
  
  .file-upload-area:hover {
    border-color: #00d4ff;
    background: rgba(0, 171, 225, 0.1);
    transform: scale(1.02);
  }
  
  .file-upload-area.drag-over {
    border-color: #00d4ff;
    background: rgba(0, 171, 225, 0.15);
    transform: scale(1.05);
  }
  
  .guide-step {
    display: flex;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--color-secondary);
    background: linear-gradient(90deg, rgba(0, 171, 225, 0.1), transparent);
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
  }
  
  .guide-step:hover {
    transform: translateX(10px);
    background: linear-gradient(90deg, rgba(0, 171, 225, 0.15), transparent);
  }
  
  .guide-step .icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-right: 1.5rem;
    margin-top: 4px;
  }
  
  .definition-list dt {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(0, 171, 225, 0.1);
    border-radius: 6px;
  }
  
  .definition-list dd {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .image-container {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }
  
  .image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    max-height: 500px;
  }
  
  .image-container figcaption {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
  }

  .json-interactive-viewer {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 1.5rem;
    border-radius: 12px;
    transition: background 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  }

  /* Dark Mode styles (default) */
  .json-interactive-viewer.dark-mode {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #cbd5e0;
  }
  .json-interactive-viewer.dark-mode ul { border-left: 2px solid rgba(0, 171, 225, 0.3); }
  .json-interactive-viewer.dark-mode details[open] > summary { color: #00d4ff; }
  .json-interactive-viewer.dark-mode summary:hover { color: var(--color-secondary); }
  .json-interactive-viewer.dark-mode summary::marker { color: var(--color-secondary); }
  .json-interactive-viewer.dark-mode .json-key { color: #f687b3; font-weight: 600; }
  .json-interactive-viewer.dark-mode .closing-bracket { color: #cbd5e0; }
  .json-interactive-viewer.dark-mode .json-value { color: #e2e8f0; }
  .json-interactive-viewer.dark-mode .json-value-string { color: #68d391; }
  .json-interactive-viewer.dark-mode .json-value-number { color: #b794f4; }
  
  /* Light Mode styles */
  .json-interactive-viewer.light-mode {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #4a5568;
  }
  .json-interactive-viewer.light-mode ul { border-left: 2px solid #cbd5e0; }
  .json-interactive-viewer.light-mode details[open] > summary { color: var(--color-primary); }
  .json-interactive-viewer.light-mode summary:hover { color: var(--color-secondary); }
  .json-interactive-viewer.light-mode summary::marker { color: var(--color-primary); }
  .json-interactive-viewer.light-mode .json-key { color: #c53030; font-weight: 600; }
  .json-interactive-viewer.light-mode .closing-bracket { color: #4a5568; }
  .json-interactive-viewer.light-mode .json-value { color: #1a202c; }
  .json-interactive-viewer.light-mode .json-value-string { color: #2f855a; }
  .json-interactive-viewer.light-mode .json-value-number { color: #6b46c1; }

  .json-interactive-viewer ul {
    list-style: none;
    padding-left: 2em;
    margin: 0;
  }
  
  .json-interactive-viewer details {
    padding-left: 1em;
    transition: all 0.3s ease;
  }
  
  .json-interactive-viewer summary {
    cursor: pointer;
    user-select: none;
    padding: 0.25rem 0;
    transition: all 0.2s ease;
  }
  
  .json-interactive-viewer li {
    margin: 4px 0;
  }
  
  .converter-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .stat-card {
    background: linear-gradient(135deg, rgba(0, 171, 225, 0.1), rgba(102, 126, 234, 0.1));
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 171, 225, 0.2);
  }
  
  .stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
  }
  
  .stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin-top: 0.25rem;
  }
  
  .progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 171, 225, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 1rem 0;
  }
  
  .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), #00d4ff);
    width: 0%;
    transition: width 0.3s ease;
  }

  .field-selector {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    background: white;
  }
  
  .field-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
  }

  /* AÑADIR ESTE BLOQUE A TU ETIQUETA <style> */
/* Asegura que la flecha pueda rotar */
.field-item .toggle-icon {
    display: inline-block; 
    /* Tu regla transition ya está en tu CSS. Aquí solo se define el estado cerrado. */
    transform: rotate(0deg);
    line-height: 1; /* Ayuda a la alineación vertical del Unicode */
}

/* Estado abierto: rotar 90 grados para que '▶' se vea como una flecha hacia abajo */
.field-item .toggle-icon.open {
    transform: rotate(90deg);
}
  
  .field-item:hover {
    background: rgba(0, 171, 225, 0.05);
  }
  
  .field-item:last-child {
    border-bottom: none;
  }
  
  .field-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--color-secondary);
  }
  
  .field-item input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  
  .field-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }
  
  .field-name {
    font-weight: 600;
    color: var(--color-primary);
  }
  
  .field-type {
    font-size: 0.875rem;
    color: #64748b;
  }
  
  .field-required {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
  }
  
  .field-optional {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
  }
  
  .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }

  .search-highlight {
    background-color: #fef08a; /* Un color amarillo claro */
    border-radius: 3px;
    padding: 0 2px;
    color: #1e2a5a; /* Asegura que el texto sea legible */
  }
  .dark-mode .search-highlight {
    background-color: #facc15; /* Un amarillo más intenso para modo oscuro */
    color: #1a202c;
  }
  
  .search-field:focus {
    outline: none;
    border-color: var(--color-secondary);
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .page-content {
    animation: fadeInUp 0.5s ease;
  }

  pre {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .json-choice {
    border-left: 3px dashed #00abe1;
    padding-left: 1rem;
    margin: 0.5rem 0;
    font-style: italic;
  }

  .search-highlight > span {
    background-color: #fef08a; /* Un color amarillo para resaltar */
    border-radius: 3px;
    padding: 0 2px;
  }

  .dark-mode .search-highlight > span {
    background-color: #b45309; /* Un color ámbar oscuro para el modo oscuro */
    color: #f0f4f8;
  }

  .search-no-match {
    display: none !important;
  }

  /* --- INICIO: Reemplazo de Font Awesome para Toggles --- */

/* Contenedor para alinear (reemplaza 'fa-fw mr-2') */
.toggle-icon {
    display: inline-block;
    /* Ajusta el ancho si 1.5em te gustaba más que 1.25em */
    width: 1.5em; 
    margin-right: 0.5rem; /* Espaciado (era mr-2) */
    text-align: center;
    vertical-align: middle;
    /* Asegura que el clic no sea más grande que el icono */
    line-height: 1; 
}

/* El icono de flecha (triángulo) */
.css-toggle-icon {
    width: 0; 
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #007bff; /* Color de la flecha (azul) */
    transition: transform 0.2s ease-in-out;
    /* Centrar el triángulo verticalmente */
    position: relative;
    top: -1px; 
    
    /* Reglas de tu CSS (cursor y hover) */
    cursor: pointer;
    font-size: 1.1em; /* Tu regla .cursor-pointer */
}

/* Regla de hover que tenías */
.css-toggle-icon:hover {
     color: #007bff; /* Esta regla no afectará al borde, pero la dejamos */
     /* Hacemos que el borde cambie de color en hover */
     border-left-color: #0056b3; 
}


/* Estado "abierto" (flecha apuntando hacia abajo) */
.css-toggle-icon.open {
    transform: rotate(90deg);
}

/* El icono para items que no son padres (guion) */
.css-toggle-placeholder {
    width: 8px;
    height: 2px;
    background-color: #ccc; /* Color del guion (gris) */
    margin-bottom: 4px; /* Ajuste vertical */
}

/* Tu regla .hidden (sin cambios) */
.field-item.hidden {
 display: none;
}
/* --- FIN: Reemplazo de Font Awesome --- */

  /* ==================== BLOQUE DE COMPLEMENTOS FALTANTES (REFACTOR TAILWIND → CSS) ==================== */

/* Fondo con gradiente global (reemplazo de bg-gradient o bg-gradient-to-r) */
.bg-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.bg-gradient-to-r {
   background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.bg-gradient-to-l {
  background: linear-gradient(to left, var(--color-secondary), var(--color-primary));
}


/* Bordes y formato del contenedor */
.border-l-4 { border-left-width: 4px; }
.border-blue-500 { border-color: #3b82f6; }

.p-6 { padding: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }


/* Centrados de utilidad (faltantes comunes) */
.place-items-center {
  display: grid;
  place-items: center;
}

/* Alineaciones faltantes */
.justify-around {
  justify-content: space-around;
}
.justify-evenly {
  justify-content: space-evenly;
}

/* Alturas específicas (a menudo usadas en hero o secciones principales) */
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }

/* Bordes y sombras adicionales */
.border-none { border: none; }
.shadow-3xl {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Transparencias */
.bg-white\/50 {
  background-color: rgba(255, 255, 255, 0.5);
}
.bg-black\/40 {
  background-color: rgba(0, 0, 0, 0.4);
}

/* Rotaciones y transformaciones */
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.-rotate-45 { transform: rotate(-45deg); }

/* Espaciado vertical adicional (se usa en stacks y secciones) */
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* Gradientes de texto */
.text-gradient {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Transiciones suaves universales */
.transition {
  transition: all 0.3s ease-in-out;
}

/* Este CSS debe estar presente en la sección <style> de tu archivo */
.search-highlight {
    background-color: #fef08a; /* Un color amarillo claro */
    border-radius: 3px;
    padding: 0 2px;
    color: #1e2a5a; /* Asegura que el texto sea legible */
}
.dark-mode .search-highlight {
    background-color: #facc15; /* Un amarillo más intenso para modo oscuro */
    color: #1a202c;
}

/* ==================== CLASES FALTANTES (REEMPLAZO TAILWIND → CSS PURO) ==================== */

/* Responsividad */
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:relative { position: relative !important; }
  .md\:translate-x-0 { transform: translateX(0) !important; }
  .md\:p-10 { padding: 2.5rem !important; }
  .md\:grid-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:items-start { align-items: flex-start; }
}

/* Colores base */
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.3); }
.bg-blue-50\/50 { background-color: rgba(239, 246, 255, 0.5); }
.bg-green-50\/50 { background-color: rgba(240, 253, 244, 0.5); }
.bg-gray-50\/50 { background-color: rgba(249, 250, 251, 0.5); }

.bg-gradient-to-br {
  background: linear-gradient(135deg, #F0FCFF 0%, #D4F7FF 100%);
}


.bg-orange-200 { background-color: #fed7aa; }
.bg-red-500 { background-color: #ef4444; }
.bg-cyan-50 { background-color: #ecfeff; }
.bg-teal-50 { background-color: #f0fdfa; }
.bg-${data.color}-50 { background-color: var(--color-secondary); } /* placeholder dinámico */
.bg-${data.color}-100 { background-color: var(--color-secondary); }

/* Colores de texto */

.text-primary { color: var(--color-primary); }
.hover-text-secondary:hover { color: var(--color-secondary); }

/* Para variantes dinámicas (si las generas con JS) */
.text-dynamic-600 { color: var(--color-secondary); }
.text-dynamic-700 { color: var(--color-secondary); }
.border-dynamic-500 { border-color: var(--color-secondary); }
.bg-dynamic-100 { background-color: rgba(0, 171, 225, 0.1); }
.bg-dynamic-50 { background-color: rgba(0, 171, 225, 0.05); }


.text-purple-500 { color: #a855f7; }
.text-green-500 { color: #22c55e; }
.text-green-400 { color: #4ade80; }
.text-green-800 { color: #166534; }
.text-green-900 { color: #14532d; }
.text-red-500 { color: #ef4444; }
.text-yellow-800 { color: #854d0e; }
.text-yellow-900 { color: #713f12; }
.text-indigo-500 { color: #6366f1; }
.text-indigo-400 { color: #818cf8; }
.text-cyan-500 { color: #06b6d4; }
.text-cyan-700 { color: #0e7490; }
.text-cyan-900 { color: #164e63; }
.text-teal-500 { color: #14b8a6; }
.text-teal-700 { color: #0f766e; }
.text-emerald-500 { color: #10b981; }
.text-lime-500 { color: #84cc16; }
.text-amber-500 { color: #f59e0b; }
.text-sky-500 { color: #0ea5e9; }
.text-blue-800 { color: #1e40af; }
.text-\$\{data\.color\}-600 { color: var(--color-secondary); }
.text-\$\{data\.color\}-700 { color: var(--color-secondary); }

/* Bordes */
.border-blue-400 { border-color: #60a5fa; }
.border-orange-500 { border-color: #f97316; }
.border-indigo-500 { border-color: #6366f1; }
.border-cyan-500 { border-color: #06b6d4; }
.border-cyan-300 { border-color: #67e8f9; }
.border-teal-500 { border-color: #14b8a6; }
.border-teal-300 { border-color: #5eead4; }
.border-emerald-500 { border-color: #10b981; }
.border-lime-500 { border-color: #84cc16; }
.border-amber-500 { border-color: #f59e0b; }
.border-sky-500 { border-color: #0ea5e9; }
.border-\$\{data\.color\}-500 { border-color: var(--color-secondary); }

/* Hover */
.hover-text-secondary:hover {
  color: var(--color-secondary);
}

.hover\:text-white:hover { color: #ffffff; }
.hover\:text-red-800:hover { color: #991b1b; }

.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.hover\:bg-orange-50:hover { background-color: #fff7ed; }
.hover\:bg-green-600:hover { background-color: #16a34a; }
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:bg-purple-600:hover { background-color: #9333ea; }
.hover\:bg-blue-600:hover { background-color: #2563eb; }
.hover\:bg-gray-600:hover { background-color: #4b5563; }

.hover\:bg-gradient-to-r:hover {
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}
.hover\:from-green-500:hover { background-color: #22c55e; }
.hover\:to-green-600:hover { background-color: #16a34a; }
.hover\:from-purple-500:hover { background-color: #a855f7; }
.hover\:to-purple-600:hover { background-color: #9333ea; }
.hover\:from-orange-500:hover { background-color: #f97316; }
.hover\:to-orange-600:hover { background-color: #ea580c; }

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}
.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:border-blue-500:hover { border-color: #3b82f6; }
.hover\:border-red-500:hover { border-color: #ef4444; }
.hover\:border-green-500:hover { border-color: #22c55e; }

/* Tamaños */
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.min-w-full { min-width: 100%; }
/* Alturas mínimas y máximas compatibles */
.min-h-150px { min-height: 150px; }
.min-h-200px { min-height: 200px; }
.h-70vh { height: 70vh; }
.max-h-70vh { max-height: 70vh; }


/* Espaciado y redondeado */
.mt-10 { margin-top: 2.5rem; }
.p-8 { padding: 2rem; }
.rounded-2xl { border-radius: 1rem; }

/* Foco */
.focus\:outline-none:focus { outline: none; }
.focus\:border-indigo-500:focus { border-color: #6366f1; }
.focus\:border-orange-500:focus { border-color: #f97316; }

/* Transiciones */
.transition-transform {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Estilos base del enlace de navegación */
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: #f8fafc; /* texto claro */
  background: transparent;
  text-decoration: none; /* 👈 quita el subrayado */
  transition: all 0.25s ease;
}

/* Hover */
.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #D1FBFF; /* azul celeste */
  text-decoration: none; /* 👈 asegura que siga sin subrayado */
}

/* Estado activo o seleccionado */
.nav-link.active {
  background-color: #00CFFF; /* tu azul resaltado */
  color: #0F172A; /* texto oscuro para contraste */
  font-weight: 600;
  text-decoration: none; /* 👈 también aquí */
}

/* Íconos */
.nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke-width: 1.7;
}

 .fundamentals-tab {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f3f4f6;
        color: #4b5563;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .fundamentals-tab .tab-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .fundamentals-tab:not(.tab-active):hover {
        background: #e5e7eb;
        color: #1f2937;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .fundamentals-tab.tab-active {
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
        color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
 .components-tab {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #f3f4f6;
        color: #4b5563;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .components-tab .tab-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .components-tab:not(.tab-active):hover {
        background: #e5e7eb;
        color: #1f2937;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .components-tab.tab-active {
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
        color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    

.tab-active {
    background: linear-gradient(to right, #3b82f6, #2563eb);
    color: white;
    border-bottom: 3px solid #1d4ed8;
}

     #removeFileBtn {
      background: none;        /* sin fondo */
      border: none;            /* sin borde */
      padding: 0;              /* sin relleno adicional */
      margin-left: 8px;        /* equivalente a ml-2 */
      cursor: pointer;         /* mano al pasar */
      color: #ef4444;          /* text-red-500 */
      transition: color 0.2s ease, transform 0.2s ease; /* animación suave */
    }

    #removeFileBtn:hover {
      color: #b91c1c;          /* text-red-700 */
      transform: scale(1.1);   /* hover:scale-110 */
    }

    #removeFileBtn svg {
      width: 24px;             /* w-6 */
      height: 24px;            /* h-6 */
      display: block;
    }

    /* Elimina cualquier borde o fondo que los navegadores pongan por defecto */
    #removeFileBtn:focus {
      outline: none;
    }

    #removeFileBtnOpenAPIRequest:hover {
      color: #b91c1c;          /* text-red-700 */
      transform: scale(1.1);   /* hover:scale-110 */
    }

    #removeFileBtnOpenAPIRequest svg {
      width: 24px;             /* w-6 */
      height: 24px;            /* h-6 */
      display: block;
    }

    /* Elimina cualquier borde o fondo que los navegadores pongan por defecto */
    #removeFileBtnOpenAPIRequest:focus {
      outline: none;
    }

     #removeFileBtnOpenAPIRequest {
      background: none;        /* sin fondo */
      border: none;            /* sin borde */
      padding: 0;              /* sin relleno adicional */
      margin-left: 8px;        /* equivalente a ml-2 */
      cursor: pointer;         /* mano al pasar */
      color: #ef4444;          /* text-red-500 */
      transition: color 0.2s ease, transform 0.2s ease; /* animación suave */
    }

    #removeFileBtnOpenAPIResponse:hover {
      color: #b91c1c;          /* text-red-700 */
      transform: scale(1.1);   /* hover:scale-110 */
    }

    #removeFileBtnOpenAPIResponse svg {
      width: 24px;             /* w-6 */
      height: 24px;            /* h-6 */
      display: block;
    }

    /* Elimina cualquier borde o fondo que los navegadores pongan por defecto */
    #removeFileBtnOpenAPIResponse:focus {
      outline: none;
    }

     #removeFileBtnOpenAPIResponse {
      background: none;        /* sin fondo */
      border: none;            /* sin borde */
      padding: 0;              /* sin relleno adicional */
      margin-left: 8px;        /* equivalente a ml-2 */
      cursor: pointer;         /* mano al pasar */
      color: #ef4444;          /* text-red-500 */
      transition: color 0.2s ease, transform 0.2s ease; /* animación suave */
    }

    .tabs-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            border-bottom: 2px solid #e5e7eb;
            padding: 16px 16px 0 16px;
            background: #fafafa;
        }

        .guide-tab {
            display: inline-flex;
            align-items: center;
            padding: 12px 24px;
            font-weight: 600;
            font-size: 14px;
            border: none;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            white-space: nowrap;
        }

        .guide-tab svg {
            width: 20px;
            height: 20px;
            margin-right: 8px;
            flex-shrink: 0;
        }

        /* Tab activo */
        .guide-tab.tab-active {
            background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
            color: white;
            box-shadow: 0 -2px 8px rgba(99, 102, 241, 0.3);
            transform: translateY(-2px);
        }

        /* Tabs inactivos */
        .guide-tab:not(.tab-active) {
            background: transparent;
            color: #6b7280;
        }

        .guide-tab:not(.tab-active):hover {
            background: #f3f4f6;
            color: var(--color-secondary);
            transform: translateY(-1px);
        }

        /* Contenido de los tabs */
        .guide-content {
            padding: 32px;
            min-height: 400px;
        }

        .guide-tab-content {
            display: none;
        }

        .guide-tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Estilos para el contenido */
        .content-section h2 {
            color: #1f2937;
            font-size: 24px;
            margin-bottom: 16px;
        }

        .content-section p {
            color: #6b7280;
            line-height: 1.6;
            margin-bottom: 12px;
        }

        .content-section ul {
            list-style: none;
            padding-left: 0;
        }

        .content-section li {
            padding: 12px 0;
            border-bottom: 1px solid #f3f4f6;
            color: #4b5563;
        }

        .content-section li:before {
            content: "→";
            color: var(--color-primary);
            font-weight: bold;
            margin-right: 12px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                padding: 20px;
            }

            .guide-tab {
                padding: 10px 16px;
                font-size: 13px;
            }

            .guide-tab svg {
                width: 18px;
                height: 18px;
                margin-right: 6px;
            }

            .guide-content {
                padding: 20px;
            }
        }
/* ==================== CLASES FALTANTES PARA LOS TABS ==================== */

/* Display utilities */
.inline-flex {
    display: inline-flex;
}

/* Gap utilities */
.gap-8 {
    gap: 2rem;
}

/* Width utilities adicionales */
.w-full {
    width: 100%;
}

/* Padding utilities adicionales */
.p-4 {
    padding: 1rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Margin utilities adicionales */
.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

/* Text utilities adicionales */
.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-indigo-600 {
    color: #4f46e5;
}

.text-green-600 {
    color: #16a34a;
}

.text-purple-600 {
    color: #9333ea;
}

/* Background utilities adicionales */
.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.bg-purple-50 {
    background-color: #faf5ff;
}

.bg-indigo-50 {
    background-color: #eef2ff;
}

.bg-orange-50 {
    background-color: #fff7ed;
}

.bg-yellow-50 {
    background-color: #fefce8;
}

/* Border utilities adicionales */
.border-l-4 {
    border-left-width: 4px;
}

.border-blue-500 {
    border-color: #3b82f6;
}

.border-green-500 {
    border-color: #22c55e;
}

.border-purple-500 {
    border-color: #a855f7;
}

.border-orange-500 {
    border-color: #f97316;
}

.border-indigo-500 {
    border-color: #6366f1;
}

/* Shadow utilities */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Flex utilities adicionales */
.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Space utilities */
.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

/* Grid utilities adicionales */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

/* Font utilities adicionales */
.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Text size utilities adicionales */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

/* Rounded utilities adicionales */
.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Responsive utilities adicionales */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Flex wrap */
.flex-wrap {
    flex-wrap: wrap;
}

/* Text center */
.text-center {
    text-align: center;
}



.min-h-200px {
  min-height: 200px;
}


/* Relative positioning */
.relative {
    position: relative;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Cursor pointer */
.cursor-pointer {
    cursor: pointer;
}

/* Transition */
.transition-all {
    transition: all 0.15s ease-in-out;
}

/* Hover shadow */
.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Background gradient utilities */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-50 {
    --tw-gradient-from: #eff6ff;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.to-white {
    --tw-gradient-to: #ffffff;
}

.from-green-50 {
    --tw-gradient-from: #f0fdf4;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 253, 244, 0));
}

.from-emerald-50 {
    --tw-gradient-from: #ecfdf5;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(236, 253, 245, 0));
}

.from-purple-50 {
    --tw-gradient-from: #faf5ff;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0));
}

.to-pink-50 {
    --tw-gradient-to: #fdf2f8;
}

.from-orange-50 {
    --tw-gradient-from: #fff7ed;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 247, 237, 0));
}

.to-red-50 {
    --tw-gradient-to: #fef2f2;
}
        
