html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Inter', sans-serif;
        }
        canvas {
            display: block;
            width: 100% !important;
            height: auto !important;
        }
        .select-styled {
            display: flex;
            align-items: center;
            padding: 0.5rem 1rem;
            border: 1px solid #e0e0e0;
            border-radius: 0.375rem;
            cursor: pointer;
            position: relative;
            user-select: none;
            transition: all 0.2s ease-in-out;
            background-color: #fff;
        }
        .select-styled:hover {
            border-color: #2962ff;
        }
        .select-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: #fff;
            border: 1px solid #e0e0e0;
            border-top: none;
            border-radius: 0.375rem;
            z-index: 10;
            max-height: 200px;
            overflow-y: auto;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            display: none;
        }
        .select-options.active {
            display: block;
        }
        .select-option {
            padding: 0.5rem 1rem;
            cursor: pointer;
        }
        .select-option:hover {
            background-color: #f5f5f5;
        }
        
        .loading-spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #2962ff;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Micro-interacciones para las filas de la tabla */
        .table-row-hover:hover {
            background-color: #f0f4f8;
            transition: background-color 0.2s ease-in-out;
        }
        .table-row-hover {
            transition: background-color 0.2s ease-in-out;
        }

        /* Estilos del modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 20;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.4);
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: #fff;
            margin: auto;
            padding: 24px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 500px;
        }
        .modal-close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        .modal-close:hover,
        .modal-close:focus {
            color: black;
            text-decoration: none;
        }
            /* Animaciones personalizadas para Tailwind */
            @keyframes fadeInMoveUp {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            @keyframes zoomIn {
                from {
                    opacity: 0;
                    transform: scale(0.9);
                }
                to {
                    opacity: 1;
                    transform: scale(1);
                }
            }
            @keyframes bounce {
                0%,
                100% {
                    transform: translateY(0);
                }
                50% {
                    transform: translateY(-10px);
                }
            }
            .animate-fade-in-up {
                animation: fadeInMoveUp 0.8s ease-out forwards;
            }
            .animate-zoom-in {
                animation: zoomIn 0.6s ease-out forwards;
            }
            .animate-bounce {
                animation: bounce 2s infinite;
            }
            .delay-100 {
                animation-delay: 0.1s;
            }
            .delay-200 {
                animation-delay: 0.2s;
            }
            .delay-300 {
                animation-delay: 0.3s;
            }
            .delay-400 {
                animation-delay: 0.4s;
            }
            .delay-500 {
                animation-delay: 0.5s;
            }
            .delay-600 {
                animation-delay: 0.6s;
            }
            .delay-700 {
                animation-delay: 0.7s;
            }
.menu-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-item.show {
  opacity: 1;
  transform: translateY(0);
}

            /* Estilo para el mega-menú */
            .mega-menu {
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                width: 100vw;
                max-width: 100%;
                background-color: theme("colors.primary.600");
                border-radius: theme("borderRadius.lg");
                padding: theme("spacing.6");
                box-shadow: theme("boxShadow.xl");
                opacity: 0;
                visibility: hidden;
                transition:
                    opacity 0.3s ease,
                    visibility 0.3s ease;
                z-index: 40;
                box-sizing: border-box;
            }

            @media (min-width: 1024px) {
                .mega-menu {
                    width: 600px;
                    max-width: 90vw;
                }
            }

            .group:hover .mega-menu {
                opacity: 1;
                visibility: visible;
            }
#bg-educarte{
    background-image: url(../img/bg-blue.jpg);
    background-size: cover;
    background-position: center;
}
            /* Estilo para las cards */
            .card-hover:hover {
                transform: translateY(-5px);
                box-shadow:
                    0 20px 25px -5px rgba(0, 0, 0, 0.1),
                    0 10px 10px -5px rgba(0, 0, 0, 0.04);
            }

#auth-forms {
    padding-top: inherit
}
.bg-frutas{
    background-image: url("../img/fondo_web.jpg");
    background-size:cover;
    background-attachment: fixed;
    background-position: center;
}
#section_exploradores{
    background-image: url("/assets/img/fondo_pequenios.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}
#section_alimentacion{
    background-image: url("/assets/img/fondo_educarte.jpg");
    background-size: auto;
    background-attachment: fixed;
    background-position: center;
}
#section_plato{
    background-image: url("/assets/img/fondo_web2.jpg");
    background-size: auto;
    background-attachment: fixed;
    background-position: center;
}

#container_bg{
    background-image: url("/assets/img/fondo_saludable.jpg");
}
.fade-in { animation: fadeIn 0.4s ease-in-out forwards; }
    @keyframes fadeIn { from { opacity:0; transform: translateY(10px) scale(0.98);} to { opacity:1; transform: translateY(0) scale(1);} }

    .role-card:hover {
      transform: scale(1.05);
      transition: all 0.3s;
    }

    .message-box {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 100;
      justify-content: center;
      align-items: center;
    }

    .message-content {
      background-color: white;
      padding: 2rem;
      border-radius: 0.75rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: center;
      width: 90%;
      max-width: 400px;
    }

    .message-box.show {
      display: flex;
    }
.bg-naturaleza {
      font-family: 'Inter', sans-serif;
      background-color: #170642;
      background-image: url('/assets/img/bg-natural.webp');
      background-size: cover;
      background-attachment: fixed;
      background-position: center;
    }