
        /* Estilos para el buscador de categorías */
        .categorias-search {
            padding: 15px;
            border-bottom: 1px solid #e0e0e0;
            background: white;
        }
        
        .search-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .search-input-wrapper i {
            position: absolute;
            left: 12px;
            color: #999;
            font-size: 14px;
        }
        
        .search-categories-input {
            width: 100%;
            padding: 10px 10px 10px 35px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }
        
        .search-categories-input:focus {
            border-color: #ff6b35;
            background: white;
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
        }
        
        .search-categories-input::placeholder {
            color: #aaa;
        }
        
        .clear-search {
            position: absolute;
            right: 12px;
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            font-size: 14px;
            display: none;
            padding: 0;
        }
        
        .clear-search:hover {
            color: #ff6b35;
        }
        
        .no-categorias-found {
            padding: 20px;
            text-align: center;
            color: #999;
            font-size: 14px;
        }
        
        /* Ajustes para el sidebar en desktop */
        @media (min-width: 993px) {
            .categorias-sidebar {
                width: 280px;
                position: sticky;
                top: 20px;
                height: calc(100vh - 40px);
                overflow-y: auto;
            }
            
            .categorias-search {
                position: sticky;
                top: 0;
                z-index: 10;
                background: white;
            }
        }
        
        /* Ajustes para móvil */
        @media (max-width: 992px) {
            .categorias-sidebar {
                width: 85%;
                max-width: 320px;
            }
            
            .categorias-search {
                padding: 12px;
            }
            
            .search-categories-input {
                padding: 8px 8px 8px 32px;
                font-size: 13px;
            }
        }
        
        /* Animación para los items filtrados */
        .categoria-item {
            transition: all 0.2s ease;
        }
        
        .categoria-item.oculto {
            display: none !important;
        }
        
        /* Estilos para el modal de login */
        .login-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
        }
        
        .login-modal-content {
            background: white;
            border-radius: 16px;
            width: 90%;
            max-width: 400px;
            padding: 30px;
            position: relative;
            animation: modalSlideIn 0.3s ease;
        }
        
        @keyframes modalSlideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .login-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .login-modal-header h3 {
            margin: 0;
            color: #333;
        }
        
        .close-login-modal {
            font-size: 28px;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
        }
        
        .close-login-modal:hover {
            color: #ff6b35;
        }
        
        .login-form-group {
            margin-bottom: 20px;
        }
        
        .login-form-group label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: 500;
        }
        
        .login-form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            transition: border-color 0.3s;
        }
        
        .login-form-group input:focus {
            outline: none;
            border-color: #ff6b35;
        }
        
        .login-btn-submit {
            width: 100%;
            padding: 12px;
            background: #ff6b35;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .login-btn-submit:hover {
            background: #e55a2b;
        }
        
        .login-register-link {
            text-align: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #e0e0e0;
        }
        
        .login-register-link a {
            color: #ff6b35;
            text-decoration: none;
        }
        
        .login-register-link a:hover {
            text-decoration: underline;
        }
        
        .login-error {
            background: #ffe0e0;
            color: #d63031;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 13px;
            text-align: center;
            display: none;
        }
        
        .login-success-msg {
            background: #d4edda;
            color: #155724;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 13px;
            text-align: center;
            display: none;
        }
        
        .user-logged-badge {
            background: #4CAF50;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            margin-left: 10px;
        }
        
        .login-btn-header {
            background: none;
            border: 1px solid #ff6b35;
            color: #ff6b35;
            padding: 6px 15px;
            border-radius: 20px;
            cursor: pointer;
            margin-left: 10px;
            transition: all 0.3s;
        }
        
        .login-btn-header:hover {
            background: #ff6b35;
            color: white;
        }
        
        .logout-link {
            color: #ff6b6b;
            margin-left: 15px;
            text-decoration: none;
        }
        
        .logout-link:hover {
            text-decoration: underline;
        }
 